/*
Theme Name: SHEBA Theme
Theme URI: https://shebahsc.com
Author: Saiful Alam
Author URI: https://shebahsc.com
Description: Custom WordPress Theme for SHEBA Hearing & Speech Center
Version: 1.0
License: GPL v2 or later
Text Domain: sheba-theme
*/

/* ========================================
   TABLE OF CONTENTS
   1.  RESET & VARIABLES
   2.  TYPOGRAPHY & BASE
   3.  UTILITY CLASSES
   4.  HEADER (Consolidated)
   5.  HERO
   6.  TRUST BAR
   7.  SECTION TITLES
   8.  SERVICES
   9.  WHY US
   10. TESTIMONIALS
   11. CTA BANNER
   12. PAGE HERO
   13. PRODUCTS
   14. PRODUCT DETAIL
   15. GALLERY
   16. BLOG
   17. ARTICLE DETAIL
   18. CAREERS
   19. CONTACT
   20. FOOTER
   21. TOAST
   22. ANIMATIONS
   23. RESPONSIVE
   ======================================== */

/* ========================================
   1. RESET & VARIABLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0b5e6b;
    --primary-dark: #073f48;
    --primary-light: #2c8b9a;
    --secondary: #f2b73d;
    --secondary-dark: #d89f2a;
    --gray-bg: #f6f9fb;
    --gray-light: #eef3f7;
    --text-muted: #4a6175;
    --white: #ffffff;
    --shadow-sm: 0 6px 20px rgba(0,0,0,0.04);
    --shadow-md: 0 14px 32px rgba(0,0,0,0.07);
    --shadow-lg: 0 28px 48px rgba(0,0,0,0.1);
    --radius: 28px;
    --success: #27ae60;
}

/* ========================================
   2. TYPOGRAPHY & BASE
   ======================================== */
body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e2b37;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ========================================
   3. UTILITY CLASSES
   ======================================== */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
}

/* ========================================
   4. HEADER - CLEAN & CONSOLIDATED
   ======================================== */

/* 4.1 TOP BAR - NOT STICKY */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.8);
    padding: 4px 0;
    font-size: .7rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
}

.top-bar-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

.top-bar-left{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

.top-bar-left span{
    display:flex;
    align-items:center;
    gap:4px;
}

.top-bar-left i{
    color:var(--secondary);
    font-size:.65rem;
}

.top-bar-left a{
    color:rgba(255,255,255,.85);
    text-decoration:none;
    transition:.25s;
}

.top-bar-left a:hover{
    color:var(--secondary);
}

.top-bar-divider{
    color:rgba(255,255,255,.2);
}

.top-bar-right{
    display:flex;
    align-items:center;
    gap:10px;
}

.top-bar-right a{
    color:rgba(255,255,255,.7);
    font-size:.75rem;
    transition:all .25s ease;
}

.top-bar-right a:hover{
    color:var(--secondary);
    transform:translateY(-2px);
}


/* 4.2 MAIN HEADER - STICKY */
.main-header{
    position: sticky;
    top:0;
    left:0;
    width:100%;
    background:var(--white);
    z-index:1000;
    padding:4px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition:
        box-shadow .3s ease,
        padding .3s ease;
}

/* Optional - add with JS on scroll */
.main-header.scrolled{
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}


/* HEADER WRAPPER - NOT STICKY */
header {
    position: relative;
    background: transparent;
    box-shadow: none;
}


.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:56px;
    flex-wrap: nowrap;	
}

/* 4.3 LOGO */

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-image .custom-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.logo-content h1 {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
}

.logo-content h1 span {
    color: var(--primary-dark);
}
.logo-content .short-name {
    display: none;
}

.logo-content .full-name {
    display: inline;
}
.logo-content .tagline {
    margin-top: 3px;
    font-size: 0.6rem;
    letter-spacing: 2px;
/*     color: var(--text-muted); */
	    color: var(--secondary);

    font-weight: 600;
    text-transform: uppercase;
}

/* 4.4 NAVIGATION */
.nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav a,
.nav-link {
    font-weight: 600;
    color: #1e2b37;
    text-decoration: none;
    padding: 6px 0;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

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

/* 4.5 DROPDOWN */
.nav-item {
    position: relative;
}

.nav-link i {
    font-size: 0.55rem;
    margin-left: 3px;
    transition: 0.3s;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.04);
}

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

