@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700&display=swap');


:root {
    --gradient-light: linear-gradient(to right, #ffffff, #fff6ee);
    --shadow-light: rgba(0, 0, 0, 0.1);

    --gradient-dark: linear-gradient(to right, #bbbbbb, #888888);
    --shadow-dark: rgba(255, 255, 255, 0.2);

    --main-color: #FC6571;
    --second-color: #FD9746;
    --font : 'Fraunces', serif;
    --font-text : 'Poppins', sans-serif;
}

header {
    width: 100%;
    position: relative;
    z-index: 1000; /* Ensures header is on top */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center;
    /* background: linear-gradient(to up, var(--main-color), rgb(0, 0, 0, 0.0)), 
                url('/static/trump_elon.webp'); */
    background-size: cover; /* Cover the full header */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
    padding: 2rem;

}

#headertitle {
    font-weight: bold;
    background-image: var(--gradient-light);
    color: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 3px var(--shadow-light);
}

/* Dark Mode Variant */
#headertitleDark {
   
    font-weight: bold;
    font-family: var(--font);
    background-image: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 3px var(--shadow-light);
}



#header-sub-title {
    color: #fff;
    text-shadow: 2px 2x 2px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
}


header h2 {
    font-family: var(--font);
    font-size: 1.5rem;
    text-align: center;
    margin-top: 1rem;
    
}

.user-info {
    position: absolute;  /* Position it absolutely */
    top: 10px!important;
    right: 10px !important;
    display: flex;
    flex-direction: column;  /* Stack the elements vertically */
    text-align: left;  /* Align the text to the left */
    font-size: 0.4rem !important;
    text-align: end;
    color: #fff;
}

#logo img {
    padding-top: 1rem;
    max-height: 4rem;  /* Adjusts the logo size */
    max-width: 4rem;
    margin: 0;  /* Removes extra margin around the logo */
}




body {
    font-family: var(--font-text);
    /* background-color: #f7f7f7; */
    background: linear-gradient(to bottom, var(--main-color), var(--second-color)); 
    color: #333;
    margin: 0;
    padding: 0;
    
    min-height: 100vh;
    min-height: 100%;
}



body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 2%, transparent 10%);
    background-size: 50px 50px;
    background-repeat: repeat;
   
    opacity: 0.2; /* Subtle pattern effect */
    pointer-events: none; /* Ensures it does not interfere with clicks */
    z-index: -1; /* Places the pattern behind other content */
}

h1 {
    font-family: var(--font);
    font-size: 2.5rem;
    color: #1e3d58;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-family: var(--font);
    font-size: 1.8rem;
    color: #ffffff;
    margin-top: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    height: 2px;
    width: 40px;
    background-color:var(--main-color);
    margin: 10px auto 0;
}

h3 {
    font-family: var(--font);
    font-size: 1.3rem;
    color: #555;
    margin-top: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
    color: var(--main-color);
}

h3:hover {
    color: var(--main-color);
}

/* Loading bar styles */
#loading-bar {

    width: 100%;
    max-width: 600px;  /* You can adjust the width based on your preference */
    height: 10px;
    background: #ddd;  /* Light gray background */
    margin-top: 20px;
    display: block;
    position: relative;
    border-radius: 5px;
}

#loading-progress {
    height: 100%;
    width: 0%;  /* Initial width, can be animated later */
    background: var(--main-color);  /*  color for the loading progress */
    transition: width 0.3s ease-in-out;
    border-radius: 5px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;  /* Centers the UL itself */
    width: 90%;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Ensures list items are centered */
    text-align: center; /* Centers the text inside each <li> */
}

ul li {
    background: #ffffff;
    padding: 1.5rem;
    margin-bottom: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
    width: 100%;  /* Ensures it takes full width of UL */
    max-width: 600px;  /* Limits width for better mobile display */
}

ul li:hover {
    transform: scale(1.02);
   /*  background-color: #fffaf6; */
}

ul li strong {
    color:var(--main-color);
    font-weight: 600;
}



/* Form and buttons */
form {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}







button {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #0056b3;
}


/* Footer */
footer {
    width: 100%;
    background-color: var(--main-color);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    
}

footer p {
    font-size: .7rem;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

a {
    color: var(--main-color);
}
a:hover {
    color: var(--second-color);
}

.video-container {
    display: flex;
    width: 90%;
    justify-self: center;
    max-width:38rem;
    margin-left:  1rem;
    margin-right:  1rem;
    
    
    flex-direction: column; /* Stack children vertically */
    margin-top: 20px;
    
    align-items: center;     /* Optional: center the elements horizontally */
    padding: 1rem;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

video {
    width: 100%;
    max-width: 600px; /* Optional: restrict the video width */
    
    border-radius: 20px;
}

#download-button {
    margin-top: 10px; /* Add space between video and button */
     
}


#tts-form {
    
    width: 90%; /* Ensures responsiveness */
    max-width: 600px; /* Prevents form from being too wide */
    margin: 0 auto; /* Centers the form */
    background: white;
    padding: 25px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
    margin-top: 2rem;
    
}

.text-area {
    background-color: #fff;
    width: 95%; /* Makes textarea fit inside form */
    max-width: 100%;
    padding: 12px;
    border-radius: 12px;
    /* border: 0.5px solid #ddd; */
    font-size: 1rem;
    resize: none;
    border-color: rgba(252, 107, 108, 0.5);
    font-style: italic;
}

