/* ============================================================
   MyWater — Public CSS
   Premium water treatment & pool solutions aesthetic
   ============================================================ */

:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #E8F0FE;
    --accent: #00B4D8;
    --accent-dark: #0096B7;
    --text: #1a1a2e;
    --text-light: #5a5a7a;
    --text-muted: #8a8aa0;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --bg-dark: #0d1b2a;
    --border: #e5e9f0;
    --success: #28a745;
    --warning: #fd7e14;
    --danger: #dc3545;
    --gradient: linear-gradient(135deg, #0066CC 0%, #00B4D8 100%);
    --gradient-dark: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-header {
    font-size: 14px;
    padding: 10px 22px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.logo-drop {
    font-size: 28px;
}

.main-nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text);
    border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    font-size: 20px;
    position: relative;
    color: var(--text);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

/* Hero */
.hero {
    background: var(--gradient-dark);
    color: #fff;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* ============================================================
   Hero Slider (Dynamic Homepage)
   ============================================================ */
.hero-slider {
    position: relative;
    height: calc(100vh - 72px);
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.slide .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 50px; /* Offset for header */
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.slide .hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.slide .hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 650px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255,255,255,0.7);
}

.slider-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}


.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
}

.hero-stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.solution-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.solution-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.solution-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.solution-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-img-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    font-size: 48px;
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Product Detail */
.product-detail {
    padding: 100px 0 60px;
}

.product-gallery {
    display: grid;
    gap: 10px;
}

.product-gallery-main img {
    width: 100%;
    border-radius: var(--radius);
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.product-gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border var(--transition);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--primary);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-detail-desc {
    color: var(--text-light);
    margin-bottom: 25px;
}

.add-to-cart-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* Contact & Project responsive grids */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.qty-input {
    width: 70px;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 17px;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Articles / Blog */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.article-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-info {
    padding: 20px;
}

.article-date {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-info h3 {
    font-size: 17px;
    margin: 8px 0;
}

.article-info h3 a {
    color: var(--text);
}

.article-info h3 a:hover {
    color: var(--primary);
}

.article-info p {
    color: var(--text-light);
    font-size: 14px;
}

.article-content {
    max-width: 780px;
    margin: 0 auto;
}

.article-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.article-content .content-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
}

.article-content .content-body h2,
.article-content .content-body h3 {
    color: var(--text);
    margin: 30px 0 15px;
}

.article-content .content-body p {
    margin-bottom: 18px;
}

/* Page Banner */
.page-banner {
    background: var(--gradient-dark);
    padding: 130px 0 50px;
    color: #fff;
}

.page-banner h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.breadcrumbs {
    font-size: 13px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

/* Forms */
.form-section {
    padding: 60px 0;
}

.form-card-public {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: border var(--transition);
    background: #fff;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.alert-public {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-public.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-public.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Cart & Checkout */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cart-table th {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-total {
    text-align: right;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* FAQ */
.faq-category {
    margin-bottom: 30px;
}

.faq-category h3 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-answer {
    padding: 0 20px 16px;
    color: var(--text-light);
    line-height: 1.7;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question {
    background: var(--bg-alt);
}

/* Realisations / Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.project-card-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.project-card-overlay span {
    font-size: 13px;
    opacity: 0.8;
}

/* Sidebar */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-widget a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.sidebar-widget a:last-child {
    border: none;
}

.sidebar-widget a:hover {
    color: var(--primary);
}

/* Filters Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text-light);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.filter-tab:hover,
.filter-tab.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col p a {
    display: inline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.footer-social a:hover {
    color: #fff;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: float-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes float-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* Pagination */
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-light);
    transition: all var(--transition);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Touch devices support for hover elements */
@media (hover: none) {
    .product-actions {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 72px;
        right: -100%;
        width: min(280px, 85vw);
        height: calc(100vh - 72px);
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-left: 1px solid var(--border);
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-link {
        padding: 12px 16px;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .btn-header {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-slider {
        min-height: 350px;
    }

    .hero::before {
        width: 300px;
        height: 300px;
    }

    .hero::after {
        width: 250px;
        height: 250px;
    }

    .site-footer {
        padding: 40px 0 20px;
    }

    .contact-layout,
    .project-meta-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section {
        padding: 50px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .articles-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero::before {
        width: 150px;
        height: 150px;
    }

    .hero::after {
        width: 120px;
        height: 120px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .products-grid,
    .articles-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        bottom: 15px;
        right: 12px;
        gap: 8px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .slider-dots {
        bottom: 12px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 22px;
    }

    .product-gallery-thumbs img {
        width: 60px;
        height: 60px;
    }

    .form-card-public {
        padding: 20px;
    }

    .page-banner {
        padding: 100px 0 35px;
    }
}

@media (max-width: 380px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}