/* Modern Theme - Shared Styles */

:root {
    --primary-color: #00bcd4;
    --secondary-color: #0097a7;
    --accent-color: #ff4081;
    --dark-bg: #1a202c;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-color: #333333;
    --text-light: #f8f9fa;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
    --shadow-neon: 0 0 15px rgba(0, 188, 212, 0.5);
}

body {
    background-color: #f4f6f8;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Hero Section Base */
.heroBox {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    margin-top: 1rem;
    background: transparent;
    box-shadow: none;
    animation: fadeInUp 0.8s ease-out forwards;
}

.heroContent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    color: white;
    text-align: left;
}

.heroContent1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Gradients */
.bgCustom {
    background: linear-gradient(-45deg, #0097a7, #00bcd4, #26c6da, #006064) !important;
    background-size: 400% 400% !important;
    animation: gradientBG 15s ease infinite;
    color: white;
    padding: 2rem 0;
    margin-top: 0;
    position: relative;
}

.bgWhiteContent {
    background-color: white !important;
    color: black !important;
    padding: 2rem 0;
    position: relative;
}

/* White Card Theme */
.white-card {
    background-color: white !important;
    color: black !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.white-card .card-body {
    color: black !important;
}

.white-card .card-text {
    color: black !important;
}

.white-card .card-header:not(.bgCustom) {
    background-color: #f8f9fa !important;
    color: black !important;
}

.white-card .card-header:not(.bgCustom) .card-title {
    color: black !important;
}

/* Cards & Glassmorphism */
body .card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Card Header Overrides (ensure they blend) */
.card-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding: 1rem;
    margin-bottom: 0.75rem;
    min-height: 8rem;
    /* Ensure uniform height for all headers */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button High Contrast Override */
.card .btn-outline-info {
    color: var(--text-light) !important;
    border-color: var(--text-light) !important;
}

.card .btn-outline-info:hover {
    background-color: var(--text-light) !important;
    color: var(--primary-color) !important;
    border-color: var(--text-light) !important;
}

/* Specific overrides for white cards to ensure they win regardless of load order */
.white-card .btn-outline-info {
    color: #00bcd4 !important;
    border-color: black !important;
}

.white-card .btn-outline-info:hover {
    background-color: #00bcd4 !important;
    color: white !important;
    border-color: black !important;
}

.card-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 0.4rem 0;
    font-weight: 400;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .heroContent1 {
        font-size: 1.3rem;
    }
}