#home img {
    width: 150px; /* Keep the adjusted size */
    height: auto;
    display: block;
    margin: 0 auto;

    /* Drop Shadow Effect */
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.7));
}

@media (max-width: 768px) {
    #home img {
        width: 100px; /* Smaller logo on mobile */
    }
}

/* Ensure the section takes the full viewport height */
.bgimg-1 {
    background-image: url("/images/bg_0001.png");
    height: 100vh; /* Set height to 100% of the viewport */
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
  }
  

/* Ensure navbar text is black */
#myNavbar a {
    color: black !important; /* Force black text */
    font-weight: bold;
}

/* Optional: Darken the menu icons if needed */
#myNavbar i {
    color: black !important;
}

/* Style the About Pravism section */
#about-pravism {
    background-color: #4A7379; /* Muted teal */
    color: #F5F5F5; /* Off-white text */
    padding: 40px;
    text-align: center;
    border-radius: 8px; /* Smooth edges */
}

/* Adjust heading for better contrast */
#about-pravism h2 {
    color: #FFFFFF; /* Pure white for emphasis */
    font-weight: bold;
}

/* Ensure paragraph text remains legible */
#about-pravism p {
    color: #E0E0E0; /* Softer white for readability */
    font-size: 16px;
}

.about-section {
    width: 100%;
    background-color: #4b6b72; /* Your chosen accent color */
    color: #ffffff; /* White text for contrast */
    padding: -30px 0; /* Ensures padding top & bottom */
    margin: 0; /* Removes any default margin */
    border-radius: 0; /* Ensures no rounded edges */
}

.values-section {
    background-color: #E6E6E6; /* Light grey background for section */
    padding: 64px 20px;
}

.w3-card {
    background-color: rgb(38, 38, 38) !important; /* Dark grey background */
    color: white !important; /* White text */
    border-radius: 10px; /* Soft rounded edges */
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.w3-card:hover {
    background-color: rgb(68, 68, 68) !important; /* Slightly lighter grey on hover */
    transform: translateY(-5px); /* Slight lift effect */
}

.w3-xxxlarge {
    color: white !important; /* Ensures icons are also white */
}

/* Ensure the menu stays on top */
.w3-top {
    position: fixed;
    width: 100%;
    z-index: 1000; /* Higher z-index so it stays on top */
}

/* Ensure Navbar text stays black */
.w3-top .w3-bar-item {
    color: black !important;
}

/* Ensure scrolled navbar doesn't change color */
.w3-top.w3-card {
    background-color: white !important;
    border-radius: 0 !important;
}

/* Navbar Hover Effect */
.w3-top .w3-bar-item:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

.timeline-section {
    background-color: #4b6b72; /* Same greenish-blue as About */
    padding-top: 10px; /* Increase padding so it clears the menu */
    position: relative; /* Ensure it respects layout */
    z-index: 1; /* Keeps it below the menu */
}

/* Ensure the entire timeline section matches the About background */
.timeline-section {
    background-color: #4b6b72; /* Same greenish-blue as About */
    padding-top: 120px; /* Increase top padding to push it below the menu */
    position: relative; /* Ensures it respects document flow */
    z-index: 0; /* Keeps it below the menu */
}

/* Timeline line */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Center the timeline line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #567885;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Timeline container */
.timeline-container {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

/* Timeline content */
.timeline-content {
    background: #2B4C56; /* Darker shade */
    color: white;
    padding: 20px;
    border-radius: 5px;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.timeline-content:hover {
    transform: scale(1.05);
}

/* Left Side */
.left {
    left: 0;
}

/* Right Side */
.right {
    left: 50%;
}

/* Default Circles */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #567885; /* Slightly muted blue for contrast */
    border: 3px solid white;
    top: 15px;
    border-radius: 50%;
    z-index: 2; /* Ensures the circles are ABOVE the line */
}

/* Left side circles */
.left::after {
    left: auto; /* Reset left */
    right: -10px; /* Move to the right side of the left container */
}

/* Right side circles */
.right::after {
    right: auto; /* Reset right */
    left: -10px; /* Move to the left side of the right container */
}


/* Make it responsive */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
        z-index: 1; /* Ensures the line stays below */
    }

    .timeline-container {
        width: 100%; /* Make the boxes full width */
        padding-left: 50px; /* Adjust padding to align */
        padding-right: 20px;
    }

    .timeline-container::after {
        left: 15px;
        z-index: 2; /* Circles stay on top of the line */
    }

    .right {
        left: 0%; /* Align right-side boxes to the left */
    }
}

.after-timeline {
    height: 50px; /* Adjust height as needed */
    background-color: #4b6b72; /* Matching the timeline background */
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    background-color: #4b6b72; /* Fallback color */
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space */
}

.about-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Manifesto Section */
.manifesto-section {
    background-color: #2B4C56; /* Deep teal background */
    color: white;
    padding: 80px 20px;
    text-align: center;
}

/* Manifesto Header */
.manifesto-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Manifesto Content */
.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Each Manifesto Item */
.manifesto-item {
    margin-bottom: 30px;
}

/* Manifesto Titles */
.manifesto-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #FFD700; /* Gold for contrast */
}

/* Manifesto Text */
.manifesto-item p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .manifesto-header h2 {
        font-size: 2rem;
    }

    .manifesto-item h3 {
        font-size: 1.5rem;
    }

    .manifesto-item p {
        font-size: 1.1rem;
    }
}

