@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1e293b;        /* Deep slate blue */
    --primary-light: #334155;
    --secondary: #0d9488;      /* Clinical teal/turquoise */
    --secondary-hover: #0f766e;
    --accent: #f59e0b;         /* Amber warning/alert */
    --background: #f8fafc;     /* Soft slate background */
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(30,41,59,0.08), 0 4px 6px -2px rgba(30,41,59,0.03);
    --shadow-hover: 0 20px 25px -5px rgba(13,148,136,0.1), 0 10px 10px -5px rgba(13,148,136,0.04);
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-white);
}

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

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

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Header Top */
.header-top {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-top-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-top-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-top-links a {
    color: rgba(255,255,255,0.8);
    margin-left: 1rem;
}

.header-top-links a:hover {
    color: var(--text-white);
}

/* Navigation Header */
.navbar-wrapper {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    height: 100%;
}

.nav-links > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links > li > a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links > li:hover > a {
    color: var(--secondary);
}

.nav-links > li:hover > a::after {
    width: 100%;
}

/* Multi-level Dropdown Menu */
.dropdown {
    position: absolute;
    top: 80px;
    left: 0;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
}

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

.dropdown li {
    position: relative;
}

.dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    border-bottom: 1px solid transparent;
}

.dropdown a:hover {
    background-color: rgba(13, 148, 136, 0.05);
    color: var(--secondary);
    padding-left: 1.8rem;
}

/* Sub-dropdown */
.dropdown .submenu {
    position: absolute;
    right: 100%;
    left: auto;
    top: 0;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Sub-sub-dropdown */
.dropdown .submenu .sub-submenu {
    position: absolute;
    right: 100%;
    left: auto;
    top: 0;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1100;
}

.dropdown .submenu li:hover > .sub-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Hamburger Menu Toggler */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 34.375%; /* Responsive 1600x550 aspect ratio (550 / 1600 = 34.375%) */
    background-color: var(--primary);
    color: var(--text-white);
    overflow: hidden;
}

.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 ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide .container {
    width: 100%;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-tag {
    background-color: var(--secondary);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.8);
}

.slider-controls {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

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

.slider-dot.active {
    background-color: var(--secondary);
    transform: scale(1.3);
}

/* Stats Section */
.stats-section {
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
    color: var(--text-white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.stats-glow-1 {
    position: absolute;
    top: -50px;
    left: 10%;
    width: 150px;
    height: 150px;
    background: var(--secondary);
    opacity: 0.15;
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.stats-glow-2 {
    position: absolute;
    bottom: -50px;
    right: 10%;
    width: 150px;
    height: 150px;
    background: #3b82f6;
    opacity: 0.15;
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 15px 35px -10px rgba(13, 148, 136, 0.25);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.12);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(13, 148, 136, 0.2);
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(13, 148, 136, 0.08);
}

.stat-card:hover .stat-icon-wrapper {
    background: var(--secondary);
    color: var(--text-white);
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.35);
    border-color: var(--secondary);
}

.stat-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-size: 3.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #a7f3d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Categories Carousel Styles */
.categories-carousel-wrapper {
    position: relative;
    padding: 0 3rem;
    margin-top: 3rem;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    flex: 0 0 calc((100% - 4.5rem) / 4); /* Displays 4 cards on desktop */
    min-width: 250px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.carousel-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 148, 136, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.carousel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.carousel-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.carousel-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.carousel-link:hover {
    gap: 0.75rem;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 6px 15px rgba(20, 184, 166, 0.3);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

@media (max-width: 1024px) {
    .carousel-card {
        flex: 0 0 calc((100% - 1.5rem) / 2); /* 2 cards on tablet */
    }
    .categories-carousel-wrapper {
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .carousel-card {
        flex: 0 0 100%; /* 1 card on mobile */
    }
    .categories-carousel-wrapper {
        padding: 0;
    }
    .carousel-btn {
        display: none; /* Hide buttons on mobile in favor of touch swipe if needed, or keep for tap */
    }
}

/* Featured Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.12); /* Subtle teal glow shadow */
    border-color: rgba(20, 184, 166, 0.3);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.product-card img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.15, 0.75, 0.5, 1);
}

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

.product-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(13, 148, 136, 0.85); /* Semi-transparent teal */
    backdrop-filter: blur(4px);
    color: var(--text-white);
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-category-tag {
    opacity: 1;
    transform: translateY(0);
}

.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary);
    line-height: 1.45;
    transition: color 0.25s ease;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.product-card-title a:hover {
    color: var(--secondary);
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 0.5rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.06);
    padding-top: 1.25rem;
}

.product-card-btn {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.25s ease;
}

.product-card-btn:hover {
    color: var(--primary);
}

/* Premium Button for Inquire */
.product-card-footer .btn-secondary {
    background-color: var(--secondary) !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 30px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.2);
    transition: all 0.25s ease !important;
}

