/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 1000;
    /*background-color: black;*/
}

.navbar {
    position: relative;
}

.navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
    box-shadow: none;
}

.navbar-toggler {
    position: absolute;
    top: 30px;
    left: 10px;
    z-index: 1100;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
}

.navbar-toggler-icon {
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    display: block;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    position: absolute;
    left: 0;
    transition: none;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Updated styles */
.navbar-collapse {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    width: 140px;
    padding: 10px;
    border-radius: 5px;
    /*background-color: black;*/
}

/* Show the menu on hover and keep it visible when hovering over the menu itself */
.navbar-toggler:hover + .navbar-collapse,
.navbar-toggler:focus + .navbar-collapse,
.navbar-collapse:hover {
    display: block;
}

.navbar .navbar-nav {
    flex-direction: column;
}

.navbar .navbar-nav .nav-item {
    margin: 0px 0;
    color: #2a9ae5;
}

.navbar-dark .navbar-nav .nav-link {
    color: #2a9ae5;
}

.nav-link:hover {
    color: rgba(157, 0, 255, 0.5);
}
ul {
    list-style-type: none; /* Removes the dots */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
}

li {
    margin: 0; /* Adds some spacing between the items */
    padding: 10px 0;
}

a {
    text-decoration: none; /* Removes the underline */
}

.image-container {
    width: 100%;
    height: 632px;
    overflow: hidden;
    object-position: center;
}

.image-container img {
    width: 100%;
    height: 632px;
    display: block;
}

.content {
    text-align: center;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

.content h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.content p1 {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
}

hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 20px 0;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 20px auto;
    padding: 20px;
}

.image-box {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%; /* Adjusted for responsiveness */
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #333;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
p{
    text-align: justify;
}
.contents {
    text-align: left;
}

.contents h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 5px;
}

.contents p {
    font-size: 16px;
    text-align: justify;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contents p strong {
    color: #2c3e50;
    font-weight: bold;
}



.final-content {
    background-color: #fefaf5;
    padding: 50px 20px;
    text-align: center;
    height: 500px;
}

.final-content-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-left: 100px;
    margin-right: 100px;
}
.pd{
    margin-left: 50px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    height: 500px;
    text-align: left;
    margin-bottom: 20px;
    margin-right: 50px;
    margin-left: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-img {
    width: 100%;
    height: 75%;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-text {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    padding: 15px;
    color: #333;
    font-size: 1rem;
    text-align: center;
}

.card-date {
    margin-bottom: 50px;
    padding: 0 15px 15px;
    color: #6E1F61;
    font-size: 0.875rem;
    display: block;
}

/* Footer Section */
.final-content-footer {
    background-color: #d4c9c9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 0px;
    text-align: center;
}

.final-content-footer h2 {
    margin: 0;
    font-size: 2.5rem;
    color: darkblue;
    margin-bottom: 5px;
    font-weight: bold;
}

.social-icons {
    margin-bottom: 10px;
}

.footer-link {
    font-size: 2rem;
    margin: 0 5px;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-link:hover {
    transform: scale(1.1);
}

/* Specific colors for each icon */
.footer-link i.fa-facebook-f {
    color: #3b5998;
}

.footer-link i.fa-twitter {
    color: #00acee;
}

.footer-link i.fa-instagram {
    color: #C13584;
}

.footer-link i.fa-youtube {
    color: #FF0000;
}

/* Keyframes for slide-in from right */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Keyframes for slide-up from bottom */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Apply slide-in effect to images */
.image-container img, .card-img, .main-image {
    animation: slideInRight 1s ease-out;
}

/* Apply slide-in effect to text sections */
.content h2, .content p, .contents h2, .contents p, .caption {
    animation: slideInRight 1s ease-out;
}

/* Apply slide-up effect to the final content */
.final-content {
    animation: slideUp 1.5s ease-out;
}

/* Apply slide-up effect to the final content cards */
.final-content-cards {
    animation: slideUp 1.5s ease-out;
}

/* Apply slide-up effect to footer section */
.final-content-footer {
    animation: slideUp 1.5s ease-out;
}

/* Optional: Adjust timing for different elements */
.content h2, .content p, .contents h2, .contents p, .caption {
    animation-delay: 0.5s;
}

.final-content-cards .card, .final-content-footer {
    animation-delay: 1s;
}

/* Navbar toggler and collapse menu animations */


.content-block {
    display: flex;
    align-items: center;
    justify-content: center; /* Center-align items horizontally */
    margin-bottom: 20px; /* Reduce margin between content blocks */
    padding-bottom: 10px; /* Reduce padding below content blocks */
    width: 80%;
    margin-left: 0; /* Remove margin on mobile */
}


.content-block.left {
    margin-left: 150px;
    flex-direction: row;
    gap: 30px; /* Image on the left, text on the right */
}

.content-block img {
    width: 27%;
    height: 73vh; /* Maintain aspect ratio */
    margin-left: 0px;
    border-radius: 5px;
    margin-bottom: 0px;
}
/* Mobile View Styles */
@media (max-width: 480px) {
    .image-container {
        height: 300px; /* Reduce height for mobile */
    }

    .image-container img {
        height: 300px; /* Ensure image scales with container */
    }

    .content {
        width: 100%;
        padding: 10px;
    }

    .content h2 {
        font-size: 18px;
    }

    .content p1 {
        font-size: 14px;
    }

    .final-content {
        padding: 20px 10px;
    }

    .final-content-cards {
        margin-left: 10px;
        margin-right: 10px;
        flex-direction: column; /* Stack cards vertically on mobile */
    }

    .card {
        width: 100%;
        height: auto;
        margin: 0 0 20px 0; /* Ensure cards stack properly */
    }

    .navbar-toggler-icon {
        width: 25px;
        height: 2px;
    }

    .navbar-toggler-icon::before {
        top: -6px;
    }

    .navbar-toggler-icon::after {
        top: 6px;
    }

    .navbar-collapse {
        width: 100%;
        top: 30px;
        left: 0;
        padding: 10px;
    }

    .footer-link {
        font-size: 1rem;
    }

    .final-content-footer h2 {
        font-size: 1.5rem;
    }

    .content-block {
        flex-direction: column; /* Stack image and text vertically on mobile */
        width: 100%;
    }
    .pd{
        margin-left: 1px;
    }

    .content-block.left {
        margin-left: 0px;
        flex-direction: column;
        gap: 0px; /* Image on the left, text on the right */
    }

    .content-block img {
        width: 100%; /* Ensure image takes full width on mobile */
        margin-bottom: 10px;
    }
}
/* Mobile View Styles */
@media (max-width: 480px) {
    .image-container {
        height: 250px; /* Reduce height for mobile */
    }

    .image-container img {
        height: 250px; /* Ensure image scales with container */
    }

    .content {
        width: 90%;
        padding: 5px;
    }

    .content h2 {
        font-size: 18px;
    }

    .content p1 {
        font-size: 14px;
    }

    .final-content {
        padding: 20px 10px;
        height: auto;
    }

    .final-content-cards {
        margin-left: 10px;
        margin-right: 10px;
        flex-direction: column; /* Stack cards vertically on mobile */
    }

    .card {
        width: 100%;
        height: auto;
        margin: 0 0 20px 0; /* Ensure cards stack properly */
    }


    .footer-link {
        font-size: 1rem;
    }

    .final-content-footer h2 {
        font-size: 1.5rem;
    }

    .content-block {
        flex-direction: column; /* Stack image and text vertically on mobile */
        width: 100%;
    }
    .pd{
        margin-left: 1px;
    }

    .content-block.left {
        margin-left: 10px;
        width: 90%;
        flex-direction: column;
        gap: 0px; /* Image on the left, text on the right */
    }

    .content-block img {
        width: 100%; /* Ensure image takes full width on mobile */
        margin-bottom: 10px;
    }
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    z-index: 1000;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
    box-shadow: none;
}

.navbar-toggler {
    position: absolute;
    top: 20px;
    left: 5px;
    z-index: 1100;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
}

.navbar-toggler-icon {
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    display: block;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    position: absolute;
    left: 0;
    transition: none;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-collapse {
    display: none;
    position: absolute;
    top: 20px !important;
    left: 0;
    width: 200px !important;
    padding: 10px;
    border-radius: 10px;
    background-color: transparent;
    height: 10px;
}

.navbar-collapse.show {
    display: block;
}

.navbar .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: self-start;
    gap: 0px;
    margin-left: -2%;
    height: 0px;
}

.navbar .navbar-nav .nav-item {
    margin: 0;
    color: #2a9ae5;
    text-align: left;
    font-size: 16px;
    height: 5px;
}

.container {
    padding: 10px;
    border-radius: 10px;
    margin-top: 280px;
    margin-left: 0;
    text-align: left;
}

h1 {
    margin: 0;
    font-size: 50px;
    font-weight: 700;
    text-align: center;
}

.typed {
    font-size: 35px;
    font-weight: 500;
    text-align: left;
}

.line {
    white-space: nowrap;
    margin-top: 50px;
    height: 40px;
    overflow: hidden;
    font-size: 30px;
    font-weight: lighter;
    margin: 0;
    text-align: left;
}

.navbar-dark .navbar-nav .nav-link {
    color: #2a9ae5;
}

.nav-link:hover {
    color: rgba(157, 0, 255, 0.5);
}

.additional-content {
    background-color: #333;
    color: white;
    padding: 30px;
    width: 100%;
    text-align: center;
}

.container11 {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.image-section {
    max-width: 40%;
    margin-top: 40px;
    height: 650px;
}

.image-section img {
    width: 100%;
    height: 750px;
    border-radius: 8px;
}

.content {
    max-width: 60%;
}

.content p {
    font-size: 1em;
    line-height: 1.2;
    margin-bottom: 15px;
    color: black;
    text-align: justify;
}

.footer ul {
    margin-top: 20px;
    padding-left: 20px;
}

.footer ul li {
    margin-bottom: 10px;
    font-size: 1em;
}

header ul, header ol, header a {
    text-decoration: none;
    list-style: none;
    margin: 0;
}
.final-content-footer {
    background-color: #d4c9c9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 0px;
    text-align: center;
    margin-top: auto !important;
}

.final-content-footer h2 {
    margin: 0;
    font-size: 2.5rem;
    color: darkblue;
    margin-bottom: 5px;
    font-weight: bold;
    margin-top: auto !important;
}

.social-icons {
    margin-bottom: 10px;
}

.footer-link {
    font-size: 2rem;
    margin: 0 5px;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-link:hover {
    transform: scale(1.1);
}

/* Specific colors for each icon */
.footer-link i.fa-facebook-f {
    color: #3b5998;
}

.footer-link i.fa-twitter {
    color: #00acee;
}

.footer-link i.fa-instagram {
    color: #C13584;
}

.footer-link i.fa-youtube {
    color: #FF0000;
}

}

