/* Custom CSS for flashcrow website */

:root {
    --primary-dark: #1f1f1f;
    --flash-color: #fe019a;
    --flash-alt: #ffdd00;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Navbar toggler styles for all screens */
.navbar-toggler {
    border: 1px solid rgba(254, 1, 154, 0.5);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(254, 1, 154, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28254, 1, 154, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white) !important;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    height: 32px;
    width: auto;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--flash-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--flash-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

.parallax-container {
    position: relative;
    min-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 1; /* Lower than navbar */
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.flash-text {
    color: var(--flash-color);
    text-shadow: 0 0 20px rgba(254, 1, 154, 0.5);
    animation: flashGlow 2s ease-in-out infinite alternate;
}

@keyframes flashGlow {
    from {
        text-shadow: 0 0 20px rgba(254, 1, 154, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(254, 1, 154, 0.8), 0 0 40px rgba(254, 1, 154, 0.6);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.btn-flash {
    background: linear-gradient(45deg, var(--flash-color), #ff4081);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 9px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(254, 1, 154, 0.3);
}

.btn-flash:hover {
    background: linear-gradient(45deg, #ff4081, var(--flash-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 1, 154, 0.4);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 9px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-logo {
    text-align: center;
    position: relative;
}

.logo-parallax {
    max-width: 400px;
    width: 100%;
    height: auto;
    /*filter: invert(1);*/
    transition: transform 0.1s ease-out;
    animation: floatAnimation 6s ease-in-out infinite;
}
img.logo-parallax {
    border-radius: 11px;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    position: relative;
    scroll-margin-top: 80px; /* Account for fixed navbar height */
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--flash-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

/* Services Section */
#services {
    background: linear-gradient(135deg, #2a2a2a 0%, var(--primary-dark) 100%);
}

/* Social Impact Section */
#social-impact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2a2a2a 100%);
    color: var(--white);
}

#social-impact .section-title {
    color: var(--white);
}

#social-impact .section-title::after {
    background: var(--flash-color);
}

#social-impact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.social-impact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-impact-card:hover {
    transform: translateY(-10px);
    background: rgba(254, 1, 154, 0.1);
    border-color: rgba(254, 1, 154, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.social-impact-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.social-impact-icon i {
    font-size: 4rem;
    color: var(--flash-color);
    text-shadow: 0 0 20px rgba(254, 1, 154, 0.5);
    animation: flashGlow 3s ease-in-out infinite alternate;
}

.social-impact-card h3 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-impact-card .lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
}

.impact-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--white);
    transition: all 0.3s ease;
}

.impact-feature:hover {
    color: var(--flash-color);
    transform: translateX(5px);
}

.impact-feature i {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: var(--flash-color);
}

/* Disclaimer styles */
.disclaimer .alert {
    background: rgba(254, 1, 154, 0.1);
    border: 1px solid rgba(254, 1, 154, 0.3);
    border-left: 4px solid var(--flash-color);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.disclaimer .alert i {
    color: var(--flash-color);
}

/* Digital Transformation Section */
.digital-transformation-section {
    position: relative;
    margin: 3rem 0;
}

.digital-transformation-section h4 {
    color: var(--white);
    font-weight: 600;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.digital-transformation-section h4::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--flash-color), #ff4081);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.transformation-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.process-flow {
    position: relative;
    margin: 2rem 0;
}

.process-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, transparent, var(--flash-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-card:hover::before {
    transform: translateX(100%);
}

.process-card:hover {
    transform: translateY(-8px);
    background: rgba(254, 1, 154, 0.08);
    border-color: rgba(254, 1, 154, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.process-card[data-step="1"]:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.process-card[data-step="2"]:hover {
    background: rgba(155, 89, 182, 0.1);
    border-color: rgba(155, 89, 182, 0.3);
}

.process-card[data-step="3"]:hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.3);
}

.process-card[data-step="4"]:hover {
    background: rgba(254, 1, 154, 0.1);
    border-color: rgba(254, 1, 154, 0.3);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(254, 1, 154, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(254, 1, 154, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.process-card:hover .process-icon::before {
    width: 100px;
    height: 100px;
}

.process-card[data-step="1"] .process-icon {
    background: rgba(52, 152, 219, 0.15);
}

.process-card[data-step="2"] .process-icon {
    background: rgba(155, 89, 182, 0.15);
}

.process-card[data-step="3"] .process-icon {
    background: rgba(46, 204, 113, 0.15);
}

.process-card[data-step="4"] .process-icon {
    background: rgba(254, 1, 154, 0.15);
}

.process-icon i {
    font-size: 2rem;
    color: var(--white);
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
}

.process-card[data-step="1"] .process-icon i {
    color: #3498db;
}

.process-card[data-step="2"] .process-icon i {
    color: #9b59b6;
}

.process-card[data-step="3"] .process-icon i {
    color: #2ecc71;
}

.process-card[data-step="4"] .process-icon i {
    color: var(--flash-color);
}

.process-card:hover .process-icon i {
    transform: scale(1.1);
    text-shadow: 0 0 15px currentColor;
}

.process-card h5 {
    color: var(--white);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.process-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Process Connectors */
.process-connector {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--flash-color), transparent);
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--flash-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    opacity: 0.8;
}

.process-card:hover .process-connector {
    opacity: 1;
    background: linear-gradient(90deg, var(--flash-color), #ff4081);
    animation: flowAnimation 1.5s ease-in-out infinite;
}

@keyframes flowAnimation {
    0%, 100% {
        transform: translateY(-50%) scaleX(1);
    }
    50% {
        transform: translateY(-50%) scaleX(1.2);
    }
}

/* Hide connector on last card */
.process-card[data-step="4"] .process-connector {
    display: none;
}

/* Transformation Benefits */
.transformation-benefits {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

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

.benefit-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--flash-color), #ff4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(254, 1, 154, 0.3);
    display: block;
}

.benefit-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* Responsive Design for Process Cards */
@media (max-width: 1199px) {
    .process-connector {
        display: none;
    }
}

@media (max-width: 991px) {
    .digital-transformation-section h4 {
        font-size: 1.6rem;
    }
    
    .transformation-description {
        font-size: 1rem;
    }
    
    .process-card {
        margin-bottom: 1rem;
    }
    
    .benefit-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .digital-transformation-section {
        margin: 2rem 0;
    }
    
    .digital-transformation-section h4 {
        font-size: 1.4rem;
    }
    
    .process-card {
        padding: 1.5rem 1rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .process-icon i {
        font-size: 1.5rem;
    }
    
    .process-card h5 {
        font-size: 1.1rem;
    }
    
    .transformation-benefits {
        padding: 1.5rem 1rem;
    }
    
    .benefit-number {
        font-size: 1.6rem;
    }
    
    .benefit-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .process-card {
        padding: 1.2rem 0.8rem;
    }
    
    .transformation-benefits {
        padding: 1rem;
    }
    
    .benefit-item {
        padding: 0.5rem;
    }
}

/* Service Cards (original styles restored) */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(254, 1, 154, 0.1);
    border-color: rgba(254, 1, 154, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: var(--flash-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(254, 1, 154, 0.5);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* About Section */
#about {
    background: var(--primary-dark);
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--flash-color);
    text-shadow: 0 0 20px rgba(254, 1, 154, 0.5);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.tech-item {
    background: rgba(254, 1, 154, 0.1);
    border: 1px solid rgba(254, 1, 154, 0.3);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(254, 1, 154, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #2a2a2a 0%, var(--primary-dark) 100%);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-floating > .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 10px;
}

.form-floating > .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--flash-color);
    box-shadow: 0 0 0 0.25rem rgba(254, 1, 154, 0.25);
    color: var(--white);
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.7);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--flash-color);
}

/* Footer */
.footer {
    background: var(--primary-dark) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(254, 1, 154, 0.1);
    border: 1px solid rgba(254, 1, 154, 0.3);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--flash-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 1, 154, 0.4);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Mobile navbar improvements */
    .navbar-logo {
        height: 28px; /* Slightly smaller on mobile */
    }
    
    .navbar-collapse {
        background: rgba(31, 31, 31, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        margin: 0.25rem 0;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(254, 1, 154, 0.1);
        transform: none;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px; /* More padding on mobile for larger navbar */
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .logo-parallax {
        max-width: 300px;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .stats-row {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--flash-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff4081;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Smooth transitions for all interactive elements */
a, button, .btn, .service-card, .tech-item, .social-link {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
a:focus, button:focus, .btn:focus, input:focus, textarea:focus {
    outline: 2px solid var(--flash-color);
    outline-offset: 2px;
}

/* Custom selection color */
::selection {
    background: var(--flash-color);
    color: var(--white);
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(31, 31, 31, 0.98);
    backdrop-filter: blur(15px);
    border-top: 2px solid var(--flash-color);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1040;
    transform: translateY(100%);
    transition: all 0.4s ease;
    padding: 1.5rem 0;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-icon i {
    font-size: 2.5rem;
    color: var(--flash-color);
    text-shadow: 0 0 20px rgba(254, 1, 154, 0.5);
    animation: flashGlow 3s ease-in-out infinite alternate;
}

.cookie-text {
    flex-grow: 1;
    min-width: 300px;
}

.cookie-text h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-outline-flash {
    border: 2px solid var(--flash-color);
    color: var(--flash-color);
    background: transparent;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-outline-flash:hover {
    background: var(--flash-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 1, 154, 0.3);
}

/* Override Bootstrap CSS Variables for Modal */
#cookieModal {
    --bs-modal-bg: rgba(31, 31, 31, 0.98);
    --bs-modal-border-color: rgba(254, 1, 154, 0.3);
    --bs-modal-color: #ffffff;
    --bs-modal-header-border-color: rgba(255, 255, 255, 0.1);
    --bs-modal-footer-border-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Modal Styles */
.cookie-modal .modal-content,
#cookieModal .modal-content {
    background: rgba(31, 31, 31, 0.98) !important;
    background-color: rgba(31, 31, 31, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(254, 1, 154, 0.3) !important;
    border-color: rgba(254, 1, 154, 0.3) !important;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    color: var(--white) !important;
}

.cookie-modal .modal-header,
#cookieModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    padding: 1.5rem 2rem 1rem 2rem;
    background: transparent !important;
    background-color: transparent !important;
}

.cookie-modal .modal-title,
#cookieModal .modal-title {
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1.4rem;
}

.cookie-modal .modal-body,
#cookieModal .modal-body {
    padding: 1.5rem 2rem;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--white) !important;
}

.cookie-modal .modal-footer,
#cookieModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
    padding: 1rem 2rem 1.5rem 2rem;
    background: transparent !important;
    background-color: transparent !important;
}

/* Modal backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/* Final override for Bootstrap modal - most specific selectors */
.modal.fade #cookieModal .modal-dialog .modal-content,
.modal #cookieModal .modal-dialog .modal-content,
#cookieModal.modal .modal-dialog .modal-content {
    background: rgba(31, 31, 31, 0.98) !important;
    background-color: rgba(31, 31, 31, 0.98) !important;
    border: 1px solid rgba(254, 1, 154, 0.3) !important;
    color: #ffffff !important;
}

/* Force text colors in modal */
#cookieModal .modal-content * {
    color: inherit !important;
}

#cookieModal .modal-title,
#cookieModal h5,
#cookieModal h6 {
    color: #ffffff !important;
}

#cookieModal p,
#cookieModal .cookie-description {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Modal close button */
.cookie-modal .btn-close {
    background: transparent !important;
    border: none !important;
    color: var(--white) !important;
    opacity: 0.8;
    font-size: 1.2rem;
}

.cookie-modal .btn-close:hover {
    opacity: 1;
    color: var(--flash-color) !important;
}

.cookie-modal .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(254, 1, 154, 0.25) !important;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cookie-category:hover {
    background: rgba(254, 1, 154, 0.08);
    border-color: rgba(254, 1, 154, 0.2);
}

.cookie-category h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.cookie-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

/* Custom Bootstrap Form Controls */
.form-check-input:checked {
    background-color: var(--flash-color) !important;
    border-color: var(--flash-color) !important;
}

.form-check-input:focus {
    border-color: var(--flash-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(254, 1, 154, 0.25) !important;
}

.form-check-input:disabled {
    background-color: var(--medium-gray) !important;
    border-color: var(--medium-gray) !important;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
}

/* Additional modal text styling */
.cookie-modal .modal-body p,
.cookie-modal .modal-body h6,
.cookie-modal .modal-body .cookie-description {
    color: rgba(255, 255, 255, 0.8) !important;
}

.cookie-modal .modal-body h6 {
    color: var(--white) !important;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background: var(--flash-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--flash-color);
    text-decoration: none;
}

.footer-link:hover::after {
    width: 100%;
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-actions .btn {
        min-width: 120px;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-content {
        gap: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-actions .btn {
        width: 100%;
        margin: 0;
    }
    
    .cookie-modal .modal-header,
    .cookie-modal .modal-body,
    .cookie-modal .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .cookie-category {
        padding: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* =================================
   CONTACT FORM MODAL & TOAST STYLES
   ================================= */

/* Contact Form Modal */
#confirmModal .modal-content {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    border: 1px solid rgba(254, 1, 154, 0.2);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#confirmModal .modal-header {
    background: linear-gradient(135deg, var(--flash-color), rgba(254, 1, 154, 0.8));
    border-bottom: none;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

#confirmModal .modal-header .modal-title {
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#confirmModal .modal-header .btn-close {
    background: transparent;
    border: none;
    color: var(--white);
    opacity: 0.8;
    filter: invert(1);
}

#confirmModal .modal-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

#confirmModal .modal-body {
    padding: 2rem;
    color: rgba(255, 255, 255, 0.9);
    background: #1f1f1f;
}

#confirmModal .modal-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

#confirmModal .modal-body .message-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

#confirmModal .modal-body .message-preview .bg-light {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

#confirmModal .modal-body .message-preview strong {
    color: var(--flash-color);
}

#confirmModal .modal-body .preview-message {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-style: italic;
    line-height: 1.5;
    max-height: 100px;
    overflow-y: auto;
}

#confirmModal .modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 15px 15px;
    background: #1f1f1f;
}

#confirmModal .btn-flash {
    background: linear-gradient(135deg, var(--flash-color), rgba(254, 1, 154, 0.8));
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#confirmModal .btn-flash:hover {
    background: linear-gradient(135deg, rgba(254, 1, 154, 0.9), var(--flash-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 1, 154, 0.3);
}

#confirmModal .btn-flash:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#confirmModal .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#confirmModal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    transform: translateY(-1px);
}

/* reCAPTCHA Section */
#confirmModal .recaptcha-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

#confirmModal .recaptcha-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

#confirmModal .recaptcha-section .fas.fa-shield-alt {
    color: var(--flash-color);
}

#confirmModal .recaptcha-section small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* reCAPTCHA container styling */
#recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 78px; /* Standard reCAPTCHA height */
}

#recaptcha-container .text-center {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 1rem;
}

#recaptcha-container .text-danger {
    color: #dc3545 !important;
}