.product-card-footer .btn-secondary:hover {
    background-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
    transform: translateY(-1px);
}

/* Why Choose Us & About Section */
.about-section {
    background-color: var(--card-bg);
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-box {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-box img {
    width: 100%;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature-icon {
    color: var(--secondary);
    flex-shrink: 0;
}

.about-feature-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-feature-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Certificates Grid Section */
.cert-section {
    background-color: var(--background);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.cert-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem auto;
    color: var(--secondary);
}

.cert-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact & Info Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-panel {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-info-icon {
    color: var(--secondary);
    flex-shrink: 0;
}

.contact-info-text strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
}

.contact-form-panel {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer Section */
.footer {
    background-color: #0f172a;
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand-title {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand-desc {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-title {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

/* Unique Visitor Metrics Badge (AdBlock-Safe) */
.ds-metrics-wrap,
.visitor-counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ds-metrics-pill,
.visitor-counter-card {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 50px;
    padding: 0.55rem 1.35rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 16px rgba(13, 148, 136, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.ds-metrics-pill:hover,
.visitor-counter-card:hover {
    border-color: rgba(45, 212, 191, 0.6);
    box-shadow: 0 8px 25px -2px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 24px rgba(13, 148, 136, 0.35);
    transform: translateY(-2px);
}

.ds-metrics-head,
.visitor-counter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ds-pulse-dot,
.visitor-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px #10b981;
    animation: dsPulseGlow 2s infinite ease-in-out;
}

@keyframes dsPulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.ds-metrics-title,
.visitor-counter-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.ds-digits-stream,
.visitor-digits-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ds-num-tile,
.visitor-digit-tile {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 34px;
    background: linear-gradient(180deg, #1e293b 0%, #090e17 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #ffffff;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    user-select: none;
    letter-spacing: normal;
}

.ds-num-tile::after,
.visitor-digit-tile::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

@media (max-width: 576px) {
    .ds-metrics-pill,
    .visitor-counter-card {
        gap: 0.75rem;
        padding: 0.5rem 1rem;
    }
    .ds-metrics-title,
    .visitor-counter-title {
        font-size: 0.78rem;
    }
    .ds-num-tile,
    .visitor-digit-tile {
        width: 23px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Catalog Page Custom Styles */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.filter-sidebar {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 90px;
    align-self: start;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.filter-category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
}

.filter-category-list li.active a,
.filter-category-list a:hover {
    background-color: rgba(13, 148, 136, 0.08);
    color: var(--secondary);
    font-weight: 600;
}

.filter-search-box {
    margin-bottom: 2rem;
}

/* Product Detail Page Custom Styles */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-detail-gallery {
    position: sticky;
    top: 90px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-gallery-image {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-gallery-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-gallery-image:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.main-gallery-image:hover img {
    transform: scale(1.03);
}

.gallery-zoom-badge {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.main-gallery-image:hover .gallery-zoom-badge {
    background: var(--secondary);
    transform: scale(1.1);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gallery-thumb-item {
    width: 75px;
    height: 75px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.25rem;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gallery-thumb-item:hover,
.gallery-thumb-item.active {
    border-color: var(--secondary);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.gallery-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-detail-cat {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.product-detail-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.product-detail-tabs {
    margin-top: 3rem;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.tab-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.spec-table tr:last-child td {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--primary);
    width: 35%;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

/* Breadcrumb navigation */
.breadcrumb-wrapper {
    background-color: #f1f5f9;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 0.5rem;
}

.breadcrumb-list li:last-child::after {
    content: '';
}

.breadcrumb-list a:hover {
    color: var(--secondary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .contact-grid,
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .about-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .slide-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--card-bg);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links > li {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links > li > a {
        padding: 1rem 0;
        width: 100%;
    }
    
    .nav-links > li > a::after {
        display: none;
    }
    
    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1.5rem;
        display: none;
    }
    
    .nav-links > li.active-dropdown > .dropdown {
        display: block;
    }
    
    .dropdown .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1.5rem;
        display: none;
    }
    
    .dropdown > li.active-dropdown > .submenu {
        display: block;
    }
    
    .hero-slider {
        height: auto;
    }
    
    .slide-title {
        font-size: 2.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* About Section Grid Layout */
.about-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-badge-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.about-badge-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

@media (max-width: 991px) {
    .about-section-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Certifications Grid Styles */
.certificate-item {
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.certificate-img-container {
    position: relative;
    background-color: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: var(--transition);
}

.certificate-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 148, 136, 0.75); /* Teal overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-item:hover .certificate-img-container {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.certificate-item:hover .certificate-thumb {
    transform: scale(1.05);
}

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

.certificate-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.certificate-item:hover .certificate-label {
    color: var(--secondary);
}

.certificate-sublabel {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lightbox Modal CSS */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.95); /* Slate backdrop */
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cert-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.cert-modal-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomModal 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cert-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 4px solid white;
    object-fit: contain;
}

.cert-modal-caption {
    margin-top: 1rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.cert-modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f5f9;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10100;
}

.cert-modal-close:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

@keyframes zoomModal {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* Product Specification Table */
.product-detail-desc table,
.product-specifications {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 25px 0 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07) !important;
    }

/* Table Rows */
.product-detail-desc table tr,
.product-specifications tr {
    transition: all 0.25s ease !important;
}

/* Left Column */
.product-detail-desc table th,
.product-specifications th {
    width: 38% !important;
    padding: 15px 20px !important;
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    background: #f5f7fa !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
}

/* Right Column */
.product-detail-desc table td,
.product-specifications td {
    padding: 15px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
}

/* Hover Effect */
.product-detail-desc table tr:hover th,
.product-specifications tr:hover th,
.product-detail-desc table tr:hover td,
.product-specifications tr:hover td {
    background: #eef7ff !important;
}

/* Remove Bottom Border */
.product-detail-desc table tr:last-child th,
.product-specifications tr:last-child th,
.product-detail-desc table tr:last-child td,
.product-specifications tr:last-child td {
    border-bottom: none !important;
}

/* Rounded Top Corners */
.product-detail-desc table tr:first-child th,
.product-specifications tr:first-child th {
    border-top-left-radius: 12px !important;
}

.product-detail-desc table tr:first-child td,
.product-specifications tr:first-child td {
    border-top-right-radius: 12px !important;
}

/* Rounded Bottom Corners */
.product-detail-desc table tr:last-child th,
.product-specifications tr:last-child th {
    border-bottom-left-radius: 12px !important;
}

.product-detail-desc table tr:last-child td,
.product-specifications tr:last-child td {
    border-bottom-right-radius: 12px !important;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .product-detail-desc table,
    .product-specifications {
        font-size: 13px !important;
        margin: 15px 0 !important;
    }

    .product-detail-desc table th,
    .product-specifications th,
    .product-detail-desc table td,
    .product-specifications td {
        padding: 12px 14px !important;
        font-size: 13px !important;
    }

    .product-detail-desc table th,
    .product-specifications th {
        width: 42% !important;
    }
}

/* Very Small Screens */
@media (max-width: 400px) {
    .product-detail-desc table th,
    .product-specifications th,
    .product-detail-desc table td,
    .product-specifications td {
        padding: 10px !important;
        font-size: 12px !important;
    }

    .product-detail-desc table th,
    .product-specifications th {
        width: 45% !important;
    }
}

/* Featured Products Carousel Styles */
.products-carousel-wrapper {
    position: relative;
    padding: 0 3rem;
    margin-top: 3rem;
}

.products-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.products-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.products-carousel-card {
    flex: 0 0 calc((100% - 3rem) / 3); /* Displays 3 cards on desktop */
    min-width: 290px;
    box-sizing: border-box;
}

/* Products Carousel Buttons */
.products-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 10;
}

.products-carousel-btn:hover {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 6px 15px rgba(20, 184, 166, 0.3);
}

.products-carousel-btn.prev {
    left: 0;
}

.products-carousel-btn.next {
    right: 0;
}

@media (max-width: 1024px) {
    .products-carousel-card {
        flex: 0 0 calc((100% - 1.5rem) / 2); /* 2 cards on tablet */
    }
    .products-carousel-wrapper {
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .products-carousel-card {
        flex: 0 0 100%; /* 1 card on mobile */
    }
    .products-carousel-wrapper {
        padding: 0;
    }
    .products-carousel-btn {
        display: none; /* Hide buttons on mobile in favor of touch swipe if needed, or keep for tap */
    }
}

/* Floating WhatsApp Styles */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9999;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: white;
}

/* ========================================================
   Blog Section & Article Styling
   ======================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.3);
}

.blog-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.15, 0.75, 0.5, 1);
}

.blog-card:hover .blog-card-img-wrapper img {
    transform: scale(1.08);
}

.blog-card-body,
.blog-card-content {
    padding: 1.85rem 1.85rem 2rem 1.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--primary);
    transition: color 0.25s ease;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-card-title a:hover {
    color: var(--secondary);
}

.blog-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--primary);
    gap: 0.6rem;
}

/* Single Blog Article Page */
.blog-article-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.blog-article-main {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.blog-article-hero {
    width: 100%;
    max-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: #f8fafc;
}

.blog-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-article-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}

.blog-article-content p {
    margin-bottom: 1.5rem;
}

.blog-article-content h2,
.blog-article-content h3 {
    color: var(--primary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 1.25rem 0 1.75rem 1.5rem;
    line-height: 1.75;
}

.blog-article-content li {
    margin-bottom: 0.5rem;
}

.blog-sidebar-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.blog-sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumb {
    width: 75px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.recent-post-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recent-post-info h4 a:hover {
    color: var(--secondary);
}

.recent-post-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .blog-article-layout {
        grid-template-columns: 1fr;
    }
    .blog-article-main {
        padding: 2rem 1.5rem;
    }
    .blog-article-title {
        font-size: 1.75rem;
    }
}

/* ========================================================
   International Telephone Input (Country Flag & Mobile Field)
   ======================================================== */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti input.form-control,
.iti input[type="tel"] {
    width: 100% !important;
    padding-left: 56px !important;
    font-size: 0.95rem;
}

.iti__country-list {
    z-index: 99999 !important;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.9rem;
    max-height: 220px !important;
}

.phone-error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: none;
    font-weight: 500;
}

/* ========================================================
   Form CAPTCHA Box
   ======================================================== */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.captcha-img-box {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2px;
    overflow: hidden;
    user-select: none;
}

.captcha-img-box img {
    display: block;
    height: 40px;
    border-radius: 4px;
}

.captcha-refresh-btn {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 6px;
    height: 42px;
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.captcha-refresh-btn:hover {
    background: #e2e8f0;
    color: var(--primary);
    transform: rotate(45deg);
}

.captcha-input-field {
    flex: 1;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
