* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* START - ROOT */
a {
    text-decoration: none;
}
/* END - ROOT */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* START - Site Header */
#nav-toggle {
    display: none;
}

header {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 100;
    background: transparent;
    transition: background-color 0.5s ease, padding 0.5s ease;
    padding: 10px 15%;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, Transparent 70%, #52cceb 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

header.scrolled::before {
    left: 100%;
}

header.scrolled {
    background: #000;
}

header:hover {
    background: #000;
}

.logo-container {
    min-width: 20%;
}

.logo {
    height: 75px;
    z-index: 11;
}

.menu {
    display: inline-flex;
    width: fit-content;
    z-index: 11;
}

.menu li {
    list-style: none;
    display: inline-flex;
    padding: 0 1vw;
}

.menu a {
    position: relative;
    color: #999;
    font-size: 20px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.menu a:hover {
    color: #14436a;
}

/* Animation effect for the full border */
.menu a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: all 0.5s;
}

/* Hover state to show the border */
.menu a:hover::after {
    border-color: #999;
}

/* Active state to keep the border visible on the active page */
.menu a.menu-active::after {
    border-color: #999;
}

/* Responsive Design */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 101;
}

.line {
    width: 100%;
    height: 3px;
    background-color: white;
}

/* END - Site Header */

/* START - Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 110vh;
    width: 100%;
    margin-top: -9vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(images/idrobase-north-america-website-background.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    font-family: Arial, sans-serif;
    color: #fff;
    text-align: center;
    padding: 0 20px; /* Add padding for small screen sides */
}

.hero-title {
    font-size: 80px;
    padding-top: 5%;
}

.hero-sub-title {
    font-weight: 400;
    font-size: 3em;
    padding: 2% 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }

    .hero-sub-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-sub-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-sub-title {
        font-size: 1.5em;
    }
}
/* END - Hero Section */

/* START - Product Section */
.product-section {
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: #fff; /* Background for contrast */
    flex-wrap: wrap;
}

