/* =========================================================
   R2 ROSSONI
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {

    /* Main Colors */
    /* --petrol-blue: #123C46;
    --ocean-slate: #245966;
    --terracotta: #C66A4A;
    --cloud-cream: #F5F3ED;
    --ink: #172126; */

    --petrol-blue: #173F35;
    --ocean-slate: #2D6655;
    --terracotta: #C59B5B;
    --cloud-cream: #F3EFE4;
    --ink: #18231F;
    

    /* Additional Colors */
    --white: #ffffff;
    --border-light: rgba(18, 60, 70, 0.15);
    --shadow: 0 20px 50px rgba(18, 60, 70, 0.12);

    /* Typography */
    --font-main: "Inter", sans-serif;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 110px;

    /* Animation */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s cubic-bezier(.22, 1, .36, 1);

}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {
    font-family: var(--font-main);
    background: var(--cloud-cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}


img {
    display: block;
    width: 100%;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: none;
    cursor: pointer;
}


ul {
    list-style: none;
}


/* =========================================================
   3. COMMON CONTAINER
   ========================================================= */

.container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
}


.section {
    padding: var(--section-padding) 0;
}


/* =========================================================
   4. NAVBAR
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;

    background: #173F35;
    backdrop-filter: blur(15px);

    z-index: 1000;

    transition:
        background var(--transition-medium),
        box-shadow var(--transition-medium),
        height var(--transition-medium);
}


.navbar.scrolled {
    height: 70px;
    background: #173F35;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}


.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Brand */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}


.logo-placeholder {
    width: 40px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(245, 243, 237, 0.6);

    color: var(--cloud-cream);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}


.brand:hover .logo-placeholder {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);

    transform: rotate(-5deg);
}


.company-name {
    color: var(--cloud-cream);

    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}


/* Navigation */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}


.nav-link {
    position: relative;

    color: rgba(245, 243, 237, 0.8);

    font-size: 14px;
    font-weight: 500;

    padding: 8px 0;

    transition: color var(--transition-fast);
}


.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--terracotta);

    transition: width var(--transition-medium);
}


.nav-link:hover,
.nav-link.active {
    color: var(--white);
}


.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* Mobile menu */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}


.menu-toggle span {
    width: 24px;
    height: 2px;

    background: var(--cloud-cream);

    transition: transform var(--transition-fast);
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 27px;

    border: 1px solid var(--terracotta);

    background: var(--terracotta);
    color: var(--white);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;

    overflow: hidden;

    isolation: isolate;

    transition:
        color var(--transition-medium),
        border-color var(--transition-medium);
}

.btn-hero {
    max-width: 200px;
}


/* Liquid fill layer */

.btn-liquid::before {
    content: "";

    position: absolute;

    left: -5%;
    bottom: -100%;

    width: 110%;
    height: 100%;

    background: var(--petrol-blue);

    border-radius: 50% 50% 0 0;

    z-index: -1;

    transition:
        bottom 0.55s cubic-bezier(.22, 1, .36, 1);
}


.btn-liquid:hover::before {
    bottom: 0;
}


.btn-liquid:hover {
    color: var(--white);
    border-color: var(--petrol-blue);
}


.btn span {
    position: relative;
    z-index: 2;
}


/* Navbar button */

.btn-nav {
    min-height: 42px;
    padding: 0 20px;

    font-size: 12px;
}


.btn-nav::before {
    content: "";

    position: absolute;

    left: -5%;
    bottom: -100%;

    width: 110%;
    height: 100%;

    background: var(--cloud-cream);

    border-radius: 50% 50% 0 0;

    z-index: -1;

    transition: bottom 0.5s ease;
}


.btn-nav:hover::before {
    bottom: 0;
}


.btn-nav:hover {
    color: var(--petrol-blue);
    border-color: var(--cloud-cream);
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    background: var(--petrol-blue);
}


.hero-slider {
    position: relative;

    width: 100%;
    min-height: 100vh;
}


.hero-slide {
    position: absolute;

    inset: 0;

    min-height: 100vh;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1s ease,
        visibility 1s ease;
}


.hero-slide.active {
    opacity: 1;
    visibility: visible;

    z-index: 2;
}


