@font-face {
    font-family: Nunito-Bold;
    src: url(./fonts/Nunito-Bold-1cd294a771f26752bbb8d8d5210f6412.ttf);
}

@font-face {
    font-family: Nunito-Light;
    src: url(./fonts/Nunito-Light-6a4fadd273f85b2ae8c6ffadbcf7beec.ttf);
}

@font-face {
    font-family: Nunito;
    src: url(./fonts/Nunito-Regular-d2e691bc4a2b696929172cb3d22ce8ba.ttf);
}

/* Custom variables and styles */
:root {
    --wattpad-orange: #ff6200;
    --wattpad-purple: #3b19a9;
    --wattpad-blue: #352766;
    --wattpad-pink: #ff0056;
    --wattpad-bg-lightpink: #FFF6F2;
    --wattpad-bg-purple: #322864;
    --wattpad-white: #ffffff;
}

body {
    font-family: Nunito, sans-serif;
}

/* Navbar custom */
.navbar {
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    height: 80px;
    box-sizing: inherit;
    position: fixed;
    width: 100%;
    /* background-color: #fff !important; */
}

.navbar-brand {
    width: 144px;
    height: 100%;
}


.nav-link {
    font-family: Nunito;
    margin: 8px;
    color: black;
    font-size: 16px;
    font-weight: 800;
    line-height: 22px;
}

.nav-link.active {
    border-bottom: 3px solid var(--wattpad-orange);
    color: var(--wattpad-orange) !important;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50vh;
    max-width: 250px;
    background: #222;
    color: #fff;
    padding: 8px 24px;
    font-size: 18px;
    font-weight: 800;
}

.nav-link:hover {
    color: #e04e00;
}
.navbar-toggler:focus{
    border: none;
    outline: none;
    box-shadow: none;
}
.ld{
    left: -15px !important;
    top: 45px !important;
    min-width: 120px !important;
}

.tab-content {
    background: transparent;
    border: none;
}

/* Hero */
#home-hero {
    background-color: var(--wattpad-bg-purple);
    color: var(--wattpad-white);
    padding: 3rem 1rem;
    position: relative;
    overflow: visible;
    height: 100vh;
    /* border-radius: 0 0 10rem 0; */
}

#home-hero .hero-text {
    max-width: 450px;
}

#home-hero h1 {
    font-weight: 600;
    letter-spacing: 2px;
    word-spacing: 2px;
    font-size: 3.8vw;
    line-height: 64px;
    font-family: Nunito-Bold;

}

#home-hero p {
    margin-top: 2rem;
    line-height: 1.3em;
    font-size: 24px;
    color: white;
}

#home-hero .btn-start {
    margin-top: 2rem;
    background-color: var(--wattpad-white);
    border: none;
    font-weight: 700;
    padding-left: 2rem;
    padding-right: 2rem;
    color: var(--wattpad-purple);
    border-radius: 50px;
    white-space: nowrap;
}

#home-hero .hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 55vw;
    height: 100%;
    overflow: hidden !important;
}

#home-hero .hero-image-wrapper img {
    width: 100%;
    height: 100%;
    margin-left: 2.5rem;
    user-select: none;
}

/* Features Section */
#features {
    text-align: center;
}

#features h2 {
    font-weight: 500;
    font-size: 2vw;
    margin-bottom: 3rem;
}

.feature-item {
    max-width: 240px;
    margin: 0 auto 2rem;
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.feature-icon-bg {
    display: inline-block;
}

.feature-icon-bg img {
    height: 95px;
    width: 100px;
    display: block;
}

.feature-title {
    font-weight: 800;
    margin-bottom: 0.55rem;
    color: black;
    font-size: 1.8vw;
    font-family: Nunito-Bold;
}

.feature-desc {
    font-size: 0.875rem;
    color: #5b5470;
    min-height: 3.5rem;
}

/* Premium Plus Section */
#premium-plus-info {
    background-color: var(--wattpad-bg-lightpink);
    padding: 3rem 1rem;
    text-align: center;
}

#premium-plus-info .content {
    font-size: 2vw;
    font-weight: 600;
}

