/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Poppins:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

/* General Styles */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #172869;
    background-color: #f8f9fa;
}

.aboutHeading {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1BB6AF;
    margin: 0 0 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
    color: #ffffff !important;
}

.nav-link:hover,
.nav-link.active {
    color: #1BB6AF  !important;
}

/* Video Background Styles */
#landing-page-container {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

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

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.video-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 70px;
}

.video-content h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: bounce 2s ease infinite;
}

.video-content .lead {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-buttons .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Our Story Section Styles */
.our-story-section {
    background-color: #f0f8ff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.our-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/science-bg.png') repeat;
    opacity: 0.1;
    z-index: 0;
}

.our-story-content {
    position: relative;
    z-index: 1;
}

.our-story-section h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1BB6AF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.our-story-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Card Styles */
.card {
    border: 2px solid #0176C0 ;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.card-img-top {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0176C0;
    margin-bottom: 1rem;
}

.card-text {
    font-family: 'Indie Flower', cursive;
    font-size: 1.2rem;
    color: black;
}

/* Button Styles */
.btn.btn-primary.btn-lg.me-3 {
    background-color: #1BB6AF ;
    border-color: #1BB6AF ;
}

.btn.btn-primary.btn-lg.me-3:hover {
    background-color: #0176C0;
    border-color: #0176C0;
}

.btn-outline-primary {
    color: #1BB6AF ;
    border-color: #1BB6AF ;
}

.btn-outline-primary:hover {
    background-color: #1BB6AF ;
    color: #ffffff;
}

.btn-outline-light:hover {
    background-color: #1BB6AF ;
    border-color: #1BB6AF ;
}

/* Footer Styles */
footer {
    background-color: #172869;
    color: #ffffff;
    padding: 3rem 0;
}

footer h5 {
    color: #1BB6AF ;
    margin-bottom: 1.5rem;
}

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

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #1BB6AF ;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #1BB6AF ;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-content h1 {
        font-size: 3rem;
    }

    .video-content .lead {
        font-size: 1.4rem;
    }

    .cta-buttons .btn {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}
