* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.main-title {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    margin-bottom: 0;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.8em;
    font-weight: 300;
    margin-left: 0.8em;
}

/* Sections Wrapper */
.sections-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Individual Section Styles */
.section {
    position: relative;
    width: 33.333%;
    height: 100vh;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Background Images */
.section-left {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/background_images/data_background_1.png') center/cover;
}

.section-middle {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/background_images/healthcare_background_1.png') center/cover;
}

.section-right {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('assets/background_images/business_background_1.png') center/cover;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
    z-index: 1;
}

/* Overlay for color highlighting */
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.section-left .section-overlay {
    background: rgba(234, 96, 32, 0.3);
}

.section-middle .section-overlay {
    background: rgba(215, 62, 54, 0.3);
}

.section-right .section-overlay {
    background: rgba(33, 76, 213, 0.3);
}

/* Hover Effects */
.sections-wrapper:has(.section-left:hover) .section-left {
    width: 45%;
}

.sections-wrapper:has(.section-left:hover) .section-middle,
.sections-wrapper:has(.section-left:hover) .section-right {
    width: 27.5%;
}

.sections-wrapper:has(.section-middle:hover) .section-middle {
    width: 45%;
}

.sections-wrapper:has(.section-middle:hover) .section-left,
.sections-wrapper:has(.section-middle:hover) .section-right {
    width: 27.5%;
}

.sections-wrapper:has(.section-right:hover) .section-right {
    width: 45%;
}

.sections-wrapper:has(.section-right:hover) .section-left,
.sections-wrapper:has(.section-right:hover) .section-middle {
    width: 27.5%;
}

.section:hover::before {
    transform: scale(1.1);
}

.section:hover .section-overlay {
    opacity: 1;
}

.section:hover .section-content {
    transform: scale(1.15);
}

/* Content Styles */
.section-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: calc(100% - 100px);
    padding: 2rem;
    padding-bottom: 4rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-container {
    margin-bottom: 2rem;
}

.domain-icon {
    width: 120px;
    height: 120px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    letter-spacing: 0.5em;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.section-description {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-align: center;
    max-width: 300px;
    opacity: 0.8;
}

/* Footer Styles */
.section-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.section-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.section-name {
    flex: 1;
    font-weight: 500;
}

.section-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.3s ease;
}

.section-left .section-bar {
    background: linear-gradient(90deg, #ea6020 0%, #d54a10 100%);
}

.section-middle .section-bar {
    background: linear-gradient(90deg, #d73e36 0%, #b82820 100%);
}

.section-right .section-bar {
    background: linear-gradient(90deg, #214cd5 0%, #1a3ca8 100%);
}

.section:hover .section-bar {
    height: 8px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .main-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hexagon-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .sections-wrapper {
        flex-direction: column;
    }
    
    .section {
        width: 100% !important;
        height: 33.333%;
    }
    
    .section:hover {
        height: 45%;
        width: 100% !important;
    }
    
    .section-left:hover ~ .section-middle,
    .section-left:hover ~ .section-right,
    .section-middle:hover ~ .section-right {
        height: 27.5%;
        width: 100% !important;
    }
}
