/* General Styles */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.web-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

/* Top Bar Section */
.top-bar {
    background-color: orange;
    padding: 0.75rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo Styling */
.logo {
    height: 55px;
    width: auto;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.top-bar-home {
    display: flex;
    align-items: center;
    margin-right: 7%;
    margin-left: 1%;
}

.icon {
    padding: 0;
    margin: 0;
    text-decoration: none;
}

/* Navigation Bar */
.nav-bar {
    display: flex;
    margin-right: 1%;
    gap: 13px;
    align-items: center;
    position: relative;
}

.nav-bar .menu-items {
    display: flex;
    gap: 13px;
}

.nav-bar a {
    color: black;
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-bar a:hover {
    color: #fff;
}

/* Three-dot menu styling for mobile */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-bar .menu-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: orange;
        padding: 10px;
        border-radius: 5px 0 5px 5px;
        z-index: 1000;
    }

    .nav-bar .menu-items.show {
        display: flex;
    }

    .nav-bar .menu-items a {
        margin: 5px 0;
        color: white;
        text-align: center;
    }
    .nav-bar .menu-items a:hover {
        color: black;
    }
}


/* Footer Section */
.footer {
    background-color: #333;
    color: white;
    padding: 1px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.3;
}

.footer p {
    margin: 1% 0;
}

.copyright {
    font-weight: bold;
}

.disclaimer {
    font-size: 0.85rem;
    color: #ccc;
}

/* Home Page Section */
.home-content {
    text-align: center;
    margin-top: 1rem;
    padding: 0 5%; /* Add padding for better responsiveness */
}

.home-content-h1 {
    color: black;
    font-size: 4.5rem;
    margin: 0.5rem 0.5rem;
}

.home-content-p {
    color: orange;
    font-size: 1.5rem;
    margin: 0 10% 2rem;
}

/* Responsive Design for Home Page */
@media (max-width: 1200px) {
    .home-content-h1 {
        font-size: 4rem;
    }

    .home-content-p {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .home-content-h1 {
        font-size: 3.7rem;
    }

    .home-content-p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .home-content-h1 {
        font-size: 2.3rem;
    }

    .home-content-p {
        font-size: 1.rem;
    }
}

/* Search Container */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 600px;
    margin: 3% auto 0;
    margin-bottom: 0;
    margin-top: 1%;
}

/* Search Bar Styling */
#search-bar {
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid orange;
    border-radius: 5px 0 0 5px;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%; /* Make the search bar responsive */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

#search-bar:focus {
    border-color: #ff8c00;
}

/* Search Button Styling */
#search-button {
    padding: 12px 20px;
    font-size: 1rem;
    background-color: orange;
    color: white;
    border-radius: 0 5px 5px 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#search-button:hover {
    background-color: rgb(219, 143, 0);
}

/* Latest Section */
.latest-notes-section {
    margin: 1% 5%;
    text-align: center;
}

.latest-notes-section h2 {
    font-size: 2.5rem;
    color: orange;
    margin-bottom: 20px;
    margin-top: 1rem;
}

.latest-notes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.latest-notes-card {
    width: 200px;
    cursor: pointer;
    border: 2px solid orange;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.latest-notes-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
}

.latest-notes-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.latest-notes-title {
    margin-top: 0%;
    margin-bottom: 5%;
    padding: 1px;
    font-size: 1.1rem;
    color: black;
    font-weight: bold;
    text-align: center;
    background-color: #f9f9f9;
}

