/* style.css */
/* Force full viewport width breakout for Elementor */
.elementor-widget-projects_hero_799ec251 {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
}

body {
    overflow-x: hidden;
}

.triva-hero-wrapper-799ec251 {
    position: relative;
    width: 100vw;
    height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #1E1A17;
}

.triva-hero-bg-799ec251 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.triva-hero-overlay-799ec251 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.65) 65%, #1E1A17 100%);
    z-index: 2;
}

.triva-hero-container-799ec251 {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 0 20px; /* Desktop top padding for navbar */
    box-sizing: border-box;
}

.triva-hero-content-799ec251 {
    width: 60%; /* Left aligned constraint */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.triva-hero-label-799ec251 {
    font-family: 'Poppins', sans-serif;
    color: #C8A86B;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}

.triva-hero-heading-799ec251 {
    font-family: 'Playfair Display', serif;
    color: #F5F1E8;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 24px 0;
}

.triva-hero-subheading-799ec251 {
    font-family: 'Poppins', sans-serif;
    color: #D8D0C3;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.triva-hero-buttons-799ec251 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.triva-btn-outline-799ec251,
.triva-btn-solid-799ec251 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.triva-btn-outline-799ec251 {
    background: transparent;
    border: 2px solid #C8A86B;
    color: #C8A86B;
}

.triva-btn-outline-799ec251:hover {
    background: #C8A86B;
    color: #1E1A17;
    transform: translateY(-2px);
}

.triva-btn-solid-799ec251 {
    background: #C8A86B;
    border: 2px solid #C8A86B;
    color: #1E1A17;
}

.triva-btn-solid-799ec251:hover {
    background: transparent;
    color: #C8A86B;
    transform: translateY(-2px);
}

/* Animations */
.triva-hero-element-799ec251 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.triva-hero-element-799ec251.triva-visible-799ec251 {
    opacity: 1;
    transform: translateY(0);
}

.triva-hero-content-799ec251 .triva-hero-element-799ec251:nth-child(1) { transition-delay: 0.1s; }
.triva-hero-content-799ec251 .triva-hero-element-799ec251:nth-child(2) { transition-delay: 0.3s; }
.triva-hero-content-799ec251 .triva-hero-element-799ec251:nth-child(3) { transition-delay: 0.5s; }
.triva-hero-content-799ec251 .triva-hero-element-799ec251:nth-child(4) { transition-delay: 0.7s; }

/* Responsive Tablets */
@media (max-width: 1024px) {
    .triva-hero-content-799ec251 {
        width: 80%;
    }
    .triva-hero-heading-799ec251 {
        font-size: 56px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .triva-hero-wrapper-799ec251 {
        height: 65vh;
    }
    
    .triva-hero-container-799ec251 {
        padding-top: 120px; /* Mobile navbar clearance */
    }
    
    .triva-hero-content-799ec251 {
        width: 100%;
    }
    
    .triva-hero-heading-799ec251 {
        font-size: 34px;
        margin-bottom: 16px;
    }
    
    .triva-hero-subheading-799ec251 {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .triva-hero-label-799ec251 {
        margin-bottom: 16px;
    }
    
    .triva-hero-buttons-799ec251 {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .triva-btn-outline-799ec251,
    .triva-btn-solid-799ec251 {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
