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

* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.logo {
    width: 180px;
    height: 70px;
    margin-right: 60px; /* Adjust spacing from the nav links */
}
.whatsapp-icon {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    font-size: 30px;
    width: 60px; /* Set width to make it a circle */
    height: 60px; /* Set height to make it a circle */
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon a {
    color: white;
    text-decoration: none;
}

.whatsapp-icon:hover {
    background-color: #128C7E;
    cursor: pointer;
}

/* General styles for the navigation bar */
nav {
    background-color: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100vw;
    height: 90px;
    text-decoration: none;
}

.head{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.logo img {
    width: 170px;
    height: auto;
    margin-top: 10px;
    margin-left:15px;
}
.head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 30px; /* Adjust the spacing between the nav-links */
}

.nav-link {
    margin-right: 70px; /* Adjust this value for custom spacing on the right */
    color: black;
    /* text-decoration: underline; */
    transition: color 0.2s ease;
    font-weight: bold;
    font-size: 20px;
}

.nav-link:last-child {
    margin-right: 30px; /* Ensure the last link doesn’t have extra margin */
}
.a{
    text-decoration: none;
    color: black;
}

.nav-link:hover {
    color: #ccc;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 500px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
}

.dropdown-content a {
    color: black;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
    text-align: left;
    flex: 1 1 30%;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: flex;
}
.dropdown-content {
    display: none; /* Hide dropdown when not hovering */
}

.banner{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.banner img{
    width: 100vw;
    height: auto;
    object-fit: contain;
}


/* Search bar styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
}

#search-input {
    width: 0;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: width 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.search-container.expanded #search-input {
    width: 200px;
    opacity: 1;
    visibility: visible;
}

#suggestions {
    position: absolute;
    top: 35px;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

#suggestions div {
    padding: 10px;
    cursor: pointer;
}

#suggestions div:hover {
    background-color: #f1f1f1;
}

/* Hamburger menu styles */
.hamburger {
    position: relative;
    width: 30px;
    height: 4px;
    background: #000;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    transition: 0.3s;
}

.hamburger::before, .hamburger::after {
    content: "";
    position: absolute;
    height: 4px;
    right: 0;
    background: #000;
    border-radius: 10px;
    transition: 0.3s;
}

.hamburger::before {
    top: -10px;
    width: 20px;
}

.hamburger::after {
    top: 10px;
    width: 25px;
}

.toggle-menu {
    position: absolute;
    width: 30px;
    height: 100px;
    z-index: 3;
    cursor: pointer;
    opacity: 0;
}

.hamburger, .toggle-menu {
    display: none;
}

nav input:checked ~ label .hamburger {
    background: transparent;
}

nav input:checked ~ label .hamburger::before {
    top: 0;
    transform: rotate(-45deg);
    width: 30px;
}

nav input:checked ~ label .hamburger::after {
    top: 0;
    transform: rotate(45deg);
    width: 30px;
}


.heading h1 {
    font-size: 2.5rem;
    margin-bottom: 37px;
    text-decoration: underline;
    font-family: 'Archivo Black';

}
/* .heading-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 20px;
} */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden; /* Prevents horizontal overflow */
}

main .image {
    width: 96%;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.image .polo {
    width: 578px;
    height: 384px;
    margin-left: 1 0px;
}

.image .polo .up {
    position: relative;
    width: 578px;
    height: 384px;
    overflow: hidden;
    margin-left: 30px;
    margin-top: 105px;
}

.image .polo .up .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 578px;
    height: 384px;
}

.image .polo .up .slides img {
    width: 578px;
    height: 384px;
    object-fit: cover;
}

.image .polo .up .prev, .image .polo .up .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.image .polo .up .prev {
    left: 0;
}

.image .polo .up .next {
    right: 0;
}

.image .right {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 800px;
    position: sticky;
    top: 100px;
    bottom: 100px;
    margin-top: 30px;
}

.image .right .heading {
    padding: 0;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 6%;
    margin-bottom: 3%;
}

.image .right .sub {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 2.5%;
    margin-left: 40px;
    margin-top: 85px;
}

.image .right ul {
    /* margin-top: 50px; */
    margin-left: 7%;
    margin-bottom: 2.5%;
}

.image .right ul li {
    font-size: 15px;
    font-weight: 100;
    margin: 0.9% 0;
    color: #00000099;
}

.image .right .secondlist li {
    font-weight: 600;
    font-size: 0.9rem;
}

.image .right a {
    color: black;
    margin-bottom: 3%;
    font-weight: 100;
    font-size: 0.9rem;
}

.image .right .stock {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2%;
    margin-left: 50px;
}

.image .right .standard {
    height: 2.5rem;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 5%;
    margin-left: 45px;
}

.image .right .standard div {
    width: 35%;
    border: solid black 1px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 3%;
}

.image .right .standard .premium {
    border: solid black 1px;
}

.image .right .standard div:hover {
    border: solid black 2px;
}

.cards {
    width: 100%; /* Ensure the cards container does not overflow */
    overflow-x: auto; /* Add horizontal scrolling if needed */
    margin-bottom: 30px;
}

.cards .box {
    width: 97%;
    margin: 0 auto;
    margin-bottom: 15px;
}

.cards .box p {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3%;
    margin-top: 35px;
    text-decoration: underline;
}

.cards {
    width: 100%;
    overflow: hidden; /* Hide the scrollbar */
    position: relative;
}

.cards-container {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping of cards */
    width: 100%;
    animation: scroll 10s linear infinite; /* Adjust duration for speed */
}

.card {
    flex: 0 0 455px;
    height: 341px;              /* Set height to maintain 4:3 aspect ratio (455 * 0.75) */
    margin: 0 8px;
    display: flex;               /* enable centering */
    align-items: center;         /* vertical center */
    justify-content: center;     /* horizontal center */
    overflow: hidden;            /* hide anything that sticks out */
    border-radius: 10px;         /* Add some styling */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

.card img {
    width: 455px;                /* Fixed width 455px as requested */
    height: 341px;               /* Fixed height to maintain 4:3 aspect ratio */
    object-fit: cover;           /* Cover the entire area while maintaining aspect ratio */
    display: block;
    border-radius: 10px;         /* Match card border radius */
    transition: transform 0.3s ease; /* Add hover effect */
}

.card img:hover {
    transform: scale(1.05);      /* Slight zoom on hover */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.cards:hover .cards-container {
    animation-play-state: paused; /* Pause the animation on hover */
}


/* footer */


 /* footer*/
 footer {
    width: 100vw;
    background-color: #f8f9fa;
    color:black;
    height: 300px;
    padding: 20px;
    clear: both;
}

.footerlogo {
    display: block;
    width: 240px;
    height: 85px;
    margin-right: auto;
    margin-bottom: 20px; /* Decreased margin-bottom */
    margin-left: 10px;
}



.logo-container p {
    max-width: 300px;
    margin-bottom: 30px;
}


footer .container {
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 20px;
}

footer .row {
    display: flex;
    align-items: flex-start;
    /* Aligns items to the start of the container */
    justify-content: space-between;
    /* Distributes space between items */

}

footer .Links {
    width: 100px;
    /* margin-left: auto; */
    display: flex;
    flex-direction: column;
    margin-left: 150px;
    margin-top: 25px;
    color: black
}

/* footer .links2 {
  
  margin-left: auto;
  display: flex;
  flex-direction: column;
  margin-left: 150px;
} */

footer h5 {

    font-weight: bold;
    margin-top: 0;
    font-size: 20px;
    /* Adjust this value to increase or decrease the font size */
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 55px;
    width: 80px;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: black;
    text-decoration: none;
}

footer a:hover {
    color: #ccc;
}

footer .copyright {
    border-top: 1px solid #fff;
    display: flex;
    align-items: center;
    margin-left: 450px;
    margin-top: 60px;
    font-size: 14px;
    text-align: center;
    padding-top: 20px;
}

.contacts {
    margin-left: 200px;
    display: flex;
    flex-direction: column;
    margin-top: 23px;
}
.location-link {
    text-decoration: none;
    color: inherit;
}

.location-link:hover {
    color: #364999; /* Change this to your desired hover color */
}


/* ============ RESPONSIVE MEDIA QUERIES ============ */

/* Extra Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    .toggle-menu, .hamburger {
        display: block;
        z-index: 3;
    }
    
    nav {
        padding: 10px 15px;
        height: 70px;
    }
    
    .logo {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 120px;
        height: 50px;
        margin: 0;
    }
    
    .logo img {
        width: 120px;
        height: auto;
        margin: 0;
    }
    
    .head {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        background: #cc373c;
        width: 280px;
        height: 100%;
        padding-top: 80px;
        z-index: 1;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .head a {
        padding: 20px;
        font-size: 1rem;
        color: white;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }
    
    nav input:checked ~ .head {
        transform: translateX(0);
    }
    
    .search-container {
        display: none;
    }
    
    .banner img {
        width: 100vw;
        height: auto;
    }
    
    main .image {
        width: 95%;
        flex-direction: column;
        align-items: center;
    }
    
    .image .polo {
        width: 100%;
        height: auto;
        margin: 20px 0;
    }
    
    .image .polo .up {
        width: 100%;
        height: 250px;
        margin: 0;
        transform: none;
    }
    
    .image .polo .up .slides {
        width: 100%;
        height: 250px;
    }
    
    .image .polo .up .slides img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    
    .image .right {
        width: 100%;
        margin: 20px 0;
        position: static;
    }
    
    .image .right .sub {
        font-size: 24px;
        margin: 20px 0;
        text-align: center;
    }
    
    .image .right ul {
        margin: 10px 20px;
    }
    
    .image .right ul li {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .image .right .stock {
        font-size: 18px;
        text-align: center;
        margin: 20px 0;
    }
    
    .image .right .standard {
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
        gap: 15px;
    }
    
    .image .right .standard div {
        width: 80%;
        padding: 12px;
    }
    
    .cards .box p {
        font-size: 1.5rem;
        margin: 20px 0;
    }
    
    .card {
        flex: 0 0 200px;
        height: 150px;           /* Maintain aspect ratio for mobile */
        margin: 0 5px;
    }
    
    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;       /* Use cover for better mobile display */
    }
    
    footer {
        height: auto;
        padding: 20px 10px;
    }
    
    footer .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footerlogo {
        width: 150px;
        height: auto;
        margin: 0;
        padding: 20px;
    }
    
    footer .Links, .contacts {
        margin: 0;
        width: 100%;
    }
    
    footer ul {
        margin-top: 20px;
    }
    
    footer .copyright {
        margin: 30px 0 0 0;
        font-size: 12px;
        text-align: center;
    }
}

