/* Video Container */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Full-screen video */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Dark overlay on video */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Text on top of the video */
.video-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Ensure the container takes full width and height */
#landing-page-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Embark heading */
.video-content h1 {
    font-size: 4rem; 
    font-weight: bold;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7); 
}

/* Paragraph */
.video-content p {
    font-size: 1.5rem;
    margin: 20px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); 
}

/* Buttons styling */
.sign-up-btns {
    margin-top: 20px;
}

/* Transparent Buttons */
.sign-up-btns .btn {
    margin: 10px;
    padding: 15px 30px;
    font-size: 1.2rem;
    background-color: transparent; 
    border: 2px solid white; 
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Hover effect for buttons */
.sign-up-btns .btn:hover {
    background-color: rgba(255, 255, 255, 0.2); 
    color: white;
    transform: translateY(-5px);
}

/* Additional Content Styles */
.sif-div {
    width: 266px;
    height: 516px;
}

.hero-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: 48px;
}

#hero-video {
    width: 100vw;
    max-width: 1320px;
}

.jean-pool-wrapper {
    height: 450px;
    width: 400px;
    overflow: hidden;
}




/* Features section styling */
.feature {
    background: #f0e6ff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(106, 13, 173, 0.1);
    transition: all 0.3s ease;
}

/* Hover effect for feature boxes */
.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 30px rgba(106, 13, 173, 0.2);
}

.feature h2 {
    font-size: 2.5rem;
    color: #1BB6AF;
}

.feature p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.feature .feature-image img {
    transition: transform 0.3s ease;
}


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


.about-section {
    background: white;
}

h2 {
    font-size: 2.5rem;
    color: #0056b3;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About items hover effect */
.about-item {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid #1BB6AF;
    animation: float 5s ease-in-out infinite;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 86, 179, 0.2);
}

.about-item h3 {
    font-size: 1.8rem;
    color: #0056b3;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Styling for About items */
.about-item h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #0056b3;
}

.about-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.about-item:nth-child(2) {
    animation-delay: 0.5s;
}

.about-item:nth-child(3) {
    animation-delay: 1s;
}


/* Background and padding for the section */
.what-is-science-island-section {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(255, 255, 255, 0.9)), url('./assets/images/science-island-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #333;
}

/* Heading styling */
.what-is-science-island-section h1 {
    font-size: 3.5rem;
    color: #0056b3;
    letter-spacing: 1px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

/* Paragraph styling */
.what-is-science-island-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

/* Subtle text-muted styling */
.text-muted {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Video card styling */
.video-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .what-is-science-island-section h1 {
        font-size: 2.5rem;
    }

    .what-is-science-island-section p {
        font-size: 1.1rem;
    }

    .video-card {
        margin-top: 30px;
    }
}





.what-is-science-island-section {
    background-color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.what-is-science-island-section h1 {
    color: #1BB6AF;
    font-size: 2.5rem;
}

.what-is-science-island-section .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.what-is-science-island-section .text-muted {
    font-size: 1rem;
    color: #666;
}

a.btn-primary.btn-lg  {
    background-color: #1BB6AF;
    border-color: #1BB6AF;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

a.btn-primary.btn-lg:hover, .btn-primary.btn-lg:focus {
    background-color:  #0176C0;
    border-color:  #0176C0;
    transform: translateY(-2px);
    box-shadow: #172869;
}

.video-card {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .what-is-science-island-section h1 {
        font-size: 2rem;
    }
    
    .what-is-science-island-section .lead {
        font-size: 1rem;
    }
    
    .video-card {
        margin-top: 2rem;
    }
}






/*what are the features of science island */
.about-section {
    padding: 0;
    background-color: white; 
}

.about-section h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #1BB6AF;
    background-color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); 
}

.about-item {
    position: relative;
    background-color: white; 
}

.about-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.about-item img:hover {
    transform: scale(1.03); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}

.text-below {
    padding: 20px;
    text-align: center;
    background-color: white; 
    border-bottom: 5px solid #1BB6AF; 
}

.text-below h3 {
    font-size: 2rem;
    color: #1BB6AF;
    margin-bottom: 10px;
    font-weight: bold;
}

.text-below p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 0;
}

.g-0 {
    margin-right: 0;
    margin-left: 0;
    padding: 0;
}

.img-fluid {
    width: 100%;
    height: auto;
    border-bottom: 3px solid #1BB6AF; 
}

@media (max-width: 767.98px) {
    .text-below h3 {
        font-size: 1.6rem;
    }

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

    .about-section h2 {
        font-size: 2rem;
    }
}





/*why use Science Island*/
.why-use-science-island {
    background-color: #f9f9f9; 
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333; 
}

.section-description {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.feature {
    background-color: white; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon img {
    transition: transform 0.3s ease;
}

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

.feature-title {
    font-size: 1.5rem;
    color: #1BB6AF; 
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.feature-icon img:hover {
    transform: scale(1.1); 
}

@media (max-width: 767.98px) {
    .feature-title {
        font-size: 1.4rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }
}




/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* FAQ Section */
.faq-section {
    background-color: #f9f9f9;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.accordion-button {
    font-size: 1.2rem;
    font-weight: 500;
    background-color: #f7f7f7;
    color: #333;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background-color: #1BB6AF;
    color: white;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
}

.accordion-header button {
    text-align: left;
}

.accordion-body {
    font-size: 1rem;
    line-height: 1.6;
    background-color: #fff;
    color: #555;
    padding: 20px;
    border-radius: 5px;
}

.accordion-header button i {
    margin-right: 10px;
    color: #1BB6AF;
}

.accordion-header button[aria-expanded="true"] {
    background-color: #1BB6AF;
    color: white;
}


/* Media query for responsiveness */
@media (max-width: 767.98px) {
    .about-section h2 {
        font-size: 2rem;
    }

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

    .video-content h1 {
        font-size: 3rem;
    }

    .video-content p {
        font-size: 1.2rem;
    }
}