/* Hero image */

.hero-image {
    position: absolute;
    inset: 0;

    overflow: hidden;
}


.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.08);

    transition:
        transform 7s cubic-bezier(.22, 1, .36, 1);
}


.hero-slide.active .hero-image img {
    transform: scale(1);
}


/* Hero dark overlay */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(18, 60, 70, 0.92) 0%,
            rgba(18, 60, 70, 0.70) 45%,
            rgba(18, 60, 70, 0.22) 100%
        );
}


/* Hero content */

.hero-content {
    position: relative;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    max-width: 1200px;

    padding-top: 80px;

    color: var(--white);

    z-index: 5;
}


.hero-label,
.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--terracotta);

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 2.5px;
}


.hero-content h1 {
    max-width: 780px;

    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.03;

    letter-spacing: -3px;

    margin-bottom: 25px;
}


.hero-content p {
    max-width: 620px;

    margin-bottom: 35px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 17px;
    line-height: 1.8;
}


/* Hero content animation */

.hero-slide .hero-label,
.hero-slide h1,
.hero-slide p,
.hero-slide .btn {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.22, 1, .36, 1);
}


.hero-slide.active .hero-label {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 0.25s;
}


.hero-slide.active h1 {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 0.4s;
}


.hero-slide.active p {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 0.55s;
}


.hero-slide.active .btn {
    opacity: 1;
    transform: translateY(0);

    transition-delay: 0.7s;
}


/* Hero indicators */

.hero-indicators {
    position: absolute;

    left: 4%;
    bottom: 45px;

    display: flex;
    gap: 10px;

    z-index: 10;
}


.hero-dot {
    width: 34px;
    height: 3px;

    background: rgba(255, 255, 255, 0.35);

    transition:
        width var(--transition-medium),
        background var(--transition-medium);
}


.hero-dot.active {
    width: 65px;
    background: var(--terracotta);
}


/* Hero counter */

.hero-counter {
    position: absolute;

    right: 4%;
    bottom: 40px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 12px;

    z-index: 10;
}


.current-slide {
    color: var(--white);
    font-weight: 700;
}


.counter-line {
    width: 45px;
    height: 1px;

    background: rgba(255, 255, 255, 0.35);
}


/* =========================================================
   7. INTRODUCTION
   ========================================================= */

.intro-section {
    background: var(--cloud-cream);

    text-align: center;
}


.intro-content {
    max-width: 850px;
    margin: auto;
}


.intro-content h2,
.section-heading h2 {
    margin-bottom: 25px;

    color: var(--petrol-blue);

    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;

    letter-spacing: -2px;
}


.intro-content h2 span,
.section-heading h2 span,
.about-section-heading h2 span,
.trade-cta h2 span,
.contact-info h2 span {
    color: var(--terracotta);
}


.intro-content p {
    max-width: 750px;
    margin: 0 auto 10px;

    color: rgba(23, 33, 38, 0.7);

    font-size: 16px;
}


.intro-content .btn {
    margin-top: 28px;
}


/* =========================================================
   8. SECTION HEADINGS
   ========================================================= */

.section-heading {
    max-width: 750px;

    margin-bottom: 60px;
}


.section-heading p {
    color: rgba(23, 33, 38, 0.65);

    font-size: 16px;
}




/* =========================================================
   9. ABOUT
   ========================================================= */
.wrap {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: min(1200px, 92%);
	height: 600px;
	margin: 2rem auto;
	border: 8px solid;
	border-image: linear-gradient(
			-50deg,
			green,
			#00b300,
			forestgreen,
			green,
			lightgreen,
			#00e600,
			green
		)
		1;
	transition: 0.3s ease-in-out;
	position: relative;
	overflow: hidden;
}
.wrap h1 {
	font: 800 max(16pt, 5vw) / 1 "dela-gothic-one", display;
	color: white;
	width: 20vmin;
}

.wrap p {
	font-size: max(10pt, 2.5vmin);
	line-height: 1.4;
	color: #0e390e;
	margin-bottom: 1.5rem;
}

