/* #FFFFFF - BASE WHITE */
/* #181818 - BASE BLACK */

.updown {
    display: flex;
    align-items: center; /* Ensures vertical alignment on large screens */
    gap: 20px; /* Adds spacing between image and text */
}

.updown h1 {
    margin-top: 0px;
}

.updown p {
    margin-bottom: 10px;
}

.pfp {
    width: 100%;
}

.fnb {
    display: flex; /* Default: Flexbox layout for desktop */
    justify-content: center; /* Centers content */
}
.flex-socials{
    display: flex;
    flex-direction: row;
}
@media (max-width: 740px) {
    .updown {
        display: block; /* Stacks the elements vertically */
        text-align: center; /* Centers text and buttons */
        align-items: center;
    }

    .updown div {
        width: 100%; /* Makes both elements take full width */
    }

    .updown img {
        margin: 0 auto; /* Centers the image */
        display: block; /* Ensures proper centering */
    }

    .updown h1 {
        margin-top: 18px;
    }

    .updown p {
        margin-bottom: 18px;
    }

    .buttons {
        justify-content: center;
        flex-direction: column; /* Stacks buttons vertically */
        align-items: center;
    }
    .flex-socials{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .pfp {
        width: 65%;
    }

    .tab-content {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center-align elements */
        text-align: center; /* Center-align text */
    }

    .tab-image {
        width: 100%;
        height: 100%;
        order: -1; /* Moves the image above the text */
    }

    .tab-text {
        padding-right: 0; /* Remove right padding for better alignment */
        order: 2; /* Ensures text comes after the image */
    }

    .fnb {
        display: block;
    }

    .jscnt {
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .e {
        display: none;
    }

    .txt {
        text-align: center;
    }
    .notflexwhitebg-section{
        padding: 0 !important;
    }
    .input-container{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .input-container > input{
        width: -webkit-fill-available;
    }
    .input-container > button{
        width: 100%;
        margin: 0;
    }
    .button-container{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .button-container > button{
        width: 100% !important;
    }
    .cm{
        width: 100%;
        margin-bottom: 1rem;
    }
    .notflexwhitebg-section > h1{
        padding-top: 1rem;
    }
    .tab-image{
        width: 100% !important;
    }
}

.jscnt {
    display: flex;
    align-items: center;
}

@media (min-width: 550px) and (max-width: 740px){
    .btn.cm {
        font-size: 13px;
        padding: 9.5px 16.5px; 
    }

    .custom-button {
        font-size: 15px !important; /* Force the font size */
        padding: 8px 16px !important; /* Force padding */
        width: 200px !important; /* Force width */
        border-radius: 6px !important; /* Force border radius */
    }

    .custom-button i {
        font-size: 16px !important; /* Force icon size */
    }
}

@media (max-width: 550px) {
    .btn.cm {
        font-size: 11px;
        padding: 11.5px 15.5px; 
    }

    .custom-button {
        font-size: 12px !important; /* Force the font size */
        padding: 8px 16px !important; /* Force padding */
        width: 200px !important; /* Force width */
        border-radius: 6px !important; /* Force border radius */
    }

    .custom-button i {
        font-size: 16px !important; /* Force icon size */
    }
}

.btns {
    vertical-align: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    background-color: #FFFFFF;
    margin: 0; /* Add this line */
    padding: 0; /* Add this line */
}

.section {
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    align-items: center;
}

nav {
    background-color: #181818;
    padding: 28px;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 20px;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    transition: 0.2s;
}

nav a:hover {
    color: #c7c7bd;
}

.whitebg-section {
    display: flex;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    align-items: center;
}

.notflexwhitebg-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    align-items: center;
}

.blackbg-section {
    overflow: hidden;
    background: #181818;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    align-items: center;
}

.image-container img {
    width: 250px;
    height: auto;
    border-radius: 15px;
}

.text-container {
    margin-left: 30px;
    max-width: 450px;
}

h1 {
    font-size: 2em;
}

.highlight {
    color: #181818;
    font-weight: bold;
}

p {
    margin: 10px 0;
    color: #555;
    font-size: 1rem;
}

.buttons {
    display: flex;
}

.diffbuttons {
    display: flex;
    justify-content: center; /* Center align the buttons */
    flex-wrap: wrap; /* Ensures responsiveness */
}

.btn {
    font-family: Poppins; 
    background: #181818; 
    color: #FFFFFF; 
    border: none; 
    padding: 8px 15px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 15px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.btn:hover {
    background-color: #FFFFFF;
    color: #181818;
}

.btn.learnmore {
    font-family: Poppins; 
    background: #181818; 
    color: #FFFFFF; 
    border: solid 1px #181818; 
    padding: 8px 15px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 15px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.btn.learnmore:hover {
    font-family: Poppins; 
    background: #FFFFFF; 
    color: #181818; 
    border: solid 1px #181818; 
    padding: 8px 15px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 15px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.social-icon {
    margin-left: 10px;
    font-size: 1.5rem;
    text-decoration: none;
    color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.biggersocial-icon {
    margin-left: 10px;
    font-size: 2rem;
    text-decoration: none;
    color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.social-icon:hover {
    background: #181818;
    color: #FFFFFF;
}

.biggersocial-icon:hover {
    background: #181818;
    color: #FFFFFF;
}

.social-icon i {
    font-size: 1.5rem;
}

.biggersocial-icon i {
    font-size: 2rem;
}

/* Container for the entire tab section */
.tabs-container {
    max-width: 600px;
    border-radius: 4px;
    overflow: hidden;
    font-family: Poppins;
}
/* Scrollable tab buttons container */
.tab-buttons {
    display: flex;
    overflow-x: auto;
    width: calc(100% - 35px);
    padding-right: 20px; /* Add this line to create a gap between tab buttons and scroll bar */
    padding-bottom: 15px;
}

.tab-buttons::-webkit-scrollbar {
    height: 6px;
}

.tab-buttons::-webkit-scrollbar-thumb {
    background: #FFFFFF;
    border-radius: 2px;
}
/* Each tab button style */
.tab-button {
    flex: 0 0 auto;
    padding: 12px 20px;
    cursor: pointer;
    color: #FFFFFF;
    border: none;
    background: none;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
    font-family: Poppins;
    border-radius: 5px;
}
.tab-button:hover {
    color: #30302f; 
}
.tab-button.active {
    color: #181818;
    background: #FFFFFF;
    border-radius: 5px;
}
/* Content area */
.tab-content {
    display: flex;  /* Enables side-by-side layout */
    justify-content: space-between; /* Ensures spacing between text and image */
    gap: 20px;  /* Adds space between image and text */
    padding: 20px;
    background: #fff;
    min-height: 260px;
    border-radius: 5px;
    margin-right: 15px;
}

#tab-content {
    transition: opacity 0.5s ease-in-out;
}
  
#tab-content.fade-out {
    opacity: 0;
}
  
#tab-content.fade-in {
    opacity: 1;
}

/* Style for text content */
.tab-text {
    flex: 1; /* Allows text to take up remaining space */
    padding-right: 20px; /* Optional spacing for text content */
    text-align: justify; /* Aligns text to the left */
}

/* Style for image */
.tab-image {
    border-radius: 8px; /* Optional: Add border radius to the image */
    width: 40%; /* Ensure it maintains the correct width */
    height: 40%;
    order: 2; /* Moves image to the right */
}


.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
}

.box {
    background-color: #181818;
    padding: 20px;
    margin: 10px;
    max-width: 800px; /* Prevents it from going beyond 800px */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.whitebox {
    background-color: #FFF;
    padding: 20px;
    max-width: 800px; /* Prevents it from going beyond 800px */
    margin: 10px;
}

.diffwhitebox {
    background-color: #FFF;
    padding: 20px;
    width: 45%;
}

.box-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.box-text {
    padding: 20px 10px 10px 10px;
    color: #fff;
}

.box-text h2 {
    margin-top: 0;
}

.thirdparty {
    color: white;
    transition: 0.2s;
}

.thirdparty:hover {
    color: #c7c7bd
}

/* FORM */

/* General styles */
.email-form {
    font-family: Poppins;
    color: #181818;
    background: #FFF; /* Light cream background like in the image */
    padding: 10px;
}

/* Input and button container */
.input-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

/* Email input field */
input[type="email"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #181818;
    border-radius: 3px;
    font-size: 14px;
    box-shadow: 0px 0px 2px 0px #000000;
}

/* Submit button */
button {
    background: #181818;
    color: #FFF;
    border: solid 1px #181818;
    padding: 9px 15px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 5px;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 0px #000000;
    transition: 0.3s;
}

button:hover {
    background: #FFF;
    color: #181818;
}

/* Main circle */
/* Main circle */
.circle {
    width: 250px;
    height: 250px;
    background-color: #181818; /* Default background */
    color: white;
    font-size: 18px;
    font-weight: bold;
    font-family: Poppins;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

/* Pseudo-element for background image */
.circle::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./pages/images/1000logo.png') center/cover no-repeat;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.2s ease-in-out; /* Smooth fade */
}

/* Text inside circle */
.circle-text {
    transition: opacity 0.3s ease-in-out;
    font-size: 30px;
    z-index: 1; /* Ensures text stays above */
}

/* Hover effect */
.circle:hover::after {
    opacity: 1; /* Fades the image in */
}

/* Hide text smoothly */
.circle:hover .circle-text {
    opacity: 0;
}

/* BUTTONS AT THE END*/

/* Container for side-by-side buttons */
.button-container {
    display: flex;
    gap: 15px; /* Spacing between buttons */
}

/* Button styling */
.custom-button {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes arrow to the right */
    gap: 10px; /* Space between icon and text */
    background: #181818;
    color: white;
    font-size: 16px;
    font-family: Poppins, sans-serif;
    font-weight: bold;
    padding: 12px 20px;
    border: solid 1px white;
    border-radius: 8px;
    cursor: pointer;
    width: 250px; /* Adjust width */
    transition: 0.3s ease-in-out;
}

/* Hover effect */
.custom-button:hover {
    background: #FFF;
    color: #181818;
}

/* FontAwesome icons styling */
.custom-button i {
    font-size: 18px;
}

/* Ensuring the right arrow is pushed to the right */
.custom-button i:last-child {
    margin-left: auto;
}
