* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Roboto', sans-serif; 
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; 
}

/* Header */
.header-container {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding-left: 10px;  
    padding-right: 10px; 
    padding-top: 5px;    
    padding-bottom: 5px; 
    background-color: #ffffff;
    border-radius: 10px; 
    flex-wrap: wrap; 
    width: 90%;
    margin: 0 auto; 
}


.logo {
    display: block; 
    max-height: 50px; 
    margin: 0 auto; 
}


@media (min-width: 768px) {
    .header-container {
        display: flex;
        align-items: flex-end; 
        justify-content: space-between;
        padding-left: 10px;  
        padding-right: 10px; 
        padding-top: 5px;    
        background-color: #ffffff;
        border-radius: 10px; 
    }

    .logos {
        margin-top: auto; 
        align-self: flex-end; 
    }
}


.header-container .center-text {
    text-align: center;
    font-size: x-small;
    color: #030045;
}


.header-container .contact-details {
    text-align: right;
    color: #333;
}

.header-container .contact-details p {
    display: flex;
    align-items: center; 
    margin: 5px 0;
}

.header-container .contact-details img {
    margin-right: 5px;
    vertical-align: middle;
    height: 20px; 
    width: 20px; 
}


@media (max-width: 767px) {
    .header-container .center-text,
    .header-container .contact-details {
        display: none; 
    }

    .header-container {
        justify-content: center; 
    }
}

/* Navigation bar */

.navbar {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: rgba(1, 30, 135, 0.85); 
    border-radius: 35px; 
    margin: 25px auto; 
    margin-top: 15px;
    width: 90%; 
    box-sizing: border-box; 
    align-items: center;
    transition: background-color 0.3s, width 0.6s; 
    backdrop-filter: blur(9px); 
}

.navbar.sticky {
    position: -webkit-sticky; 
    position: sticky;
    top: 0;
    width: 100%; 
    height: 90%;
    border-radius: 0; 
    margin: 100; 
    z-index: 1000; 
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s;
}


.dropdown {
    position: relative;
    display: inline-block;
    
}

.dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 18, 84, 0.93);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px; 
    backdrop-filter: blur(4px); 
}

.dropdown-content a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f58535eb;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.navbar a:hover {
    background-color: #f58535eb;
}


@media screen and (max-width: 768px) {
    .navbar {
        width: 95%; 
        padding: 5px; 
        border-radius: 40px; 
        margin: 10px auto; 
    }

    .navbar a {
        padding: 8px 12px; 
        font-size: 12px; 
    }

    .dropdown-content {
        min-width: 120px; 
    }

}
    


.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.671), rgba(255, 255, 255, 0.68)), url('Images/Idea.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero .btn {
    background-color: #342d73;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero h2 {
    color: #f58535eb; /* Inner text color */
    font-weight: bold; 
    font-size: 24px; /* Adjust as needed */
    text-shadow: 
        -2px -2px 0 #fff,  /* Top left */
         2px -2px 0 #fff,  /* Top right */
        -2px  2px 0 #fff,  /* Bottom left */
         2px  2px 0 #fff,  /* Bottom right */
         0   0   5px #fff,  /* Soft glow */
         0   0   10px #fff; /* Stronger glow */
}


.hero .btn:hover {
    background-color: #555;
}


.about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    padding: 20px;
}

.about-text h2 {
    font-size: 2.5em;
    color: #2b2561;
}

.about-text p {
    margin: 20px 0;
    color: #666;
    font-size: 1.2em;
}

.about-text .buttons {
    display: flex;
    gap: 10px;
}

.about-text .btn {
    background-color: #f58535;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.about-text .btn:hover {
    background-color: #e67424;
}

.about-text .btn.partner {
    background-color: #f5a835;
}

.about-text .btn.partner:hover {
    background-color: #e59424;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
}

/* Location Box */

.location {
    display:flexbox;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: #f9f9f9;
    width: 100%; 
}

.location-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ccc; 
}