.overlay {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	padding: 1rem 0.75rem;
	background: #186218;
	transition: 0.4s ease-in-out;
	z-index: 1;

	h1,
	p {
		margin-inline-start: 0.5em;
	}
}
.overlay-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 400px;
	height: 100%;
	padding: 0.5rem 0 0 0rem;
	border: 3px solid;
	border-image: linear-gradient(
			to bottom,
			#aea724 5%,
			forestgreen 35% 65%,
			#aea724 95%
		)
		0 0 0 100%;
	transition: 0.3s ease-in-out 0.2s;
	z-index: 1;
}
.image-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 800px;
	height: 100%;
	background-image: url("../images/about1.jpg");
	background-size: cover;
	transition: 0.3s ease-in-out;
	/* border: 1px solid green; */
}

.inset {
	max-width: 50%;
	margin: 0.25em 1em 1em 0;
	border-radius: 0.25em;
	float: left;
}

.dots {
	position: absolute;
	bottom: 1rem;
	right: 2rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 70px;
	height: 4vmin;
	transition: 0.3s ease-in-out 0.3s;
}
.dot {
	width: 1rem;
	height: 1rem;
	background: yellow;
	border: 1px solid indigo;
	border-radius: 50%;
	transition: 0.3s ease-in-out 0.3s;
}

.text {
	display: grid;
	position: absolute;
	top: 0;
	right: 0;
	width: 60vmin;
	height: 100%;
	padding: 3vmin 4vmin;
	background: #fff;
	box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / 0.4);
	overflow-y: scroll;
}

.about-section {
    background-color: var(--petrol-blue);
}

.about-heading {
	margin-bottom: 1.5rem;
}

.about-heading .section-label {
	margin-bottom: 0.75rem;
	color: #bf5f2d;
	font-size: 11px;
	letter-spacing: 2px;
}

.about-heading h2 {
	margin: 0;
	color: #153b3f;
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.1;
	letter-spacing: -1px;
}

.about-heading h2 span {
	color: #bf5f2d;
}

.about-intro {
	margin-bottom: 1.25rem;
	color: #1d3b35;
	font-size: clamp(15px, 1.8vw, 18px);
	line-height: 1.6;
	font-weight: 600;
}

.about-intro-heading {
	max-width: 100%;
	margin-bottom: 2.5rem;
	padding-left: 0;
	text-align: left;
}

.about-intro-heading .section-label {
	color: #d3a15a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin-bottom: 1.5rem;
}

.about-intro-heading h2 {
	margin: 0 0 1.5rem;
	color: #d3a15a;
	font-size: clamp(54px, 9vw, 170px);
	line-height: 0.85;
	letter-spacing: -0.06em;
	font-weight: 800;
}

.about-intro-heading p {
	max-width: 1100px;
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: clamp(16px, 2vw, 22px);
	line-height: 1.5;
}

.tree {
	place-self: center;
	width: calc(50px + 2vw);
}

.wrap:hover .overlay {
	transform: translateX(-60vmin);
}
.wrap:hover .image-content {
	width: 500px;
}
.wrap:hover .overlay-content {
	border: none;
	transition-delay: 0.2s;
	transform: translateX(60vmin);
}
.wrap:hover .dots {
	transform: translateX(1rem);
}
.wrap:hover .dots .dot {
	background: white;
}

/* Animations and timing delays */
.animate {
	animation-duration: 0.7s;
	animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
	animation-fill-mode: backwards;
}
/* Pop In */
.pop {
	animation-name: pop;
}
@keyframes pop {
	0% {
		opacity: 0;
		transform: scale(0.5, 0.5);
	}
	100% {
		opacity: 1;
		transform: scale(1, 1);
	}
}

