:root {
    --primary: #28BDBF;       /* Xanh SM Brand Color */
    --primary-dark: #1b9b9e;  /* Darker Teal */
    --secondary: #0CB0A6;     /* Accent Cyan */
    --text-main: #1C1C1C;
    --text-muted: #5C5C5C;
    --bg-light: #F4F7F6;
    --white: #FFFFFF;
    --border: #E5E9E7;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(40, 189, 191, 0.2);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: #05A3AD; /* User requested color to match logo */
    color: var(--white);
    padding: 80px 20px 60px;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.main-logo {
    height: 120px;
    max-width: 90vw;
    object-fit: contain;
    margin-bottom: 25px;
    transform: scale(1.4); /* Increase size visually without pushing text down */
}

.hero h1 {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h2 {
    font-size: 4rem;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Container */
.container {
    max-width: 1000px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Notice Banner */
.notice-banner {
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
}

.notice-icon {
    font-size: 1.8rem;
    color: #F5A623;
}

.notice-text {
    font-size: 1.05rem;
    color: var(--text-muted);
}
.notice-text strong {
    color: var(--text-main);
}

/* Document Sections */
.doc-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: #fbfdfc;
    border-bottom: 1px solid var(--border);
}

.section-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(40, 189, 191, 0.3);
}

.section-title {
    font-size: 1.6rem;
    color: var(--primary-dark);
}

.section-body {
    padding: 10px 30px 30px;
}

/* Requirement Items */
.req-item {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px dashed var(--border);
}

.req-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.req-text {
    flex: 1 1 350px;
}

.req-text h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.req-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.req-text strong {
    color: var(--text-main);
}

/* Images */
.req-images {
    flex: 1 1 400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    align-items: start;
}

figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

figure img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: var(--white);
    padding: 5px;
}

figure img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

figcaption {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* HTX Support */
.htx-support {
    background: rgba(0, 195, 249, 0.1);
    color: #007799;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 50px 15px 40px;
    }
    .hero h1 { font-size: 1.6rem; }
    .hero h2 { font-size: 2rem; margin-bottom: 10px; }
    
    .container { margin-top: -20px; padding: 0 10px; }
    
    .notice-banner { flex-direction: column; text-align: center; gap: 8px; padding: 15px; margin-bottom: 25px; }
    
    .doc-section { margin-bottom: 25px; }
    
    .section-header { padding: 12px 15px; }
    .section-title { font-size: 1.25rem; }
    .section-number { width: 32px; height: 32px; font-size: 1.1rem; }
    .section-body { padding: 0 15px 10px; }
    
    .req-item {
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }
    
    .req-text, .req-images {
        flex: auto;
    }
    
    .req-text h4 { font-size: 1.1rem; margin-bottom: 5px; }
    .req-text p { font-size: 0.95rem; line-height: 1.5; }
    
    .req-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    figure img {
        height: auto;
    }
}

/* Specific for smaller phones */
@media (max-width: 480px) {
    .container { padding: 0 5px; }
    .section-body { padding: 0 10px 5px; }
    
    .req-images {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 45px;
    }
}

/* The Modal (background) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoom 0.3s;
}

/* Caption of Modal Image */
#caption {
    margin-top: 15px;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    height: 30px;
    animation: zoom 0.3s;
}

/* Add Animation */
@keyframes zoom {
    from {transform:scale(0.9); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

/* The Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}
