/* Main layout */
body, html {
    height: 100%;
    margin: 0;
    font-family: "Lato", sans-serif;
    color: #777;
    scroll-behavior: smooth;
}

.body-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Nav */
.w3-bar {
    overflow: hidden;
    background-color: #173B45 !important;
}

.w3-bar-item {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.w3-bar-item:hover {
    background-color: #ddd;
    color: black;
}


/* Header */
.animus_banner {
    max-width: 100%;
}

.logo {
    width: 120px;
    height: 120px;
    padding: 10px;
}

/* Footer */
/* Dropdown menu for privacy policy */
.footer .dropdown {
    position: relative; /* Makes the dropdown menu relative to this container */
}

.footer .dropdown-menu {
    position: absolute;
    bottom: 100%; /* This should make it appear above the link */
    left: 0;
    background-color: #000;
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 5px;
    z-index: 1000; /* Ensures it stays on top */
    display: none; /* Initially hidden */
}

.footer .dropdown-menu li {
    padding: 5px 0;
}

.footer .dropdown-menu li a {
    color: #fff;
    text-decoration: none;
}

.footer .dropdown:hover .dropdown-menu {
    display: block; /* Shows the dropdown when hovering */
    position: absolute;
    bottom: 100%; /* Ensures it is placed above */
    top: auto; /* Remove any top positioning */
    margin-bottom: -5px; /* Adds space between the dropdown and the link */
}

.footer .dropdown-menu li a:hover {
    text-decoration: underline;
}

/* For mobile: class to toggle the dropdown visibility on click */
.footer .dropdown.show .dropdown-menu {
    display: block;
}



/* Hero Section */
#hero {
    background: #FF8225;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative; /* Required to position buttons relative to this section */
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
}

/* Showcase */
.myShowcase {
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
    background: #ffffff;
}

.w3-content.w3-display-container {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

#card-slider {
    display: inline-block;
    transition: transform 0.5s ease;
    color: #000;
}

/* Showcase Navigation Buttons */
.w3-button.w3-display-left, .w3-button.w3-display-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    z-index: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Optional: Adds a circular shape to the buttons */
}

.w3-button.w3-display-left {
    left: 10; /* Adjust this value to bring the arrow closer */
}

.w3-button.w3-display-right {
    right: 0; /* Adjust this value to bring the arrow closer */
}

.custom_link{
    font-family: "Comic Sans MS", cursive, sans-serif;
    font-weight: normal;
    font-size: 16px;
    color: #1960d5;
}

.footer{
    background-color: #173B45;
    color: #ffffff;
    padding: 1rem;
    width: 100%;
    margin-top: auto;
}

/* Adjusting individual cards */
.w3-third {
    display: inline-block;
    margin: 0 10px;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
}

/* Site Map */
.w3-modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px; 
}
.w3-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive adjustments */
@media only screen and (max-width: 900px) {
    .w3-third {
        width: calc(50% - 20px);
    }
}

@media only screen and (max-width: 600px) {
    .w3-third {
        width: calc(100% - 20px);
    }
}