.location-content h2 {
    font-size: 2.5em;
    color: #2b2561;
    margin-bottom: 20px;
}

.map-container {
    width: 100%; 
    height: 450px; 
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid #ccc; 
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


html {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}


.events {
    padding: 40px 0;
    background-color: #f1f1f1;
    text-align: center;
}

.events h2 {
    font-size: 2.5em;
    color: #2b2561;
    margin-bottom: 20px;
}

.event-item h4 {
    font-size: 1em; 
    color: #2b2561b2;
    margin-bottom: 20px;
    text-align: left; 
}

.events-list {
    max-height: 600px; 
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding-right: 10px; 
}


#events .events-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#events .events-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#events .events-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

#events .events-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.event-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.event-item h3 {
    color: #2b2561;
    margin-bottom: 10px;
}

.event-item p {
    color: #666;
    font-size: 1em;
}

/* News & announcements/ Publications */

.publications {
    padding: 40px 0;
    background-color: #f9f9f9;
}


.publications h2 {
    text-align: center;
    font-size: 2.5em;
    color: #2b2561;
    margin-bottom: 20px;
}

.publication-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.publication-item h3 {
    margin-bottom: 10px;
    color: #2b2561;
}

.publication-item p {
    margin-bottom: 10px;
    color: #666;
}

.publication-item .btn {
    background-color: #ffffff;
    color: #342d73;
}

.publications .btn:hover {
    background-color: #8eafe4;
}

/* footer */
.footer {
    padding: 35px 0;
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: #012456;
    color: white;
}

.footer .container{
    align-items: center;
}

.footer .social {
    display: flex;  
    justify-content: center;
    gap: 10px;
  }

.footer .social li {
    display: inline;
}

.footer .Links {
    align-items: rights;
}

.footer .social li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer .social li a:hover {
    color: #f58535;
}


@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image img {
        margin-bottom: 20px;
    }

    .project-item, .publication-item {
        margin-bottom: 20px;
    }
}


.services {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 2.5em;
    color: #2b2561;
    margin-bottom: 20px;
}

.services p {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: calc(33.333% - 20px);
    text-align: center;
}

.service-item img {
    max-width: 50px;
    margin-bottom: 10px;
}

.service-item h3 {
    color: #2b2561;
    margin-bottom: 10px;
}

.service-item a {
    color: #f58535;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.service-item a:hover {
    color: #e67424;
}


@media (max-width: 768px) {
    .service-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .service-item {
        width: 100%;
    }
}


.social-section {
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    background-color: #f9f9f9;
    width: 100%;
    padding: 30px;
}

.social-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    width: 100%; 
    gap: 20px;
}

.social-embed {
    flex: 1;
    min-width: 300px; 
    height: 550px; 
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ccc;
}

.social-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


.scroll-btn {
    background-color: #2b2561; 
    color: white; 
    border: none; 
    border-radius: 50%; 
    font-size: 2em; 
    width: 50px; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 1; 
}

.left-btn {
    left: 10px; 
}

.right-btn {
    right: 10px; 
}

.scroll-btn:hover {
    background-color: #f58535; 
}


.full-screen-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
}

.full-screen-image .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

.full-screen-image .image-wrapper, .full-screen-image .form-wrapper {
    flex: 1;
    margin: 10px;
}

.full-screen-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.full-screen-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.full-screen-image form {
    display: flex;
    flex-direction: column;
}

.full-screen-image form p {
    margin: 10px 0 5px;
}

.full-screen-image form input, .full-screen-image form select, .full-screen-image form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    width: 100%;
}

.full-screen-image form input:focus, .full-screen-image form select:focus, .full-screen-image form textarea:focus {
    border-color: #2b2561;
    outline: none;
    box-shadow: 0 0 5px rgba(43, 37, 97, 0.5);
}


