/* ==================================================
   **************************************************
   *                    BASE STYLES                 *
   *                                                *
   **************************************************
===================================================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    color: #343a40;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================================================
   **************************************************
   *                   ANIMATIONS                   *
   *                                                *
   **************************************************
===================================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* ==================================================
   **************************************************
   *                  BUTTON STYLES                 *
   *                                                *
   **************************************************
===================================================== */

.btn-outline {
    border: 5px solid #000;
    background-color: white;
    color: #0870a8;
    transition: background-color 0.3s, color 0.3s;
}

    .btn-outline:hover {
        background-color: #0870a8;
        color: white;
        border: 2px solid #000;
    }

/* ==================================================
   **************************************************
   *                   LINK STYLES                  *
   *                                                *
   **************************************************
===================================================== */

a {
    color: #0870a8;
    text-decoration: none;
}

    a:hover {
        color: #005f73;
        text-decoration: underline;
    }

/* ==================================================
   **************************************************
   *                  NAVBAR STYLES                 *
   *                                                *
   **************************************************
===================================================== */

.navbar {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* More dramatic shadow */
    z-index: 1000; /* Ensure the navbar stays on top of other content */
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    margin-left: 0;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    font-size: 1.1rem;
}

.navbar-nav.ml-auto {
    margin-right: 0;
}

#fullmenubar {
    max-width: 100%;
}

#logobar {
    width: 20%;
}

#logobarmenu {
    width: 60%;
    align-items: center;
    justify-content: center;
}

#logobarlogin {
    width: 20%;
    display: flex;
    justify-content: flex-end;
}

.menu-button {
    display: none; /* Initially hidden */
}

/* Media Query for screens 1200px and below */
@media (max-width: 1200px) {
    .navbar-brand {
        font-size: 1.8rem;
    }

    .menu-button {
        display: block;
        margin-left: auto;
    }

    .navbar-brand img {
        display: none;
    }

    .navbar-brand {
        font-size: 2rem;
    }

    #logobarmenu {
        margin-left: 10%;
        align-items: center;
        justify-content: center;
    }

    #logobarlogin .nav-item .nav-link {
        font-size: 0.8rem;
    }

        #logobarlogin .nav-item .nav-link:before {
            content: "\f007";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            margin-right: 5px;
        }

    #logobarlogin .nav-item .nav-link {
        display: flex;
        align-items: center;
    }

    #logobarlogin .nav-item a.nav-link.text-dark:before {
        content: "\f007";
    }

    #logobarlogin .nav-item form button:before {
        content: "\f2f5";
    }

    #logobarlogin .nav-item form button {
        font-size: 0.8rem;
        display: flex;
        align-items: center;
    }
}

/* Media Query for screens 1000px and below */
@media (max-width: 1000px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .display-3 {
        font-size: 5rem;
    }

    .lead {
        font-size: 1.7rem;
    }
}

/* Media Query for screens 768px and below */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .display-3 {
        font-size: 4.5rem;
    }

    .lead {
        font-size: 1.7rem;
    }

    #logobarlogin {
        width: 30%;
    }

    .text-dark {
        font-size: 1rem;
        color: blue;
    }
}

/* Media Query for screens 576px and below */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .display-3 {
        font-size: 4rem;
    }

    .lead {
        font-size: 1.5rem;
    }
}