#premium-plus-info .extras {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.extra-item {
    max-width: 400px;
    text-align: left;
    font-size: 0.875rem;
    color: #5b5470;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.extra-item strong {
    font-weight: 800 !important;
    font-family: Nunito-Bold;
    font-size: 1.8vw;
    color: #2a202f;
    margin-bottom: 1.8rem;
}

.extra-icon img {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}

/* Subscription Cards */
#subscription-cards {
    background-image: url(./premium-imgs/paper-boats.png);
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    background-size: cover;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card-subscription {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem 3rem;
    box-shadow: 0 12px 24px rgb(251 82 82 / 0.2);
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;

}

.text-justify {
    text-align: justify;
}

.card-subscription .title {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.card-subscription .subprice {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #e71d52;
}

.card-subscription .billing-info {
    font-size: 0.75rem;
    color: #7b728a;
    margin-bottom: 1.25rem;
}

.card-subscription .btn-subscribe {
    border-radius: 50px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    margin-top: 1rem;
    border: none;
}

.card-subscription.premiumplus {
    box-shadow: 0 12px 24px rgb(251 82 82 / 0.38);
}

.card-subscription.premiumplus .btn-subscribe {
    background-color: #e71d52;
    color: white;
}

.card-subscription.premiumplus .btn-subscribe:hover {
    background-color: #c21643;
}

.card-subscription.premium {
    box-shadow: 0 12px 24px rgb(65 54 105 / 0.22);
}

.card-subscription.premium .btn-subscribe {
    background-color: var(--wattpad-purple);
    color: white;
}

.card-subscription.premium .btn-subscribe:hover {
    background-color: #2a205a;
}

.card-subscription ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    color: #3e3650;
    font-size: 0.9rem;
}

.card-subscription ul li {
    margin-bottom: 0.6rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.1vw;
    font-weight: 700;
}

