/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
    padding: 20px;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #0056b3;
}
.logo {
    height: 100px;
    margin-bottom: 15px;
}
.brand-title {
    font-size: 2.2rem;
    color: #0056b3;
    font-weight: bold;
}

h1 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
}
h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #0056b3;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #333;
}
p {
    margin-bottom: 15px;
    text-align: justify;
    color: #444;
}


ul.toc {
    list-style: none;
    background: #e6f7ff;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 5px solid #006400;
}
ul.toc li {
    margin: 12px 0;
}
ul.toc a {
    text-decoration: none;
    color: #006400;
    font-weight: bold;
    font-size: 1.1rem;
}
ul.toc a:hover {
    text-decoration: underline;
    color: #ff8c00;
}


.section-image {
    text-align: center;
    margin: 20px 0;
}
.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


section:nth-child(even) {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
}

footer {
  text-align: center; 
  padding: 10px; 
  background-color: #fff; 
  color: white; 
}

/* Reviews */
.reviews {
    margin-top: 50px;
}
.review {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #28a745;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.review strong {
    display: block;
    margin-bottom: 8px;
    color: #28a745;
}

/* Comment Form */
.comment-form {
    margin-top: 40px;
    padding: 25px;
    background: #e6f7ff;
    border-radius: 10px;
    border: 2px solid #0056b3;
}
.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
}
.comment-form button {
    background: #0056b3;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}
.comment-form button:hover {
    background: #003d80;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFadeIn 0.4s;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
.close-btn:hover { color: #000; }

.modal-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: #0056b3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}
.modal-btn:hover { background: #003d80; }

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
    .container {
        padding: 15px !important;
        border-radius: 8px; 
    }

    header {
        margin-bottom: 30px;
    }

    .logo {
        height: 80px;
    }

    .brand-title {
        font-size: 1.9rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    h2 {
        font-size: 1.65rem !important;
        margin: 25px 0 15px !important;
        padding-bottom: 8px;
    }


    section {
        padding: 20px !important;           
        margin: 20px 0 !important;          
        background: transparent !important; 
        border-radius: 8px !important;
    }


    section:nth-child(even) {
        background: transparent !important;
        padding: 20px !important;
        margin: 20px 0 !important;
    }

    p {
        margin-bottom: 14px !important;     
        font-size: 1rem;
        line-height: 1.55 !important;      
        text-align: left;                  
    }

    .section-image {
        margin: 20px 0;
    }

    .section-image img {
        border-radius: 10px;
    }

    ul.toc {
        padding: 20px;
    }

    .reviews {
        margin-top: 40px;
    }

    .review {
        padding: 16px !important;
        margin-bottom: 16px !important;
    }

    .comment-form {
        padding: 20px !important;
        margin-top: 35px;
    }

    .comment-form input,
    .comment-form textarea {
        padding: 12px;
        margin: 8px 0;
    }

    .comment-form button {
        padding: 12px 24px;
    }
}