/* Media Query for screens 360px and below */
@media (max-width: 360px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.7rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* ==================================================
   **************************************************
   *                SECTION STYLES                  *
   *                                                *
   **************************************************
===================================================== */

.welcome-section {
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

    .welcome-section .content {
        border-radius: 15px;
        padding: 40px 20px;
        animation: fadeInDown 1s ease-out; /* Apply animation */
    }

        .welcome-section .content h1 {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .welcome-section .content p {
            font-size: 1.25rem;
            margin-bottom: 30px;
        }

    .welcome-section .btn-dark-blue {
        background-color: #0870a8;
        border-color: #0870a8;
        color: white;
        padding: 10px;
    }

/* ==================================================
   **************************************************
   *                FEATURE BOX STYLES              *
   *                                                *
   **************************************************
===================================================== */

.feature-box {
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-out; /* Apply animation */
}

    .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

/* ==================================================
   **************************************************
   *              TESTIMONIAL BOX STYLES            *
   *                                                *
   **************************************************
===================================================== */

.testimonial-box {
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInRight 1s ease-out; /* Apply animation */
}

    .testimonial-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

/* ==================================================
   **************************************************
   *                  FOOTER STYLES                 *
   *                                                *
   **************************************************
===================================================== */

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

    .footer .col-md-6.text-md-left {
        display: flex;
        justify-content: flex-start;
    }

    .footer .col-md-6.text-md-right {
        display: flex;
        justify-content: flex-end;
    }

.contact-section ul {
    list-style-type: none;
    padding: 0;
}

    .contact-section ul li {
        margin-bottom: 10px;
    }

/* ==================================================
   **************************************************
   *           PAGE SPECIFIC STYLES                 *
   *                                                *
   **************************************************
===================================================== */

/* Styles for Create Page */
.create-page {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out; /* Apply animation */
}

    .create-page h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

/* Styles for Edit Page */
.edit-page {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInRight 1s ease-out; /* Apply animation */
}

    .edit-page h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

/* Styles for Delete Page */
.delete-page {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 1s ease-out; /* Apply animation */
}

    .delete-page h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #dc3545;
    }

/* Styles for Index Page */
.index-page {
    padding: 20px;
    animation: fadeInDown 1s ease-out; /* Apply animation */
}

    .index-page table {
        width: 100%;
        border-collapse: collapse;
    }

    .index-page th, .index-page td {
        padding: 10px;
        border: 1px solid #ddd;
    }

    .index-page th {
        background-color: #f2f2f2;
        text-align: left;
    }

    .index-page tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .index-page tr:hover {
        background-color: #f1f1f1;
    }

/* ==================================================
   **************************************************
   *           MEDIA QUERIES                        *
   *                                                *
   **************************************************
===================================================== */

/* Additional responsive adjustments for specific page styles */
@media (max-width: 768px) {
    .create-page, .edit-page, .delete-page, .index-page {
        padding: 10px;
    }

        .create-page h2, .edit-page h2, .delete-page h2 {
            font-size: 1.5rem;
        }

        .index-page table, .index-page th, .index-page td {
            font-size: 0.9rem;
        }
}

@media (max-width: 576px) {
    .create-page, .edit-page, .delete-page, .index-page {
        padding: 5px;
    }

        .create-page h2, .edit-page h2, .delete-page h2 {
            font-size: 1.2rem;
        }

        .index-page table, .index-page th, .index-page td {
            font-size: 0.8rem;
        }
}

/* Accordion Card Styles */
.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

/* Card Header Styles */
.card-header {
    background-color: #0870a8; /* Use your existing header color */
    color: white;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

    .card-header h2 {
        font-size: 1.2rem;
        margin: 0;
    }

    /* Button Styles */
    .card-header .btn {
        color: white;
        text-decoration: none;
        width: 100%;
        text-align: left;
        padding: 0;
        border: none;
        background: none;
    }

        .card-header .btn:hover,
        .card-header .btn:focus {
            text-decoration: none;
            outline: none;
            color: white;
        }

/* Card Body Styles */
.card-body {
    background-color: #f8f9fa;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #343a40;
}

/* Collapse Animation */
.collapse {
    transition: height 0.3s ease;
}

/* Additional Animation Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Button Styles */
.btn-link {
    color: white; /* Use your existing button color */
    text-decoration: none;
}

    .btn-link:hover {
        color: white; /* Darken on hover */
        text-decoration: underline;
    }

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .card-header {
        padding: 15px;
    }

        .card-header h2 {
            font-size: 1rem;
        }

    .card-body {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .card-header {
        padding: 10px;
    }

        .card-header h2 {
            font-size: 0.9rem;
        }

    .card-body {
        padding: 10px;
    }
}

/* ==================================================
   **************************************************
   *         HOMEPAGE SPECIFIC OVERRIDES          *
   *      (Hero, Features, Additional Info)         *
   **************************************************
===================================================== */

/* Full Width Hero Section with Modern Minimal Look */
.hero-section {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 0 !important;
    padding: 100px 0 !important;
    background: linear-gradient(135deg, #0870a8, #4A4A4A) !important;
}

    .hero-section .content {
        background: transparent !important;
        padding: 20px;
        border-radius: 0 !important;
    }

        .hero-section .content h1 {
            font-size: 4rem;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        }

/* Modernized, Flat Feature Boxes for Homepage */
.features .feature-box,
.additional-features .feature-box {
    box-shadow: none !important;
    border: 1px solid #e0e0e0;
    border-radius: 0 !important;
    background-color: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .features .feature-box:hover,
    .additional-features .feature-box:hover {
        transform: translateY(-5px);
        border-color: #0870a8;
    }

/* Clean, Modern Info Section */
.info-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

    .info-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .info-section p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

/* Feature Section Styles */
.features-section {
    padding: 2rem 1rem;
    background: #f9f9fb; /* light background to distinguish the section */
}

    /* Section Title */
    .features-section .features-title {
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: #333;
    }

/* Grid Container */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

/* Individual Feature Item */
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    background: #fff;
    color: #333;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Feature Icon with Font Awesome */
.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0870a8; /* use your primary color for icons */
}

/* Feature Item Hover State */
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fdfdfd;
}

/* Feature Item Title */
.feature-item h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #222;
}

/* Feature Item Description */
.feature-item p {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .feature-item {
        padding: 1rem;
    }

        .feature-item h3 {
            font-size: 1rem;
        }

        .feature-item p {
            font-size: 0.9rem;
        }
}



/* ==================================================
   **************************************************
   *           END OF HOMEPAGE OVERRIDES            *
   **************************************************
===================================================== */

/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
   for details on configuring this project to bundle and minify static web assets. */

/* Write your JavaScript code below (or in a separate file) */