/* Responsive Design for Exploring Section*/
@media (max-width: 768px) {
    .latest-notes-section {
        margin: 1% 2%;
    }
    .latest-notes-section h2 {
        font-size: 2rem;
    }
    .latest-notes-container {
        gap: 8px;
    }
    .latest-notes-card {
        width: 150px;
    }
    .latest-notes-image {
        height: 100px;
    }
    .latest-notes-title {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .latest-notes-section {
        margin: 1% 2%;
    }
    .latest-notes-section h2 {
        font-size: 1.8rem;
    }
    .latest-notes-container {
        gap: 8px;
    }
    .latest-notes-card {
        width: 150px;
    }
    .latest-notes-image {
        height: 100px;
    }
    .latest-notes-title {
        font-size: 0.9rem;
    }
}


/* Exploring Section */
.materials-section {
    margin: 1% 5%;
    text-align: center;
}

.materials-section h2 {
    font-size: 2.5rem;
    color: orange;
    margin-bottom: 20px;
    margin-top: 1rem;
}

.materials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.material-card {
    width: 200px;
    cursor: pointer;
    border: 2px solid orange;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
}

.material-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.material-title {
    margin-top: 0%;
    margin-bottom: 5%;
    padding: 1px;
    font-size: 1.1rem;
    color: black;
    font-weight: bold;
    text-align: center;
    background-color: #f9f9f9;
}

/* Responsive Design for Exploring Section*/
@media (max-width: 768px) {
    .materials-section {
        margin: 1% 2%;
    }
    .materials-section h2 {
        font-size: 2rem;
    }
    .materials-container {
        gap: 8px;
    }
    .material-card {
        width: 150px;
    }
    .material-image {
        height: 100px;
    }
    .material-title {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .materials-section {
        margin: 1% 2%;
    }
    .materials-section h2 {
        font-size: 1.8rem;
    }
    .materials-container {
        gap: 8px;
    }
    .material-card {
        width: 150px;
    }
    .material-image {
        height: 100px;
    }
    .material-title {
        font-size: 0.9rem;
    }
}


/* About Us Section */
.about-us {
    text-align: center;
    margin-top: 3rem;
    padding: 0 10%;
}

.about-us-h1 {
    color: black;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.about-us-p {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Contact Us Section */
.contact-us {
    text-align: center;
    margin-top: 0;
    padding: 0 10%;
}

.contact-us-h1 {
    color: black;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.contact-us-p {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Form Styles */
.email-contact {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.email-contact a {
    color: #007bff;
    text-decoration: none;
}

.email-contact a:hover {
    text-decoration: underline;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input, .form-group textarea {
    padding: 10px;
    font-size: 1rem;
    border: 2px solid orange;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: orange;
}

.submit-button {
    padding: 12px 20px;
    font-size: 1rem;
    background-color: orange;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: rgb(219, 143, 0);
}

/* Telegram Section Styles */
.telegram-section {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.telegram-section h2 {
    font-size: 2rem;
    color: orange;
}

.telegram-section p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 1.2rem;
    color: white;
    background-color: #0088cc;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.telegram-button:hover {
    background-color: #007bb5;
}

.telegram-button i {
    margin-right: 10px;
    font-size: 2rem;
}

/* Material Section */
.all-notes {
    margin: 5% 5%;
    text-align: center;
}

.all-notes h2 {
    font-size: 2.5rem;
    color: orange;
    margin-bottom: 20px;
}
.all-notes h2 p{
    color: black;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 30px;
}

.branches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.note-card {
    width: 200px;
    cursor: pointer;
    border: 2px solid orange;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.note-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
}

.note-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.note-title {
    margin-top: 0%;
    margin-bottom: 5%;
    padding: 1px;
    font-size: 1.1rem;
    color: Black;
    font-weight: bold;
    text-align: center;
    background-color: #f9f9f9;
}

/* Responsive Design for Material Section */
@media (max-width: 768px) {
    .all-notes {
        margin: 5% 2%;
    }
    .all-notes h2 {
        font-size: 2rem;
    }
    .branches-container {
        gap: 8px;
    }
    .note-card {
        width: 150px;
    }
    .note-image {
        height: 100px;
    }
    .note-title {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .all-notes {
        margin: 5% 2%;
    }
    .all-notes h2 {
        font-size: 1.8rem;
    }
    .branches-container {
        gap: 8px;
    }
    .note-card {
        width: 150px;
    }
    .note-image {
        height: 100px;
    }
    .note-title {
        font-size: 0.9rem;
    }
}

/* Notes Section */
.notes-section {
    flex: 1; /* Take the remaining space */
    padding: 2rem 1rem;
    text-align: center;
    background-color: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin: 1rem 5%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}
.notes-section h1 {
    font-size: 2.5rem;
    color: orange;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}
.notes-section p{
    font-size: 1.2rem;
    color: black;
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.section-description {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.notes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.note-button {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: orange;
    background-color: white;
    border: 2px solid orange;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.note-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Notes Section */
@media (max-width: 768px) {
    .notes-section {
        padding: 1rem 0.5rem;
        margin: 1rem 2%;
        margin-left: 20px;
        margin-right:20px;
    }
    .notes-section h1 {
        font-size: 2rem;
    }
    .notes-section p{
        font-size: 1rem;
    }
    .section-description {
        font-size: 1rem;
    }
    .notes-container {
        gap: 8px;
    }
    .note-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .notes-section {
        padding: 1rem 0.5rem;
        margin: 1rem 2%;
        margin-left: 15px;
        margin-right:15px;
    }
    .notes-section h1 {
        font-size: 1.8rem;
    }
    .notes-section p{
        font-size: 1rem;
    }
    .section-description {
        font-size: 1rem;
    }
    .notes-container {
        gap: 8px;
    }
    .note-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}


/* Pagination Section */
.pagination{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 0.7rem;
}
.page-btn{
    color: black;
    text-decoration: none;
}
.page-btn:hover{
    color: orange;
    transform: scale(1.2);
    transition: 0.6;
}
.page-btn-active{
    color: orange;
}


/* BACK BUTTON */
.back-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0; /* Remove default margins */
}

/* Style the back button */
.back-button {
    display: inline-block;
    text-decoration: none;
    padding: 4px 10px; /* Adjust padding for better appearance */
    color: white;
    font-size: 1.25rem;
    background-color: orange; /* Optional: Add a background color */
    border-radius: 5px; /* Optional: Add rounded corners */
    transition: transform 0.6s, color 0.6s; /* Smooth hover effect */
}

/* Hover effect */
.back-button:hover {
    color: black;
}

/* Responsive Design for Back Button */
@media (max-width: 768px) {
    .back-button {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .back-button {
        font-size: 0.9rem;
    }
}


/* Review Section Styles */
.review-section {
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

.review-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: orange;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.review-card {
    background-color: #fff;
    border: 2px #f4f4f4;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.review-author {
    font-size: 14px;
    color: #888;
    text-align: right;
}

/* Responsive Design for Review Section */
@media (max-width: 768px) {
    .review-section {
        padding-top: 0;
        margin-left: 10px;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .review-section h2 {
        font-size: 1.8rem;
    }
    .reviews-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .review-card {
        width: 120px;
        height: 90px;
    }
    .review-text {
        font-size: 13px;
        margin-top: 0;
    }
    .review-author {
        font-size: 12px;
        align-content: right;
    }
}   
@media (max-width: 480px) {
    .review-section {
        padding-top: 0;
        margin-left: 10px;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .review-section h2 {
        font-size: 1.5rem;
    }
    .reviews-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .review-card {
        width: 120px;
        height: 90px;
    }
    .review-text {
        font-size: 13px;
        margin-top: 0;
    }
    .review-author {
        font-size: 12px;
        align-content: right;
    }
}