/* Slide In */
.slide {
	animation-name: slide;
}
@keyframes slide {
	0% {
		opacity: 0;
		transform: translate(4em, 0);
	}
	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

/* Slide Left */
.slide-left {
	animation-name: slide-left;
}
@keyframes slide-left {
	0% {
		opacity: 0;
		transform: translate(-40px, 0);
	}
	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

.slide-up {
	animation-name: slide-up;
}
@keyframes slide-up {
	0% {
		opacity: 0;
		transform: translateY(3em);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.delay-1 {
	animation-delay: 0.3s;
}
.delay-2 {
	animation-delay: 0.6s;
}
.delay-3 {
	animation-delay: 0.9s;
}
.delay-4 {
	animation-delay: 1.2s;
}
.delay-5 {
	animation-delay: 1.5s;
}
.delay-6 {
	animation-delay: 1.8s;
}
.delay-7 {
	animation-delay: 2.1s;
}
.delay-8 {
	animation-delay: 2.4s;
}

.about-section-heading {
    margin-bottom: 25px;
    color: white;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about-section-heading p {
    color: white;
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-top: 25px;
}


/* =========================================================
   10. PRODUCTS
   ========================================================= */

.products-section {
    background: var(--cloud-cream);
}


.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.product-card {
    position: relative;

    min-height: 350px;

    overflow: hidden;

    background: var(--petrol-blue);

    isolation: isolate;
}


.product-card-image {
    position: absolute;

    inset: 0;

    overflow: hidden;
}


.product-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.9s cubic-bezier(.22, 1, .36, 1);
}


.product-card:hover .product-card-image img {
    transform: scale(1.1);
}


.product-card-overlay {
    position: absolute;

    inset: 0;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    color: var(--white);

    background:
        linear-gradient(
            to top,
            rgba(18, 60, 70, 0.97) 0%,
            rgba(18, 60, 70, 0.65) 50%,
            rgba(18, 60, 70, 0.05) 100%
        );

    transform: translateY(115px);

    transition:
        transform 0.65s cubic-bezier(.22, 1, .36, 1);
}


.product-card:hover .product-card-overlay {
    transform: translateY(0);
}


.product-number {
    position: absolute;

    top: 25px;
    left: 25px;

    color: var(--terracotta);

    font-size: 12px;
    font-weight: 800;
}


.product-card h3 {
    margin-bottom: 10px;

    font-size: 30px;
}


.product-card p {
    max-width: 270px;

    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;
}


.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    color: var(--white);

    font-size: 13px;
    font-weight: 700;

    transition:
        color var(--transition-fast),
        gap var(--transition-fast);
}


.product-link span {
    color: var(--terracotta);

    transition: transform var(--transition-fast);
}


.product-link:hover {
    color: var(--terracotta);
    gap: 15px;
}


.product-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   11. GLOBAL TRADE CTA
   ========================================================= */

.trade-cta {
    position: relative;

    overflow: hidden;

    background: var(--petrol-blue);

    color: var(--white);

    text-align: center;
}


.trade-cta::before,
.trade-cta::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    animation: floatingCircle 8s ease-in-out infinite;
}


.trade-cta::before {
    top: -180px;
    left: -100px;
}


.trade-cta::after {
    right: -100px;
    bottom: -180px;

    animation-delay: -4s;
}


@keyframes floatingCircle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }
}


.trade-cta-content {
    position: relative;

    max-width: 850px;

    margin: auto;

    z-index: 2;
}


.trade-cta h2 {
    margin-bottom: 25px;

    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.05;

    letter-spacing: -2px;
}


.trade-cta p {
    max-width: 650px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   12. WHY US
   ========================================================= */

.why-section {
    background: var(--white);
}


.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}


.why-card {
    min-height: 300px;

    padding: 35px;

    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);

    transition:
        background var(--transition-medium),
        transform var(--transition-medium);
}


.why-card:hover {
    background: var(--petrol-blue);

    color: var(--white);

    transform: translateY(-8px);
}


.why-number {
    display: block;

    margin-bottom: 70px;

    color: var(--terracotta);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}


.why-card h3 {
    margin-bottom: 12px;

    font-size: 22px;
}


.why-card p {
    color: rgba(23, 33, 38, 0.65);

    font-size: 14px;
    line-height: 1.7;

    transition: color var(--transition-medium);
}


.why-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   13. CONTACT
   ========================================================= */

.contact-section {
    background: var(--cloud-cream);
}


.contact-container {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 90px;

    align-items: start;
}


.contact-info h2 {
    margin-bottom: 25px;

    color: var(--petrol-blue);

    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.05;

    letter-spacing: -2px;
}


.contact-info > p {
    max-width: 550px;

    margin-bottom: 45px;

    color: rgba(23, 33, 38, 0.68);
}


