/* 
   P.S.S. Insurance Broker Co., Ltd. - Style System
   Custom CSS for Redesigned Website
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --color-primary: #009640; /* Logo Green */
    --color-primary-dark: #006b2c;
    --color-primary-light: #e5f5ec;
    --color-secondary: #F9C80E; /* Gold/Yellow */
    --color-secondary-dark: #cca100;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #009640 0%, #005a26 100%);
    --gradient-accent: linear-gradient(135deg, #F9C80E 0%, #d8ac00 100%);
    --gradient-dark: linear-gradient(135deg, #162a1f 0%, #0a140f 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
    --gradient-card-hover: linear-gradient(135deg, #ffffff 0%, #eefbf4 100%);

    /* Neutrals */
    --color-dark: #1b2620;
    --color-dark-muted: #4e5c54;
    --color-light: #f5fbf7;
    --color-border: #e2ede7;
    --color-white: #ffffff;
    --color-shadow: rgba(0, 150, 64, 0.08);

    /* Fonts */
    --font-thai: 'Prompt', sans-serif;
    --font-eng: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-thai);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

li {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Common Styling */
section {
    padding: 90px 0;
    position: relative;
}

.section-bg-light {
    background: var(--gradient-light);
}

.section-bg-dark {
    background: var(--gradient-dark);
    color: var(--color-white);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-family: var(--font-eng);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-bg-dark .section-tag {
    color: var(--color-secondary);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: inherit;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.section-bg-dark .section-title::after {
    background-color: var(--color-secondary);
}

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

.section-bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 150, 64, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    color: var(--color-dark);
    box-shadow: 0 6px 20px rgba(249, 200, 14, 0.4);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    box-shadow: 0 6px 20px rgba(249, 200, 14, 0.3);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 14px;
    transition: var(--transition-normal);
}

.header-wrapper.sticky {
    padding-top: 8px;
}

.header-wrapper.sticky .main-header {
    min-height: 68px;
    box-shadow: 0 10px 35px rgba(11, 47, 28, 0.16);
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 10px 14px 10px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(5, 31, 18, 0.2);
    transition: var(--transition-normal);
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 276px;
    padding-right: 18px;
    margin-right: 16px;
    border-right: 1px solid var(--color-border);
}

.logo-container a {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.header-wrapper.sticky .logo-container img {
    transform: scale(0.96);
    transform-origin: left center;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.15vw, 18px);
    min-width: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--color-dark);
    font-size: 0.84rem;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

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

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

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

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

/* Nav Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 150, 64, 0.08);
    min-width: 240px;
    padding: 10px 0;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding-left: 28px;
}

/* Contact Badges in Nav */
.header-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    padding: 10px 15px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 150, 64, 0.14);
    box-shadow: 0 4px 14px rgba(0, 150, 64, 0.08);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-contact-btn i {
    font-size: 0.95rem;
}

.header-contact-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1010;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Hero Section / Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--color-dark);
}

.slide-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    width: 33.3333%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 25, 15, 0.85) 0%, rgba(10, 25, 15, 0.6) 50%, rgba(10, 25, 15, 0.4) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    transition-delay: 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-title span {
    color: var(--color-secondary);
}

.slide-description {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.arrow-prev {
    left: 30px;
}

.arrow-next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.dot.active {
    background: var(--color-secondary);
    width: 32px;
    border-radius: 6px;
}

/* Products & Services Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--color-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.product-card-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--color-primary-light);
    border-radius: 50%;
    opacity: 0.15;
    transition: var(--transition-slow);
    z-index: 0;
}

.product-icon-wrapper {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 150, 64, 0.15);
    background: var(--gradient-card-hover);
    border-color: rgba(0, 150, 64, 0.15);
}

.product-card:hover::before {
    height: 8px;
}

.product-card:hover .product-icon-wrapper {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: rotateY(180deg);
}

.product-card:hover .product-card-bg {
    transform: scale(2);
    opacity: 0.05;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-dark);
    position: relative;
    z-index: 1;
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-dark-muted);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.product-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.product-link i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

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

.product-card:hover .product-link i {
    transform: translateX(4px);
}

/* Why Choose Us Section */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.strengths-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 150, 64, 0.15);
}

.strengths-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.strengths-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 20px 30px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 150, 64, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.strengths-badge .num {
    font-family: var(--font-eng);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-secondary);
}

