/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f3f4f6;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: white;
    padding: 80px 20px;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -150px;
    width: 500px;
    height: 100%;
    background: linear-gradient(135deg, #fcd34d 0%, #facc15 100%);
    transform: skewX(-15deg);
    transform-origin: top right;
    z-index: 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -150px;
    width: 500px;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23facc15" fill-opacity="1" d="M0,224L48,224C96,224,192,224,288,192C384,160,480,96,576,69.3C672,43,768,43,864,64C960,85,1056,128,1152,144C1248,160,1344,149,1392,144L1440,139L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-text {
    flex-grow: 1;
    padding-left: 20px;
}
.hero-profile {
    position: absolute;
    top: 50%;
    right: calc(220px - 60px);
    transform: translateY(-50%);
    z-index: 3;
}
.profile-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border: 5px solid rgba(255, 255, 255, 0.4);
    overflow: hidden; 
}
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-title {
    font-size: 4.0rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fcd34d;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
.hero-links {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.button-orange {
    background-color: #f9a825;
    color: white;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(249, 168, 37, 0.4);
    transition: transform 0.2s;
}
.button-orange:hover {
    transform: translateY(-2px);
}
.button-blue-outline {
    background-color: white;
    color: #3b82f6;
    font-weight: 600;
    padding: 14px 35px;
    border: 2px solid #3b82f6;
    border-radius: 9999px;
    transition: background-color 0.2s, color 0.2s;
}
.button-blue-outline:hover {
    background-color: #3b82f6;
    color: white;
}
/* Card Section */
.main-content {
    padding: 5rem 1rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #4a148c;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid;
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-8px);
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.card-description {
    color: #6b7280;
}
/* Card Colors */
.card-purple { border-color: #a78bfa; }
.card-blue { border-color: #60a5fa; }
.card-green { border-color: #34d399; }
.card-orange-left { border-left: 4px solid #fb923c; border-top: none; }
.card-teal-left { border-left: 4px solid #2dd4bf; border-top: none; }
.card-red-bottom { border-bottom: 4px solid #ef4444; border-top: none; }
.card-yellow-bottom { border-bottom: 4px solid #fcd34d; border-top: none; }
.card-indigo-bottom { border-bottom: 4px solid #818cf8; border-top: none; }
/* Header CSS */
.gradient-bg {
    background: linear-gradient(45deg, #4a90e2, #dc3545, #28a745);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.nav-link {
    text-align: center;
    white-space: nowrap;
}
.nav-link.active {
    background-color: #fff;
    color: #4a90e2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.mobile-nav-link.active {
    background-color: #e2e8f0;
    color: #4a90e2;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
/* The CSS for the hamburger button and mobile menu has been removed */
.live-badge-container { position: relative; display: inline-flex; align-items: center; }
.live-badge { position: absolute; top: -8px; right: -15px; background-color: #ff0000; color: white; font-size: 9px; font-weight: bold; padding: 2px 5px; border-radius: 5px; text-transform: uppercase; animation: pulse-animation 1.5s infinite; line-height: 1; }
@keyframes pulse-animation { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); } }
.auth-container {
    min-width: 150px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.notifications-container {
    position: relative;
    margin-left: 20px;
}
.notifications-icon {
    cursor: pointer;
    position: relative;
    color: white;
    font-size: 24px;
}
.notifications-icon:hover {
    color: #ccc;
}
.notifications-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1;
    display: none;
}
.notifications-popup {
    position: absolute;
    top: 45px;
    right: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    display: none;
}
.notifications-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
.notifications-popup-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}
.clear-all-btn {
    font-size: 12px;
    color: #555;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}
.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.notification-item:hover {
    background-color: #f9f9f9;
}
.notification-item:last-child {
    border-bottom: none;
}
.notification-empty {
    padding: 20px;
    text-align: center;
    color: #999;
}
#mobile-menu-popup.open {
    transform: translateX(0);
}
/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    header nav.hidden.md\:flex {
        display: none;
    }
    .hero-section {
        padding: 60px 15px;
        min-height: 40vh;
    }
    .hero-section::before,
    .hero-section::after {
        right: -100px;
        width: 400px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-profile {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-top: 1.5rem;
        order: -1;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-text {
        padding-left: 0;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        color: black;
        font-size: 1.5rem;
    }
    .hero-links {
        font-size: 0.9rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .button-orange, .button-blue-outline {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .card {
        padding: 1.5rem;
    }
    .cards-grid {
        gap: 1rem;
    }
    .mobile-nav-link {
        display: block;
        padding: 12px 10px;
        font-size: 0.95rem;
        color: #374151;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s;
    }
    .mobile-nav-link:hover {
        background-color: #3168d4;
    }
    #mobile-menu-popup.open {
        transform: translateX(0);
    }
}