/* Contact details */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


.contact-item {
    display: flex;
    align-items: flex-start;

    gap: 18px;
}


.contact-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--petrol-blue);
    color: var(--white);

    font-size: 10px;
    font-weight: 700;
}


.contact-item small {
    display: block;

    margin-bottom: 3px;

    color: var(--terracotta);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.contact-item strong,
.contact-item a,
.contact-item address {
    color: var(--ink);

    font-size: 14px;
    font-style: normal;

    transition: color var(--transition-fast);
}


.contact-item a:hover {
    color: var(--terracotta);
}


/* =========================================================
   14. CONTACT FORM
   ========================================================= */

.contact-form-wrapper {
    padding: 45px;

    background: var(--white);

    box-shadow: var(--shadow);
}


.contact-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px 20px;
}


.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.form-group:nth-last-of-type(1),
.form-submit {
    grid-column: 1 / -1;
}


.form-group label {
    color: var(--petrol-blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.5px;
}


.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    border: 1px solid rgba(18, 60, 70, 0.18);

    outline: none;

    background: var(--cloud-cream);
    color: var(--ink);

    padding: 15px 16px;

    font-size: 13px;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast);
}


.form-group input,
.form-group select {
    height: 52px;
}


.form-group textarea {
    resize: vertical;
    min-height: 130px;
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--terracotta);

    background: var(--white);

    box-shadow:
        0 0 0 3px rgba(198, 106, 74, 0.1);
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(23, 33, 38, 0.4);
}


.form-submit {
    width: fit-content;

    margin-top: 5px;
}


/* =========================================================
   15. FOOTER
   ========================================================= */

.footer {
    background: var(--petrol-blue);
    color: var(--cloud-cream);
}


.footer-grid {
    min-height: 230px;

    padding: 45px 0 15px;

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr 1fr;

    gap: 50px;

    align-items: start;
}


.footer-column h3 {
    margin: 0 0 22px;

    color: var(--white);
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.footer-column h4 {
    margin: 0 0 22px;

    color: var(--white);
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.04em;
    /* font-size: clamp(18px, 1.8vw, 28px); */
}

.footer-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand p {
    max-width: 330px;
    color: rgba(245, 243, 237, 0.7);
    font-size: 16px;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column li {
    margin: 0;
}

.footer-column a {
    color: rgba(245, 243, 237, 0.7);
    font-size: 15px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--terracotta);
}


@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 48px;
    }

    .footer-column h3,
    .footer-column h4 {
        margin-bottom: 12px;
    }
}


/* =========================================================
   16. SCROLL REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.22, 1, .36, 1);
}


.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* Stagger animation for cards */

.about-cards .reveal:nth-child(2),
.products-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}


.about-cards .reveal:nth-child(3),
.products-grid .reveal:nth-child(3),
.why-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}


.about-cards .reveal:nth-child(4),
.products-grid .reveal:nth-child(4),
.why-grid .reveal:nth-child(4) {
    transition-delay: 0.3s;
}


/* =========================================================
   17. SELECTION
   ========================================================= */

::selection {
    background: var(--terracotta);
    color: var(--white);
}


/* =========================================================
   18. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 9px;
}


::-webkit-scrollbar-track {
    background: var(--cloud-cream);
}


::-webkit-scrollbar-thumb {
    background: var(--ocean-slate);
}


::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta);
}


/* =========================================================
   19. TABLET
   ========================================================= */

@media (max-width: 1100px) {

    :root {
        --section-padding: 90px;
    }


    .nav-menu {
        gap: 22px;
    }


    .about-cards,
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .contact-container {
        gap: 50px;
    }


    .footer-container {
        grid-template-columns:
            1fr 1fr;
    }

}