/* Small Mobile Devices (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .toggle-menu, .hamburger {
        display: block;
        z-index: 3;
    }
    
    nav {
        padding: 12px 20px;
        height: 75px;
    }
    
    .logo {
        position: absolute;
        top: 12px;
        left: 15px;
        width: 130px;
        height: 55px;
        margin: 0;
    }
    
    .logo img {
        width: 130px;
        height: auto;
        margin: 0;
    }
    
    .head {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        background: #cc373c;
        width: 300px;
        height: 100%;
        padding-top: 80px;
        z-index: 1;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    main .image {
        width: 95%;
        flex-direction: column;
        align-items: center;
    }
    
    .image .polo {
        width: 100%;
        height: auto;
        margin: 20px 0;
    }
    
    .image .polo .up {
        width: 100%;
        height: 280px;
        margin: 0;
    }
    
    .image .polo .up .slides,
    .image .polo .up .slides img {
        width: 100%;
        height: 280px;
    }
    
    .image .right {
        width: 100%;
        margin: 20px 0;
        position: static;
    }
    
    .image .right .sub {
        font-size: 26px;
        text-align: center;
        margin: 20px 0;
    }
    
    .card {
        flex: 0 0 220px;
        height: 165px;           /* Maintain 4:3 aspect ratio */
    }
    
    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Small Tablets (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    nav {
        padding: 15px 25px;
        height: 80px;
    }
    
    .logo {
        width: 140px;
        height: 60px;
        margin-right: 30px;
    }
    
    .logo img {
        width: 140px;
        height: auto;
        margin-left: 10px;
    }
    
    .nav-link {
        margin-right: 40px;
        font-size: 18px;
    }
    
    .dropdown-content {
        min-width: 400px;
    }
    
    main .image {
        width: 95%;
        flex-direction: column;
        align-items: center;
    }
    
    .image .polo {
        width: 90%;
        height: auto;
        margin: 20px 0;
    }
    
    .image .polo .up {
        width: 100%;
        height: 300px;
        margin: 0;
    }
    
    .image .polo .up .slides,
    .image .polo .up .slides img {
        width: 100%;
        height: 300px;
    }
    
    .image .right {
        width: 90%;
        margin: 20px 0;
        position: static;
    }
    
    .image .right .sub {
        font-size: 26px;
        text-align: center;
        margin: 20px 0;
    }
    
    .image .right ul {
        margin: 15px 30px;
    }
    
    .image .right ul li {
        font-size: 15px;
    }
    
    .image .right .standard {
        justify-content: center;
        gap: 20px;
    }
    
    .image .right .standard div {
        width: 40%;
    }
    
    .card {
        flex: 0 0 240px;
        height: 180px;           /* Maintain 4:3 aspect ratio */
    }
    
    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    footer .row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    footer .Links, .contacts {
        margin: 0;
    }
    
    footer .copyright {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }
}

