/* Header Styles */
html, body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}
/* Standard Navbar */
.navbar {
    position: fixed;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);   
    z-index: 1000; 
    width: 100%;
    display:flex;
    overflow: hidden;
    padding: 0 ;
}

/* Navbar Brand */
.navbar-brand img {
    max-height: 60px;
    width: auto;
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #3e8ec6 !important;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #f8971c !important; 
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    outline: none;
    color:#3e8ec6;
    padding: 20px;
    position: relative;

}

.navbar-toggler-icon {
    color: #3e8ec6;
}



/* Footer Styles */
footer {
    background-color:#d6e9f5;;
    padding-top: 50px;
    padding-bottom: 20px;
    
    color: #408ec4;
}

footer h4 {
    font-weight: bold;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #408ec4;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer .d-flex p,
footer .col-lg-4 p {
    margin: 0;
}

footer .row.pt-3 {
    border-top: 1px #408ec4;;
    padding-top: 15px;
}

footer .text-center {
    text-align: center;
    font-size: 0.9rem;
}

footer .col-lg-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .bottom-border {
    border-bottom: 1px solid #fff;
    padding-bottom: 20px;
}
.social-icons {
    display: flex;             
    flex-direction: row;     
    justify-content: center;    
    align-items: center;                       
}

.social-icons a {
    font-size: 1.5rem;            
    display: inline-block;      
    text-align: center;         
                     
}

        
/* Responsive Design */
@media (max-width: 1199px) {
    footer .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    footer .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    footer .d-flex {
        justify-content: center;
        margin-top: 10px;
    }

    footer .row.pt-3 {
        text-align: center;
        border-top: none;
        padding-top: 10px;
    }

    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 10px;
    }
    footer {
        margin-top: 50px !important; /* Push the footer further down */
    }
}



@media (max-width: 575px) {
    footer h4 {
        font-size: 1.1rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    footer .d-flex p {
        font-size: 0.9rem;
    }

    footer .col-lg-3 {
        text-align: center;
        margin-bottom: 15px;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    text-align: left;
    width: 100vw; 
    min-height: 100vh; 
    overflow: hidden;
    position: relative;
}

/* Hero Image (background) */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;  }

.hero-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); 
    z-index: 1; 
}

/* Hero Text */
.hero-text {
    z-index: 2; 
    color: white;
    padding: 30px;
    display:flex;
    flex-direction: column;
    align-items: center;
}

.hero-heading {
    font-size: 4.3rem;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.25rem;
   
}


.water-container {
    background: linear-gradient(135deg, #3e8ec6, #00bfff, #0077be);
    background-size: 100% 100%;
    animation: ripple 10s infinite linear;
    border-radius: 20px; 
    padding: 40px;
    text-align: center;
    color: white;
    margin-bottom: 24px;
}
@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0.2; }
    50% { transform: translateY(-15px) translateX(5px); opacity: 0.5; }
    100% { transform: translateY(0) translateX(0); opacity: 0.2; }
}


.custom-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    clip-path: circle(45%);   
}
@media (max-width: 768px) {
    .custom-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        clip-path: none;
        margin-top: 10px;
    }
}
@media (max-width: 1024px) {
    .custom-image {
        width: 100%;
        clip-path: circle(50%);
    }
}

