:root {
    /* Updated Color Scheme */
    --primary-color: #8d0000;       /* Deep red */
    --secondary-color: #4b0000;     /* Darker red */
    --accent-color: #ff9191;        /* Light pinkish red */
    --background-light: #ffdada;    /* Soft light pink */
    --background-dark: #2b0000;     /* Blackish red */
    --text-light: #333333;          /* Dark gray for text */
    --text-dark: #ffffff;           /* White for dark mode text */
    --ocean-blue: #0da734;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
    background-color: var(--background-light);
    color: var(--text-light);
    overflow-x: hidden;
}

body.dark-mode {
    background-color: var(--background-dark);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--background-light); 
    color: var(--text-dark);
}

.navbar-brand h1 {
    font-family: 'Playfair Display', serif; 
    font-weight: 700;
    color: var(--background-light);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
}

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

main {
    margin-top: 80px;
    position: relative;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 700;
}

.section-title {
    font-family: 'Playfair Display', serif; 
    font-weight: 700;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

#dark-mode-toggle {
    font-size: 1.2rem;
}

#underwater-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: bubbleRise 20s linear infinite;
}

.fish {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    animation: fishSwim 30s linear infinite;
}

@keyframes bubbleRise {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(0, -100vh);
        opacity: 0;
    }
}

@keyframes fishSwim {
    0% {
        transform: translateX(var(--start)) scaleX(var(--direction));
    }
    100% {
        transform: translateX(var(--end)) scaleX(var(--direction));
    }
}




.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    background-color: var(--background-light);
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 20px 30px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
    font-family: 'Roboto', sans-serif;
    background-color: var(--text-dark);
    color: var(--text-light);
}

.nav-tabs {
    border-bottom: 2px solid var(--ocean-blue);
}

.nav-tabs .nav-link {
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: var(--background-light);
    border-radius: 5px 5px 0 0;
}

.tab-content {
    padding-top: 20px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.action-steps {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.action-steps li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.action-steps li i {
    color:green;
    margin-right: 10px;
    font-size: 1.2em;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: none;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Animation for tab content */
.tab-pane {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out;
}


.custom-modal .fas {
    color: green; /* Change to your preferred shade of green */
}


.credit {
    color: #007BFF; /* Change this to your desired color */
    font-weight: bold;
}


.custom-list {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove default padding */
}

.custom-list li {
    margin-left: 1.5em; /* Optional: Indent list items for better appearance */
}


.animated {
    opacity: 0;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



.modal-backdrop.show {
    opacity: 0.7;
}


.icon {
    width: 60px; /* Set the width for small icons */
    height: 60px; /* Set the height for small icons */
    vertical-align: middle; /* Align with text */
    margin-right: 8px; /* Space between icon and text */
}


.lead-text {
    max-width: 70%; /* Adjust as needed */
    margin: 0 auto;
}


.action-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.fact-box {
    background-color: #f8f9fa;
    border-left: 4px solid #17a2b8;
    padding: 1rem;
    margin-bottom: 1rem;
}


/* For smaller screens (tablets, mobile devices) */
@media (max-width: 768px) {
    .bg-image {
        background-size: contain; /* Ensures the image is fully visible */
        height: 50vh; /* Reduce the height for smaller screens */
        background-position: top; /* Adjust position for better visibility */
    }
}

/* For very small devices (mobile phones) */
@media (max-width: 480px) {
    .bg-image {
        height: 40vh; /* Further reduce height for mobile phones */
        background-size: cover;
    }
}
