:root {
    --dark-blue: #03045e;
    --blue: #023e8a;
    --white: #ffffff;
    --yellow: #ffd60a;
}


* {
    box-sizing: border-box;
    /*border: 1px solid red;*/
}

body {
    font-family: Arial, sans-serif;
    padding: 0;
    background-color: var(--white);
    color: var(--dark-blue);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/*navbar*/
header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: var(--yellow);
}

main {
    margin: 0px 50px;
}

.hero-section {
    background: linear-gradient(45deg, var(--blue), var(--dark-blue));
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
    position: relative;
}

.hero-section h1 {
    font-size: 3rem;
    margin: 10px 0;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.hero-section button {
    background: var(--yellow);
    color: var(--dark-blue);
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-section button:hover {
    background: darkorange;
}

/* Add background image */
.hero-section::before {
    content: '';
    background: url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    /* Replace with your image URL */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
    /* Dim the background image */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--white);
    /* Square border color */
    pointer-events: none;
    /* Prevents the frame from interfering with clicks */
}

.section h2 {
    margin-top: 2rem;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
}

.section p {
    text-align: center;
    font: 1em sans-serif;
    margin-bottom: 2rem;
    font-size: x-large;


}


/* Carousel Section */

.carousel {
    max-width: 1150px;
    height: 400px;
    margin: 0 auto 20px auto;
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 150px;
    height: 200px;
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    left: 50%;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3) {
    left: 67%;
}

.carousel .list .item:nth-child(4) {
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5) {
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6) {
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7) {
    left: calc(67% + 800px);
    opacity: 0;
}

.list .item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 200px;
    text-align: left;
    color: #333;
    display: none;
}

.list .item:nth-child(2) .content {
    display: block;
}

