/* FindTV Custom Styles */

* {
    font-family: "Manrope", sans-serif;
}

/* Global Variables */
:root {
    --primary-color: #00a8e6;
    --text-color: #fff;
    --text-muted: #b8b8b8;
    --text-light: #e5e5e5;
    --bg-light: #1a1f26;
    --bg-dark: #0f161a;
    --border-color: #2d3748;
    --hero-gradient: linear-gradient(90deg, #16213e 100%, #1a1a2e 0%);
    --hero-overlay: linear-gradient(
        90deg,
        #16213e 100%,
        rgba(0, 0, 0, 0) 50%,
        #1a1a2e 0%
    );
}

/* Body and Typography */
body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-dark);
}

/* Header/Navbar */
.navbar {
    padding: 16px 0;
    z-index: 1000;
    background-color: #000 !important;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.6px;
    color: #fff !important;
}

.navbar-nav .nav-link {
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../img/bg-2.png?v=1.1");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 29.25px;
    color: var(--text-light);
    max-width: 670px;
    margin: 0 auto 40px;
}

.hero-buttons .btn {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    min-width: 180px;
    min-height:58px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(45deg, #0056b3, #0099ff);
    color: #fff;
    box-shadow: none;
}

.hero-buttons .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

/* Section Styling */
.pricing-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.channels-section {
    background-color: var(--bg-dark);
    /* background-image: url("../../img/channel-banner.png"); */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    opacity: 1;
    padding: 80px 0;
}

.features-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.devices-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

/* Typography */
.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 54px;
    color: var(--text-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    color: var(--text-color);
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    line-height: 54px;
    color: var(--primary-color);
}

.period {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--text-muted);
}

.plan-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--text-muted);
}

.features-list {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--text-color);
    margin-bottom: 12px;
}

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

.check-icon {
    flex-shrink: 0;
    fill: #fff;
}

.check-icon path {
    flex-shrink: 0;
    fill: #fff;
}

.pricing-card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

/* Channel Cards */
.channel-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 127px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.channel-card:hover {
    transform: translateY(-3px);
}

.channel-logo img {
    width: 64px;
    height: 48px;
    object-fit: contain;
}

.channel-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    color: var(--text-color);
    margin: 0;
}

/* Pagination dots */
.pagination-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-dot.active {
    background-color: var(--primary-color);
}

/* Feature Cards */
.feature-card {
    padding: 40px 20px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    color: var(--text-color);
    margin-bottom: 16px;
}

.feature-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 22.75px;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* Device Cards */
.device-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 186px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.device-card:hover {
    transform: translateY(-3px);
}

.device-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    margin-bottom: 16px;
}

.device-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    color: var(--text-color);
    margin-bottom: 0px;
}

.device-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--text-muted);
    margin: 0;
}

/* Device Mockups */
.device-mockup {
    text-align: center;
}

.device-mockup img {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    animation: zoomOut 0.5s ease-in-out;
    object-fit: contain;
    width:100%;
}