.card-subscription ul li::before {
    content: "✔";
    color: var(--wattpad-pink);
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.card-subscription.premium ul li::before {
    color: var(--wattpad-purple);
}

.card-subscription p.cancel-text {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #7b728a;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    padding: 3rem 1rem;
}

.footer .footer-logo img {
    width: 300px;
    user-select: none;
}

.footer hr {
    border-color: #555 !important;
}

.footer a {
    color: white;
    font-size: 1.5vw;
    margin-bottom: 20px;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer a:hover,
.footer a:focus {
    color: #ff7a2e;
    text-decoration: underline;
}

.footer .footer-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: white;
    border-bottom: 1px solid #888;
    padding-bottom: 0.3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.container-custom {
    width: 100%;
    background-color: #FFD7AF;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.left-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.text-side {
    max-width: 400px;

}

.text-side h2 {
    font-weight: 800;
    font-size: 3.75rem;
    line-height: 1.2;
    margin-bottom: 0.7rem;
    font-family: Nunito-Light;
}

.text-side p.subtitle {
    font-size: 1.3rem;
    color: #6b5845;
}

.image-clip-1 img {
    width: 100%;
}

.image-clip-2 {
    width: 40vw;
}

.image-clip-2 img {
    width: 100%;
    height: 100%;
}

.right-col {
    display: flex;
    color: #332f27;
    font-size: 1rem;
    line-height: 1.6;
    padding-top: 0.5rem;
    max-width: 100%;
}

.step-side .step-label {
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.step-side p strong {
    font-weight: 900;
}

/* faq section style */
.main {
    padding: 4rem 3rem 6rem 3rem;
    max-width: 90%;
    margin: 0 auto;
}

/* Two column layout for main FAQ heading and image */
.faq-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}


.faq-header-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 3.8rem;
    letter-spacing: -0.012em;
    margin-bottom: 0.75rem;
    font-family: Nunito-Light;
}

/* Blob shaped clipping shape for image */
.clip-blob {
    max-width: 50vw;
}

.clip-blob img {
    width: 100%;
    height: 550px;
    border-radius: 0% 0% 72% 41% / 55% 0% 49% 58%;
}

.accordion-button:hover{
    color: var(--wattpad-orange);
}

.accordion-item {
    border: none;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-button:not(.collapsed) {
    color: #E96127;
    font-weight: 700;
    box-shadow: none;
    background-color: transparent;
}

/* Accordion body text style */
.accordion-body {
    color: black;
    font-size: 0.975rem;
    line-height: 1.4rem;
    padding-left: 1.25rem;
}

/* Wattpad Premium+ section heading */
.premium-plus-heading {
    margin-top: 4rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    font-size: 2.7rem;
    letter-spacing: 0.025em;
    color: #232323;
}


/* Accordion button styling */
.accordion-button {
    font-weight: 600;
    font-size: 0.975rem;
    color: #232323;
    padding-left: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Custom arrow icon */
.accordion-button .accordion-icon {
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23232323'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.2s ease-in-out;
}

/* Rotate arrow when expanded */
.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(180deg);
}

/* Remove Bootstrap's default arrow */
.accordion-button::after {
    display: none;
}

/* Hover state */
.accordion-button:hover {
    color: var(--wattpad-orange);
}
.accordion-button:hover .accordion-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E96127'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}




/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    #home-hero h1 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .feature-title, .extra-item strong {
        font-size: 1.5rem;
    }

    .card-subscription ul li {
        font-size: 1rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #home-hero {
        height: auto;
        padding: 8rem 1rem 3rem;
    }

    #home-hero .hero-text {
        position: relative;
        z-index: 2;
    }

    #home-hero .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 2rem;
    }

    #home-hero h1 {
        font-size: 2.8rem;
    }

    #features h2 {
        font-size: 2rem;
    }

    .feature-item {
        margin-bottom: 3rem;
    }

    .feature-title, .extra-item strong {
        font-size: 1.3rem;
    }

    .extra-item {
        max-width: 100%;
    }

    .footer a {
        font-size: 1rem;
    }

    /* FAQ section adjustments */
    .faq-header-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .premium-plus-heading {
        font-size: 2.2rem;
    }

    /* Access Premium section */
    .container-custom {
        gap: 2rem;
    }

    .text-side h2 {
        font-size: 2.5rem;
    }

    .image-clip-2 {
        width: 60vw;
    }
    .dropdown-menu{
        background: transparent !important;
        border: none !important;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .navbar {
        height: auto;
        padding: 1rem 0;
        background-color: white;
    }

    #home-hero {
        text-align: center;
        padding: 6rem 1rem 2rem;
    }

    #home-hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    #home-hero p {
        font-size: 1.1rem;
    }

    #features h2 {
        font-size: 1.8rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-desc {
        min-height: auto;
    }

    .card-subscription {
        max-width: 100%;
    }

    /* FAQ section */
    .main {
        padding: 3rem 1.5rem;
    }

    .faq-header-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .clip-blob img {
        height: auto;
    }

    .premium-plus-heading {
        font-size: 1.8rem;
        margin-top: 3rem;
    }

    /* Access Premium section */
    .left-col, .right-col {
        flex-direction: column;
    }

    .text-side {
        text-align: center;
        margin-bottom: 2rem;
    }

    .text-side h2 {
        font-size: 2rem;
    }

    .image-clip-1, .image-clip-2 {
        width: 100%;
    }

    .step-side {
        padding: 2rem 1rem;
    }

    /* Footer adjustments */
    .footer .row > div {
        margin-bottom: 2rem;
    }

    .footer ul {
        gap: 0.8rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #home-hero h1 {
        font-size: 1.8rem;
    }

    .feature-item {
        margin-bottom: 2rem;
    }

    #premium-plus-info .content {
        font-size: 1.5rem;
    }

    .extra-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .extra-icon img {
        width: 100px;
        height: 100px;
    }

    /* FAQ section */
    .faq-header-title {
        font-size: 1.8rem;
    }

    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 0.25rem;
    }

    .accordion-body {
        font-size: 0.875rem;
        padding-left: 0;
    }

    .premium-plus-heading {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer .footer-title {
        font-size: 1.2rem;
    }

    .footer a {
        font-size: 0.9rem;
    }
}

/* Very small devices (less than 400px) */
@media (max-width: 399.98px) {
    #home-hero h1 {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-start {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .card-subscription {
        padding: 1.5rem 1rem;
    }

    .card-subscription ul li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    /* FAQ section */
    .faq-header-title {
        font-size: 1.5rem;
    }

    .accordion-button {
        font-size: 0.85rem;
    }
}