/* Large Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    nav {
        padding: 18px 30px;
        height: 85px;
    }
    
    .logo {
        width: 160px;
        height: 65px;
        margin-right: 40px;
    }
    
    .logo img {
        width: 160px;
        height: auto;
        margin-left: 15px;
    }
    
    .nav-link {
        margin-right: 50px;
        font-size: 19px;
    }
    
    .dropdown-content {
        min-width: 450px;
    }
    
    main .image {
        width: 95%;
    }
    
    .image .polo {
        width: 450px;
        height: 300px;
    }
    
    .image .polo .up {
        width: 450px;
        height: 300px;
        margin-top: 80px;
        margin-left: 20px;
    }
    
    .image .polo .up .slides,
    .image .polo .up .slides img {
        width: 450px;
        height: 300px;
    }
    
    .image .right {
        width: 500px;
    }
    
    .image .right .sub {
        font-size: 28px;
        margin-left: 30px;
        margin-top: 70px;
    }
    
    .image .right ul {
        margin-left: 5%;
    }
    
    .image .right ul li {
        font-size: 14px;
    }
    
    .image .right .stock {
        margin-left: 40px;
    }
    
    .image .right .standard {
        margin-left: 35px;
    }
    
    .card {
        flex: 0 0 455px;
        height: 341px;           /* Maintain 4:3 aspect ratio for 455px */
        width: 455px;            /* Set to 455px as requested */
    }
    
    .card img {
        width: 455px;            /* Fixed width 455px */
        height: 341px;           /* Fixed height to maintain ratio */
        object-fit: cover;
    }
    
    footer .Links {
        margin-left: 100px;
    }
    
    .contacts {
        margin-left: 150px;
    }
    
    footer .copyright {
        margin-left: 300px;
    }
}