#recaptcha-container .fas.fa-spinner {
    color: var(--flash-color);
}

#recaptcha-container .fas.fa-exclamation-triangle {
    color: #ffc107;
}

/* Dark theme for reCAPTCHA (if supported) */
.g-recaptcha {
    filter: invert(1) hue-rotate(180deg);
    border-radius: 6px;
}

/* Button state styling */
#confirmModal .btn-flash:disabled {
    background: var(--medium-gray) !important;
    border-color: var(--medium-gray) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

#confirmModal .btn-secondary {
    background: rgba(108, 117, 125, 0.8) !important;
    border-color: rgba(108, 117, 125, 0.8) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Toast Notifications */
#toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.toast.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.toast.bg-danger {
    background: linear-gradient(135deg, #dc3545, #e83e8c) !important;
}

.toast.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
    color: var(--dark-bg) !important;
}

.toast.bg-primary {
    background: linear-gradient(135deg, var(--flash-color), rgba(254, 1, 154, 0.8)) !important;
}

.toast-header {
    border-bottom: none !important;
    padding: 1rem 1.25rem 0.5rem;
    font-weight: 600;
}

.toast-header.bg-warning {
    color: var(--dark-bg) !important;
}

.toast-header.bg-warning .btn-close {
    filter: invert(1);
}

