﻿
/*---------------------------------_Layout.cshtml-------------------------------------------*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 30px;
}

h1 {
    text-align: center;
    color: #00627a;
}

.aboutUsAccordion {
    background: #00627a;
    color: white;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 18px;
    transition: 0.4s;
    margin-top: 5px;
    border-radius: 5px;
}

    .aboutUsAccordion:hover {
        opacity: 0.85;
    }

    .active, .aboutUsAccordion:focus {
        background: #00627a !important;
    }

.aboutUsPanel {
    padding: 15px;
    display: none;
    background: #f9f9f9;
    overflow: hidden;
    border-left: 3px solid #00627a;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.6;
    border-radius: 5px;
}

footer {
    text-align: center;
    background: #00627a;
    color: white;
    padding: 5px;
    margin-top: 30px;
}

.me-2 {
    width: 42px;
    height: 40px;
}

    .me-2:hover {
        border: 1px solid white;
    }

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 90vh;
    border: 2px solid #333;
    box-shadow: 0 4px 10px #00627a /*rgba(0, 0, 0, 0.3)*/;
    border-radius: 10px;
    overflow: hidden;
}

.info-bar p {
    margin: 5px 0;
}

.info-bar {
    width: 100%;
    background: #f8f9fa; /* Contrasting color */
    color: #00627a /*rgba(0.5, 0.5, 0.5, 0.5)*/;
    opacity: 0.5;
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.detail-bar {
    width: 100%;
    background: #f8f9fa; /* Contrasting color */
    color: #00627a /*rgba(0.5, 0.5, 0.5, 0.5)*/;
    opacity: 0.5;
    text-align: center;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
}

button[disabled] {
    pointer-events: none;
    opacity: 0.5;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #00627a;
    color: #fff;
    min-height: 120px;
}

.logo-img {
    height: 100px;
    border-radius: 50%;
}

.header-title {
    margin: 0;
    font-size: 1.5rem;
}

.contact-info span {
    font-size: 14px;
}

.navbar-nav {
    display: flex;
    gap: 20px;
    margin-right: 18px;
    justify-content: flex-end;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    margin-top: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00627a /*rgba(0, 0, 0, 0.8)*/;
    text-align: center;
    width: max-content;
}

.dropdown-item {
    text-align: center;
    color: #fff;
}
.dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.25);
        color: #fff;
    }

.dropdown-toggle::after {
    display: none !important;
}

@media (min-width: 992px) {
    .nav-item:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991px) {
    .top-bar {
        min-height: auto;
        padding: 15px;
    }
    .logo-img {
        height: 80px;
        transition: opacity 0.3s ease;
    }
    .header-title {
        font-size: 1.2rem;
    }
    .contact-info span {
        font-size: 13px;
    }
    .main-content {
        transition: opacity 0.3s ease;
        opacity: 1;
        padding: 10px;
    }
    .navbar.full-screen {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .main-content.hidden {
        display: none;
    }
    .dropdown-menu {
        position: static !important;
        left: 0;
        width: 100%;
        text-align: left;
        margin-top: 0;
        transform: none;
        background-color: rgba(0, 98, 122, 0.9);
        border: none;
        box-shadow: none;
    }
    .dropdown-menu.show {
        display: block !important;
    }
    .dropdown-menu {
        display: none;
    }
    .dropdown-menu.show {
        display: block !important;
    }
    .navbar-toggler {
        display: block !important;
        margin-left: auto;
        background-color: rgba(255,255,255,0.2);
        border: 1px solid #fff;
    }
    .social-buttons {
        margin-right: 0;
    }
    .navbar-collapse {
        background-color: #00627a;
        margin-top: 10px;
        padding: 15px;
        border-radius: 5px;
    }
    .navbar-collapse {
        position: relative;
        z-index: 1;
    }
    .navbar {
        margin-left: 0 !important;
    }
    .navbar-collapse {
        background-color: #00627a;
        padding: 20px;
        border-radius: 5px;
        margin-top: 10px;
    }
}

/* Fix for images not showing on mobile */
@media (max-width: 991px) {
    img {
        max-width: 100%;
        height: auto;
    }
    .carousel img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
        margin-top: 15px;
    }
    .top-bar h3 {
        font-size: 1rem;
    }
    .top-bar span {
        font-size: 14px !important;
    }
    .me-2 {
        width: 35px;
        height: 35px;
    }
    .info-bar {
        font-size: 14px;
        padding: 8px 15px;
    }
    .pdf-container {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 5px;
    }
    .top-bar img {
        height: 60px !important;
    }
    .top-bar h3 {
        font-size: 0.9rem;
    }
    .top-bar span {
        font-size: 12px !important;
    }
    .me-2 {
        width: 30px;
        height: 30px;
    }
    .container {
        width: 98%;
        padding: 10px;
    }
    .info-bar {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/*---------------------------------------------------------------------------------*/

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

input,
select,
textarea {
    max-width: 280px;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #777;
    border-color: #fff
}


.arrow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .arrow-list li {
        position: relative;
        padding-left: 2em;
        margin-bottom: 0.8em;
        font-size: 1.0em;
        font-weight: 500;
        color: #003c4c; /* darker text for contrast */
    }

        .arrow-list li::before {
            content: "➤"; /* Unicode arrow */
            position: absolute;
            left: 0;
            top: 0;
            font-size: 1.0em;
            background: linear-gradient(45deg, #00627a, #01abd4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: bold;
        }


.carousel {
    width: 100%;
    position: relative;
    margin: auto;
}

    .carousel input {
        display: none;
    }

.carousel-images {
    display: flex;
    width: 150%; /* 500px * 3 */
    transition: transform 0.5s ease-in-out;
}

.image {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

    .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Radio behavior to move images */
#img1:checked ~ .carousel-images {
    transform: translateX(0);
}

#img2:checked ~ .carousel-images {
    transform: translateX(-500px);
}

#img3:checked ~ .carousel-images {
    transform: translateX(-1000px);
}

/* Bar styles */
.carousel-bars {
    text-align: center;
    margin-bottom: 100px;
}

    .carousel-bars label {
        cursor: pointer;
        font-size: 30px;
        font-weight: bold;
        color: #aaa;
        padding: 0 10px;
        transition: color 0.3s;
    }

/* Highlight selected bar */
#img1:checked ~ .carousel-bars label[for="img1"],
#img2:checked ~ .carousel-bars label[for="img2"],
#img3:checked ~ .carousel-bars label[for="img3"] {
    color: #00627a;
}

