/* TF Hero Section Widget */

.tf-hero-section {
    position: relative;
    width: 100%;
    min-height: 950px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #1a1a1a;
}


/* Background Video */

.tf-hero-section .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}


/* Background Image */

.tf-hero-section .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}


/* Overlay */

.tf-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}


/* Content Container */

.tf-hero-section .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1290px !important;
    padding: 40px 0px;
}

.tf-hero-section .hero-content-inner {
    width: 100%;
}


/* Content Alignment */

.tf-hero-section.hero-align-left .hero-content {
    margin-left: auto;
    margin-right: auto;
}

.tf-hero-section.hero-align-center .hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tf-hero-section.hero-align-right .hero-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}


/* Sub Title */

.tf-hero-section .hero-sub-title {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}


/* Title */

.tf-hero-section .hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}


/* Description */

.tf-hero-section .hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.tf-hero-section .hero-description p {
    margin: 0;
}


/* Button Wrapper */

.tf-hero-section .hero-button-wrapper {
    display: inline-block;
}


/* Button Styles */

.tf-hero-section .hero-button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}


/* Style 1 - Primary (Default) */

.tf-hero-section .hero-button:not(.button-style-2):not(.button-style-3) {
    background-color: var(--theme-primary-color);
    color: #ffffff;
    border-color: #e74c3c;
}

.tf-hero-section .hero-button:not(.button-style-2):not(.button-style-3):hover {
    background-color: var(--theme-primary-color) !important;
    border-color: var(--theme-primary-color);
}


/* Style 2 - Secondary */

.tf-hero-section .button-style-2 {
    background-color: #3498db;
    color: #ffffff;
    border-color: #3498db;
}

.tf-hero-section .button-style-2:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}


/* Style 3 - Outline */

.tf-hero-section .button-style-3 {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.tf-hero-section .button-style-3:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}


/* Responsive Styles */

@media (max-width: 1024px) {
    .tf-hero-section {
        min-height: 800px;
    }
    .tf-hero-section .hero-title {
        font-size: 44px;
    }
    .tf-hero-section .hero-content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .tf-hero-section {
        min-height: 800px !important;
    }
    .tf-hero-section .hero-title {
        font-size: 36px;
    }
    .tf-hero-section .hero-sub-title {
        font-size: 14px;
        letter-spacing: 2px;
    }
    .tf-hero-section .hero-description {
        font-size: 16px;
    }
    .tf-hero-section .hero-button {
        padding: 14px 30px;
        font-size: 15px;
    }
    .tf-hero-section .hero-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .tf-hero-section {
        min-height: 600px;
    }
    .tf-hero-section .hero-title {
        font-size: 28px;
    }
    .tf-hero-section .hero-sub-title {
        font-size: 12px;
        letter-spacing: 1px;
    }
    .tf-hero-section .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    .tf-hero-section .hero-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    .tf-hero-section .hero-content {
        max-width: 100%;
    }
}


/* Animation for content */

.tf-hero-section .hero-content-inner>* {
    animation: heroFadeInUp 0.8s ease forwards;
    opacity: 0;
}

.tf-hero-section .hero-sub-title {
    animation-delay: 0.2s;
}

.tf-hero-section .hero-title {
    animation-delay: 0.4s;
}

.tf-hero-section .hero-description {
    animation-delay: 0.6s;
}

.tf-hero-section .hero-button-wrapper {
    animation-delay: 0.8s;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}