.text-area:focus {
    border-color: rgba(252, 107, 108, 0.5);
    outline: none; /* Removes the default browser outline */
    /* box-shadow: 4px 4px 10px rgba(252, 107, 108, 0.5); */
    
    background-color: #f5f5f5;
}



#tts-form button {
    width: 100%; /* Makes button full width */
    padding: 15px;
    
    
    color: rgb(243, 243, 243);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    
}

#tts-form button:hover {
    background-color: #ffffff;
}

.button-container {
    display: flex;
    gap: 10px; /* Adds space between buttons */
    width: 100%;
    max-width: 600px; /* Limits the width */
    margin: 0 auto; /* Centers the buttons */
}

.info-container {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-bottom: 5px;
    
}



.dropdown {
    position: relative;
    display: inline-block;
   
    text-align: center;
}



.dropdown-button {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    
    font-size: 16px;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

#selected-text {
    font-family: var(--font);
    color: var(--main-color);
    font-size: larger;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.dropdown-button img {
    width: 100px; /* Enlarge the image */
    height: 100px; /* Enlarge the image */
    margin-right: 10px;
    border-radius: 100px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    border: none;
    border-radius: 20px;
    
    width: 280px;
    box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color:black;
    /* color:#FD9547; */
    border-radius: 20px;
}

.dropdown-content a:hover {
    background-color: var(--main-color);
    color: white;
}

.dropdown-content a img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 100px;
}

.dropdown.active .dropdown-content {
    display: block;
    border-radius: 20px;
}

#charCount {
    font-size: 0.6em;
    color: #ccc;
    text-align: left;
    padding-left: 12px;
}

#error-message {
    font-size: 0.6em;
    color: #f00000;
    text-align: right;
    padding-right: 12px;
}

.error-message-login {
    font-size: 0.6em !important;
    color: #f00000 !important;
    text-align: center !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
    padding-top: 10px !important;
    padding-bottom: 5px !important;
    margin-top: 10px !important;
}


#progress-container {
    width: 85%;
    max-width: 500px;
    margin-top: 2rem;
    margin: 1rem auto; 
    background: #ddd;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none; 
}
#progress-bar {
    width: 0%;
    height: 10px;
    border-radius: 25px;
    background: linear-gradient(90deg, #ff0000, #ff7300, #fffb00, #48ff00, #0099ff, #6b00ff);
    background-size: 300% 100%;
    transition: width 0.5s ease-in-out;
    animation: colorShift 3s infinite linear;
}
@keyframes colorShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#status {
    margin-top: 5px;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
}

.fade-out {
    opacity: 0 !important;
}

.pricing-table {
    min-height: 80vh;
    display: flex;
    flex-wrap: wrap; /* Allows multiple rows if needed */
    justify-content: center; /* Centers horizontally */
    
    gap: 30px;
    padding: 2rem;


}

    

.pricing-card {
    background-color: #fff;
    max-width: 20rem;
    height: 26rem;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* Initially hidden */
    /*  opacity: 0;  */
    transform: translateY(20px);
    visibility: hidden;

    /* Animation */
     /* animation: fadeInUp 1s ease-out forwards;  */
}

.pricing-card .price-amount {
    margin-bottom: auto; /* Ensure price content doesn’t push the button up */
}

/* @keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
        visibility: visible;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
} */


.pricing-card:hover {
    transform: scale(103%);
}

.pricing-card h2 {
    color: var(--main-color);
    font-size: 2rem;
}

.pricing-card .btn-hover.color-5 {
    margin-top: auto; 
    margin-bottom: 1rem; 
    align-self: center; 
    margin-top: 2rem;
}

.price-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333; /* Adjust color */
    margin-bottom: 10px;
}

section {
    margin-left: 2rem;
    margin-right: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.loading-lottie {
    position: absolute;
    top: 26rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 8rem;
    display: none;
  }

#subscription-data {
    max-width: 10rem;
}

/* .swiper-container {
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: sans-serif;
    flex-direction: column;
  } */

.swiper {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden; /* Prevents unwanted scrolling */
    touch-action: pan-y; /* Allows smooth horizontal scrolling */
}

.swiper-wrapper {
    display: flex;
    flex-direction: row; /* Ensures items are placed in a row */
}

.swiper-slide {
    background-color: #fff;
    min-width:14rem; /* Adjust width as needed */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button {
    padding: 0px;
    color: #cccccc !important;
    font-size: large !important;
}

.dropdown-swiper {
    width: 80%;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}


option {
    font-family: var(--font-text); /* Open state font */
    text-align: left;
    background-color: white;
    color: #333;
    
}



select {
    font-family: var(--font);
    color: white;
    background-color: var(--main-color);
   
    appearance: none;  /* Removes default styles including the arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    
    border: 1px solid #d1d5db;
    padding: 10px;
    border-radius: 20px;
    font-size: 16px;
   text-align: center !important;
    outline: none;
    
    overflow: hidden;  /* Helps maintain border-radius */
}



.btn-container {
    display: flex;
    justify-content: space-between;
}

.btn-container button {
    max-width:  3rem;
    max-height:  3rem;
    background: transparent;
    color: #f5f5f5;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    
    box-shadow: none;
} 

.btn-container button:hover {

    background: var(--main-color) !important;
} 

.toggle-button-container {
    margin-left: 1rem;
    display: flex;
    align-items: center; 
    gap: 0px; 
    color: var(--main-color);
    
}


  
/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .user-info {
        font-size: 0.875rem;  /* Smaller font size for tablets */
    }
}

@media (max-width: 480px) {
    .user-info {
        font-size: 0.75rem;  /* Even smaller font size for mobile screens */
    }
}