/* ✅ General Page Styling */
body, html {
    font-family: Arial, sans-serif;
    background-color: #eee7e7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* ✅ Fix: Center the Header & Restore Spacing */
.header-container {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 20px auto; /* Ensures proper top spacing */
    padding-top: 20px; /* Extra space at the top */
}

.header-container h1,
.header-container h2 {
    text-align: center;
    margin: 10px 0;
}

/* ✅ Fix: Proper Card Layout */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Proper spacing between cards */
    max-width: 1200px;
    padding: 20px;
}

/* ✅ Cards */
.card {
    flex: 1 1 calc(33.33% - 30px); /* Ensures 3 cards per row */
    max-width: 300px;
    height: 300px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.63);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.text {
    flex-grow: 1;
    padding: 10px;
    font-size: 1.3em;
    color: rgb(255, 255, 255);
    font-weight: bold;
}

.subtitle {
    font-size: 0.9em;
    font-weight: 300;
    color: rgb(255, 255, 255);
}

/* ✅ Icons */
.icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    width: 50px;
    height: 50px;
    background-color: rgba(177, 208, 226, 0.932);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn:hover {
    background-color: rgb(141, 164, 240);
}

.svg-icon {
    width: 25px;
    height: 25px;
    stroke: rgb(18, 67, 231);
}

/* ✅ Side Tab */
.side-tab {
    position: fixed;
    right: -15px;
    top: 50%;
    background-color: #ff9800;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 8px;
    transition: right 0.3s;
    z-index: 9999;
    text-align: center;
    line-height: 1.5;
}
.side-tab:hover {
    right: 0;
}

/* ✅ Fix: Ensure Footer Sticks to the Bottom */
.main-content {
    flex: 1; /* Pushes the footer down */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ✅ Fix: Footer Covering Full Width Without Gaps */
.footer {
    width: 100vw; /* Ensures full width without gaps */
    background-color: black;
    color: white;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    left: 0;
    margin: 0;
}

/* ✅ Ensures Footer Always Covers Bottom */
footer {
    width: 100vw; /* Forces full width */
    text-align: center;
    padding: 15px;
    background-color: black;
    color: white;
}

/* ✅ Navigation Menu Styles */
.navbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent */
    display: flex;
    justify-content: center;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

/* ✅ Navbar Items */
.nav-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 18px;
    transition: 0.3s ease-in-out;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* ✅ Dropdown Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 180px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.dropdown-content a {
    color: white;
    padding: 10px;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