.strengths-badge .text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.strengths-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strength-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.strength-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px var(--color-shadow);
    border-color: rgba(0, 150, 64, 0.15);
}

.strength-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-normal);
}

.strength-item:hover .strength-icon {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: scale(1.05);
}

.strength-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.strength-info p {
    font-size: 0.95rem;
    color: var(--color-dark-muted);
}

/* Slider Base styles for Articles and Videos */
.slider-outer {
    position: relative;
    margin: 0 -12px;
}

.slider-wrapper {
    overflow: hidden;
    cursor: grab;
    padding: 15px 12px;
}

.slider-wrapper:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 24px;
}

.slider-slide {
    flex-shrink: 0;
    width: calc(33.333% - 16px); /* Default 3 columns */
}

/* Article Card */
.article-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--color-shadow);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 150, 64, 0.12);
    border-color: rgba(0, 150, 64, 0.12);
}

.article-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #eaeaea;
}

.article-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-img-wrapper img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 150, 64, 0.2);
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    font-family: var(--font-eng);
    font-size: 0.8rem;
    color: var(--color-dark-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2rem;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--color-dark-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.article-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.article-link i {
    transition: var(--transition-fast);
}

.article-card:hover .article-link i {
    transform: translateX(4px);
}

/* Video Card (YouTube) */
.video-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--color-shadow);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 150, 64, 0.12);
}

.video-thumb-wrapper {
    position: relative;
    height: 200px;
    background: #000;
    overflow: hidden;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-slow);
}

.video-card:hover .video-thumb-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--color-white);
    color: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 2;
}

.video-play-btn i {
    transform: translateX(2px);
}

.video-card:hover .video-play-btn {
    background: #ff0000;
    color: var(--color-white);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-white);
    font-size: 0.75rem;
    font-family: var(--font-eng);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.video-content {
    padding: 20px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--color-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.1rem;
}

.video-channel {
    font-size: 0.85rem;
    color: var(--color-dark-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.video-channel i {
    color: #ff0000;
}

/* Slider Controls Common */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.slider-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 150, 64, 0.2);
}

.slider-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    background: #eaeaea !important;
    border-color: #eaeaea !important;
    color: #999 !important;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--color-shadow);
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(0, 150, 64, 0.15);
    box-shadow: 0 8px 25px rgba(0, 150, 64, 0.06);
}

.faq-header {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: var(--color-white);
    transition: var(--transition-normal);
}

.faq-item.active .faq-header {
    background: var(--color-primary-light);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    transition: var(--transition-fast);
}

.faq-item.active .faq-question {
    color: var(--color-primary-dark);
}

.faq-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-box {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 0 28px 25px;
    font-size: 0.95rem;
    color: var(--color-dark-muted);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    border-top-color: rgba(0, 150, 64, 0.05);
}

/* Contact Info Section */
.contact-section-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--color-white);
    padding: 25px 30px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px var(--color-shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-card-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.contact-card-details p {
    font-size: 0.95rem;
    color: var(--color-dark-muted);
}

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

.contact-card-details a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Map Wrapper */
.contact-map-wrapper {
    height: 100%;
    min-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 150, 64, 0.1);
    border: 1px solid var(--color-border);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* SEO Tags Section */
.seo-tags-container {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-white);
    text-align: center;
}

.seo-tags-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark-muted);
    margin-bottom: 20px;
    font-family: var(--font-eng);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seo-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.seo-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--color-light);
    color: var(--color-primary-dark);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.seo-pill:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 150, 64, 0.2);
    border-color: transparent;
}

/* Footer styles */
.footer-main {
    background: var(--gradient-dark);
    color: var(--color-white);
    padding: 80px 0 30px;
    position: relative;
    border-bottom: 6px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: min(100%, 350px);
    padding: 13px 15px 15px;
    margin-bottom: 22px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.footer-logo::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0 74%, var(--color-secondary) 74% 100%);
}

.footer-logo img {
    width: 100%;
    height: auto;
    margin: 0;
}

.footer-about p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 25px;
    line-height: 1.75;
    max-width: 360px;
}

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

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: var(--transition-normal);
}

.footer-social-icon:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-widget h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    font-size: 0.8rem;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-links a:hover::before {
    color: var(--color-secondary);
    opacity: 1;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--color-secondary);
    margin-top: 4px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px; /* Hidden initially */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 150, 64, 0.3);
    z-index: 999;
    transition: var(--transition-normal);
}

