/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #0F766E;
    --primary-dark: #134E4A;
    --primary-light: #14B8A6;
    --secondary-color: #FEF7ED;
    --accent-color: #EA580C;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #F0FDFA;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #0F766E 0%, #EA580C 100%);
    --gradient-2: linear-gradient(135deg, #0F766E 0%, #FEF7ED 100%);
    --gradient-3: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #FEF7ED 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================

   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 1rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.logo-text .location {
    font-size: 0.75rem;
    color: var(--text-light);
}

.logo-text .location i {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.location-short {
    display: none;
}

.location-full {
    display: inline;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    margin-top: 1rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-toggle {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.search-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    height: 48px;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-call i {
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   Hero Carousel
   =================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    padding: 0;
}

section.hero-carousel {
    padding: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 4rem 0 3rem;
}

.carousel-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--white);
}

.carousel-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content > div {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* ADDED: Space between CTA items on desktop */
    flex-wrap: wrap;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.3);
}

.carousel-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(15, 118, 110, 0.5);
}

.carousel-nav {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-arrow:hover {
    background: rgba(15, 118, 110, 0.8);
    border-color: var(--primary-color);
}

.carousel-arrow.prev {
    left: 2rem;
}

.carousel-arrow.next {
    right: 2rem;
}

/* ===================================
   Section Styling
   =================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Products Section - Redesigned
   =================================== */
.products {
    background: var(--bg-light);
    margin-top: 0;
}

#products {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.product-category {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.view-all-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.product-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    align-items: stretch;
}

.product-category {
    --card-accent: var(--primary-color);
    --card-accent-soft: rgba(15, 118, 110, 0.16);
}

/* Home service category order:
   Invisible -> Safety -> Sports -> Anti Bird -> Wire Mesh -> Artificial */
.products .container {
    display: flex;
    flex-direction: column;
}

.products .container > .section-header {
    order: 1;
}

.products .container > .product-category:nth-child(2) {
    order: 3; /* Safety */
}

.products .container > .product-category:nth-child(3) {
    order: 2; /* Invisible */
}

.products .container > .product-category:nth-child(4) {
    order: 5; /* Anti Bird */
}

.products .container > .product-category:nth-child(5) {
    order: 6; /* Wire Mesh */
}

.products .container > .product-category:nth-child(6) {
    order: 4; /* Sports */
}

.products .container > .product-category:nth-child(7) {
    order: 7; /* Artificial */
}

/* Home products container has section-header as first child, so categories start at nth-child(2). */
.products .container > .product-category:nth-child(2) {
    --card-accent: var(--primary-color); /* Safety Net */
    --card-accent-soft: rgba(15, 118, 110, 0.2);
}

.products .container > .product-category:nth-child(3) {
    --card-accent: var(--primary-light); /* Invisible Grill */
    --card-accent-soft: rgba(20, 184, 166, 0.22);
}

.products .container > .product-category:nth-child(4) {
    --card-accent: var(--accent-color); /* Anti Bird Net */
    --card-accent-soft: rgba(234, 88, 12, 0.2);
}

.products .container > .product-category:nth-child(5) {
    --card-accent: var(--primary-dark); /* Wire Mesh */
    --card-accent-soft: rgba(19, 78, 74, 0.2);
}

.products .container > .product-category:nth-child(6) {
    --card-accent: var(--primary-color); /* Sports Net */
    --card-accent-soft: rgba(15, 118, 110, 0.2);
}

.products .container > .product-category:nth-child(7) {
    --card-accent: var(--primary-light); /* Artificial Grass */
    --card-accent-soft: rgba(20, 184, 166, 0.2);
}

.product-card-compact {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(168deg, #ffffff 0%, var(--secondary-color) 62%, #ffffff 100%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.08);
    align-self: stretch;
    isolation: isolate;
}

.product-card-compact::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-accent) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 2;
}

.product-card-compact::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--card-accent-soft) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.product-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.16);
    border-color: var(--card-accent);
}

.product-image-compact {
    position: relative;
    height: 190px;
    overflow: hidden;
    clip-path: none;
}

.product-image-compact::after {
    content: none;
}

.product-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card-compact:hover .product-image-compact img {
    transform: scale(1.08);
}

.product-info-compact {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.35rem;
    padding: 0.95rem 1rem 1.05rem;
    margin-top: -10px;
    z-index: 1;
}