.toast-body {
    padding: 0.5rem 1.25rem 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.toast .btn-close-white {
    opacity: 0.8;
    transition: all 0.2s ease;
}

.toast .btn-close-white:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Toast Animation */
.toast.showing {
    animation: slideInFromRight 0.4s ease-out;
}

.toast.hide {
    animation: slideOutToRight 0.4s ease-in;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading Spinner in Button */
.fas.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Form Enhancements */
.contact-form .form-control:focus {
    border-color: var(--flash-color);
    box-shadow: 0 0 0 0.2rem rgba(254, 1, 154, 0.25);
}

.contact-form .form-floating > .form-control:focus ~ label {
    color: var(--flash-color);
}

/* Responsive adjustments for contact modal */
@media (max-width: 768px) {
    #confirmModal .modal-dialog {
        margin: 1rem;
    }
    
    #confirmModal .modal-body,
    #confirmModal .modal-footer {
        padding: 1.5rem;
    }
    
    #confirmModal .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .toast {
        min-width: 280px;
        margin: 0 1rem;
    }
    
    #toast-container {
        left: 0;
        right: 0;
        top: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .toast {
        min-width: 260px;
    }
    
    #confirmModal .modal-body .message-preview {
        padding: 1rem;
    }
    
    #confirmModal .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #confirmModal .modal-footer .btn {
        width: 100%;
    }
}

/* Contribute Section */
#contribute .contribute-button {
    text-align: center;
}



/* Privacy Notice */
#loginModal .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.875rem;
}

/* Responsive Login Modal */
@media (max-width: 768px) {
    #loginModal .modal-dialog {
        margin: 1rem;
    }
    
    #loginModal .modal-header,
    #loginModal .modal-body {
        padding: 1.5rem 1rem;
    }
    
    #loginModal .modal-title {
        font-size: 1.25rem;
    }
    
    #googleLoginBtn,
    #loginModal .btn-outline-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #loginModal .modal-header,
    #loginModal .modal-body {
        padding: 1rem;
    }
    
    #googleLoginBtn,
    #loginModal .btn-outline-secondary {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    #loginModal .modal-body .text-center {
        margin-bottom: 1.5rem;
    }
}
