/* Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0d1117;
    color: #ffffff;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #161b22;
}

.logo {
    font-size: 24px;
    font-weight: 600;
}
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px; /* Adjust size as needed */
    margin-right: 10px;
}
/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}


.search-container input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    background: #30363d;
    color: #ffffff;
}

.search-container button {
    background: #238636;
    border: none;
    padding: 10px;
    color: white;
    cursor: pointer;
}

/* Navbar */
nav {
    background: #161b22;
    padding: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #58a6ff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffffff;
}
/* Account Dropdown */
.account-menu {
    position: relative;
    cursor: pointer;
}

.account-menu .account-icon {
    font-size: 26px;
    color: white;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: #1c1f26;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    min-width: 160px;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}
.dropdown-menu a:hover {
    background: #35383e;
}

/* Show Dropdown */
.account-menu:hover .dropdown-menu {
    display: block;
}



/* Main Content */
main {
    min-height: 70vh;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Insights Section */
.insights {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.insights:hover {
    transform: scale(1.02);
}

.insights img {
    max-width: 400px;
    border-radius: 10px;
}

.info-box {
    padding: 20px;
    max-width: 400px;
}

.info-box h2 {
    color: #58a6ff;
}

/*button.learn-more {
    background: #238636;
    color: white;
    padding: 12px 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button.learn-more:hover {
    background: #2ea043;
}*/


    
.learn-more-btn {
    display: inline-block;
    background: #22c55e; /* Green color */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.learn-more-btn:hover {
    background: #16a34a; /* Darker green on hover */
}


/* Footer */
footer {
    background: #161b22;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

footer a {
    color: #58a6ff;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .insights {
        flex-direction: column;
        align-items: center;
    }

    .insights img {
        max-width: 100%;
    }
}


.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: #1c1f26;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    min-width: 160px;
    z-index: 1000; /* Make sure it's above other elements */
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #35383e;
}