.bgimg-2 .w3-display-middle span {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9); /* Black shadow for contrast */
    font-weight: bold; /* Ensure the text stands out */
    letter-spacing: 8px; /* Slight spacing for clarity */
}


.bgimg-3 .w3-display-middle span {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9); /* Black shadow for contrast */
    font-weight: bold; /* Ensure the text stands out */
    letter-spacing: 8px; /* Slight spacing for clarity */
}


.bgimg-4 .w3-display-middle span {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9); /* Black shadow for contrast */
    font-weight: bold; /* Ensure the text stands out */
    letter-spacing: 8px; /* Slight spacing for clarity */
}


.bgimg-5 .w3-display-middle span {
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9); /* Black shadow for contrast */
    font-weight: bold; /* Ensure the text stands out */
    letter-spacing: 8px; /* Slight spacing for clarity */
}

.w3-display-middle span {
    font-size: 2rem; /* Adjust to fit within one line */
    white-space: nowrap; /* Prevents wrapping */
}

@media (max-width: 768px) {
    .w3-input {
        margin-bottom: 10px; /* Adds spacing between fields */
    }

    .w3-row-padding {
        margin: 0 !important; /* Ensures no negative margin collapses spacing */
        padding: 8px 0 !important; /* Adds padding between rows */
    }
}

@media (max-width: 768px) {
    input[name="Message"] {
        height: 100px; /* Increase height */
    }
}

/* Animated Burger Icon */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 34px;
    height: 29px;
    cursor: pointer;
    padding: 4px 4px; /* Adjust top and right spacing */
    position: absolute;
    top: 4px; 
    right: 4px;
}

.burger-menu div {
    width: 100%;
    height: 3px;
    background-color: black;
    transition: all 0.3s ease-in-out;
}

/* Burger Menu Animation */
.burger-menu.active div:nth-child(1) {
    transform: translate(-7px, 6px) rotate(120deg) scale(0.8);
    transition: transform 0.5s ease-in-out;
}

.burger-menu.active div:nth-child(2) {
    transform: translate(8px, -3px) rotate(240deg) scale(0.8);
    transition: transform 0.5s ease-in-out;
}

.burger-menu.active div:nth-child(3) {
    transform: translate(0px, 1px) scale(0.8);
    transition: transform 0.5s ease-in-out;
}

#navDemo {
    padding-top: 0px; /* Pushes the first item down */
}

#navDemo a {
    display: block;
    padding: 12px 16px; /* Adds space inside menu items */
}

#navDemo {
    position: fixed; /* Keeps the menu in place */
    top: 50px; /* Sits directly below the navbar */
    right: 0;
    width: 100%;
    background: white; /* Ensures visibility */
    z-index: 999; /* Lower than the burger menu */
    padding-top: 0px; /* Push first item down slightly */
    display: none; /* Ensures it’s hidden by default */
}

/* Manifesto Container */
/* Manifesto Container */
.manifesto-container {
    max-width: 800px;
    margin: 50px auto; /* Adds space around the container */
    background: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left; /* Forces left alignment */
    font-family: "Courier", monospace; /* Typewriter-style font */
    font-size: 16px;
    line-height: 1.6;
}

/* Heading styles */
.manifesto-container h1 {
    text-align: left;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: bold;
}

.manifesto-container h2 {
    font-size: 18px;
    margin-top: 25px;
    text-transform: uppercase;
    border-bottom: 2px solid #222;
    padding-bottom: 5px;
    font-weight: bold;
}

/* Scene direction styling */
.scene {
    font-weight: bold;
    font-size: 16px;
    margin: 40px 0;
    letter-spacing: 2px;
}

/* Action/description styling */
.action {
    font-style: italic;
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
}

/* Dialogue styling */
.dialogue {
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid #222;
    font-size: 16px;
    color: #111;
    position: relative;
}

/* Ensures <ul> inside .dialogue is correctly styled */
.dialogue ul {
    list-style-type: disc; /* Standard bullet points */
    padding-left: 30px; /* Indents list slightly inside the dialogue */
    margin-top: 10px;
    margin-bottom: 10px;
    width: 75%; /* Makes the list narrower */
}

/* Ensures bullet points are inside the left border */
.dialogue li {
    font-size: 14px; /* Slightly smaller text for clarity */
    margin: 5px 0; /* Space between bullet points */
    display: block; /* Ensures proper spacing */
}

/* Optional: Force the width of .dialogue so the bullet list doesn't expand too much */
.dialogue {
    max-width: 600px; /* Ensures the dialogue and list don't stretch */
}


/* Character (speaker) styling */
.character {
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
    color: #222;
}

/* Background for the Manifesto section */
.manifesto-section {
    background: #2c3e50; /* Dark background for contrast */
    color: white;
    padding: 80px 20px; /* Adds space around the manifesto */
}

/* Ensuring manifesto container stands out */
.manifesto-container {
    background: white;
    color: black;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .manifesto-container {
        padding: 30px;
    }
    .manifesto-container h1 {
        font-size: 24px;
    }
    .manifesto-container h2 {
        font-size: 18px;
    }
    .dialogue {
        padding-left: 10px;
    }
}

.values-subheading {
    font-size: 1.5em;  /* Adjust as needed */
    font-weight: bold;
    text-align: center;
    margin-top: 20px;  /* Adds spacing above */
}
