/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    /* White background */
    color: #333333;
    /* Dark text color for readability */
    margin: 0;
    padding: 0;
    font-weight: 400;
    /* Regular font weight for body text */
    touch-action: manipulation;
    /* Prevent double-tap to zoom */
    -webkit-user-select: none;
    /* Prevent text selection */
    -webkit-touch-callout: none;
    /* Prevent callout, like copy/paste */
}



header {
    background-color: #444444;
    /* Neutral dark grey for header background */
    padding: 10px;
    color: #ffffff;
    /* White text color */
    text-align: center;
    /* Center align the text */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    /* White text color */
    text-decoration: none;
    font-weight: 600;
    /* Slightly bolder font weight for navigation */
    font-size: 16px;
    /* Larger font size for visibility */
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 0;
    max-width: 100%;
    /* Ensure the content takes the full width */
    margin: 0;
    /* Remove auto margins to prevent extra space on mobile */
    box-sizing: border-box;
    /* Ensure padding and border are included in width */
}

/* Section Styles */
.section {
    display: none;
    margin-bottom: 40px;
    /* Add some space after each section */
    display: block;
}

.section h2 {
    border-bottom: 2px solid #444444;
    /* Darker border for section headings */
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #444444;
    /* Neutral dark grey for section headings */
    text-align: center;
    /* Center align section headings */
    font-weight: 600;
    /* Bolder font weight for section headings */
}

.section.container {
    text-align: center;
    width: max-content;
    padding: 50px;
    margin: 50px auto;
    background-color: #f8f8f8;
    /* Light grey background */
    border-radius: 8px;
    border: 1px solid #cccccc;
}

a {
    text-decoration: none;
}

.hamburger {
    display: none;
}

li {
    list-style: none;
}

.messages {
    background-color: rgb(255, 0, 0, 0.3);
    color: #ffffff;
    padding: 10px 20px;
}

.error {
    color: red;
    font-size: 0.9em;
}

.errorlist {
    margin: 10px 5px;
    padding: 0px;
}

.cancel_btn {
    background-color: #ff3333 !important;
}
.logout_btn{
    background-color: #000000 !important;
    width: 100%;
    padding: 10px 0px;
    margin-top: 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600; /* Bolder font weight for buttons */
    text-align: center;
}
.logout_btn a{
    color: #ffffff;
}
/* /////////////////////////////////////////////////////Nav///////////////////////////////////////////////////// */
.main_nav {
    background-color: #444444;
}

.upper_nav {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    margin: auto;
}

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo img {
    width: 22px;
    height: 22px;
}

.logo p {
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

/* /////////////////////////////////////////////////////Forms//////////////////////////////////////////////////////////////////// */

.form_container {
    background-color: #f8f8f8;
    /* Light grey background */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #cccccc;
}

.form_container form {
    margin-bottom: 20px;
}

.form_container p {
    color: #333333;
    /* Dark text color */
    font-weight: 400;
    /* Regular font weight for text */
}

.form_container button,
.form_container input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    border: none;
    background-color: #444444;
    /* Button color */
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    /* Bolder font weight for buttons */
}

.form_container button:hover {
    background-color: #333333;
}

.form_group {
    width: 100%;
}

.form_group label {
    display: block;
    margin-bottom: 5px;
    color: #333333;
    font-weight: 600;
}

.form_group input {
    width: calc(100% - 22px);
    font-size: 20px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #cccccc;
}




/* Suscription */
.subscribtion_container {
    width: 400px;
    margin: 80px auto;
    padding: 40px 30px;
    background-color: #f8f8f8;
    /* Light background */
    border: 2px solid #333;
    /* Darker border for a premium look */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    /* Soft shadow for a professional look */
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* Add some space between the text elements */
}

.product h3 {
    font-size: 24px;
    color: #333;
    /* Darker text color for titles */
    margin-bottom: 10px;
}

.product h5 {
    font-size: 18px;
    color: #666;
    /* Subtle gray for price */
}