.collab-logo {
    width: auto;
    max-width: 150px; 
    /* 
    height: auto; 
    */
    transition: filter 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.custom-button{
    width: 80px; 
    padding: 5px 10px; 
    font-size: 14px; 

}

/* Adjust size for smaller screens */
/* @media (max-width: 768px) {
    .collab-logo {
        /* max-width: 120px;  */
  

/* @media (max-width: 480px) {
    .collab-logo {
        max-width: 100px; 
    }
}  */
p.text-dark {
    text-align: center;
    word-break: break-all;
}
.image-container {
    width: 100%;
    height: 250px; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Hover Effect */
.collab-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Remove Swiper buttons */
.swiper-button-prev,
.swiper-button-next {
    color:#3e8ec6;
    display: none! important;
}



.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-buttons .btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
}

.hero-buttons .btn-primary {
    background-color: #408ec4;
    color: white;
    border: none;
}

.hero-buttons .btn-primary:hover {
    background-color: #408ec4;
}

.hero-buttons .btn-secondary {
    background-color: #f4f4f4;
    color: #333;
    border: none;
}

.hero-buttons .btn-secondary:hover {
    background-color: #408ec4;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 2.5rem;  
    }

    .hero-text p {
        font-size: 1rem;  
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* .hero-heading{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
} */

/* .focus-card-hover {
    transition: background-color 0.3s, color 0.3s;
    background-color: #d6e9f5; 
}

.focus-card-hover:hover:hover {
    background: linear-gradient(to right, #3e8ec6, #d6e9f5);
    color: white;
}

.focus-card-hover:hover .icon-hover {
    transform: rotate(-10deg); 
    transition: transform 0.3s; 
} */



.card{
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.card {
    box-shadow: rgba(33, 37, 41, 0.3) 0px 12px 24px 0px;
    transform: scale(1.02);
}
.card:hover {
    transform: translateY(-5px);
    background: linear-gradient(to right, #2c6f9e, #3e8ec6);
    color: white;
}

.collaborations .list-group-item {
    border: none;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* .achievements .timeline {
    border-left: 4px solid #408ec4;
    padding-left: 20px;
    position: relative;
}


.achievements .timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
    opacity: 0;  
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.achievements .timeline-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.achievements .timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #408ec4;
    border-radius: 50%;
    border: 2px solid white;
}

.achievements .timeline-item h5 {
    color: #408ec4;
    font-weight: bold;
    margin-bottom: 5px;
} */

/* Vision and Mission Section */
.about section h2 {
    font-size: 2rem;
    color: #408ec4;
    font-weight: 700;
    margin-bottom: 15px;
    }
    
    .about section p {
    color: #555;
    font-size: 1.1rem;
    text-align: justify;
    }
    
    /* Core Values Section */
    .about .core-values {
    color: #fff;
    }
    
    .about .core-values h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #408ec4;
    }
    
    .about .core-values .card {
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .about .core-values .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
    
    .about .core-values .card-title {
    color: #408ec4;
    }
    
    /* Advisory Board & Team Sections */
    .about .container h2 {
    text-align: center;
    color: #408ec4;
    margin-bottom: 30px;
    }
    
    .about .container h4 {
    font-size: 1.25rem;
    color: #408ec4;
    margin-bottom: 10px;
    font-weight: bold;
    }
    
    /* .about .container p {
    font-size: 1rem;
    margin-bottom: 15px;
    } */
    
    /* Team Cards */
    .about .team .col-md-4 {
    margin-bottom: 30px;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
    .about .hero-section .custom-heading {
    font-size: 2.5rem;
    }
    
    .about .hero-section .community-paragraph {
    font-size: 1.25rem;
    }
    
    .about section h2 {
    font-size: 1.8rem;
    }
    
    .about section p {
    font-size: 1rem;
    }
    
    .about .core-values .card-title {
    font-size: 1.25rem;
    }
    
    .about .container h4 {
    font-size: 1.1rem;
    }
    
    .about .container p {
    font-size: 0.95rem;
    }
    }
    
    .hero-imagee img {
        border-radius: 50%;
        width: 80%;
        height: 100%;
        object-fit: cover;
    }
   .event .row.g-3 {
    display: flex;
    flex-wrap: wrap;
   }

    
    .event-image {
        overflow: hidden;
        /* object-position: top; */
        object-fit: cover;
        width: 100%;
        max-height: 220px; 
    
    }
    
    .event .card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .event .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        min-height: 200px;
        justify-content: space-between;
    }
    
   /* Responsive design adjustments */
@media (max-width: 768px) {
    .event-image {
        max-height: 200px; 
    }
}


.about .circle-img {
    width: 100%; 
    max-width: 500px; 
    aspect-ratio: 1/1; 
    overflow: hidden;
    border-radius: 50%;
    margin: auto;
    z-index: 2;
    position: relative;

    border: 10px solid transparent;
    background: linear-gradient(135deg, #3e8ec6, #ffffff);
    box-shadow: 0 0 15px rgba(62, 142, 198, 0.8), 0 0 25px rgba(255, 255, 255, 0.8);
}

.about .circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Make the image larger on smaller screens */
@media (max-width: 768px) {
    .about .circle-img {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .about .circle-img {
        width: 90%;
    }
}
.parallax-achievements {
    background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), url(../images/11.jpeg) no-repeat center center fixed;
    background-size: cover;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

 .achievements{
    background: #d6e9f5;
    border-radius: 20px;
    padding: 30px;
 }
.achievements .timeline {
    /* border-left: 4px solid #408ec4;  */
    position: relative;
    padding:60px 20px;
    display: flex;
    flex-direction: column;
}

.achievements .timeline-item {
    position: relative;
    margin-bottom: 20px;
    color: black;
    opacity: 0;  
    transform: translateY(20px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}

.achievements .timeline-item.fade-in {
    opacity: 1; 
    transform: translateY(0); 
}

.achievements .timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0; 
    width: 16px; 
    height: 16px; 
    /* background: #408ec4;  */
    /* border-radius: 50%; 
    border: 2px solid white; */
}
.achievements .timeline-item p {
    text-align: start; 
}

.achievements .timeline-item h5 {
    color: #408ec4; 
    font-weight:bold ; 
    margin-bottom: 1px; 
    text-align: start;
}

@media (max-width: 540px) {
    .parallax-achievements {
        padding: 0;
    
    }

    .achievements .timeline {
        padding: 0;
    }

    .achievements .timeline-item {
        margin-bottom: 20px; 
        padding: 0;
    }

    .achievements .timeline-item h5 {
        font-size: 1rem; 
    }

    .achievements .timeline-item p {
        font-size: 14px;
    }
}


.parallax-hero {
    background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/2.webp' ) center center / cover  fixed;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.parallax-about {
    background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/aboutmeo.webp' ) center center / cover  fixed;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.parallax-event {
    background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/12.webp' ) center center / cover  fixed;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.parallax-contact {
    background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../images/17.webp' ) center center / cover  fixed;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.square-card {
    width: 180px; 
    height: 180px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.parallax-summit {
    background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/13.webp' ) center center / cover  fixed;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative
}
.expectation {
    background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), url(../images/Cargo.jpg) no-repeat center center fixed;
    background-size: cover;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expectation .container {
    position: relative;
    z-index: 1; 
    

}

.expectation .row {
    position: relative;
    z-index: 1; 
}
.expectation2 {
    background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), url(../images/Cargo.jpeg) no-repeat center center fixed;
    background-size: cover;
    height:50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


 /* General parallax styling */
.parallax-hero, .parallax-about, .parallax-achievements, .parallax-contact, .parallax-event, .parallax-summit, .expectation, .expectation2 {
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed;  
}

/* Safari-specific fix */
@media screen and (max-width: 1024px) {
    .parallax-hero, .parallax-about, .parallax-achievements, .parallax-contact, .parallax-event, .parallax-summit, .expectation, .expectation2 {
        background-attachment: scroll; 
        position: relative;
        background-attachment: scroll; 
    }
}


/* form */
.form-container {
    padding-top: 9rem; 
    background-color: #d6e9f5;
    
}


/* Targeting h2 with both class and id */
h2#thecard-title.thecard-title {
    text-align: center;
    color: #408ec4;
    margin-bottom: 30px;
    font-size: calc(1.325rem + .9vw); /* Dynamic font size */
}

/* Hover effect for this specific h2 */
h2#thecard-title.thecard-title:hover {
    color: white;
}

.profile-img {
    /* box-shadow: 0 0 15px #3e8ec6;  */
    /* border-color: #3e8ec6; */
    /* border: 3px ; */
    /* transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out; */
    width: 100%; 
    max-width: 250px; 
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
}
/* 
.profile-img:hover {
    
    transform: scale(1.1);
} */

.name-toggle {
    cursor: pointer;
    color: #007bff;
    font-weight: bold;
    margin-top: 10px;
}

.name-toggle:hover {
    text-decoration: underline;
}

/* Container for the team card */
.team-card {
    width: 100%;
    max-width: 300px; 
    height: 600px; 
    perspective: 1000px; 
    margin: 10px;
    border-radius: 20px;
  }
  
  /* Inner container that holds both front and back sides of the card */
  .team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
    cursor: pointer;
  }
  
  /* Front and back sides of the card */
  .team-card-front, .team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  /* Front style */
  .team-card-front {
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .team-card-front img {
    width: 100%;
    height:100%;
    max-height: 300px;
    padding: 10px;
    object-fit: cover; 
    border-radius: 0;
    aspect-ratio: 1 / 1;
    object-position: center top;
  }
  
  .team-card-front h4 {
    margin-top: 10px;
    font-size: 1.2rem;
  }
  
  .team-card-front p {
    font-size: 1rem;
    color: #666;
    
   
  }
  
  /* Back style */
  .team-card-back {
    background-color: #d6e9f5;
    padding: 0 30px;
    transform: rotateY(180deg);
    text-align: justify;
    text-justify: inter-word;
  }
  
  .team-card-back h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .team-card-back p {
    font-size: 1rem;
    color: #333;
    /* padding: 10px; */
  }
  
  /* Flip effect on hover */
  .team-card:hover .team-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Responsive adjustments for smaller screens */
  @media (max-width: 768px) {
    .team-card {
      max-width: 100%; 
      height: 400px;
    }
  
    .team-card-front img {
      height: auto;
      max-width: 200px;
      max-height: 200px;
      object-fit: cover; 
    }
  
    .team-card-front h4 {
      font-size: 1.1rem;
    }
  
    .team-card-front p {
      font-size: 0.9rem;
    }
  
    .team-card-back h5 {
      font-size: 1.1rem;
    }
  
    .team-card-back p {
      font-size: 0.9rem;
    }
  }
  
  .text-justify{
    text-align: justify;
    text-justify: inter-word;
  }

  /* 404 */
  .error-container {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.error-container h1 {
    font-size: 150px;
    font-weight: bold;
    margin: 0;
    color: #3e8ec6;
}
.error-container h2 {
    font-size: 24px;
    margin-top: 0;
    color: #555;
}
.error-container p {
    font-size: 18px;
    margin-top: 10px;
    color: #777;
}
.error-container a {
    display: inline-block;
    background-color: #3e8ec6;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
}
.error-container a:hover {
    background-color: #2a6f98;
}
.animation-container {
    margin-top: 30px;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}