/* =========================================================
   20. TABLET / MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 850px) {

    .navbar {
        height: 72px;
    }


    .navbar.scrolled {
        height: 68px;
    }


    .btn-nav {
        display: none;
    }


    .menu-toggle {
        display: flex;
    }


    .nav-menu {
        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        padding: 25px 5% 30px;

        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        background: var(--petrol-blue);

        border-top: 1px solid rgba(255, 255, 255, 0.08);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-15px);

        transition:
            opacity var(--transition-medium),
            visibility var(--transition-medium),
            transform var(--transition-medium);
    }


    .nav-menu.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }


    .nav-link {
        width: 100%;

        padding: 14px 0;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }


    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }


    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }


    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    .hero-content h1 {
        max-width: 700px;
    }


    .contact-container {
        grid-template-columns: 1fr;
    }


    .contact-form-wrapper {
        max-width: 750px;
    }

}


/* =========================================================
   21. MOBILE
   ========================================================= */

@media (max-width: 650px) {

    :root {
        --section-padding: 75px;
    }


    .container {
        width: min(90%, var(--container-width));
    }


    .section {
        padding: var(--section-padding) 0;
    }


    /* Navbar */

    .company-name {
        font-size: 16px;
    }


    .logo-placeholder {
        width: 38px;
        height: 38px;
    }


    /* Hero */

    .hero,
    .hero-slider,
    .hero-slide,
    .hero-content {
        min-height: 720px;
    }


    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(18, 60, 70, 0.45) 0%,
                rgba(18, 60, 70, 0.92) 85%
            );
    }


    .hero-content {
        justify-content: flex-end;

        padding-bottom: 110px;
    }


    .hero-content h1 {
        font-size: clamp(38px, 11vw, 58px);

        letter-spacing: -2px;
    }


    .hero-content p {
        font-size: 14px;

        line-height: 1.7;
    }


    .hero-indicators {
        left: 5%;
        bottom: 35px;
    }


    .hero-counter {
        right: 5%;
        bottom: 32px;
    }


    /* Section headings */

    .intro-content h2,
    .section-heading h2,
    .trade-cta h2,
    .contact-info h2 {
        letter-spacing: -1.5px;
    }


    /* About */

    .about-cards {
        grid-template-columns: 1fr;
    }


    .info-card {
        min-height: 330px;
    }


    /* Products */

    .products-grid {
        grid-template-columns: 1fr;
    }


    .product-card {
        min-height: 470px;
    }


    .product-card-overlay {
        transform: translateY(0);
    }


    /* Why */

    .why-grid {
        grid-template-columns: 1fr;
    }


    .why-card {
        min-height: auto;

        padding: 30px;
    }


    .why-number {
        margin-bottom: 40px;
    }


    /* Contact */

    .contact-form {
        grid-template-columns: 1fr;
    }


    .form-group:nth-last-of-type(1),
    .form-submit {
        grid-column: auto;
    }


    .contact-form-wrapper {
        padding: 28px 22px;
    }


    /* Footer */

    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0;
    }

}


/* =========================================================
   22. SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .company-name {
        font-size: 15px;
    }


    .hero-content h1 {
        font-size: 36px;
    }


    .hero-content p {
        font-size: 13px;
    }


    .btn {
        min-height: 47px;

        padding: 0 21px;
    }


    .info-card {
        min-height: 300px;
    }


    .product-card {
        min-height: 430px;
    }


    .contact-form-wrapper {
        padding: 24px 18px;
    }

}


/* =========================================================
   23. REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}




/* ====================================
            FOOTER
====================================*/
.footer{
    background:var(--petrol-blue);
    border-top:2px solid #B78B47;
    padding:22px 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 16px 0;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 12px 0;
    }
}

.footer-bottoms{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}