/* Small Laptops (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    nav {
        padding: 20px 35px;
        height: 88px;
    }
    
    .logo {
        width: 170px;
        height: 68px;
        margin-right: 50px;
    }
    
    .logo img {
        width: 170px;
        height: auto;
        margin-left: 15px;
    }
    
    .nav-link {
        margin-right: 60px;
        font-size: 19px;
    }
    
    .dropdown-content {
        min-width: 480px;
    }
    
    main .image {
        width: 96%;
    }
    
    .image .polo {
        width: 520px;
        height: 350px;
    }
    
    .image .polo .up {
        width: 520px;
        height: 350px;
        margin-top: 90px;
        margin-left: 25px;
    }
    
    .image .polo .up .slides,
    .image .polo .up .slides img {
        width: 520px;
        height: 350px;
    }
    
    .image .right {
        width: 650px;
    }
    
    .image .right .sub {
        font-size: 29px;
        margin-left: 35px;
        margin-top: 75px;
    }
    
    .image .right ul {
        margin-left: 6%;
    }
    
    .image .right ul li {
        font-size: 15px;
    }
    
    .card {
        flex: 0 0 455px;
        height: 341px;           /* Maintain 4:3 aspect ratio for 455px */
    }
    
    .card img {
        width: 455px;            /* Fixed width 455px */
        height: 341px;           /* Fixed height to maintain ratio */
        object-fit: cover;
    }
    
    footer .Links {
        margin-left: 120px;
    }
    
    .contacts {
        margin-left: 180px;
    }
    
    footer .copyright {
        margin-left: 400px;
    }
}

