/* Modern Premium Styling - Full Screen View */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    text-align: center;
}

/* Top Navigation Header Styling */
.top-navbar {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.nav-btn {
    background: none;
    border: none;
    color: #4fc3f7;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 10px 15px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-btn:hover {
    background: rgba(79, 195, 247, 0.15);
    color: #ffffff;
}

/* Dropdown Content */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 10px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1001;
    padding: 10px 0;
    text-align: left;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: #b0bec5;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(79, 195, 247, 0.2);
    color: #ffb300;
    padding-left: 25px;
}

/* Search Bar Styling */
.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.4);
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 10px;
}

.search-input {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 6px 10px;
    font-size: 0.9rem;
    outline: none;
    width: 160px;
}

.search-btn {
    background: none;
    border: none;
    color: #4fc3f7;
    cursor: pointer;
    font-size: 1rem;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
}

/* Main Brand Header */
h1 {
    font-size: 3.8rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #ffffff, #4fc3f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.3rem;
    color: #b0bec5;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Coming Soon Status Badge */
.badge {
    background: linear-gradient(90deg, #ff8c00 0%, #ffb300 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid & Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(79, 195, 247, 0.5);
    box-shadow: 0 12px 40px rgba(79, 195, 247, 0.2);
}

.card h3 {
    margin-top: 0;
    color: #4fc3f7;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    color: #cfd8dc;
    line-height: 1.5;
    margin: 0;
}

/* Full Width Content Sections */
.full-page-section {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: left;
    width: 100%;
    margin: 30px 0;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.email-section {
    margin-bottom: 15px; 
    font-size: 1rem; 
    background: rgba(255,255,255,0.04); 
    display: inline-block; 
    padding: 10px 24px; 
    border-radius: 30px; 
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.email-link {
    color: #4fc3f7; 
    text-decoration: none; 
    font-weight: bold; 
    margin-left: 5px;
    transition: color 0.2s;
}

.email-link:hover {
    color: #ffb300;
}

.copyright {
    font-size: 0.9rem; 
    color: #78909c; 
    margin: 0;
}
/* ============================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION (ADD AT THE END)
   ============================================================ */

/* 1. Universal Media & Image Box Sizing Fix */
img, svg, video {
    max-width: 100%;
    height: auto;
}

/* 2. Tablet & Smaller Laptops (Max Width: 992px) */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .container {
        padding: 20px 15px;
    }

    .full-page-section {
        padding: 25px 20px;
    }
}

/* 3. Mobile Devices & Small Screens (Max Width: 768px) */
@media screen and (max-width: 768px) {
    /* Top Navbar Mobile Optimization */
    .top-navbar {
        padding: 10px 8px;
        gap: 8px;
        justify-content: space-around;
    }

    .nav-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    /* Dropdown Position Fix for Mobile */
    .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 5%;
        right: 5%;
        width: 90%;
        transform: none;
        max-height: 70vh;
        overflow-y: auto;
    }

    /* Mobile Search Bar Width */
    .search-container {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
        justify-content: space-between;
    }

    .search-input {
        width: 85%;
    }

    /* Header & Tagline Responsive Scaling */
    h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.85rem;
        padding: 8px 18px;
    }

    /* Card Grid Mobile Stacking */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card {
        padding: 20px 15px;
    }

    .full-page-section {
        padding: 20px 15px;
        margin: 20px 0;
        border-radius: 12px;
    }

    /* Email Section Mobile Box */
    .email-section {
        width: 100%;
        word-break: break-all;
        padding: 8px 12px;
        font-size: 0.88rem;
    }
}

/* 4. Ultra-Small Screens (Max Width: 480px - Budget Mobile Phones) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .nav-btn {
        font-size: 0.75rem;
        padding: 5px 8px;
    }

    .full-page-section h2 {
        font-size: 1.6rem !important;
    }

    .full-page-section p {
        font-size: 0.95rem !important;
    }
}
/* Notification Button Glow Effect */
.notif-btn {
    color: #ffb300 !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

.notif-btn:hover {
    transform: scale(1.1);
    color: #ffffff !important;
}
/* ============================================================
   FLOATING POPUP MODAL & SCROLLING TICKER STYLING
   ============================================================ */

/* News Ticker Bar */
.news-ticker-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
    max-width: 900px;
    margin: 15px auto 25px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-label {
    background: #ff3d00;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    margin-right: 15px;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-link {
    color: #eceff1;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: bold;
    display: inline-block;
    animation: tickerScroll 15s linear infinite;
}

.ticker-link:hover {
    color: #4fc3f7;
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Modal Popup Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: #101c24;
    border: 1px solid rgba(79, 195, 247, 0.4);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.modal-header {
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #4fc3f7;
    font-size: 1.2rem;
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: #ff5252;
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.update-card-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 15px;
    text-align: left;
}

.update-badge {
    color: #000;
    font-size: 0.68rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.update-card-item h4 {
    color: #ffffff;
    margin: 8px 0 6px 0;
    font-size: 1rem;
}

.update-card-item p {
    color: #b0bec5;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

.modal-action-btn {
    display: inline-block;
    background: rgba(79, 195, 247, 0.15);
    border: 1px solid #4fc3f7;
    color: #4fc3f7;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.82rem;
    cursor: pointer;
}

.modal-action-btn:hover {
    background: #4fc3f7;
    color: #000;
}

.notif-badge {
    background: #ff3d00;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: bold;
    position: relative;
    top: -8px;
    left: -2px;
}
