/* Hero section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(72, 64, 21, 0.7) 60%, rgba(245, 158, 11, 0.7) 100%),
        url('../img/Team-image.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-size: 110%;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: rgb(245, 158, 11);
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-content .btn {
    animation: scaleIn 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

/* Research/Data Points Background */
.data-points-bg {
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="4" cy="4" r="2" fill="%23f59e0b" fill-opacity="0.18"/><circle cx="28" cy="12" r="1.5" fill="%231f2937" fill-opacity="0.10"/><circle cx="16" cy="28" r="1.5" fill="%23f59e0b" fill-opacity="0.10"/><circle cx="24" cy="24" r="1" fill="%231f2937" fill-opacity="0.10"/></svg>');
    background-repeat: repeat;
    background-size: 32px 32px;
}

/* Videos section */
.videos-section {
    padding: 3rem 0;
    background: #fff;
}

.video-grid {
    margin: 0;
}

.video-card {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 8px;
    background: #f8f8f8;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 2;
}

.play-button i {
    color: #fff;
    font-size: 30px;
    margin-left: 4px;
    /* Optical adjustment for play icon */
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(245, 158, 11, 1);
}

.video-card:hover {
    cursor: pointer;
}

.video-description {
    font-family: 'Montserrat', sans-serif;
}

.video-description h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

/* Glassmorphism effect for the Explore Our Research button */
.glassmorphism-btn {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #f59e0b;
    transition: background 0.3s, color 0.3s, border 0.3s;
}

.glassmorphism-btn:hover,
.glassmorphism-btn:focus {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: 1.5px solid #f59e0b;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero {
        min-height: 80vh;
        background-attachment: cover;
        background-position: center top;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        animation: fadeInUp 0.7s ease-out forwards;
        opacity: 0;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        animation: fadeInUp 0.6s ease-out 0.3s forwards;
        opacity: 0;
    }

    .hero-content .btn {
        animation: scaleIn 0.6s ease-out 0.5s forwards;
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 70vh;
        background-size: 110%;
        background-position: 50% 20%
    }

    .hero-content {
        padding: 1.2rem;
    }

    .hero-title {
        font-size: 2.3rem;
        animation: fadeInUp 0.7s ease-out forwards;
        opacity: 0;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        animation: fadeInUp 0.6s ease-out 0.3s forwards;
        opacity: 0;
    }

    .hero-content .btn {
        animation: scaleIn 0.6s ease-out 0.5s forwards;
        opacity: 0;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 60vh;
        background-size: cover;
        background-position-y: top -10px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        animation: fadeInUp 0.7s ease-out forwards;
        opacity: 0;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        animation: fadeInUp 0.6s ease-out 0.3s forwards;
        opacity: 0;
    }

    .hero-content .btn {
        animation: scaleIn 0.6s ease-out 0.5s forwards;
        opacity: 0;
    }
}


/* Hover Card Effect */
.hover-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}