.product-card {
    padding: 24px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
    gap: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card-a {
    width: 536px;
    height: 406px;
    background: radial-gradient(201.84% 141.42% at 100% 100%, #10436a 0%, #0f1418 100%);
}

.product-card-b,
.product-card-c {
    width: 368px;
    height: 406px;
}

.product-card-b {
    background: radial-gradient(204.69% 141.42% at 100% 100%, #175f96 0%, #0f1418 100%);
}

.product-card-c {
    background: radial-gradient(204.69% 141.42% at 100% 100%, #1a6dac 0%, #0f1418 100%);
}

.card-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    font-family: Arial, sans-serif;
    word-wrap: break-word;
}

.product-card-a .card-title {
    font-size: 40px;
    line-height: 44px;
}

.card-description {
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
    font-family: Arial, sans-serif;
    color: #e8e8e8;
    align-self: stretch;
}

.product-card-c .card-description {
    color: #fbfbfb;
}

.card-img {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: auto;
    width: 100%;
}

.card-img img {
    transform: rotate(18.27deg);
}

.product-card-a .card-img {
    justify-content: center;
    margin-top: -20px;
}

.product-card-b .card-img img {
    width: 266px;
    transform: none;
}

.product-card-c .card-img img {
    width: 322px;
    transform: none;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .product-section {
        justify-content: space-around;
        height: auto;
    }

    .product-card {
        width: 60%;
        min-width: 280px;
        margin: 10px 0;
    }

    .product-card-a {
        width: 60%;
    }

    .product-card-b,
    .product-card-c {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .product-section {
        flex-direction: column;
        height: auto;
    }

    .product-card {
        width: 85%;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 28px;
        line-height: 38px;
    }

    .card-description {
        font-size: 14px;
    }
}

/* END - Product Section */

/* START - Info Section */
.info {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 760px;
    width: 100%;
    background: #f5f8ff;
    padding: 20px;
}

.info-container {
    display: flex;
    width: 80%;
    align-items: center;
    gap: 55px;
    justify-content: flex-start;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    gap: 15px;
    margin: 40px 0;
}

.info-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #10436a;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.image-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.image {
    width: 60%;
    min-width: 15%;
    height: auto;
    border-radius: 8px;
}

.text-group {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px;
}

.text-container {
    align-self: stretch;
    height: 264px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.title {
    align-self: stretch;
    color: #1d1f2c;
    font-size: 44px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    line-height: 57.2px;
    word-wrap: break-word;
}

.description {
    align-self: stretch;
    color: #4a4c56;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    line-height: 25.6px;
    word-wrap: break-word;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .info-container {
        flex-wrap: wrap;
        gap: 30px;
    }

    .image {
        width: 50%;
        min-width: 200px;
    }

    .text-group {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image {
        width: 80%;
        min-width: 150px;
    }

    .title {
        font-size: 36px;
        line-height: 46px;
    }
}

@media (max-width: 480px) {
    .image {
        width: 100%;
        max-width: 300px;
    }

    .title {
        font-size: 32px;
        line-height: 42px;
    }

    .description {
        font-size: 14px;
    }
}

/* END - Info Section */

/* START - Articles Section */

.articles {
    width: 100%;
    background: #0f1418;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 5% 0;
}

.articles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
}

.article {
    width: 45%;
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.article-wrapper {
    width: 100%;
    height: 100%;
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}

.article-1 {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%),
        url(images/fixing-pressure-washer.webp);
}

.article-2 {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%),
        url(images/using-bleach-in-a-pressure-washer.webp);
}

.article-content {
    align-self: stretch;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    z-index: 1;
    position: relative;
    margin-bottom: 30px;
}

.article-header {
    align-self: stretch;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.article-title {
    align-self: stretch;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.title-text {
    color: white;
    font-size: 28px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.16px;
    word-wrap: break-word;
    width: 100%;
}

.article-description {
    width: 100%;
    opacity: 0.8;
    color: #d2d2d5;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    line-height: 22.4px;
    letter-spacing: 0.08px;
    word-wrap: break-word;
}

.read-more {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.read-more-text {
    color: #0066b4;
    font-size: 16px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.08px;
    word-wrap: break-word;
}

.arrow-image {
    width: 16px;
    height: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 18px;
    height: 12px;
    background: #a5a5ab;
    border-radius: 93.42px;
}

.dot.active {
    background: #0066b4;
}

/* END - Articles Section */

/* START - Brands Section */

.brands {
    width: 100%;
    height: 100%;
    padding: 5% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 56px;
}

.brands-header h1 {
    text-align: center;
    color: #1d1f2c;
    font-size: 48px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
}

.brands-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    width: 80%;
}

.brand-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.brand-image-wrapper {
    max-width: 240px;
    padding: 5px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-image-wrapper img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.brand-image-wrapper img:hover {
    opacity: 1;
}

.red-background {
    background: #e2001a;
}

.brand-name {
    width: 100%;
    text-align: center;
    color: #1d1f2c;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
}

/* END - Brands Section */

/* START - Footer Section */

.footer {
    width: 100%;
    background-color: #0f1418;
    padding-top: 70px;
}

.container {
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
}

.col-a {
    width: 60%;
}

.col-b {
    width: 20%;
}

.footer-logo {
    width: 250px;
    height: auto;
    margin-bottom: 24px;
}

.footer-description {
    color: #999;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    line-height: 28.8px;
    margin-bottom: 35px;
    max-width: 400px;
}

.footer-col h4 {
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 35px;
    font-weight: 500;
    font-family: Arial, sans-serif;
    position: relative;
    line-height: 26px;
}

.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #999;
    height: 2px;
    box-sizing: border-box;
    width: 70%;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    font-family: Arial, sans-serif;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #14436a;
    padding-left: 8px;
}

.footer-bottom {
    width: 100%;
    background-color: #13181c;
    border-top: 1px solid rgba(225, 236, 223, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom-item {
    color: #fdfffc;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.65;
}

.footer-bottom-item a {
    color: #fdfffc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-item a:hover {
    color: #ffffff;
}

.footer-bottom-text {
    color: #fdfffc;
    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.65;
    text-align: center;
    flex-shrink: 0;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

/*  END - Footer  */

/*  START - RESPONSIVE DESIGN  */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

.line {
    width: 100%;
    height: 3px;
    background-color: white;
}

/* blog page */
.blog-page,
.single-blog-page {
    padding-top: 120px;
}
.privacy-body {
    padding: 40px;
    background-color: #efefefef;
}
.contact-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.contact-info {
    column-gap: 20px;
}
.contact-page .hero {
    padding: 200px 0 100px 0;
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(images/idrobase-north-america-website-background.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    color: #fff;
    font-size: 45px;
    height: 60vh;
    margin-bottom: 50px;
    position: relative;
}
.contact-page .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

@media (max-width: 1500px) {
    header {
        padding: 10px 14%;
    }
}
@media (max-width: 1450px) {
    header {
        padding: 10px 13%;
    }
}
@media (max-width: 1400px) {
    header {
        padding: 10px 12%;
    }
}
@media (max-width: 1350px) {
    header {
        padding: 10px 11%;
    }
}
@media (max-width: 1300px) {
    header {
        padding: 10px 10%;
    }
}
@media (max-width: 1250px) {
    header {
        padding: 10px 9%;
    }
}
@media (max-width: 1200px) {
    header {
        padding: 10px 8%;
    }
}
@media (max-width: 1150px) {
    header {
        padding: 10px 7%;
    }
}
@media (max-width: 1100px) {
    header {
        padding: 10px 6%;
    }
}
@media (max-width: 1050px) {
    header {
        padding: 10px 5%;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 10px 4%;
    }
    .logo {
        height: 65px;
    }
    .menu li {
        padding: 0 3px;
    }
    .menu li a {
        padding: 5px 5px;
    }
    .articles-container {
        flex-direction: column;
    }
    .article {
        width: 55%;
    }
    .title-text {
        font-size: 24px;
    }

    .brands-header h1 {
        font-size: 40px;
    }
    .brands-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 974px) {
    .logo {
        height: 60px;
    }
}

@media (max-width: 768px) {
    /* START - Site Header */
    .menu {
        display: none;
        position: fixed;
        top: 75px; /* Adjust based on header height */
        left: 0;
        right: 0;
        width: 100%; /* Ensure full width */
        background-color: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 101;
    }
    #nav-toggle:checked ~ .menu {
        display: flex;
    }
    .menu ul {
        flex-direction: column;
    }
    .menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }
    .menu li a {
        margin: 0 auto;
    }

    .menu.open {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }

    /* END - Site Header */

    /* START - Hero Section */
    /* END - Hero Section */

    /* START - Product Section */
    /* END - Product Section */

    /* START - Info Section */
    /* END - Info Section */

    /* START - Articles Section */
    .article {
        width: 75%;
        height: 40vh;
    }
    /* END - Articles Section */

    /* START - Brands Section */
    .brands-header h1 {
        font-size: 36px;
    }
    .brands-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    /* END - Brands Section */

    /* START - Footer Section */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer h3,
    .footer p,
    .footer ul,
    .footer ul li {
        text-align: center;
    }
    .footer-col {
        width: 50%;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        width: 150px;
    }
    .footer-col h4::before {
        left: 50%;
        transform: translateX(-50%);
    }
    /* END - Footer Section */
    .privacy-body {
        padding: 30px 15px;
    }
    .contact-page .hero {
        font-size: 25px;
    }
}

@media (max-width: 576px) {
    .article {
        height: 35vh;
        width: 80vw;
    }
    /* START - Brands Section */
    .brands-header h1 {
        font-size: 32px;
    }
    .brands-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    /* END - Brands Section */

    /* START - Footer Section */
    .footer-col {
        width: 100%;
    }
    /* END - Footer Section */
}

@media (max-width: 480px) {
    .logo {
        height: 50px;
    }
    /* START - Brands Section */
    .brands-header h1 {
        font-size: 28px;
    }
    .brands-gallery {
        grid-template-columns: 1fr;
    }
    /* END - Brands Section */
}