.device-mockup::before {
    content: "";
    display: none;
    width: calc(100% - 60%);
    height: calc(100% - 60%);
    background-image: url(../../img/home/tvRemote.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0px;
    left: 4%;
    z-index: 2;
    /* animation: slideDown 1s ease-in-out; */
    opacity: 1;
}

.device-mockup.animate::before,
.device-mockup.animate::after {
    animation: slideDown 1s ease-in-out;
}

.device-mockup::after {
    content: "";
    display: none;
    width: calc(100% - 66%);
    height: calc(100% - 30%);
    background-image: url(../../img/home/tabWithPhone.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
    /* animation: slideDown 1s ease-in-out; */
    opacity: 1;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.device-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    color: var(--text-color);
    margin-top: 16px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(222deg, #0056b3, #0099ff);
    box-shadow: none !important;
}

/* Modal slide-in from right to center animation */
.modal.fade.detailsModal .modal-dialog {
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.fade.show.detailsModal .modal-dialog {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        line-height: 40px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 20px;
        margin: 0 auto 25px;
    }

    .section-title {
        font-size: 28px;
        line-height: 36px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }

    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }

    .pricing-card,
    .channel-card,
    .device-card {
        margin-bottom: 0px;
        height: auto;
        padding: 15px;
    }

    .feature-card {
        padding: 0px 16px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 320px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 30px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px;
    }

    .price {
        font-size: 28px;
        line-height: 42px;
    }

    .plan-name {
        font-size: 20px;
        line-height: 30px;
    }
}

/* Animation and Transitions */
.btn-common {
    border: 1px solid  #00A8E6;
    transition: all 0.3s ease;
    color: #fff;
    outline: 0px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.btn-common svg {
    fill: #fff;
}

.btn-common:hover,
.btn-common:focus,.btn-common:active {
    color: #fff!important;
    outline: 0px;
    border: 1px solid var(--Brand-Color, #00A8E6)!important;
    background: var(--positive_hover, rgba(0, 168, 230, 0.20))!important;
}

.btn-common:hover svg path,
.btn-common:focus path {
    fill: #fff;
}

.pricing-card,
.channel-card,
.device-card,
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Carousel Styling */
.channels-section .carousel {
    max-width: 100%;
}

.carousel-indicators {
    position: absolute;
    margin-top: 2rem;
    margin-bottom: 0;
    bottom: 0px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    margin: 0 4px;
    transition: background-color 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: var(--primary-color);
    opacity: 0.8;
}
.hero-buttons .subscribeNow,.hero-buttons .exploreBtn{
    padding-top:18px!important;
}

@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}

/* FAQ Section Styling */
.faq-section {
    background-color: var(--bg-light);
}

.faq-item {
    margin-bottom: 16px;
}

.faq-question {
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    padding: 20px 24px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-question:focus {
    box-shadow: none;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question:not(.collapsed) .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

.card-body {
    padding: 0 24px 20px;
}

/* FAQ Page Specific Styles */
.faq-hero-section {
    background-color: var(--bg-light);
    padding: 120px 0 60px;
    margin-top: 69px;
}

.faq-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: var(--text-color);
    margin-bottom: 24px;
}

.faq-hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.faq-search .input-group {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-search .form-control {
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    background-color: var(--bg-light);
    color: var(--text-color);
}

.faq-search .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-search .btn {
    border: none;
    padding: 16px 20px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* FAQ Categories */
.faq-categories .nav-pills .nav-link {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    padding: 12px 24px;
    margin: 0 8px 8px 0;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.faq-categories .nav-pills .nav-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.faq-categories .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Contact Support Section */
.contact-support {
    background-color: var(--bg-light);
}

.support-options .btn {
    margin: 0 8px 8px 0;
    min-width: 140px;
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 32px;
        line-height: 40px;
    }

    .faq-hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .faq-question {
        font-size: 14px;
        padding: 16px 20px;
    }

    .card-body {
        padding: 0 20px 16px;
    }

    .faq-categories .nav-pills .nav-link {
        padding: 8px 16px;
        font-size: 14px;
        margin: 0 4px 8px 0;
    }

    .support-options .btn {
        display: block;
        width: 100%;
        margin: 0 0 12px 0;
    }
}

@media (max-width: 576px) {
    .faq-hero-section {
        padding: 100px 0 40px;
    }

    .faq-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .faq-search .input-group {
        max-width: 100%;
    }

    .faq-categories .nav-pills {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-categories .nav-pills .nav-link {
        margin: 0 0 8px 0;
        text-align: center;
    }
}

/* Modal Grid Styles for different sizes */
#detailsModal .modal-dialog.modal-md .modal-body .modalChannelsGrid {
    grid-template-columns: repeat(3, 1fr);
}

#detailsModal .modal-dialog.modal-lg .modal-body .modalChannelsGrid {
    grid-template-columns: repeat(4, 1fr);
}

#detailsModal .modal-dialog.modal-xl .modal-body .modalChannelsGrid {
    grid-template-columns: repeat(5, 1fr);
}

/* Responsive adjustments for modal grid */
@media screen and (max-width: 768px) {
    #detailsModal .modal-dialog.modal-md .modal-body .modalChannelsGrid,
    #detailsModal .modal-dialog.modal-lg .modal-body .modalChannelsGrid,
    #detailsModal .modal-dialog.modal-xl .modal-body .modalChannelsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    #detailsModal .modal-dialog.modal-md .modal-body .modalChannelsGrid,
    #detailsModal .modal-dialog.modal-lg .modal-body .modalChannelsGrid,
    #detailsModal .modal-dialog.modal-xl .modal-body .modalChannelsGrid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.commingSoon {
    position: absolute;
    top: 0;
    left: 0;
    color: #000000;
    background-color: #fff;
    padding: 6px;
    font-size: 12px;
    border-radius: 8px 0px 0px 0px;
    line-height: 1;
    font-weight: 600;
}

.btn-common.viewDetailsBtn svg,
.btn-common.viewDetailsBtn:hover svg path,
.btn-common.viewDetailsBtn:focus svg path {
    fill: none;
}

.imageContainer {
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    border: 1px solid #252d3a;
    background: #1a1f26;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
/* 1st cardÃ¢â‚¬â„¢s icon */
.features-section .featureContainer:nth-of-type(1) .feature-icon {
    background-image: linear-gradient(to bottom right, #3b82f6, #7c3aed);
}

/* 2nd cardÃ¢â‚¬â„¢s icon */
.features-section .featureContainer:nth-of-type(2) .feature-icon {
    background-image: linear-gradient(to bottom right, #10b981, #2563eb);
}

/* 3rd cardÃ¢â‚¬â„¢s icon */
.features-section .featureContainer:nth-of-type(3) .feature-icon {
    background-image: linear-gradient(to bottom right, #8b5cf6, #db2777);
}

/* 4th cardÃ¢â‚¬â„¢s icon */
.features-section .featureContainer:nth-of-type(4) .feature-icon {
    background: linear-gradient(180deg, #db4d4d 0%, #6d0a76 100%);
}

.hero-buttons .subscribeNow{
    border-radius: 5px;
background: #00A8E6;
color: #FFF;

}

.hero-buttons .subscribeNow:hover,
.hero-buttons .subscribeNow:active{
    background-color: #fff;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), var(--Brand-Color, #00A8E6);
}

.hero-buttons .exploreBtn{
    border-radius: 5px;
    border: 1px solid #00A8E6;
color: #FFF;

}
.hero-buttons .exploreBtn:hover,
.hero-buttons .exploreBtn:active{
    background: #00BAFF;
color: #FFF;
border-color: #00A8E6;
    background: var(--positive_hover, rgba(0, 168, 230, 0.20))
}