/* Content Styles */
.content .title {
    font-size: 50px;
    text-transform: uppercase;
    color: #0094FA;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    line-height: 1;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    opacity: 0;
    color: #fff;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des {
    margin: 10px 0 20px;
    font-size: 14px;
    font-weight: bold;
    color: #212121;
    text-shadow: 3px 4px 4px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn {
    margin-left: 5px;
    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border: 2px solid #fff;
    background-color: #e74c3c;
    color: #fff;
    transition: 0.3s;
}

.content .btn button:nth-child(2) {
    background: transparent;
    color: #34495e;
    border: 2px solid #fff;
    transition: 0.3s;
}

.content .btn button:nth-child(2):hover {
    background-color: #34495e;
    color: #fff;
    border-color: #34495e;
}

/* Keyframes */
@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Arrows */
.arrows {
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #34495e;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: 0.5s;
    cursor: pointer;
}

.arrows button:hover {
    background: #023e8a;
    color: #fff;
}

/*Carousel Time Running */
.carousel .timeRunning {
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: #34495e;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Responsive Design */
@media screen and (max-width: 999px) {
    header {
        padding-left: 50px;
    }

    .list .item .content {
        left: 50px;
    }

    .content .title,
    .content .name {
        font-size: 40px;
    }

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

@media screen and (max-width: 690px) {
    header nav a {
        font-size: 14px;
        margin-right: 0;
    }

    .list .item .content {
        top: 40%;
    }

    .content .title,
    .content .name {
        font-size: 30px;
    }

    .content .btn button {
        padding: 10px 15px;
        font-size: 12px;
    }
}

.applet-container {
    margin-top: 1rem;
    margin-left: 2rem;
    width: 90%;
}

#map {
    height: 400px;
}



/*About*/
.about {
    padding: 20px;
    color: white;
    text-align: center;
    background-color: #03055e;
}


.about h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about-cards {
    display: flex;
    justify-content: center;
    gap: 10px;

}

.aboutcard {
    background: #023e8a;
    color: whitesmoke;
    padding: 20px;
    width: 200px;
    border-radius: 8px;
    border: 1px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.aboutcard:hover {
    background: #023e8a;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #ffd60a;
}

.aboutcard h3 {
    font-size: xx-large;
    text-align: center;
}

.aboutcard h2 {
    color: #ffffff;
    font-size: x-large;
}

/*Mission section*/
.mission-vision {
    padding: 50px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-vision .col {
    flex: 1;
    padding: 20px;
    text-align: center;
    position: relative;
}

.mission-vision .divider {
    width: 2px;
    background-color: #ccc;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.mission-vision h3 {
    font-size: 2.5em;
}

.mission-vision p {
    font-size: 1.5em;
}

/*about team*/
.about-team {
    padding: 60px 20px;
    text-align: center;
    color: white;
    background-image: linear-gradient(135deg, #023e8a 10%, #03045e 100%);
}

.about-team h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-team p {
    font-size: 2.0em;
    margin-bottom: 30px;
    color: #ffffff;
}

.about-team {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 30px;
}

/* MEET THE TEAM SECTION */
.about-team .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.about-team {
    padding: 60px 20px;
    text-align: center;
    color: white;
    background-image: linear-gradient(135deg, #023e8a 10%, #03045e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
    justify-content: center;
    /* Center content vertically */
}

.about-team .card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #023e8a;
    color: #ffffff;
    padding: 10px;
    width: 400px;
    /* Increased width for landscape layout */
    height: 150px;
    /* Adjusted height */
    border-radius: 8px;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-team .card img {
    width: 120px;
    /* Image width for landscape layout */
    height: 120px;
    /* Image height to match width */
    border-radius: 8px;
    margin-right: 15px;
    /* Space between image and text */
    object-fit: cover;
}

.about-team .card h1 {
    font-size: 1.2em;
    margin: 0;
}

.about-team h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-team .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #ffd60a;
}

footer {
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

/*footer*/
.footer {
    background-image: linear-gradient(135deg, #023e8a 5%, #03045e 100%);
    color: #ffffff;
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0;
    gap: 20px;
}

.footer-left {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.footer-left h1 {
    color: #ffffff;
    font-size: 2.1em;
    margin-bottom: 10px;
}

.footer h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.footer p {
    color: #ffffff;
    font-size: 1.5em;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0;
    gap: 20px;

}

.contact-container {
    padding: 0 80px;
    justify-content: center;
    color: #ffffff;
    margin-left: 25%;
    margin-right: 60px;
    height: 100%;
    margin: 0;

}

.contact h2 {
    font-size: 2em;
    color: #ffffff;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;


}

.contact form label {
    margin-top: 5px;
}

.contact form input,
.contact form textarea {
    width: 300px;
    max-width: 400px;
    padding: 5px;
    margin-top: 5px;
    border: 0.1px solid #ddd;
    border-radius: 15px;
    background-color: #97a8b94e;
    color: #95a5be;
}

.contact form button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #004d80;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 15px;

}

.contact form button:hover {
    background: #ffd60a;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8em;
    }
}




.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Social Icons Container */
.social-icons {
    display: flex;
    justify-content: flex-start;
    /* Align items to the left */
    align-items: center;
    gap: 2rem;
    /* Spacing between icons */
    margin-top: 3rem;
    /* Space above the icons */
    padding-left: 2rem;
    /* Optional: Add some padding for spacing from the edge */
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    /* Slightly larger for better visibility */
    height: 5rem;
    font-size: 2.5rem;
    /* Increased font size for better readability */
    color: #fff;
    /* White icon color */
    border-radius: 50%;
    /* Circular shape */
    background-color: tra#222;
    /* Dark background for contrast */
    border: 2px solid transparent;
    /* Border for cleaner edges */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
    background-size: contain;
    /* Ensure the icon fits within the circle */
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 12px transparent(0, 0, 0, 0.3);
    /* Soft shadow for depth */
    cursor: pointer;
    /* Make the icons clickable */
}

.social-icons a:hover {
    transform: scale(1.1) translateY(-5px);
    /* Hover scale and lift effect */
    background-color: black;
    /* Vibrant transparent for hover effect */
    border-color: transparent;
    /* Match the border with the hover effect */
    box-shadow: 0 0 20px rgba(20, 255, 114, 0.6);
    /* Glow effect */
}

.social-icons a:focus {
    outline: none;
    /* Remove outline on focus */
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    /* Subtle blue glow on focus */
}

/* Specific icon styling */
.social-icons .gmail {
    background-image: url('https://s.widget-club.com/samples/WsthAywfJLa41uPvKJkzMCSIbsB2/Nry69pNU7kfionG4y9WB/6E5925AA-CBDC-40FD-AF3D-C6ACB02A5121.jpg?q=70');
    /* Your Gmail icon */
    background-color: #000000;
    /* Gmail black for better branding */
}


/* Optional: Add labels for accessibility */
.social-icons a::after {
    content: attr(title);
    position: absolute;
    top: -30px;
    /* Position the label above the icon */
    background-color: transparent#14ff72;
    color: #fff;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    /* Prevent interaction with the label */
    transition: opacity 0.3s ease;
}

.social-icons a:hover::after {
    opacity: 1;
    /* Show the label on hover */
    transition: opacity 0.3s ease;
}


/*modal*/

.cards-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
    margin-top: 20px;

}

.card {
    width: 300px;
    border: 1px solid #ffffff;
    background-color: #023e8a;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    color: #fff;
}

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

.card img {
    width: 100%;
    border-radius: 8px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 500px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.modal-content img {
    width: 100%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

.modal-buttons button:hover {
    background-color: #0056b3;
}

.highlight-card {
    border: 3px solid #456bf5;
    box-shadow: 0 4px 10px rgba(47, 65, 185, 0.6);
    background-color: #396dbc;
    transition: background-color 0.3s, border 0.3s;
}

.search-result {
    margin-top: 20px;
    text-align: center;
}

.result-card {
    display: inline-block;
    width: 300px;
    border: 1px solid #007bff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgb(38, 99, 191);
    background-color: #007bff;
}

.result-card img {
    border-radius: 8px;
}

.result-card h4 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.result-card p {
    color:#023e8a;
    font-size: 14px;
}
.search-container{
    font-size: 25px;
    border-radius: 5px;
    padding: 10px 20px;

}
.search-container button{
    background-color:#023e8a;
    box-shadow: #004d80;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
.search-container button:hover{
    background-color: #0056b3;
}