/* ===================================
   SURGICAL ICU PAGE - KEY FEATURES SECTION
   Based on Figma Design Specifications
   =================================== */

/* Key Features Animations */
@keyframes titleScaleIn {
    from {
        font-size: 16px;
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    to {
        font-size: 32px;
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes featureSlideUp {
    from {
        opacity: 0;
        transform: translateX(0px) translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Animation Classes for Key Features */
.key-features-section .key-features-title {
    opacity: 0;
}

.key-features-section .key-features-title.visible {
    animation: titleScaleIn 0.2s ease-out forwards;
}

.key-features-section .feature-item {
    opacity: 0;
}

.key-features-section .feature-item.visible {
    animation: featureSlideUp 0.2s ease-out forwards;
}

/* Key Features Section - Based on Figma Variant2 (1280px) */
.key-features-section {
    position: relative;
    width: 100%;
    min-height: 418px;
    background: #F0EFE7;
    padding: 0;
    overflow: visible;
}

.key-features-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 418px;
    padding: 25px 20px 25px 15px;
}

.key-features-content {
    position: relative;
    max-width: 872px;
}

/* Section Title - Figma: 32px Lora italic 600 */
.key-features-title {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 32px;
    line-height: 45px;
    color: #183D4A;
    margin: 0 0 33px 0;
    max-width: 757px;
}

/* Features List - Figma: 22px Montserrat 400 */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 35px;
}

/* Feature Item - Figma: 45px line-height spacing */
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 45px;
    color: #183D4A;
}

/* Tooth Icon - Figma: 22x22px */
.feature-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Arrow Decoration - Figma: 101.81x124.87px, rotate(-152.29deg), positioned right side */
.arrow-decoration {
    position: absolute;
    right: 100px;
    top: 34px;
    width: 102px;
    height: 125px;
    z-index: 1;
}

.arrow-decoration img {
    height: auto;
}

/* Key Features Header - contains title and arrow */
.key-features-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 33px;
}

/* Arrow positioned at end of header */
.key-features-header .arrow-decoration {
    position: relative;
    width: 40px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
}

/* Star Decoration at bottom left */
.star-decoration-bottom {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 50px;
    height: auto;
    z-index: 1;
}

.star-decoration-bottom img {
    width: 100%;
    height: auto;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Ultra Wide - 2560px+ */
@media (min-width: 2560px) {
    .key-features-section {
        min-height: 500px;
    }

    .key-features-wrapper {
        max-width: 2300px;
        padding: 40px 20px 40px 20px;
    }

    .key-features-title {
        font-size: 42px;
        line-height: 58px;
        margin-bottom: 40px;
    }

    .feature-item {
        font-size: 28px;
        line-height: 56px;
    }

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

    .arrow-decoration {
        right: 100px;
        top: 40px;
        width: 140px;
        height: 170px;
    }

    .star-decoration-bottom {
        width: 100px;
        left: 1150px;
        top: 170px;
    }
}

/* Large Desktop - 1440px to 2560px */
@media (min-width: 1440px) and (max-width: 2559px) {
    .key-features-wrapper {
        max-width: 1600px;
        padding: 30px 50px 30px 30px;
    }

    .key-features-title {
        font-size: 36px;
        line-height: 50px;
    }

    .feature-item {
        font-size: 24px;
        line-height: 50px;
    }

    .arrow-decoration {
        right: 100px;
        top: 35px;
        width: 110px;
        height: 135px;
    }

    .star-decoration-bottom {
        width: 100px;
        left: 30px;
        bottom: -100px;
        padding-bottom: 20px;
    }
}

/* Medium Desktop - 1025px to 1439px (matches Figma 1280px design) */
@media (min-width: 1025px) and (max-width: 1439px) {
    .key-features-wrapper {
        padding: 25px 20px 25px 15px;
    }

    .key-features-title {
        font-size: 32px;
        line-height: 45px;
    }

    .feature-item {
        font-size: 22px;
        line-height: 45px;
    }

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

    .arrow-decoration {
        right: 80px;
        top: 34px;
        width: 102px;
        height: 125px;
    }

    .star-decoration-bottom {
        width: 90px;
    }
}

/* Tablet - max 1024px */
@media (max-width: 1024px) {
    .key-features-wrapper {
        padding: 25px 30px;
    }

    .key-features-title {
        font-size: 28px;
        line-height: 40px;
    }

    .feature-item {
        font-size: 18px;
        line-height: 40px;
    }

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

    .arrow-decoration {
        right: 50px;
        top: 30px;
        width: 80px;
        height: 100px;
    }

    .star-decoration-bottom {
        width: 40px;
        left: 20px;
    }
}

/* Mobile - max 768px */
@media (max-width: 768px) {
    .key-features-wrapper {
        padding: 20px;
    }

    .features-list {
        padding-left: 0;
    }

    .key-features-title {
        font-size: 24px;
        line-height: 34px;
    }

    .feature-item {
        font-size: 16px;
        line-height: 36px;
        gap: 12px;
    }

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

    .arrow-decoration {
        display: none;
    }

    .star-decoration-bottom {
        display: none;
    }
}

/* Small Mobile - max 480px */
@media (max-width: 480px) {
    .key-features-title {
        font-size: 20px;
        line-height: 30px;
    }

    .feature-item {
        font-size: 14px;
        line-height: 32px;
    }

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

/* ===================================
   WHY WOULD A DENTAL HOSPITAL NEED SICU SECTION
   Based on Figma Design Specifications
   =================================== */

.why-sicu-section {
    position: relative;
    width: 100%;
    background: #F0EFE7;
    padding: 0;
    overflow: visible;
}

.why-sicu-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 115px 60px;
}

/* Star Decoration */
.why-sicu-star {
    position: absolute;
    left: 108px;
    top: 0;
    width: 66px;
    height: 66px;
    transform: rotate(16.67deg);
    z-index: 1;
}

.why-sicu-star img {
    width: 100%;
    height: auto;
}

/* Section Title - Figma: 33px Lora 600 */
.why-sicu-title {
    font-family: 'Lora', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 33px;
    line-height: 75px;
    color: #183D4A;
    margin: 0 0 40px 0;
    padding-top: 82px;
}

/* SICU Table - Figma: 1050px width */
.sicu-table {
    width: 100%;
    max-width: 1050px;
    display: flex;
    flex-direction: column;
    border: 1px solid #183D4A;
    border-radius: 4px;
    overflow: hidden;
}

/* Table Row */
.table-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 170px;
}

.table-row:not(:last-child) {
    border-bottom: 1px solid #183D4A;
}

/* Table Cells */
.table-cell {
    display: flex;
    align-items: center;
    padding: 10px 12px;
}

/* Header Cell - Dark Background */
.header-cell {
    width: 240px;
    min-width: 240px;
    background: #183D4A;
    border-right: 1px solid #ECD8B6;
}

.header-cell .cell-text {
    font-family: 'Lora', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 50px;
    color: #ECD8B6;
}

/* Content Cell - Gold/Beige Background */
.content-cell {
    flex: 1;
    background: #ECD8B6;
    border-left: 1px solid #183D4A;
}

.content-cell .cell-text {
    font-family: 'Lora', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 50px;
    color: #183D4A;
}

/* ===================================
   BENEFITS OF SICU SECTION
   Based on Figma Design Specifications
   =================================== */

.benefits-section {
    position: relative;
    width: 100%;
    min-height: 886px;
    background: #F0EFE7;
    padding: 0;
    overflow: visible;
}

.benefits-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 115px 100px;
}