.full-screen-image form button {
    padding: 10px 20px;
    background-color: #231977;
    color: #fff;
    border: none;
    border-radius: 17px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.full-screen-image form button:hover {
    background-color: #231977;
}


.full-screen-image .error-message {
    color: red;
    font-size: 0.875em;
    margin-top: -5px;
    margin-bottom: 10px;
}


@media (max-width: 767px) {
    .full-screen-image .container {
        flex-direction: column;
    }
}


.team-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.team-section h2{
    text-align: center;
    padding-bottom: 10px;
}

.team-title {
    text-align: center; 
    width: 100%; 
    margin-top: 10px; 
    color: #333; 
}

.team-member-group {
    display: flex; 
    justify-content: space-between; 
}

.team-member {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    border-bottom: 1px solid #ddd;
    padding: 15px;
    flex: 1; 
}

.member-photo {
    border-radius: 50%;
    width: 100px; 
    height: 100px; 
    object-fit: cover;
    margin-bottom: 10px; 
}

.member-info {
    text-align: center; 
}

.member-name {
    font-size: 1.5em;
    margin: 0 0 5px; 
    color: #333;
}

.member-description {
    font-size: 1em;
    margin: 0; 
    color: #666;
}

.member-phone {
    font-size: 1em;
    margin-top: 5px; 
    color: #333;
}

/* Milestones page */

.milestones-section {
    background-color: #ebebeb;
    padding: 60px 20px;
    text-align: center;
}

.milestones-section h2 {
    font-size: 2.5em;
    color: #2b2561;
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #f58535;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: ' ';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #f58535;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item::before {
    
    height: 100%;
    position: absolute;
    width: 10px;
    background-color: white;
    top: 0;
    right: -30px;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

.timeline-item:nth-child(even)::before {
    left: -30px;
    right: auto;
}

.timeline-date {
    font-size: 1.5em;
    font-weight: bold;
    color: #f58535;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}

.timeline-content h3 {
    margin-top: 0;
    color: #2b2561;
}

.timeline-content p {
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        right: auto;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(even)::after {
        left: 20px;
    }

    
    .timeline-item::after {
        display: none;
    }

    .timeline-item::before {
        display: none;
    }
}



::-webkit-scrollbar {
    width: 8px; 
    height: 8px; 
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px; 
}

::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}


html {
    scrollbar-width: thin; 
    scrollbar-color: #888 #f1f1f1; 
}

body {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}


body {
    -ms-overflow-style: scrollbar; 
}


body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}


body::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 2px solid #f1f1f1; 
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
 
/* Gallery */
.gallery {
    padding: 40px 20px;
    text-align: center;
}

.gallery h2 {
    color: #2b2561;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.gallery-item {
    width: calc(25% - 15px); 
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.video-gallery-item {
    width: calc(50% - 15px);
}

.video-gallery-item iframe {
    width: 100%; 
    height: 300px; 
    border-radius: 10px;
}



/* Sponsors */

.sponsor-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: 0.5px solid #ccc; 
}

.sponsor-row {
    overflow: hidden; 
    position: relative; 
}

.sponsor-logos {
    display: flex; 
    animation: slide-left-to-right 15s linear infinite; 
}

.reverse-animation {
    animation: slide-right-to-left 15s linear infinite; 
}

.sponsor-logo {
    width: auto; 
    height: 150px; 
    margin: 0 10px; 
}

.sponsor-button-container {
    text-align: center; 
    margin-top: 50px; 
    margin-bottom: 50px;
}

.sponsor-button {
    display: inline-block; 
    padding: 15px 30px; 
    background-color: #F58535; 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
    font-size: 1.2em; 
    transition: background-color 0.3s ease; 
}

.sponsor-button:hover {
    background-color: #d47429; 
}

.homepage-sponsor{
    padding: 50px;
    text-align: center;
}



@keyframes slide-left-to-right {
    from {
        transform: translateX(-100%); 
    }
    to {
        transform: translateX(0); 
    }
}


@keyframes slide-right-to-left {
    from {
        transform: translateX(100%); 
    }
    to {
        transform: translateX(0); 
    }
}