.dropdown-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: 0.2s;
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--gray-bg);
    color: var(--primary);
}

.dropdown-menu a:first-child {
    font-weight: 700;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--gray-light);
}

.dropdown-menu a:first-child:hover {
    background: transparent;
}

/* 4.6 BOOK APPOINTMENT BUTTON */
.btn-appoint {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 6px 18px !important;
    border-radius: 40px;
    border-bottom: none !important;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}

.btn-appoint:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    color: white !important;
}

.btn-appoint i {
    font-size: 0.75rem;
}

.nav .btn-appoint:hover {
    border-bottom: none !important;
}

/* 4.7 MOBILE MENU TOGGLE */
.menu-toggle {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
    transition: 0.3s ease;
}
.menu-toggle:hover {
    color: var(--primary-dark);
}
/* 4.8 HEADER RESPONSIVE */
@media (max-width: 1024px) {
    .nav {
        gap: 0.8rem;
    }
    
    .nav a,
    .nav-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 880px) {
    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0 8px;
        gap: 0.6rem;
    }

    .nav.open {
        display: flex;
    }

    .nav a,
    .nav-link {
         width: 100%;
        padding: 8px 0;
        font-size: 0.9rem;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding-left: 8px;
    }
    .nav a:hover,
    .nav-link:hover,
    .nav a.active,
    .nav-link.active {
        border-left-color: var(--secondary);
        border-bottom-color: transparent;
        background: rgba(11, 94, 107, 0.05);
    }
    .nav-item {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: none;
        background: transparent;
        border-radius: 0;
        padding-top: 4px;
    }

    .nav-item.dropdown-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 6px 0;
        font-size: 0.8rem;
        border-bottom: none;
        border-left: none;
    }

    .dropdown-menu a:first-child {
        border-bottom: none;
/*         padding-left: 0; */
        padding-left: 16px;
        font-weight: 700;
    }

    .dropdown-menu a:hover {
        background: transparent;
        color: var(--primary);
    }

    .btn-appoint {
        width: 100%;
        justify-content: center;
        padding: 10px 20px !important;
        margin-top: 4px;
    }

    .logo-content h1 {
        font-size: 1rem;
        line-height: 1.2;
    }
	    .logo-content .tagline {
        font-size: 0.45rem;
        letter-spacing: 1px;
    }

    .logo-image .custom-logo {
        width: 32px;
        height: 32px;
    }

    .logo-link {
        gap: 8px;
    }
	
    .main-header {
        padding: 6px 0;
    }
    
    .navbar {
        min-height: 50px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
     .logo-content .full-name {
        display: none;
    }

    .logo-content .short-name {
        display: inline;
    }

    .logo-content h1 {
        font-size: 0.9rem;
    }

    .logo-content .tagline {
        display: none;  /* Hide tagline on very small screens */
    }

    .logo-image .custom-logo {
        width: 28px;
        height: 28px;
    }
	 .logo-link {
        gap: 4px;
    }

    .navbar {
        min-height: 44px;
    }

    .menu-toggle {
        font-size: 1.2rem;
        padding: 4px 6px;
    }
    
    .main-header {
        padding: 4px 0;
    }
    
    .btn-appoint {
        font-size: 0.7rem;
        padding: 8px 16px !important;
    }
    
    .btn-appoint i {
        font-size: 0.7rem;
    }
}

/* ========================================
   5. HERO
   ======================================== */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(160deg, #f0f7fa 0%, #ffffff 70%);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1.2;
}