/* Star Decoration */
.benefits-star {
    position: absolute;
    right: 75px;
    top: 50px;
    width: 66px;
    height: 66px;
    transform: rotate(16.67deg);
    z-index: 1;
}

.benefits-star img {
    width: 100%;
    height: auto;
}

/* Section Title - Figma: 44px Lora italic 600 */
.benefits-title {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 44px;
    line-height: 75px;
    color: #183D4A;
    margin: 0 0 50px 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 60px 0;
    max-width: 1115px;
}

/* Benefit Item - Figma: 22px Montserrat 700 */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 50px;
    color: #183D4A;
    margin-bottom: 30px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item span {
    flex: 1;
}

.benefit-item strong {
    font-weight: 700;
}

/* Benefit Icon - Tooth */
.benefit-icon {
    width: 26px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 14px;
}

/* Summary Paragraph - Figma: 26px Lora italic 500 */
.benefits-summary {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 26px;
    line-height: 52px;
    text-align: center;
    color: #183D4A;
    max-width: 1008px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* ===================================
   RESPONSIVE STYLES - WHY SICU & BENEFITS
   =================================== */

/* Ultra Wide - 2560px+ */
@media (min-width: 2560px) {

    .why-sicu-wrapper,
    .benefits-wrapper {
        max-width: 2300px;
        padding-left: 150px;
        padding-right: 150px;
    }

    .why-sicu-title {
        font-size: 42px;
        line-height: 90px;
    }

    .sicu-table {
        max-width: 1400px;
    }

    .header-cell {
        width: 320px;
        min-width: 320px;
    }

    .header-cell .cell-text,
    .content-cell .cell-text {
        font-size: 26px;
        line-height: 56px;
    }

    .benefits-title {
        font-size: 54px;
        line-height: 90px;
    }

    .benefit-item {
        font-size: 26px;
        line-height: 56px;
    }

    .benefit-icon {
        width: 32px;
        height: 28px;
        margin-top: 16px;
    }

    .benefits-summary {
        font-size: 32px;
        line-height: 64px;
        max-width: 1400px;
    }

    .why-sicu-star,
    .benefits-star {
        width: 90px;
        height: 90px;
    }
}

/* Large Desktop - 1440px to 2560px */
@media (min-width: 1440px) and (max-width: 2559px) {

    .why-sicu-wrapper,
    .benefits-wrapper {
        max-width: 1600px;
        padding-left: 120px;
        padding-right: 120px;
    }

    .why-sicu-title {
        font-size: 36px;
    }

    .header-cell .cell-text,
    .content-cell .cell-text {
        font-size: 24px;
        line-height: 52px;
    }

    .benefits-title {
        font-size: 48px;
    }

    .benefit-item {
        font-size: 24px;
        line-height: 52px;
    }

    .benefits-summary {
        font-size: 28px;
        line-height: 56px;
    }
}

/* Medium Desktop - 1025px to 1439px */
@media (min-width: 1025px) and (max-width: 1439px) {

    .why-sicu-wrapper,
    .benefits-wrapper {
        padding-left: 80px;
        padding-right: 80px;
    }

    .why-sicu-star {
        left: 80px;
    }

    .benefits-star {
        right: 60px;
    }
}

/* Tablet - max 1024px */
@media (max-width: 1024px) {

    .why-sicu-wrapper,
    .benefits-wrapper {
        padding: 40px 30px 50px;
    }

    .why-sicu-star {
        left: 30px;
        width: 50px;
        height: 50px;
    }

    .benefits-star {
        right: 30px;
        width: 50px;
        height: 50px;
    }

    .why-sicu-title {
        font-size: 28px;
        line-height: 60px;
        padding-top: 60px;
    }

    .header-cell {
        width: 180px;
        min-width: 180px;
    }

    .header-cell .cell-text {
        font-size: 18px;
        line-height: 40px;
    }

    .content-cell .cell-text {
        font-size: 18px;
        line-height: 40px;
    }

    .table-row {
        min-height: 140px;
    }

    .benefits-title {
        font-size: 32px;
        line-height: 60px;
    }

    .benefit-item {
        font-size: 18px;
        line-height: 40px;
    }

    .benefit-icon {
        width: 22px;
        height: 18px;
        margin-top: 12px;
    }

    .benefits-summary {
        font-size: 22px;
        line-height: 44px;
    }
}

/* Mobile - max 768px */
@media (max-width: 768px) {

    .why-sicu-wrapper,
    .benefits-wrapper {
        padding: 30px 20px 40px;
    }

    .why-sicu-star,
    .benefits-star {
        display: none;
    }

    .why-sicu-title {
        font-size: 24px;
        line-height: 40px;
        padding-top: 0;
        margin-bottom: 30px;
    }

    .table-row {
        flex-direction: column;
        min-height: auto;
    }

    .header-cell {
        width: 100%;
        min-width: 100%;
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px solid #ECD8B6;
    }

    .content-cell {
        width: 100%;
        padding: 16px;
        border-left: none;
    }

    .header-cell .cell-text {
        font-size: 16px;
        line-height: 32px;
    }

    .content-cell .cell-text {
        font-size: 14px;
        line-height: 28px;
    }

    .benefits-section {
        min-height: auto;
    }

    .benefits-title {
        font-size: 24px;
        line-height: 40px;
        margin-bottom: 30px;
    }

    .benefit-item {
        font-size: 14px;
        line-height: 28px;
        margin-bottom: 20px;
        gap: 12px;
    }

    .benefit-icon {
        width: 18px;
        height: 15px;
        margin-top: 8px;
    }

    .benefits-summary {
        font-size: 18px;
        line-height: 36px;
        margin-top: 40px;
    }
}

/* Small Mobile - max 480px */
@media (max-width: 480px) {
    .why-sicu-title {
        font-size: 20px;
        line-height: 34px;
    }

    .header-cell .cell-text {
        font-size: 14px;
        line-height: 28px;
    }

    .content-cell .cell-text {
        font-size: 13px;
        line-height: 26px;
    }

    .benefits-title {
        font-size: 20px;
        line-height: 34px;
    }

    .benefit-item {
        font-size: 13px;
        line-height: 26px;
    }

    .benefits-summary {
        font-size: 16px;
        line-height: 32px;
    }
}