.scroll-to-top.show {
    right: 30px;
}

.scroll-to-top:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(249, 200, 14, 0.4);
}

/* YouTube Video Modal Player */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.video-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-modal-close:hover {
    background: #ff0000;
    border-color: #ff0000;
    transform: rotate(90deg);
}

.video-modal-container {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.video-modal.show .video-modal-container {
    transform: scale(1);
}

.video-modal-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Animations Trigger */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Micro-animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .slider-slide {
        width: calc(50% - 12px); /* 2 columns on tablets */
    }
    
    .strengths-grid {
        gap: 30px;
    }
}

@media (max-width: 1100px) {
    .header-wrapper {
        padding-top: 10px;
    }

    .main-header {
        min-height: 68px;
        padding: 9px 16px;
        border-radius: 16px;
    }

    .logo-container {
        width: 270px;
        padding-right: 0;
        margin-right: 0;
        border-right: 0;
    }

    section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .nav-menu {
        display: none; /* Controlled by mobile menu toggle */
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile Navigation Drawer */
    .mobile-menu-active .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
        padding: 90px 40px 40px;
        z-index: 1005;
        gap: 20px;
        align-items: flex-start;
        justify-content: flex-start;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    
    .mobile-menu-active.menu-open .nav-menu {
        right: 0;
    }

    /* Mobile Dropdown Styling */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .dropdown-trigger {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-dropdown .dropdown-trigger i {
        transform: rotate(-90deg); /* Turn chevron to point right/down */
        transition: var(--transition-fast);
        opacity: 0.5;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        padding: 5px 0 0 15px;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: transparent;
        border-left: 2px solid var(--color-primary-light);
        margin-top: 8px;
        z-index: auto;
    }

    .nav-dropdown .dropdown-item {
        padding: 6px 0;
        font-size: 0.85rem;
        color: var(--color-dark-muted);
    }

    .nav-dropdown .dropdown-item:hover {
        padding-left: 5px;
        color: var(--color-primary);
        background: transparent;
    }
    
    .mobile-menu-active.menu-open .hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-active.menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-active.menu-open .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .strengths-visual {
        max-height: 400px;
    }
    
    .contact-section-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map-wrapper {
        min-height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-wrapper .container {
        padding: 0 12px;
    }

    .main-header {
        min-height: 60px;
        padding: 8px 14px;
        border-radius: 14px;
    }

    .logo-container {
        width: min(230px, calc(100vw - 94px));
    }

    .mobile-menu-active .nav-menu {
        width: min(300px, 86vw);
    }

    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .arrow-prev {
        left: 15px;
    }
    
    .arrow-next {
        right: 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-slide {
        width: 100%; /* 1 column on mobile */
    }
    
    .faq-header {
        padding: 18px 20px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   PRODUCTS & SERVICES PAGE COMPONENTS (products.php)
   ========================================================================== */

/* Page Hero Banner */
.page-hero {
    padding: 170px 0 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--color-white);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 25, 15, 0.9) 0%, rgba(10, 25, 15, 0.65) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--color-secondary);
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--color-white);
}

.breadcrumbs span.divider {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs span.current {
    color: rgba(255, 255, 255, 0.7);
}

/* Alternating Detail Sections */
.product-detail-section {
    padding: 85px 0;
    border-bottom: 1px solid var(--color-border);
}

.product-detail-section:nth-child(even) {
    background-color: var(--color-light);
}

.product-detail-section:last-child {
    border-bottom: none;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    align-items: center;
}

.product-detail-visual {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--color-shadow);
    border: 1px solid var(--color-border);
    position: relative;
    aspect-ratio: 4/3;
    background-color: #eaeaea;
}

.product-detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-detail-section:hover .product-detail-visual img {
    transform: scale(1.03);
}

.product-detail-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-detail-info h2 i {
    color: var(--color-primary);
    font-size: 1.6rem;
}

.product-detail-desc {
    font-size: 1.05rem;
    color: var(--color-dark-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Feature bullet points */
.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.product-feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.product-feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 2px 6px rgba(0, 150, 64, 0.1);
}

.product-feature-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.product-feature-text p {
    font-size: 0.95rem;
    color: var(--color-dark-muted);
    line-height: 1.5;
}

/* Comparison Detail Table */
.products-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px var(--color-shadow);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--color-white);
}

.products-table th {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(0, 150, 64, 0.1);
}

.products-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-dark-muted);
    line-height: 1.5;
}

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