.product-info-compact h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
    line-height: 1.3;
    min-height: 2.7rem;
}


.product-material,
.product-thickness {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
    border-radius: 999px;
    padding: 0.32rem 0.7rem;
    margin-bottom: 0.28rem;
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.product-material {
    background: var(--card-accent-soft);
}

.product-thickness {
    background: rgba(15, 23, 42, 0.06);
}

.btn-get-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
    background: var(--card-accent);
    color: var(--white);
    padding: 0.78rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
    margin-top: auto;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-get-quote::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.btn-get-quote:hover {
    background: var(--card-accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(15, 23, 42, 0.22);
    filter: brightness(0.95);
}

.btn-get-quote:hover::after {
    transform: translateX(2px);
}

/* ===================================
   Videos Section
   =================================== */
.videos-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--bg-light);
}

#contact {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.info-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.info-text a,
.info-text p {
    color: var(--text-light);
    transition: var(--transition);
}

.info-text a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Button Styles (Add this to fix the Send button)
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.4);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1.25rem;
}

/* ===================================
   Areas Served Section - Chip Layout
   =================================== */
.areas-served-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.areas-chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.area-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    border: 2px solid #e5e7eb;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.area-chip i {
    color: #0F766E;
    font-size: 1rem;
}

.area-chip:hover {
    border-color: #0F766E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.area-chip.highlight {
    background: linear-gradient(135deg, #0F766E 0%, #134E4A 100%);
    color: white;
    border-color: #0F766E;
}

.area-chip.highlight i {
    color: white;
}

.areas-cta {
    text-align: center;
    margin-top: 3rem;
}

.areas-cta-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.areas-cta-text i {
    color: #0F766E;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .areas-served-section {
        padding: 3rem 0;
    }

    .areas-chips-wrapper {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .area-chip {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .areas-cta-text {
        font-size: 0.95rem;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: #FAF6F1;
    color: var(--text-dark);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(15, 118, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.contact-list li i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 118, 110, 0.2);
    color: var(--text-light);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-heart {
    color: var(--primary-color);
    margin: 0 0.25rem;
}

/* ===================================
   Floating Buttons
   =================================== */
/* CHANGED: Updated call icon to solid/filled version */
.call-float {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
    z-index: 999;
    animation: pulse-call 2s infinite;
    transition: var(--transition);
}

.call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(234, 88, 12, 0.6);
}

.call-float i {
    font-size: 1.75rem;
    color: var(--white);
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes pulse-call {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(234, 88, 12, 0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse-whatsapp 2s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--white);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top i {
    color: var(--white);
    font-size: 1.25rem;
}

@media (min-width: 1025px) {
    .product-grid-2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }

    .product-grid-2 .product-card-compact:nth-child(n+5) {
        display: none;
    }

    .videos-grid {
        gap: 3rem;
    }
}

/* Tablet (769px - 1024px) - 3 Columns, Show 3 Cards */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid-2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        align-items: stretch;
    }

    /* Hide the 4th card and beyond */
    .product-grid-2 .product-card-compact:nth-child(n+4) {
        display: none;
    }
}

/* Desktop adjustments */
@media (min-width: 769px) {
    .product-image-compact {
        height: 220px;
    }

    .product-info-compact {
        padding: 1.5rem;
    }

    .product-info-compact h4 {
        font-size: 1.125rem;
        min-height: 3rem;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .video-info {
        padding: 2rem;
    }

    .video-info h3 {
        font-size: 1.25rem;
    }

    .video-info p {
        font-size: 1rem;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 50px;
        margin: 0;
    }

    .logo-text h1 {
        font-size: 1.25rem;
    }

    .logo-text .location {
        font-size: 0.65rem;
    }

    .location-short {
        display: inline;
    }

    .location-full {
        display: none;
    }

    .logo-text .location {
        font-size: 0.65rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: left;
        display: block;
    }

    .nav-dropdown {
        position: relative;
    }

    .btn-call {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        display: none;
        background: rgba(15, 118, 110, 0.05);
        border-radius: 0;
    }

    .dropdown-menu li a {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }

    .dropdown-menu li.view-all {
        border-top: 1px solid rgba(15, 118, 110, 0.2);
    }

    .btn-call span {
        display: none;
    }

    .hero-carousel {
        height: calc(100vh - 50px);
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 70px;
    }

    .carousel-container {
        height: calc(100vh - 50px);
    }

    #products {
        padding-top: 2rem !important;
        margin-top: 0 !important;
    }

    .carousel-content h2 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-content > div {
        gap: 1rem;
    }


    .carousel-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow {
        display: none !important;
    }

    .carousel-arrow.prev {
        left: 1rem;
    }

    .carousel-arrow.next {
        right: 1rem;
    }

    .carousel-nav {
        right: 50%;
        transform: translateX(50%);
    }

    .carousel-overlay {
        padding: 2rem 0 4rem;
    }

    .category-header h3 {
        font-size: 1.25rem;
    }

    .view-all-link {
        font-size: 0.9rem;
    }

    .products .section-header .section-description:first-of-type {
        display: none;
    }

    .products .section-header .section-description:last-of-type {
        color: black;
    }

    .product-grid-2 {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.45rem;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .product-grid-2::-webkit-scrollbar {
        display: none;
    }

    .product-grid-2 .product-card-compact {
        display: flex;
        flex: 0 0 calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
        scroll-snap-align: start;
        align-self: stretch;
        box-shadow: none;
        border-width: 0.6px;
        border-color: var(--card-accent);
    }

    .product-grid-2 .product-card-compact::after {
        content: none;
    }

    .product-category {
        position: relative;
    }

    .product-grid-2::after {
        content: none;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0.5rem;
        width: 30px;
        background: linear-gradient(to left, var(--bg-light), transparent);
        pointer-events: none;
    }

    .product-image-compact {
        height: 150px;
    }

    .product-info-compact {
        padding: 0.76rem 0.62rem 0.62rem;
    }

    .product-info-compact h4 {
        font-size: 0.82rem;
        line-height: 1.24;
        min-height: 2.05rem;
        margin-top: 0.18rem;
    }


    .product-material,
    .product-thickness {
        font-size: 0.68rem;
        padding: 0.22rem 0.5rem;
        margin-bottom: 0.2rem;
    }

    .btn-get-quote {
        padding: 0.56rem;
        font-size: 0.76rem;
        border-radius: 11px;
    }

    .videos-section {
        padding: 0.5rem 0;
    }

    .videos-grid {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .video-info {
        padding: 1rem;
    }

    .video-info h3 {
        font-size: 1rem;
    }

    .video-info p {
        font-size: 0.875rem;
    }

    .contact-info {
        display: none !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .call-float {
        bottom: 150px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .call-float i {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        bottom: 70px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        /*bottom: 90px;*/
        /*left: 10px;*/
        /*width: 45px;*/
        /*height: 45px;*/
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-img {
        height: 50px;
    }

    .logo-text h1 {
        font-size: 0.95rem;
    }

    .logo-text .location {
        font-size: 0.6rem;
    }

    .logo-text .location {
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .product-info-compact h4 {
        font-size: 0.78rem;
        min-height: 1.9rem;
        margin-top: 0.16rem;
    }

    .product-material,
    .product-thickness {
        font-size: 0.64rem;
        padding: 0.2rem 0.44rem;
    }

    .btn-get-quote {
        font-size: 0.72rem;
        padding: 0.52rem;
    }

    .areas-chips-wrapper {
        gap: 0.4rem;
        margin-top: 1.1rem;
    }

    .area-chip {
        font-size: 0.82rem;
        padding: 7px 12px;
        gap: 6px;
    }

    .area-chip i {
        font-size: 0.88rem;
    }

    .areas-cta-text {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .contact-form-wrapper {
        padding: 1rem 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .search-results {
        padding: 6rem 0 3rem;
    }

    .search-page-header {
        padding: 1.5rem;
    }

    .no-results {
        padding: 3rem 1.5rem;
    }

    .no-results-icon {
        font-size: 3rem;
    }

    .suggestions {
        flex-direction: column;
    }

    .suggestion-tag {
        width: 100%;
        text-align: center;
    }

    .category-tags {
        flex-direction: column;
    }

    .category-tags a {
        width: 100%;
        justify-content: center;
    }

    .videos-section {
        padding: 0.5rem 0;
    }

    .videos-grid {
        gap: 1rem;
    }

    .video-info {
        padding: 0.875rem;
    }
}
