body {
    margin: 0px;
    padding: 0px;
}

/*__________MAIN BLOG__________*/
.block-main {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    margin: 0 100px;
    box-sizing: border-box;
}

.block-main h1 {
    font-size: 50px;
    z-index: 2;
    position: relative;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

@media screen and (max-width: 1024px) {
    .block-main h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    .block-main {
        margin: 0;
        padding: 10px;
        height: 250px;
    }

    .block-main h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 480px) {
    .block-main h1 {
        font-size: 26px;
    }
}

/* ===== Modal Styling ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    font-size: 24px;
    color: #4D4D4D;
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-buttons button {
    flex: 1;
    padding: 10px;
    font-size: 15px;
}

/* ===== Cards Grid Container ===== */
.container_one {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    padding: 0 100px;
    margin-top: 30px;
}

/* ===== Card Styling ===== */
.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.07);
    filter: brightness(0.9);
}

/* ===== Card Content ===== */
.card-content h2 {
    font-size: 29px;
    color: #4D4D4D;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 10px;
}

.card-content p {
    font-size: 1.2rem;
    color: #717171;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 16px;
}

/* ===== Form Styling ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-weight: 600;
    color: #717171;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
}

input[type="text"] {
    padding: 9px 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    border-color: #27ae60;
    outline: none;
}

/* ===== Select Group ===== */
.select-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 8px;
}

.select-wrapper {
    text-align: center;
}

select {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid #A42E30;
    background-color: #fff;
    font-weight: 700;
    font-size: 17px;
    text-align-last: center;
    appearance: none;
    cursor: pointer;
    padding-right: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2327ae60" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center right 8px;
    background-size: 16px 16px;
    transition: box-shadow 0.3s ease;
}

select:focus {
    outline: none;
    box-shadow: 0 0 6px #27ae60;
}

.select-label {
    margin-top: 4px;
    font-weight: 600;
    font-size: 13px;
    color: #717171;
    font-family: 'Poppins', sans-serif;
}

/* ===== Buttons ===== */
button {
    color: white;
    font-weight: 900;
    padding: 10px 15px;
    border-bottom: 2px solid transparent;
    transition: all .3s ease-in-out;
    border-radius: 5px;
    font-size: 15px;
    text-transform: uppercase;
    background-color: #A42E30;
    border: none;
}

button:hover {
    background: gray;
}