.hero-badge {
    background: var(--secondary);
    color: #1e2b37;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 18px;
    border-radius: 40px;
    display: inline-block;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero-content h2 span {
    color: var(--secondary-dark);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 34px;
    border-radius: 40px;
    font-weight: 700;
    transition: 0.25s;
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.25s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-outline:hover {
    background: var(--primary);
    color: white;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 480px;
}

/* ========================================
   6. TRUST BAR
   ======================================== */
.trust-bar {
    background: var(--white);
    padding: 28px 0;
    border-bottom: 1px solid #eef3f7;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.trust-item span {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ========================================
   7. SECTION TITLES (Already defined above)
   ======================================== */

/* ========================================
   8. SERVICES
   ======================================== */
.services-preview {
    padding: 70px 0 80px;
    background: var(--gray-bg);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

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

.service-card .icon {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card .badge {
    display: inline-block;
    background: var(--secondary);
    color: #1e2b37;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 40px;
    margin-top: 16px;
}

.service-card .badge.blue {
    background: var(--primary-light);
    color: white;
}

.service-card .badge.green {
    background: #27ae60;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.service-detail-grid .text {
    flex: 1.2;
}

.service-detail-grid .text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.service-detail-grid .text ul {
    list-style: none;
    margin-top: 12px;
}

.service-detail-grid .text ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-detail-grid .text ul li i {
    color: var(--secondary);
    font-size: 1.1rem;
    width: 24px;
}

.service-detail-grid .visual {
    flex: 1;
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.service-detail-grid .visual img {
    width: 100%;
    border-radius: 20px;
    max-height: 320px;
    object-fit: cover;
}

/* ========================================
   SERVICE LINK & FILTER STYLES
   ======================================== */
.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.service-link:hover {
    text-decoration: none;
}

.service-link .icon {
    transition: 0.3s;
}

.service-link:hover .icon {
    transform: scale(1.1);
}

.service-link h3 {
    transition: 0.2s;
}

.service-link:hover h3 {
    color: var(--primary);
}

.service-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 40px;
    padding: 0;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-light);
    padding: 10px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ========================================
   9. WHY US
   ======================================== */
.why-section {
    padding: 70px 0;
}

.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.why-grid .text {
    flex: 1;
}

.why-grid .text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.why-grid .text p {
    color: var(--text-muted);
}

.why-grid .text ul {
    list-style: none;
    margin-top: 20px;
}

.why-grid .text ul li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.why-grid .text ul li i {
    color: var(--secondary);
    font-size: 1.3rem;
    width: 28px;
}

.why-grid .visual {
    flex: 1;
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.why-grid .visual img {
    width: 100%;
    border-radius: 20px;
    max-height: 340px;
    object-fit: cover;
}

/* ========================================
   10. TESTIMONIALS
   ======================================== */
.testimonial-section {
    background: var(--primary-dark);
    color: white;
    padding: 70px 0;
}

.testimonial-section .section-title {
    color: white;
}

.testimonial-section .section-sub {
    color: rgba(255,255,255,0.8);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.testimonial-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid rgba(255,255,255,0.08);
}

.testimonial-card i {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 16px;
    opacity: 0.9;
}

.testimonial-card .name {
    font-weight: 700;
    color: var(--secondary);
}

/* ========================================
   11. CTA BANNER
   ======================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: 56px 0;
    text-align: center;
    color: #1e2b37;
}

.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 28px;
    opacity: 0.9;
}

.cta-banner .btn-primary {
    background: var(--primary-dark);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-banner .btn-primary:hover {
    background: #052e36;
}

.cta-banner .btn-cta {
    background: var(--secondary);
    color: #1e2b37;
    padding: 14px 38px;
    border-radius: 40px;
    font-weight: 700;
    transition: 0.25s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

.cta-banner .btn-cta:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   12. PAGE HERO
   ======================================== */
.page-hero {
    background: linear-gradient(160deg, #f0f7fa 0%, #ffffff 70%);
    padding: 60px 0 50px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
}

/* ========================================
   13. PRODUCTS
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0 60px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.product-card .product-badge .badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 40px;
}

.badge.hearing-aid { background: #e8f4f8; color: var(--primary); }
.badge.battery { background: #fef3e2; color: #d89f2a; }
.badge.accessory { background: #e8f8ef; color: #1f8a4c; }
.badge.pediatric { background: #f0e8ff; color: #7c5cb0; }
.badge.new { background: var(--secondary); color: #1e2b37; }
.badge.sale { background: #ff6b6b; color: white; }
.badge.popular { background: #4a90d9; color: white; }

.product-image {
    background: linear-gradient(135deg, #f8fafc 0%, #eef3f7 100%);
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.3s;
}

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

.product-image .wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    z-index: 3;
}

.product-image .wishlist-btn:hover {
    background: var(--white);
    color: #ff6b6b;
    transform: scale(1.1);
}

.product-body {
    padding: 20px 22px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-body .product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

.product-body .product-rating .count {
    color: var(--text-muted);
}

.product-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--primary-dark);
}

.product-body h3 a {
    color: var(--primary-dark);
}

.product-body h3 a:hover {
    color: var(--primary);
}

.product-body .brand {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.product-body .brand i {
    color: var(--secondary);
}

.product-body .description {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 14px;
    line-height: 1.5;
}

.product-body .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-light);
}

.product-body .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.product-body .price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.product-body .original-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

.product-body .discount-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff6b6b;
    background: #fff0f0;
    padding: 2px 10px;
    border-radius: 40px;
}

.btn-product {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-product:hover {
    background: var(--primary-dark);
    transform: scale(1.03);
}

.btn-product.outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-product.outline:hover {
    background: var(--primary);
    color: white;
}

/* ========================================
   PRODUCT TOOLBAR
   ======================================== */
.product-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 40px 0 30px;
    padding: 16px 0;
    border-bottom: 2px solid var(--gray-light);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sort-select {
    padding: 8px 20px;
    border-radius: 40px;
    border: 2px solid var(--gray-light);
    font-family: inherit;
    font-weight: 500;
    background: var(--white);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-light);
}

.stats-bar .stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.stats-bar .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-bar .stat-item i {
    font-size: 1.8rem;
    color: var(--primary);
}

.stats-bar .stat-item .number {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.stats-bar .stat-item .label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   BRAND SECTION
   ======================================== */
.brand-section {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.brand-item {
    background: var(--gray-bg);
    padding: 18px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    transition: 0.3s;
    min-width: 130px;
    text-align: center;
    border: 2px solid transparent;
}

.brand-item:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.brand-item i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--secondary);
}

/* ========================================
   14. PRODUCT DETAIL
   ======================================== */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.product-gallery .main-image {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.product-gallery .main-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.product-gallery .main-image i {
    font-size: 6rem;
    color: var(--primary);
}

.product-gallery .thumbnails {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.product-gallery .thumbnails .thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--gray-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.product-gallery .thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery .thumbnails .thumb:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.product-gallery .thumbnails .thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.product-gallery .thumbnails .thumb i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.product-info {
    flex: 1.2;
    min-width: 300px;
}

.product-info .badge {
    display: inline-block;
    background: #e8f4f8;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 40px;
    margin-bottom: 12px;
}

.product-info h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.product-info .brand {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.product-info .brand i {
    color: var(--secondary);
}

.product-info .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.product-info .rating .stars {
    color: var(--secondary);
}

.product-info .rating .count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-info .price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.product-info .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.product-info .price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.product-info .original-price {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-info .discount-badge {
    background: var(--secondary);
    color: #1e2b37;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
}

.product-info .description {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    background: var(--gray-bg);
    padding: 20px;
    border-radius: var(--radius);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-item .icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.spec-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-item .value {
    font-weight: 700;
    font-size: 0.95rem;
}

.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-secondary {
    background: var(--secondary);
    color: #1e2b37;
    padding: 14px 34px;
    border-radius: 40px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    font-size: 1rem;
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: white;
}

.product-tabs {
    margin-top: 40px;
}

.tab-headers {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--gray-light);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tab-header {
    padding: 12px 24px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 0.95rem;
    font-family: inherit;
}

.tab-header:hover {
    color: var(--primary);
}

.tab-header.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    padding: 8px 0;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.tab-content p {
    color: var(--text-muted);
}

.tab-content ul {
    list-style: none;
    margin-top: 12px;
}

.tab-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-content ul li:last-child {
    border-bottom: none;
}

.tab-content ul li i {
    color: var(--success);
    width: 20px;
}

/* ========================================
   15. GALLERY
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: 0.3s;
    background: var(--gray-light);
    aspect-ratio: 1 / 0.9;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(7,40,50,0.8));
    padding: 40px 20px 20px;
    color: white;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay h4 {
    font-size: 1rem;
    font-weight: 600;
}

.gallery-item .overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.gallery-item .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--secondary);
    color: #1e2b37;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-item .badge.blue {
    background: var(--primary-light);
    color: white;
}

.gallery-item .badge.green {
    background: #27ae60;
    color: white;
}

.gallery-item .badge.purple {
    background: #7c5cb0;
    color: white;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2 / 0.9;
}

/* ========================================
   16. BLOG
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card .image {
    background: linear-gradient(135deg, var(--gray-light), var(--gray-bg));
    padding: 40px 20px;
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-card .image i {
    font-size: 3.5rem;
    color: var(--primary);
}

.blog-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 180px;
}

.blog-card .image .category-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 40px;
    background: var(--secondary);
    color: #1e2b37;
}

.blog-card .image .category-tag.health {
    background: #e8f4f8;
    color: var(--primary);
}

.blog-card .image .category-tag.therapy {
    background: #fef3e2;
    color: #d89f2a;
}

.blog-card .image .category-tag.technology {
    background: #e8f8ef;
    color: #1f8a4c;
}

.blog-card .image .category-tag.tinnitus {
    background: #f0e8ff;
    color: #7c5cb0;
}

.blog-card .image .category-tag.lifestyle {
    background: #fee8e8;
    color: #c0392b;
}

.blog-card .body {
    padding: 24px 24px 28px;
}

.blog-card .body .meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card .body .meta i {
    color: var(--primary);
}

.blog-card .body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.blog-card .body h3 a {
    color: var(--primary-dark);
    transition: 0.2s;
}

.blog-card .body h3 a:hover {
    color: var(--primary);
}

.blog-card .body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .body .read-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.blog-card .body .read-more:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ========================================
   FEATURED POST
   ======================================== */
.featured-post {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border: 1px solid rgba(0,0,0,0.03);
}

.featured-post .image {
    flex: 1.2;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.featured-post .image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.featured-post .image i {
    font-size: 5rem;
    color: white;
    opacity: 0.8;
}

.featured-post .content {
    flex: 1.8;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post .content .featured-badge {
    display: inline-block;
    background: var(--secondary);
    color: #1e2b37;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 40px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.featured-post .content .meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.featured-post .content .meta i {
    color: var(--primary);
}

.featured-post .content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.featured-post .content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.featured-post .content .btn-read {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
    font-size: 0.95rem;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.featured-post .content .btn-read:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   BLOG TOOLBAR
   ======================================== */
.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 30px 0 20px;
    padding: 16px 0;
    border-bottom: 2px solid var(--gray-light);
}

.category-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    background: var(--white);
    border: 2px solid var(--gray-light);
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    font-size: 0.85rem;
}

.category-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 40px;
    padding: 4px 4px 4px 18px;
    transition: 0.2s;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 94, 107, 0.1);
}

.search-box input {
    border: none;
    padding: 10px 0;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
    min-width: 200px;
}

.search-box button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter-section {
    background: var(--primary-dark);
    padding: 60px 0;
    color: white;
}

.newsletter-section .section-title {
    color: white;
}

.newsletter-section .section-sub {
    color: rgba(255,255,255,0.8);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 22px;
    border-radius: 40px;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    min-width: 200px;
}

.newsletter-form input:focus {
    outline: 2px solid var(--secondary);
}

.newsletter-form button {
    background: var(--secondary);
    color: #1e2b37;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.95rem;
}

.newsletter-form button:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* ========================================
   17. ARTICLE DETAIL
   ======================================== */
.article-section {
    padding: 30px 0 60px;
}

.article-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 32px;
}

.article-header .category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 16px;
    border-radius: 40px;
    background: #e8f4f8;
    color: var(--primary);
    margin-bottom: 12px;
}

.article-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.article-header .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-header .meta i {
    color: var(--primary);
    margin-right: 4px;
}

.article-header .meta .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-header .meta .author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.article-header .featured-image {
    margin-top: 20px;
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-header .featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.article-header .featured-image i {
    font-size: 4rem;
    color: var(--primary);
}

.article-body {
    font-size: 1.05rem;
    color: #1e2b37;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 32px 0 16px;
}

.article-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 24px 0 12px;
}

.article-body ul,
.article-body ol {
    margin: 16px 0 20px 24px;
}

.article-body ul li,
.article-body ol li {
    margin-bottom: 8px;
}

.article-body .highlight-box {
    background: var(--gray-bg);
    border-left: 4px solid var(--secondary);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.article-body .highlight-box strong {
    color: var(--primary-dark);
}

.article-body .highlight-box i {
    color: var(--secondary);
    margin-right: 8px;
}

.tags-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-light);
}

.tags-section .tag {
    background: var(--gray-light);
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: 0.2s;
}

.tags-section .tag:hover {
    background: var(--primary);
    color: white;
}

.share-section {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-light);
}

.share-section .share-label {
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000000; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.email { background: var(--text-muted); }

/* ========================================
   POST NAVIGATION
   ======================================== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    margin: 20px 0 30px;
}

.post-navigation a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.post-navigation a:hover {
    color: var(--primary-dark);
}

/* ========================================
   RELATED POSTS
   ======================================== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

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

.related-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
}

.related-card .icon i {
    font-size: 2rem;
    color: var(--primary);
}

.related-card h4 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

.related-card .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.related-card .read-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.related-card .read-link:hover {
    gap: 8px;
}

/* ========================================
   18. CAREERS
   ======================================== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

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

.job-card .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.job-card .job-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.job-card .job-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 40px;
    white-space: nowrap;
}

.job-type.full-time { background: #e8f4f8; color: var(--primary); }
.job-type.part-time { background: #fef3e2; color: #d89f2a; }
.job-type.contract { background: #f0e8ff; color: #7c5cb0; }
.job-type.internship { background: #e8f8ef; color: #1f8a4c; }

.job-card .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.job-card .job-meta i {
    margin-right: 4px;
    color: var(--primary);
}

.job-card .job-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 16px;
}

.job-card .job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-light);
}

.job-card .job-footer .deadline {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.job-card .job-footer .deadline i {
    color: #ff6b6b;
}

.btn-apply {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
}

.btn-apply:hover {
    background: var(--primary-dark);
    transform: scale(1.03);
}

/* ========================================
   19. CONTACT
   ======================================== */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 48px;
    margin-bottom: 60px;
}

.contact-form-section {
    flex: 1.3;
}

.contact-form-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-form-section .sub {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-info-side {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.contact-info-side h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item .icon {
    width: 44px;
    height: 44px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item .text h4 {
    font-weight: 600;
    font-size: 0.95rem;
}

.info-item .text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.info-item .text a:hover {
    color: var(--secondary-dark);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0 50px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: 0.3s;
}

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

.contact-card .icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-card h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--secondary-dark);
}

/* ========================================
   20. FOOTER
   ======================================== */
footer {
    background: #0b2a33;
    color: #b6d0d9;
    padding: 56px 0 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary-light), var(--secondary));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.footer-brand h3 span {
    color: var(--secondary);
}

.footer-brand .tagline {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-brand .address {
    color: #b6d0d9;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-brand .contact-info p {
    margin-bottom: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .contact-info i {
    color: var(--secondary);
    width: 20px;
    font-size: 0.9rem;
}

.footer-brand .contact-info a {
    color: #b6d0d9;
    transition: 0.2s;
}

.footer-brand .contact-info a:hover {
    color: white;
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #b6d0d9;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-links ul li a i,
.footer-services ul li a i {
    font-size: 0.6rem;
    color: var(--secondary);
    transition: 0.2s;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links ul li a:hover i,
.footer-services ul li a:hover i {
    transform: translateX(2px);
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 14px;
    color: #b6d0d9;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 40px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: 0.2s;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-newsletter-form input:focus {
    border-color: var(--secondary);
    background: rgba(255,255,255,0.08);
}

.footer-newsletter-form button {
    background: var(--secondary);
    color: #1e2b37;
    border: none;
    padding: 10px 18px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
}

.footer-newsletter-form button:hover {
    background: var(--secondary-dark);
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b6d0d9;
    transition: 0.3s;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.06);
}

.social-links a:hover {
    background: var(--secondary);
    color: #1e2b37;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    padding: 20px 0 24px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-content p {
    font-size: 0.85rem;
    color: #8aa4b0;
}

.footer-bottom-content p strong {
    color: white;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #8aa4b0;
    font-size: 0.8rem;
    transition: 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ========================================
   21. TOAST
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: #ff6b6b;
}

/* ========================================
   22. ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   23. RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .nav {
        gap: 0.8rem;
    }
    
    .nav a,
    .nav-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 880px) {
    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0 8px;
        gap: 0.6rem;
    }

    .nav.open {
        display: flex;
    }

    .nav a,
    .nav-link {
        width: 100%;
        padding: 6px 0;
        font-size: 0.9rem;
        border-bottom: none;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: none;
        background: transparent;
        border-radius: 0;
        padding-top: 4px;
    }

    .nav-item.dropdown-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 6px 0;
        font-size: 0.8rem;
        border-bottom: none;
    }

    .dropdown-menu a:first-child {
        border-bottom: none;
        padding-left: 0;
        font-weight: 700;
    }

    .dropdown-menu a:hover {
        background: transparent;
    }

    .btn-appoint {
        width: 100%;
        justify-content: center;
        padding: 10px 20px !important;
        margin-top: 4px;
    }

    .logo-content h1 {
        font-size: 1.1rem;
    }

    .logo-image .custom-logo {
        width: 32px;
        height: 32px;
    }

    .logo-link {
        gap: 8px;
    }

    .page-hero h1 {
        font-size: 2.4rem;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }

    .why-grid {
        flex-direction: column;
        text-align: center;
    }

    .why-grid .text ul li {
        justify-content: center;
    }

    .trust-grid {
        justify-content: center;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-grid {
        flex-direction: column;
        text-align: center;
    }

    .service-detail-grid .text ul li {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        flex-direction: column;
        padding: 24px;
    }

    .product-info h1 {
        font-size: 1.8rem;
    }

    .product-info .price {
        font-size: 1.8rem;
    }

    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.featured {
        grid-column: span 1;
        aspect-ratio: 1 / 0.9;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 28px;
    }

    .article-wrapper {
        padding: 28px;
    }

    .service-detail-hero {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .service-icon-large {
        margin: 0 auto 20px;
    }

    .service-detail-hero-content h1 {
        font-size: 2.2rem;
    }

    .service-subtitle {
        margin: 0 auto 20px;
    }

    .service-meta {
        justify-content: center;
    }

    .service-detail-content-wrapper {
        flex-direction: column;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .service-detail-hero-image img {
        max-height: 250px;
    }

    .story-grid {
        flex-direction: column;
        text-align: center;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-services h4::after,
    .footer-newsletter h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand .contact-info p {
        justify-content: center;
    }

    .footer-links ul li a,
    .footer-services ul li a {
        justify-content: center;
    }

    .footer-newsletter-form {
        max-width: 400px;
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .product-grid {
        padding: 16px;
    }

    .product-gallery .main-image {
        min-height: 200px;
        padding: 20px;
    }

    .product-gallery .main-image i {
        font-size: 4rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn-primary,
    .product-actions .btn-secondary,
    .product-actions .btn-outline-dark {
        width: 100%;
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-image {
        min-height: 160px;
    }

    .product-image img {
        height: 160px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .page-hero h1 {
        font-size: 1.9rem;
    }

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

    .service-detail-hero {
        padding: 20px;
    }

    .service-detail-hero-content h1 {
        font-size: 1.8rem;
    }

    .service-icon-large {
        width: 60px;
        height: 60px;
    }

    .service-icon-large i {
        font-size: 2rem;
    }

    .service-sidebar-card {
        padding: 20px;
    }

    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: 1fr;
    }

    .story-grid .text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 500px) {
    .hero-content h2 {
        font-size: 1.9rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
	
	
	  .logo-content .full-name {
        display: none;
    }

    .logo-content .short-name {
        display: inline;
    }

    .logo-content h1 {
        font-size: 0.9rem;
    }

    .logo-content .tagline {
        display: none;  /* Hide tagline on very small screens */
    }

    .logo-image .custom-logo {
        width: 28px;
        height: 28px;
    }

    .logo-link {
        gap: 4px;
    }

    .navbar {
        min-height: 44px;
    }

    .menu-toggle {
        font-size: 1.2rem;
        padding: 4px 6px;
    }
	
	

    
    .main-header {
        padding: 2px 0;
    }
    
    .navbar {
        min-height: 44px;
    }
    

}


/* For screens 481px - 880px: Keep full name but smaller */
@media (max-width: 880px) and (min-width: 481px) {
    .logo-content h1 {
        font-size: 0.85rem;
    }

    .logo-content .tagline {
        font-size: 0.4rem;
        letter-spacing: 1px;
    }

    .logo-image .custom-logo {
        width: 32px;
        height: 32px;
    }

    .logo-link {
        gap: 6px;
    }
}