.product p {
    font-size: 16px;
    color: #444;
    /* Slightly darker text for additional info */
    line-height: 1.5;
}


.checkout_button {
    padding: 12px 25px;
    background-color: #333;
    /* Dark button for contrast */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.checkout_button:hover {
    background-color: #555;
    /* Slight color change on hover for interactivity */
}

.checkout-form {
    margin-top: 30px;
}

@media (max-width:550px) {
    .subscribtion_container {
        width: 80%;
        margin: 100px auto;
        padding: 30px 20px;
    }

}

@media (max-width:375px) {

    .product {
        gap: 10px;
        /* Add some space between the text elements */
    }

    .product h3 {
        font-size: 22px;
        color: #333;
        /* Darker text color for titles */
        margin-bottom: 10px;
    }




}

/* //////////////////////////////////////Home  ////////////////////////////////////////////////////////////*/
.home_section {
    min-height: 50vh;
    width: 80%;
    margin: 50px auto;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.home_section .heading {
    width: 45%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home_section .heading a {
    color: #ffffff;
    background-color: #333;
    padding: 12px 36px;
    border-radius: 8px;
    margin-top: 30px !important;
    width: max-content;
}

.home_section .heading a:hover {
    color: #ffffff;
    background-color: #444444;
}

.heading h1 {
    font-size: 50px;
    font-weight: 800;
}

.heading p {
    color: #666;
    line-height: 24px;
}

.main_image {
    width: 60%;
}

.main_image img {
    width: 100%;
}


/* /////////////////////////////Features Section */
.feature_section {
    min-height: 50vh;
    width: 80%;
    margin: 80px auto;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    padding: 10px;
}

.heading {
    margin-bottom: 50px;
}

.heading h2 {
    font-size: 40px;
    font-weight: 800;
    margin: 0;
}

.body {
    display: flex;
    gap: 20px;
    align-items: center;
}

.feature_section .body_item {
    max-width: 22%;
    max-height: 280px;
    margin: auto;
}

.image {
    object-fit: cover;
    overflow: hidden;
    max-height: 220px;
    display: flex;
    align-items: center;
    border-radius: 20px;
}

.image img {
    width: 100%;
}

/* /////////////////////////////Work Section */
.work_section {
    min-height: 50vh;
    width: 80%;
    margin: 50px auto;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    padding: 10px;
}

.heading h3 {
    font-size: 30px;
    font-weight: bold;
}

.body {
    flex-wrap: wrap;
}

.work_section .body_item {
    width: 15%;
    padding: 20px;
    border: 1px solid #555;
    border-radius: 12px;
    height: 250px;
}

.work_section .body_item h3 {
    font-size: 20px;
}

.work_section .body_item p {
    color: #666;
    line-height: 25px;
}

.work_section img {
    width: 50px;
    height: 50px;
}

/*//////////////////////////////////////////////////////////////// Last container */
.last_container {
    max-width: 800px;
    margin: 100px auto;
}

.last_container h1 {
    font-size: 50px;
    font-weight: 800;
}

.last_container h2 {
    font-size: 24px;
    text-align: center;
    font-weight: 500;
}

.last_container a {
    font-size: 24px;
    color: #ffffff;
    background-color: #333;
    padding: 12px 36px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    margin: 50px auto;
    width: max-content;
}

.last_container a:hover {
    color: #ffffff;
    background-color: #444444;
}

/* //////////////////////////////////////////////////////////////Responsivness */
@media (max-width : 1400px) {
    .body {
        justify-content: center;
    }

    .work_section .body_item {
        width: 25%;
        height: 250px;
        justify-content: space-between;

    }

    .feature_section .body_item {
        max-height: max-content;
        justify-content: space-between;
        max-width: 30%;
    }
}

@media (max-width : 1000px) {

    .heading h1 {
        font-size: 40px;
        font-weight: 800;
    }

    .heading h2 {
        font-size: 36px;
        font-weight: 800;
    }

    .feature_section,
    .work_section,
    .home_section,
    nav {
        width: 90%;
    }

    .last_container h1 {
        font-size: 40px;
        font-weight: 800;
    }

    .last_container h2 {
        font-size: 20px;
        text-align: center;
    }

    .last_container a {
        font-size: 24px;
        padding: 10px 30px;

    }

}

@media (max-width : 900px) {
    .feature_section .body_item {
        max-width: 40%;
    }

    .work_section .body_item {
        width: 40%;
        height: 200px;
    }

    .last_container {
        max-width: 80%;
    }

}

@media (max-width : 800px) {

    .nav_list {
        flex-direction: column;
        position: fixed;
        height: max-content;
        width: 250px;
        background-color: #444444;
        top: 0;
        right: 0;
        justify-content: flex-start;
        z-index: 1000;
        padding: 60px 20px;
        transform: translateX(100%);
    }

    .nav_list[mobile-nav="true"] {
        transform: translateX(0);
    }

    .nav_item {
        padding: 20px 10px;
    }

    .hamburger {
        display: block;
    }

    .hamburger img {
        width: 25px;
        height: 25px;
    }

    .nav_button {
        background-image: url(../images/icons/icons8-cross-50.png);
        width: 20px;
        height: 20px;
        z-index: 1001;
        position: absolute;
        top: 0;
        right: 0;
        background-position: center;
        background-repeat: no-repeat;
        margin: 20px;
    }

    .home_section {
        flex-direction: column;
        margin: 0;
    }

    .home_section .heading {
        width: 90%;
        justify-content: flex-start;
        min-height: max-content;
    }

    .home_section .heading h1 {
        margin-top: 0;
    }


    .main_image {
        width: 90%;
        order: -1;
    }

    .feature_section {
        margin: 30px auto;
    }

}

@media (max-width : 580px) {
    .feature_section .body_item {
        max-width: 80%;
    }

    .work_section .body_item {
        width: 80%;
        height: 200px;
    }

    .last_container {
        max-width: 80%;
    }

    .heading h1 {
        font-size: 36px;
        font-weight: 700;
    }

    .heading h2 {
        font-size: 30px;
        font-weight: 600;
    }

    .heading h3 {
        font-size: 26px;
    }

    .last_container h1 {
        font-size: 30px;
    }

    .image {
        padding: 10px;
    }

    .body_item {
        margin: 25px auto !important;
    }

    nav {
        width: 90%;
        padding: 12px 0px;
        margin: auto;
    }

    .logo p {
        font-size: 20px;
    }

    .logo img {
        width: 30px;
        height: 30px;
    }

    .nav_item a {
        font-size: 20px;
    }

    .nav_button {
        width: 25px;
        height: 25px;
    }


}

@media (max-width : 450px) {
    .home_section {
        width: 100%;
        padding: 0px;
    }

    .heading {
        text-align: center;
    }

    .heading a {
        margin: 10px auto;
    }

    .body_item {
        padding: 0px 20px;
    }

    .feature_section .body_item {
        max-width: 100%;
    }

    .work_section .body_item {
        width: 100%;
        height: 200px;
    }

    .last_container {
        max-width: 100%;
        text-align: center;
        margin: 10px;
    }

    .heading h1 {
        font-size: 30px;
        font-weight: 800;
    }

    .heading h2 {
        font-size: 24px;
        font-weight: 700;
    }

    .heading h3 {
        font-size: 24px;
    }

    .last_container h1 {
        font-size: 26px;
    }

    .image {
        padding: 10px;
    }

    .body_item {
        margin: 0px auto !important;
    }

    nav {
        width: 90%;
        padding: 8px 0px;
        margin: auto;
    }

    .logo p {
        font-size: 14px;
    }

    .logo img {
        width: 20px;
        height: 20px;
    }

    .nav_item a {
        font-size: 16px;
    }

    .nav_button {
        width: 20px;
        height: 20px;
        overflow: hidden;
    }

}