/* Home Page Body and Layout Styles - Clean Version */

/* Landing Page Background */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-attachment: fixed;
}

.landing-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 100, 175, 0.45) 0%, rgba(10, 77, 140, 0.55) 100%);
    z-index: 1;
}

/* Only target specific classes that need resets */
.landing-page-container .page-content,
.landing-page-container .content-wrapper,
.landing-page-container .content-inner {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: fixed;
    top: 250px;
    left: 50px;
    z-index: 10;
    width: 700px;
}

.hero-content {
    color: #333;
}

.hero-tagline {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    margin-left: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 650px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    display: block;
    margin-top: 10px;
    opacity: 0.9;
}

.announcement-text {
    margin-bottom: 30px;
    text-align: left;
}

.announcement-link {
    color: #ff4444;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.announcement-link:hover {
    color: #ff6666;
    text-decoration: none;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.status-widget {
    margin-bottom: 30px;
    max-width: 400px;
}

.status-details {
    max-width: 650px;
}

.status-widget .card {
    background: linear-gradient(135deg, rgba(8, 100, 175, 0.8) 0%, rgba(10, 77, 140, 0.8) 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(8, 100, 175, 0.3);
    transition: all 0.3s ease;
}

.status-widget .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 100, 175, 0.4);
}

.status-widget .card-body {
    padding: 20px;
}

.status-widget h6 {
    font-weight: 700;
    font-size: 1.1rem;
}

.status-widget span {
    font-size: 0.9rem;
}

/* SoPEL Applications Card */
.sopel-status-card {
    background: white;
    width: 500px;
    margin-left: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    min-height: 200px;
    max-height: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sopel-status-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.sopel-status-card .card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.status-open-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.status-closed-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.programme-list {
    margin-top: 15px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 250px;
}

.programme-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.programme-list li {
    padding: 3px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.75rem;
    line-height: 1.1;
}

.programme-list li:last-child {
    border-bottom: none;
}

.programme-list .text-muted.small {
    font-size: 0.65rem;
    margin-top: 1px;
}

.programme-list::-webkit-scrollbar {
    width: 6px;
}

.programme-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.programme-list::-webkit-scrollbar-thumb {
    background: rgba(8, 100, 175, 0.3);
    border-radius: 3px;
}

.programme-list::-webkit-scrollbar-thumb:hover {
    background: rgba(8, 100, 175, 0.5);
}

.programme-code {
    font-weight: 600;
    color: #0864af;
}

.programme-name {
    font-weight: 700;
    color: #333;
}

.programme-cost {
    font-size: 0.7rem;
    font-weight: 600;
    color: #28a745;
    margin-left: 5px;
}

.programme-cost.free {
    color: #dc3545;
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    width: 350px;
    background: rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-heading {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
}

.contact-numbers span {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    background: rgba(8, 100, 175, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-schedule {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
}

.contact-schedule span {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    background: rgba(8, 100, 175, 0.4);
    padding: 1px 6px;
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
}

.hero-location {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Assistance Button */
.assistance-button {
    position: fixed;
    bottom: 160px;
    right: 30px;
    z-index: 1000;
}

.assistance-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #0864af;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 100, 175, 0.3);
}

.assistance-btn:hover {
    background: #0a4d8c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 100, 175, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        position: relative;
        width: 100%;
        left: 0;
        top: 0;
        padding: 15px;
        margin-top: 60px;
        z-index: 10;
    }
    
    .hero-tagline {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 1.3rem;
        text-align: center;
        line-height: 1.4;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .announcement-text {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .announcement-link {
        font-size: 0.95rem;
    }
    
    .status-widget {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .status-details {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .status-widget .card-body {
        padding: 15px;
    }
    
    .status-widget h6 {
        font-size: 1rem;
    }
    
    .status-widget span {
        font-size: 0.85rem;
    }
    
    .contact-section {
        position: fixed;
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        padding: 10px;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.17);
    }
    
    .contact-heading {
        font-size: 0.7rem;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .contact-numbers {
        justify-content: center;
        gap: 2px 4px;
        flex-wrap: wrap;
    }
    
    .contact-numbers span {
        font-size: 0.6rem;
        padding: 1px 3px;
    }
    
    .contact-schedule {
        align-items: center;
        margin-bottom: 5px;
    }
    
    .contact-schedule span {
        font-size: 0.6rem;
        text-align: center;
    }
    
    .hero-location {
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
        margin-top: 15px;
        padding: 0 10px;
    }
    
    .assistance-button {
        bottom: 120px;
        right: 10px;
    }
    
    .assistance-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .assistance-btn i {
        font-size: 1rem;
    }
    
    .hero-content {
        padding-bottom: 120px;
    }
    
    .sopel-status-card {
        width: 100%;
        max-width: 500px;
        margin-left: 0;
        margin-bottom: 15px;
        height: auto;
        min-height: 300px;
        padding: 15px;
    }
    
    .sopel-status-card .card-header {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .sopel-status-card .card-body {
        padding: 0;
    }
    
    .programme-list {
        margin-top: 10px;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .programme-list h6 {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .programme-list li {
        font-size: 0.75rem;
        padding: 3px 0;
    }
    
    .programme-list .text-muted.small {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 10px;
        margin-top: 50px;
    }
    
    .hero-tagline {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .announcement-link {
        font-size: 0.85rem;
    }
    
    .announcement-text {
        margin-bottom: 15px;
    }
    
    .status-widget {
        margin-bottom: 12px;
    }
    
    .status-details {
        margin-bottom: 12px;
    }
    
    .status-widget .card-body {
        padding: 12px;
    }
    
    .status-widget h6 {
        font-size: 0.9rem;
    }
    
    .status-widget span {
        font-size: 0.75rem;
    }
    
    .contact-section {
        bottom: 8px;
        right: 8px;
        left: 8px;
        padding: 8px;
    }
    
    .contact-heading {
        font-size: 0.65rem;
        margin-bottom: 3px;
    }
    
    .contact-numbers span {
        font-size: 0.55rem;
        padding: 1px 2px;
    }
    
    .contact-schedule span {
        font-size: 0.55rem;
    }
    
    .hero-location {
        font-size: 0.75rem;
        margin-top: 12px;
        padding: 0 5px;
    }
    
    .assistance-button {
        bottom: 80px;
        right: 8px;
    }
    
    .assistance-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 25px;
    }
    
    .hero-content {
        padding-bottom: 100px;
    }

    .sopel-status-card {
        position: fixed;
        top: 320px;
        left: 10px;
        right: 10px;
        width: auto;
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 8px;
        box-shadow: none;
        border: none;
        background: white;
        color: black;
        font-weight: bold;
        font-size: 0.8rem;
        margin-left: 0;
        z-index: 15;
    }
}   