/* General Page Styles with Seamless Blue Aurora Background */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 200% 200%; /* Larger background to create smooth transitions */
    background-position: right center;
    background-color: #E3F2FD;
    background: linear-gradient(135deg, #D4F1F4, #75E6DA, #189AB4, #05445E);
    animation: aurora 12s ease infinite;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #343A40;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    margin-bottom: 10px;
    top: 20px;
    z-index: 1000;
    border-radius: 15px;
}

.navbar-logo img {
    max-height: 30px;
    transition: opacity 0.3s ease;
}

.navbar-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    margin-right: 20px;
}

.navbar-links a {
    text-decoration: none;
    color: #000;
    font-weight: bold; 
}

.navbar-button {
    background-color: #0D445D;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
}

.navbar-button:hover {
    background-color: #e8921e;
}

/* Aurora animation keyframes */
@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-section {
    height: 80vh; 
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center; 
    justify-content: center;
    text-align: center;
    background-color: #F5F7FA;
    border-radius: 15px;
    margin-bottom: 10px;
} 

.hero-section h1 {
    color: #343A40; /* Text Color */
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.hero-section .highlight {
    color: #EE8100; /* Primary Accent Color */
}

.hero-section p {
    color: #6C757D; /* Secondary Accent Color */
    font-size: 1.25rem;
}

/* Full-height container to ensure background fills the screen */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    text-align: center;
    background-color: #F5F7FA;
    border-radius: 15px;
}

.title-with-bg {
    font-size: 2rem;
    font-weight: 700;
    background-color: #189AB4; /* Match your theme's primary color */
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.card {
    background-color: #f7f9fc; /* Slightly lighter background for contrast */
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: #05445E; /* Darker blue for titles */
    font-weight: 500;
}

.card-text {
    color: #333333;
}

.card img {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    max-height: 200px;
    object-fit: cover;
}

.container-mid {
    background-color: #D4F1F4; /* Background color to match theme */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}

.container-mid .row {
    margin: 0; /* Ensure there's no extra margin between rows */
}


.cta-btn {
    background-color: #0D445D; 
    color: #ffffff;
    padding: 15px 30px;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: #EE8100; /* Darker shade of Highlight Color for hover effect */
}


.landing-text {
    color: #343A40;
}

.side-image {
    position: absolute;
    bottom: 0; /* Align images to the bottom */
    transform: translateY(10%); /* Slightly lower the images */
    max-width: 40%; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    z-index: 0; /* Keep images behind the text */
}

.left {
    left: 5%; /* Slightly inset from the edge */
}

.right {
    right: 5%; /* Slightly inset from the edge */
}

h1 {
    font-size: 4rem; /* Ensure the heading is prominent */
    font-weight: bold;
    margin-bottom: 1rem; /* Adjust space below the heading */
    color: #0D555E;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

#sliderCarousel {
    position: absolute;
    top: 0;
    left: 0;
}

.card-div-click {
    text-decoration: none;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.05);
    border-color: #002366;
    border-style: solid;
    border-width: medium;
}

.card img {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.card-title {
    font-size: 3rem;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #6c757d;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #189AB4; /* Match your primary theme color */
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    color: #FFFFFF;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: #05445E; /* Darker shade on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .navbar-links {
        display: none; /* Hide navbar links on smaller screens */
    }

    .navbar-button {
        padding: 10px 15px;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-section h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    #cta-btn {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
    
    .side-image {
        max-width: 50%;
        height: auto; /* Ensure it maintains the aspect ratio */
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 20px; /* Ensure padding to avoid overlaps */
    }

    .side-image {
        position: absolute; /* Keep absolute positioning for better control */
        width: 50%;
        margin: 0 auto;
        max-width: 80%;
        height: auto;
        bottom: 10px; /* Adjust positioning */
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    #cta-btn {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 1rem;
    }

    #cta-btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .container {
        justify-content: center;
        align-items: center;
        flex-direction: column; 
        text-align: center;
    }

    .side-image {
        position: absolute; /* Keep absolute positioning */
        width: 60%;
        margin: 0 auto;
        max-width: 90%;
        height: auto;
        bottom: 0; /* Adjust positioning */
    }
}
