:root {
    --primary-color: #006400;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --transition: all 0.3s ease;
}

/* Immersive Hero Section */
.immersive-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 100, 0, 0.8));
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn.primary {
    background: white;
    color: var(--primary-color);
}

.hero-btn.primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn.secondary {
    border: 2px solid white;
    color: white;
}

.hero-btn.secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Explore Section */
.explore-section {
    padding: 8rem 0;
    background: white;
}

.explore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.explore-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.explore-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 15px;
    transition: var(--transition);
}

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

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-text h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.explore-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.explore-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Featured Labs Section */
.featured-labs {
    padding: 8rem 0;
    background: var(--secondary-color);
    margin-top: 2rem;
    clear: both;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lab-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.lab-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.lab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lab-placeholder {
    position: relative;
    height: 250px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    border: 2px dashed #ddd;
}

.placeholder-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.lab-placeholder p {
    margin: 0;
    font-size: 1rem;
    color: #999;
}

.lab-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.lab-card:hover .lab-overlay {
    opacity: 1;
}

.view-lab {
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.view-lab:hover {
    background: white;
    color: var(--primary-color);
}

.lab-content {
    padding: 2rem;
}

.lab-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.lab-content p {
    color: #666;
    line-height: 1.7;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.facilities-gallery {
    margin-top: 2rem;
}

.gallery-main {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    grid-column: span 1;
}

.gallery-item.main {
    grid-column: span 3;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Call to Action Section */
.cta-section {
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 100, 0, 0.8));
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Virtual Experience Section */
.virtual-experience {
    padding: 8rem 0;
    background: white;
    margin-bottom: 2rem;
    overflow: hidden;
}

.experience-header {
    max-width: 800px;
    margin-bottom: 4rem;
    overflow: hidden;
    word-wrap: break-word;
}

.experience-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 1rem 0;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.experience-title {
    font-size: 1.2rem;
    color: #666;
    margin: 1.5rem 0;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
    max-width: 800px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.experience-intro {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-top: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 800px;
}

.experience-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.experience-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.experience-left {
    padding-right: 2rem;
}

.experience-description {
    margin-bottom: 3rem;
}

.experience-description p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-right {
    padding-left: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-text h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-text p {
    color: #666;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.experience-gallery {
    position: relative;
    margin-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.experience-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.placeholder-content {
    text-align: center;
    color: #666;
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.placeholder-content p {
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .experience-header h2 {
        font-size: 2.5rem;
    }

    .experience-content-wrapper {
        padding: 0 1rem;
    }

    .experience-main-content {
        gap: 3rem;
    }

    .experience-left {
        padding-right: 1rem;
    }

    .experience-right {
        padding-left: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .virtual-experience {
        padding: 3rem 0;
        margin-bottom: 1rem;
    }

    .experience-content-wrapper {
        padding: 0 1rem;
    }

    .experience-header h2 {
        font-size: 2rem;
    }

    .experience-title {
        font-size: 1.1rem;
    }

    .feature-text h3 {
        font-size: 1.1rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    .experience-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .experience-left {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .experience-right {
        padding-left: 0;
    }

    .experience-features {
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .lab-content h3 {
        font-size: 1.1rem;
    }

    .lab-content p {
        font-size: 0.9rem;
    }
    
    .labs-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
        letter-spacing: 0.5px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .virtual-experience {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }

    .experience-header h2 {
        font-size: 1.8rem;
    }

    .experience-title {
        font-size: 1rem;
    }

    .experience-intro {
        font-size: 1rem;
    }

    .feature-text h3 {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.85rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }
    
    .explore-content h2 {
        font-size: 1.8rem;
    }

    .explore-content p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
    }

    .lab-content h3 {
        font-size: 1rem;
    }

    .lab-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .experience-header h2 {
        font-size: 1.5rem;
    }

    .feature-text h3 {
        font-size: 0.9rem;
    }

    .feature-text p {
        font-size: 0.8rem;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
    }

    .feature-icon i {
        font-size: 1rem;
    }

    .explore-content h2 {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }
}