@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Serif", serif;
}

:root {
    --primary-color: #fed605;
    --secondary-color: #222779;
    --blue-color: #134985;
    --white-color: #fff;
    --light-white: #f5eeeeb6;
    --black-color: #15161c;
    --background-color: #;
    --button-background: #fed605;
}


/* Navbar */
.navbar-brand img {
    height: 80px !important;
    margin-left: 50px;
}

.offcanvas-header {
    border-bottom: 1px solid var(--primary-color);
}

/* Centered nav links and button at the end */
.navbar-collapse .navbar-nav {
    margin-right: auto !important;
    margin-left: auto !important;
}

.nav-item .nav-link {
    color: var(--black-color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
    font-family: "Noto Serif", serif;
}

.nav-item ul li {
    font-family: "Noto Serif", serif;
}

.nav-item .nav-link:hover {
    color: var(--blue-color);
}

/* Active nav link style */
.nav-item .nav-link.active {
    color: var(--blue-color) !important;
    border-top: 3px solid var(--blue-color) !important;
    border-left: 3px solid var(--blue-color) !important;
    /* border-top-left-radius: 10px !important; */
}

.request-button {
    background-color: var(--button-background);
    padding: 10px;
    color: var(--blue-color);
    text-decoration: none;
    font-weight: bold;
}

/* Dropdown Hover Effect */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    border: none;
    border-radius: 0 0 8px 8px;
    padding: 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: background 0.3s;
}

.dropdown-item:hover {
    background: var(--primary-color) !important;
    color: var(--black-color) !important;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
    background-color: #000;
}




/* Banner */
.hero-section {
    height: 90vh;
    background: url('https://www.squareyards.com/assets/images/painting-services-img/desktop-banner-img.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white-color);
    text-align: left;
    padding: 0 8%;
    position: relative;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width:876px) {
    .hero-content h1 {
        font-size: 50px;
    }
}

@media (max-width:625px) {
    .hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width:500px) {
    .hero-content h1 {
        font-size: 30px;
    }
}

@media (max-width:375px) {
    .hero-content h1 {
        font-size: 25px;
    }
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.3rem;
    margin-top: 15px;
}

.btn-custom {
    background: var(--primary-color) !important;
    color: var(--secondary-color);
    font-weight: bold;
    padding: 12px 28px;
    margin-top: 20px;
    border: none;
    transition: 0.3s;
}

.btn-custom:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* Services / Brands Section */
.brands-section {
    background: var(--light-white);
    padding: 40px 0 !important;
    text-align: center;
}

.brands-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px !important;
}

.brand-logo {
    width: 100%;
    border-radius: 50%;
    border: 2px solid var(--blue-color);
    transition: 0.3s;
}

.brand-logo:hover {
    transform: scale(1.1);
}


/* Section styling */
.section {
    padding: 30px 0;
    transition: all 0.5s ease;
}

/* .section:nth-child(2), .section:nth-child(4), .section:nth-child(6) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
} */

/* .section .brand-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section:nth-child(2) .brand-content h2,
.section:nth-child(4) .brand-content h2,
.section:nth-child(6) .brand-content h2 {
    color: var(--white-color);
} */

.section .brand-content p {
    font-size: 1.1rem;
    color: var(--black-color);
}

.section:nth-child(2) .brand-content p,
.section:nth-child(4) .brand-content p,
.section:nth-child(6) .brand-content p {
    color: var(--blue-color);
}

/* Image hover animation */
.brand-image img,
.product-image img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.5s, box-shadow 0.5s;
}

.brand-image img:hover,
.product-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Products section */
.products {
    margin-top: 40px;
}

.products h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.product-image {
    margin-bottom: 20px;
}

/* Buttons if needed */
.btn-primary {
    background-color: var(--button-background);
    border: none;
    color: var(--black-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transition: 0.3s;
}

/* Gradient Sections */
.gradient-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}

.gradient-section .brand-content h2 {
    color: var(--white-color);
}

.gradient-section .brand-content p {
    color: var(--light-white);
}

.services-list-heading {
    color: var(--blue-color);
}

.catalog-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-box-one {
    background-color: var(--white-color);
}

.catalog-box-one h5 {
    color: var(--blue-color);
}

.catalog-box-one p {
    color: var(--black-color) !important;
}

.catalog-box h5 {
    font-weight: 600;
    color: var(--white-color);
}

.catalog-box p {
    color: var(--light-white);
}

.catalog-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

.product-flip-card {
    perspective: 1000px;
    height: 370px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.product-flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

/* Front Side */
.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    backface-visibility: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Front Image */
.flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.product-flip-card:hover .flip-front img {
    transform: scale(1.1);
}

/* Back Overlay */
.flip-back {
    background: linear-gradient(135deg, rgba(34, 39, 121, 0.95), rgba(19, 73, 133, 0.95));
    transform: rotateY(180deg);
    color: #fff;
    padding: 20px;
}

/* Text Style */
.flip-back h5 {
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.flip-back h6 {
    font-size: 16px;
    color: var(--primary-color);
}

.flip-back p {
    line-height: 1.5;
    font-size: 14px;
}

/* Hover Shadow Animation */
.product-flip-card:hover .flip-inner {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.flip-back h5 {
    font-size: 15px;
    color: #fff;
    letter-spacing: 1px;
}

.flip-back h6.text-warning {
    color: var(--primary-color) !important;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.flip-back h6.text-info {
    color: #4db8ff !important;
    /* Light blue accent for model code */
    font-size: 10px;
}

.flip-back ul {
    padding: 0;
    margin: 10px 0;
}

.flip-back ul li {
    font-size: 12px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    color: #fff;
}

.flip-back ul i {
    font-size: 13px;
}

.kg-button{
    background-color: var(--button-background) !important;
    border: none;
    padding: 7px 20px;
}