/* Large Laptops and Small Desktops (1367px - 1920px) */
@media (min-width: 1367px) and (max-width: 1920px) {
    nav {
        padding: 20px;
        height: 90px;
    }
    
    .logo {
        width: 180px;
        height: 70px;
        margin-right: 60px;
    }
    
    .logo img {
        width: 170px;
        height: auto;
        margin-left: 15px;
    }
    
    .nav-link {
        margin-right: 70px;
        font-size: 20px;
    }
    
    main .image {
        width: 96%;
    }
    
    .image .polo {
        width: 578px;
        height: 384px;
    }
    
    .image .polo .up {
        width: 578px;
        height: 384px;
        margin-top: 105px;
        margin-left: 30px;
    }
    
    .image .polo .up .slides,
    .image .polo .up .slides img {
        width: 578px;
        height: 384px;
    }
    
    .image .right {
        width: 800px;
    }
    
    .card {
        flex: 0 0 455px;
        height: 341px;           /* Maintain 4:3 aspect ratio for 455px */
    }
    
    .card img {
        width: 455px;            /* Fixed width 455px */
        height: 341px;           /* Fixed height to maintain ratio */
        object-fit: cover;
    }
}

/* Large Desktops (1921px and above) */
@media (min-width: 1921px) {
    nav {
        padding: 25px;
        height: 100px;
    }
    
    .logo {
        width: 200px;
        height: 80px;
        margin-right: 80px;
    }
    
    .logo img {
        width: 190px;
        height: auto;
        margin-left: 20px;
    }
    
    .nav-link {
        margin-right: 80px;
        font-size: 22px;
    }
    
    .dropdown-content {
        min-width: 600px;
    }
    
    main .image {
        width: 90%;
        max-width: 1800px;
        margin: 0 auto;
    }
    
    .image .polo {
        width: 650px;
        height: 450px;
    }
    
    .image .polo .up {
        width: 650px;
        height: 450px;
        margin-top: 120px;
        margin-left: 40px;
    }
    
    .image .polo .up .slides,
    .image .polo .up .slides img {
        width: 650px;
        height: 450px;
    }
    
    .image .right {
        width: 900px;
    }
    
    .image .right .sub {
        font-size: 32px;
        margin-left: 50px;
        margin-top: 100px;
    }
    
    .image .right ul {
        margin-left: 8%;
    }
    
    .image .right ul li {
        font-size: 16px;
        margin: 1.2% 0;
    }
    
    .image .right .stock {
        font-size: 1.2rem;
        margin-left: 60px;
    }
    
    .image .right .standard {
        margin-left: 55px;
        height: 3rem;
    }
    
    .card {
        flex: 0 0 300px;
        height: 225px;           /* Maintain 4:3 aspect ratio */
    }
    
    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    footer {
        height: 350px;
        padding: 30px;
    }
    
    .footerlogo {
        width: 280px;
        height: 100px;
    }
    
    footer .Links {
        margin-left: 200px;
    }
    
    .contacts {
        margin-left: 250px;
    }
    
    footer .copyright {
        margin-left: 600px;
        font-size: 16px;
    }
}

/* Landscape orientation for tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .image .polo .up {
        height: 280px;
    }
    
    .image .polo .up .slides,
    .image .polo .up .slides img {
        height: 280px;
    }
    
    .image .right .sub {
        margin-top: 50px;
    }
}