@media (max-width: 768px) {
    .footer-bottoms {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-bottoms {
        gap: 10px;
    }
}

.footer-copy{
    flex:1;
}

.footer-copy p{
    color:#F5F1E8;
    font-size:15px;
    line-height:1.6;
}

@media (max-width: 768px) {
    .footer-copy p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .footer-copy p {
        font-size: 12px;
        line-height: 1.5;
    }
}

.footer-copy span{
    color:#B78B47;
    font-weight:600;
}

.footer-copy a{
    color:#B78B47;
    transition:.35s ease;
}

.footer-copy a:hover{
    color:#E6C88B;
}

.footer-right{
    display:flex;
    align-items:center;
    gap:30px;
    margin-left:auto;
    flex-shrink:0;
}

@media (max-width: 768px) {
    .footer-right {
        margin-left: 0;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-right {
        flex-direction: column;
        gap: 12px;
    }
}

.footer-right img{
    width:180px;
    transition:.4s;
}

.footer-right img:hover{
    transform:scale(1.05);
}

@media (max-width: 768px) {
    .footer-right img {
        width: 150px;
    }
}

@media (max-width: 576px) {
    .footer-right img {
        width: 120px;
    }
}

/*==========================
      SCROLL BUTTON
==========================*/
.scroll-top{
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width:65px;
    height:65px;
    border:2px solid #B78B47;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#B78B47;
    font-size:22px;
    transition:.4s;
    background:var(--petrol-blue);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.scroll-top:hover{
    background:#B78B47;
    color:#0F0F0F;
    transform:translateY(-6px);
}

@media (max-width: 768px) {
    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .scroll-top {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
        font-size: 16px;
        border-width: 1.5px;
    }
}

/*==========================
      RESPONSIVE
==========================*/
@media(max-width:991px){

    .footer-right{
        justify-content:center;
    }

        .footer-right img{
        width:150px;
    }

    .scroll-top{
        width:52px;
        height:52px;
        font-size:18px;
    }

    .footer-copy p{
        font-size:14px;
        line-height:1.5;
    }
}

@media(max-width:576px){
    .footer{
        padding:18px 0;
    }

    .footer-copy p{
        font-size:13px;
        line-height:1.5;
    }

    .footer-right{
        flex-direction:column;
        gap:20px;
    }

    .footer-right img{
        width:130px;
    }
}


/* =========================================================
   FIXED ABOUT CARD RESPONSIVENESS
   ========================================================= */

@media (max-width: 1100px) {
    .wrap {
        width: min(94%, 1000px);
        height: 540px;
    }

    .overlay-content {
        width: 42%;
    }

    .image-content {
        width: 70%;
    }

    .text {
        width: 58%;
    }

    .wrap:hover .overlay {
        transform: translateX(-42%);
    }

    .wrap:hover .overlay-content {
        transform: translateX(42%);
    }

    .wrap:hover .image-content {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .wrap {
        display: block;
        width: 94%;
        height: auto;
        min-height: 620px;
        margin: 1.5rem auto;
    }

    .overlay {
        position: relative;
        width: 100%;
        height: 300px;
        padding: 1rem;
    }

    .overlay-content {
        width: 55%;
        height: 100%;
    }

    .image-content {
        width: 60%;
        height: 100%;
    }

    .text {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: auto;
        min-height: 320px;
        padding: 28px 24px;
        overflow: visible;
    }

    .wrap:hover .overlay {
        transform: none;
    }

    .wrap:hover .overlay-content {
        transform: none;
    }

    .wrap:hover .image-content {
        width: 60%;
    }

    .wrap:hover .dots {
        transform: none;
    }
}

@media (max-width: 500px) {
    .wrap {
        width: 94%;
        min-height: 0;
        border-width: 5px;
    }

    .overlay {
        height: 250px;
    }

    .overlay-content {
        width: 60%;
    }

    .image-content {
        width: 65%;
    }

    .wrap h1 {
        font-size: 30px;
    }

    .wrap p {
        font-size: 14px;
    }

    .text {
        padding: 24px 20px;
    }

    .inset {
        max-width: 45%;
    }

    .dots {
        right: 1rem;
        bottom: 0.75rem;
        width: 60px;
    }

    .dot {
        width: 0.75rem;
        height: 0.75rem;
    }
}

/* =========================================================
   FORM SIZE / SPACING
   ========================================================= */

.contact-form-wrapper {
    padding: 32px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 14px;
    font-size: 13px;
}

.form-group input,
.form-group select {
    height: 46px;
}

.form-group textarea {
    min-height: 105px;
}

.contact-form {
    gap: 18px 16px;
}

@media (max-width: 650px) {
    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .contact-form {
        gap: 16px;
    }

    .form-group input,
    .form-group select {
        height: 44px;
    }

    .form-group textarea {
        min-height: 100px;
    }
}

@media (max-width: 400px) {
    .contact-form-wrapper {
        padding: 20px 16px;
    }
}
