/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: ltr;
    text-align: left;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1e3a5f;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    /* object-fit: cover;
    object-position: center;
    opacity: 0.4; */
}

/* .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8), rgba(233, 30, 99, 0.3));
    z-index: -1;
} */

.box-flo {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem;
    max-width: 800px;
    width: 90%;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    animation: floatUp 0.8s ease-out forwards;
}

@keyframes floatUp {
    to {
        transform: translateY(0);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-text h1 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

.hero-subtitle {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-features {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
    color: #ecf0f1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-custom-primary, .btn-custom-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-custom-primary {
    background: linear-gradient(45deg, #e91e63, #1e3a5f);
    color: white;
    border: none;
}

.btn-custom-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    background: linear-gradient(45deg, #c2185b, #e91e63);
}

.btn-custom-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-custom-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a5f;
    transform: translateY(-3px);
}

/* Button shine effect */
.btn-custom-primary::before,
.btn-custom-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-custom-primary:hover::before,
.btn-custom-secondary:hover::before {
    left: 100%;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Lab Features */
.lab-features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 4rem 0;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.lab-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a5f;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.lab-features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e3a5f, #e91e63);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #e1e8ed;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #1e3a5f, #e91e63);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 95, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.feature-item:hover .feature-icon {
    color: #e91e63;
    transform: scale(1.1);
}

.feature-item h4 {
    color: #1e3a5f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-item p {
    color: #5f6368;
    line-height: 1.6;
}

/* Services */
.services {
    padding: 4rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a5f;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #e91e63, #1e3a5f);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #e1e8ed;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(233, 30, 99, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(30, 58, 95, 0.25);
}

.service-icon {
    font-size: 3.5rem;
    color: #1e3a5f;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.service-card:hover .service-icon {
    color: #e91e63;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: #1e3a5f;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(45deg, #1e3a5f, #e91e63);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation-play-state: running;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        padding: 0 10px;
    }

    .hero-image {
        object-position: center;
    }

    .hero-overlay {
        /* background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(233, 30, 99, 0.4)); */
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .box-flo {
        padding: 2rem;
        max-width: 95%;
    }

    .lab-features h2,
    .services h2 {
        font-size: 2.2rem;
    }

    .feature-item,
    .service-card {
        padding: 2rem;
    }

    .feature-icon,
    .service-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .box-flo {
        padding: 1.5rem;
    }

    .lab-features,
    .services {
        padding: 3rem 0;
    }

    .lab-features h2,
    .services h2 {
        font-size: 2rem;
    }

    .feature-item,
    .service-card {
        padding: 1.5rem;
    }

    .btn-custom-primary,
    .btn-custom-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .box-flo {
        padding: 1rem;
    }
    
    .feature-item,
    .service-card {
        padding: 1.2rem;
    }
    
    .btn-custom-primary,
    .btn-custom-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}