:root {
    --background-dark: #212121;
    --background-light: #f5f5f5; /* Slightly darker than original */
    --text-dark: #f0f0f0;
    --text-light: #333333;
    --primary-dark: #0044cc;
    --primary-light: #ff6600;
    --secondary-dark: #ff6600;
    --secondary-light: #0044cc;
    --button-dark: #ff6600;
    --button-light: #0044cc;
    --hover-dark: #e65c00;
    --hover-light: #003366;
    --border-dark: #444;
    --border-light: #ddd;
    --container-dark: #333333;
    --container-light: #f9f9f9; /* Slightly darker light theme container */
}

/* Default theme is dark */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-dark);
    color: var(--text-dark);
}

body.light-theme {
    background-color: var(--background-light);
    color: var(--text-light);
}

.tab-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.tab-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: var(--button-dark);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tab-button:hover {
    background-color: var(--hover-dark);
}

.tab-button.active {
    background-color: var(--primary-dark);
}

body.light-theme .tab-button {
    background-color: var(--button-light);
}

body.light-theme .tab-button:hover {
    background-color: var(--hover-light);
}

body.light-theme .tab-button.active {
    background-color: var(--primary-light);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

header {
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark));
    color: white;
    padding: 40px 0;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header img {
    max-width: 150px;
    margin-bottom: 15px;
}

header h2 {
    color: white !important;
}

.header-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    margin: 0;
}

.container {
    width: 80%;
    margin: 20px auto;
    padding: 30px;
    background-color: var(--container-dark);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-dark);
}

header.light-theme {
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
}

body.light-theme .container {
    background-color: var(--container-light);
    border: 1px solid var(--border-light);
}

h1, h2 {
    color: var(--secondary-dark);
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

body.light-theme h1 {
    color: var(--secondary-dark);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

body.light-theme h2 {
    color: var(--secondary-light);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

p {
    line-height: 1.6;
    font-size: 16px;
    text-align: justify;
}

.button {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--button-dark);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: var(--hover-dark);
}

body.light-theme .button {
    background-color: var(--button-light);
}

body.light-theme .button:hover {
    background-color: var(--hover-light);
}

.facility-tour {
    margin: 20px auto;
    background-color: var(--container-dark);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-dark);
    text-align: center;
}

body.light-theme .facility-tour {
    background-color: var(--container-light);
    border: 1px solid var(--border-light);
}

.facility-tour h2 {
    color: var(--secondary-dark);
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

body.light-theme .facility-tour h2 {
    color: var(--secondary-light);
}

.facility-tour video {
    max-width: 760px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-dark);
    transition: transform 0.3s ease-in-out;
}

.facility-tour video:hover {
    transform: scale(1.03);
}

body.light-theme .facility-tour video {
    border: 1px solid var(--border-light);
}

.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body.light-theme .slideshow-container {
    border: 4px solid var(--primary-light);
}

.slides {
    display: none;
}

.slide-img {
    width: 100%;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out;
    border: none;
}

.slide-img:hover {
    transform: scale(1.05);
}

.prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 1;
}


.prev {
    left: 10px;
    transform: translateY(-50%);
}

.next {
    right: 10px;
    transform: translateY(-50%);
}

.line-decor {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-dark), var(--primary-dark));
    margin: 30px 0;
}

body.light-theme .line-decor {
    background: linear-gradient(90deg, var(--secondary-light), var(--primary-light));
}

.curve-bottom {
    width: 100%;
    height: 40px;
    background: linear-gradient(45deg, var(--secondary-dark), var(--primary-dark));
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    margin-top: 40px;
}

body.light-theme .curve-bottom {
    background: linear-gradient(45deg, var(--secondary-light), var(--primary-light));
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background-color: var(--primary-dark);
    color: white;
    font-size: 14px;
    border-top: 2px solid var(--secondary-dark);
}

body.light-theme footer {
    background-color: var(--primary-light);
    border-top: 2px solid var(--secondary-light);
}

.theme-toggle-btn {
    padding: 8px 16px;
    background-color: var(--button-dark);
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme .theme-toggle-btn {
    background-color: var(--button-light);
    color: var(--text-light);
}

body.light-theme .theme-toggle-btn:hover {
    background-color: var(--hover-light);
}

/* Style for the Contact button */
.contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-button a {
    text-decoration: none; /* Removes the default underline from the link */
}

.contact-button button {
    background-color: #25d366; /* WhatsApp green */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-button button:hover {
    background-color: #128c7e; /* Darker green on hover */
}

.contact-button img {
    width: 30px;
    height: 30px;
}