/* ===== Error Message ===== */
.error-message {
    color: red;
    margin-top: 10px;
    font-weight: 700;
    min-height: 18px;
    text-align: center;
    font-size: 14px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .container_one {
        padding: 0 30px;
        gap: 24px;
    }

    .card-image {
        height: 200px;
    }

    .card-content h2 {
        font-size: 24px;
    }

    .card-content p,
    label,
    .select-label {
        font-size: 1rem;
    }

    select {
        width: 52px;
        height: 52px;
        font-size: 15px;
    }

    input[type="text"] {
        font-size: 13px;
    }

    button {
        font-size: 14px;
    }

    .modal-content {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .container_one {
        padding: 0 20px;
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 180px;
    }

    .card-content h2 {
        font-size: 20px;
    }

    .card-content p,
    label,
    .select-label {
        font-size: 0.95rem;
    }

    select {
        width: 48px;
        height: 48px;
        font-size: 14px;
    }

    button {
        font-size: 13px;
        padding: 8px 12px;
    }

    .error-message {
        font-size: 13px;
    }
}
/*__________________FULL CODE MENU ____________________*/
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
.header {
    width: 100%;
    padding: 0px 0;
    background: #fff;
    font-family: "Lato", sans-serif;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    font-size: 16px;
    margin: 0 auto;
}

.mobile__btn {
    display: none;
}

.header__container {
    display: flex;
    align-items: center;
    margin-top: 0;
    margin-top: 0;
    justify-content: space-around;
}

.header__logo {
    width: 130px;
}

.header__logo img {
    width: 85%;
}

img {}

.navbar {
    width: 81%;
    display: flex;
    margin-top: 0px;
    justify-content: space-around;
}

.navbar .nav__list {
    list-style: none;
    margin-top: 30px;
    padding: 0px;
    display: flex;
    gap: 15px;
    width: max-content;
}

.nav__list .nav__link {
    text-decoration: none;
    font-size: 15px;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    padding: 10px 15px;
    border-bottom: 2px solid transparent;
    transition: all .3s ease-in-out;
    position: relative;
    cursor: pointer;
}

.nav__dropdown__list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: max-content;
    display: none;
    list-style: none;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.nav__dropdown__list.active {
    display: block;
    opacity: 1;
}

.nav__item {
    position: relative;
}

.navbar .nav__dropdown__item {
    padding: 15px 15px;
}

.navbar .nav__dropdown__item:first-child {
    border-top: 2px solid #950101;
}

.navbar .nav__dropdown__item .nav__dropdown__link {
    color: #000;
    font-size: 15px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.navbar .nav__dropdown__item .nav__dropdown__link:hover {
    color: #950101;
}

.header__right__blog {
    gap: 30px;
    align-items: center;
    width: max-content;
}

.search__input__blog {
    position: absolute;
    display: flex;
    background: #fff;
    width: 100%;
    left: 50%;
    transform: translate(-50%);
    height: 60px;
    top: 71px;
    padding: 10px 0;
    box-sizing: border-box;
}

.search__container {
    background: #e5e7e9;
    width: 70%;
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    height: 40px;
}

.search__input {
    width: 90%;
}

.search__btn {
    width: 10%;
    height: 100%;
}

.search__btn button {
    width: 100%;
    height: 100%;
    background: #6e0404;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
}

.search__input__blog {
    display: none;
}

.search__container .search__input input {
    background: transparent;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 1.1rem;
}

.header__languages {
    display: flex;
    justify-content: end;
}

.header__languages .languages__blog {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 30px;
}

.header__search i {
    font-size: 1.1rem;
    cursor: pointer;
}

.active__blog {
    display: block;
}

.header__btn {
    display: block;
    font-size: 10px;
}

.header__btn1 {
    display: none;
    font-size: 10px;
}

.header__btn1 a {
    color: white;
    font-weight: 900;
    padding: 10px 15px;
    border-bottom: 2px solid transparent;
    transition: all .3s ease-in-out;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    text-transform: uppercase;
    background-color: #A42E30;
}
.header__btn a {
    color: white;
    font-weight: 900;
    padding: 12px 15px;
    border-bottom: 2px solid transparent;
    transition: all .3s ease-in-out;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    text-transform: uppercase;
    background-color: #A42E30;
    font-family: 'Poppins', sans-serif;
}
.heart {
    font-size: 1.2em;
    color: #ffffff;
    padding-left: 5px;
}
.heart:hover{
    color: red;
}
.nav__list .nav__link:hover, .header__btn a:hover , .header__btn1 a:hover {
    color: #b7b7b7;
}

.active {
    left: 0 !important;
}

/* Footer Styles */
.footer {
    background-color: #A42E30;
    color: white;
    padding: 40px 0 0;
}

.footer__top {
    padding-bottom: 30px;
}

.container1 {
    margin-left: 100px;
    margin-right: 100px;
}

.footer__row {
    display: flex;
    flex-wrap: wrap;
    gap: 42px;
    justify-content: space-between;
}

.footer__list {
    flex: 1;
    min-width: inherit;
    list-style: none;
}

.footer__item {
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.footer__item img {
    width: 183px;
    height: 143px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.footer__text {
    color: rgb(255, 255, 255);
    font-size: 16px;
    width: 350px;
    font-family: 'Poppins', sans-serif;
}

.footer__title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #d7d4d4;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #ffffff;
}

.footer__link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.footer__link:hover {
    color: white;
    transform: translateX(5px);
}

.footer__btn {
    margin-left: 10px;
    display: inline-block;
    background-color: #ffffff;
    color: #A42E30;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-align: center;
}

.footer__btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social__item {
    display: flex;
    gap: 9px;
    flex-wrap: revert;
}

.social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social__link:hover {
    background-color: gray;
    transform: translateY(-3px);
}

.footer__bottom {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px 35px;
    text-align: left;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Poppins', sans-serif;
}

/* Media Query for screens 1424px and below */
@media screen and (max-width: 1424px) {
    .container1 {
        margin-left: 50px;
        margin-right: 50px;
    }

    .footer__row {
        gap: 30px;
    }

    .footer__item img {
        width: 160px;
        height: 125px;
    }

    .footer__text {
        width: 300px;
        font-size: 15px;
    }

    .footer__title {
        font-size: 17px;
    }

    .footer__link {
        font-size: 15px;
    }

    .footer__btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Media Query for phone screens (768px and below) */
@media screen and (max-width: 768px) {
    .container1 {
        margin-left: 20px;
        margin-right: 20px;
    }

    .footer__row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer__list {
        flex: none;
        min-width: 100%;
        text-align: center;
    }

    .footer__item img {
        width: 120px;
        height: 94px;
    }

    .footer__text {
        text-align: left;
        width: 100%;
        width: 400px;
        font-size: 16px;
    }

    .footer__title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .footer__link {
        font-size: 16px;
    }

    .footer__btn {
        margin-left: 0;
        padding: 10px 20px;
        font-size: 16px;
    }

    .social__item {
        justify-content: center;
        margin-left: -223px;
    }

    .footer__bottom {
        padding: 15px 20px;
        font-size: 12px;
        text-align: center;
    }
}

/* Media Query for very small phone screens (480px and below) */
@media screen and (max-width: 480px) {
    .container1 {
        margin-left: 10px;
        margin-right: 10px;
    }

    .footer__item img {
        width: 100px;
        height: 78px;
    }

    .footer__text {
        font-size: 16px;
        width: 343px;
    }

    .footer__title {
        font-size: 23px;
    }

    .footer__link {
        font-size: 16px;
    }

    .footer__btn {
        padding: 8px 15px;
        font-size: 16px;
    }

    .social__link {
        width: 35px;
        height: 35px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer__list {
        /* min-width: 45%; */
    }
}

@media (max-width: 768px) {
    .footer__list {
        /* min-width: 100%; */
        margin: 0;
        padding: 6px;
        text-align: left;
    }

    .footer__row {
        gap: 0;
        display: grid;
    }
}

@media only screen and (max-width: 1500px) {
    .navbar {
        width: 81%;
    }

    .navbar .nav__dropdown__item .nav__dropdown__link {
        font-size: 15px;
    }

    .navbar .nav__dropdown__item {
        padding: 10px 0;
    }

    .navbar .nav__list {
        list-style: none;
        margin: 0;
        gap: 24px;
        margin-top: 10px;
    }

    .nav__list .nav__link {
        text-decoration: none;
        font-size: 11px;
    }

    .header__languages {
    }

}

@media only screen and (max-width: 1279px) {
    .header__logo {
        width: 100px;
        margin-left: 0;
    }

    .navbar {
        width: 76%;
    }

    .navbar .nav__list {
        gap: 8px;
    }

    .nav__list .nav__link {
        text-decoration: none;
        font-size: 8px;
    }

    .navbar .nav__dropdown__item .nav__dropdown__link {
        font-size: 16px;
    }

    .search__input__blog {
        top: 65px;
    }

    .search__btn button {
        width: 100%;
        font-size: 1em;
    }

    .header__btn a {
        font-size: 9px;
    }

}

@media only screen and (max-width: 1024px) {
    /* header */ .header {
    position: relative;
}

    .mobile__btn {
        display: block;
        margin-left: -26px;
        margin-bottom: 0;
    }

    .navbar {
        order: 4;
        width: 1%;
    }

    .navbar .nav__list {
        position: absolute;
        flex-direction: column;
        background: #fff;
        width: 100%;
        top: 65px;
        left: -1500px;
        padding-bottom: 20px;
        box-sizing: border-box;
        padding-left: 37px;
        transition: all.3s ease-in-out;
    }

    .nav__item {
        margin-top: 10px;
    }

    .nav__dropdown__list {
        position: relative;
        transition: all 0.3s ease-in-out;
        width: 0;
        height: 0;
        list-style: none;
        background: #fff;
        padding: 0;
        margin-top: 10px;
    }

    .nav__item:hover .nav__dropdown__list {
        width: 100%;
        height: 100%;
    }

    .header__right__blog {
        width: 80%;
        justify-content: end;
    }

    .search__container {
        width: 90%;
    }

    .header__btn a {
        display: block;
        width: 112px;
        border-radius: 5px;
    }

}


@media only screen and (max-width: 990px) {
    .yellow-background {
        height: 90px;
    }

    .moving-text {
        font-size: 30px;
        font-weight: 500;
    }
    .header__btn1 {
        display: block;
    }
}

@media only screen and (max-width: 768px) {
    .header__right__blog {
        width: 75%;
        gap: 15px;
    }
}


@media only screen and (max-width: 575px) {
    .header__right__blog {
        width: 93%;
        gap: 15px;
    }

    .header__languages {
        width: 20%;
    }

    .header__btn a {
        display: none;
        padding: 10px;
        border-radius: 5px;
    }

    .header__btn a:hover {
        border-bottom: transparent;
    }

    .search__input {
        width: 75%;
    }

    .search__btn {
        width: 25%;
    }

    .navbar .nav__list {
        top: 50px;
        padding-bottom: 20px;
        padding-left: 5px;
    }
}