.products-table tr:hover td {
    background-color: rgba(0, 150, 64, 0.02);
}

/* Miscellaneous Grid */
.misc-hero-visual {
    height: 300px;
    margin: -15px 0 38px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(8, 53, 29, 0.14);
}

.misc-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.misc-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.misc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 150, 64, 0.12);
    border-color: rgba(0, 150, 64, 0.15);
    background: var(--gradient-card-hover);
}

.misc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.misc-card:hover .misc-card-icon {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.misc-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.misc-card-desc {
    font-size: 0.85rem;
    color: var(--color-dark-muted);
    line-height: 1.5;
}

/* Interactive Call to Action Banner */
.cta-banner-section {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 70px 0;
    text-align: center;
}

.cta-banner-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-white);
}

.cta-banner-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive adjustments for products page */
@media (max-width: 768px) {
    .page-hero {
        padding: 130px 0 60px;
    }
    .page-hero-title {
        font-size: 2rem;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-visual {
        aspect-ratio: 16/10;
        max-height: 300px;
    }
    /* Set details visual to top of content on mobile always */
    .order-reverse .product-detail-visual {
        order: -1;
    }
    .product-detail-info h2 {
        font-size: 1.5rem;
    }
    .misc-hero-visual {
        height: 220px;
        margin-bottom: 28px;
        border-radius: 16px;
    }
    .cta-banner-content h3 {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   MOTOR INSURANCE & SIDEBAR LAYOUTS (product-motor-insurance.php)
   ========================================================================== */

.single-product-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    padding: 80px 0;
}

.single-product-main h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.single-product-main p.subtitle {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 30px;
    font-family: var(--font-eng);
}

.single-product-main h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 40px 0 20px;
    padding-left: 12px;
    border-left: 4px solid var(--color-primary);
    color: var(--color-dark);
}

.single-product-main p {
    font-size: 1.05rem;
    color: var(--color-dark-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.single-product-main p strong {
    color: var(--color-dark);
}

/* Comparison Table styles */
.motor-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 25px var(--color-shadow);
}

.motor-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background-color: var(--color-white);
    min-width: 650px;
}

.motor-compare-table th {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    padding: 12px 10px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--color-border);
    vertical-align: middle;
}

.motor-compare-table td {
    padding: 16px 12px;
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-dark-muted);
    vertical-align: middle;
}

.motor-compare-table tr:hover td {
    background-color: rgba(0, 150, 64, 0.03);
}

.motor-compare-table th.header-title {
    font-size: 1rem;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.motor-compare-table th.subheader {
    font-size: 0.8rem;
    background-color: #f0f7f3;
}

.motor-compare-table td.row-header {
    font-weight: 600;
    color: var(--color-dark);
    background-color: var(--color-light);
    text-align: left;
    padding-left: 20px;
}

.motor-compare-table i.fa-circle-check {
    color: var(--color-primary);
    font-size: 1.35rem;
}

.motor-compare-table span.no-coverage {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 1.1rem;
}

.table-notes {
    font-size: 0.9rem;
    color: var(--color-dark-muted);
    line-height: 1.6;
    margin-top: 15px;
    padding: 15px 20px;
    background-color: var(--color-light);
    border-radius: 8px;
    border-left: 3px solid var(--color-secondary);
}

/* Sidebar Styling */
.sidebar-widget {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px var(--color-shadow);
}

.sidebar-widget .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--color-primary);
}

.sidebar-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-dark-muted);
    line-height: 1.5;
}

.sidebar-contact-item i {
    color: var(--color-primary);
    margin-top: 3px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-contact-item strong {
    color: var(--color-dark);
}

/* Sidebar Product list previews */
.recent_posts_list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recent_posts_list li a {
    display: block;
}

.sidebar-product-row {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--color-border);
    transition: var(--transition-fast);
}

.recent_posts_list li:last-child .sidebar-product-row {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-product-thumb {
    width: 80px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.sidebar-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.sidebar-product-row:hover .sidebar-product-thumb img {
    transform: scale(1.08);
}

.sidebar-product-details {
    flex-grow: 1;
}

.sidebar-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    transition: var(--transition-fast);
}

.sidebar-product-row:hover .sidebar-product-name {
    color: var(--color-primary);
}

/* Responsive sidebar */
@media (max-width: 991px) {
    .single-product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0;
    }
}

