/* 
 * Ensureify - Insurance Broker Website
 * Primary Color: #16244d
 * Secondary Color: #fdc700
 * Fonts: 'Space Grotesk' for headings, 'Inter' for body
 */

:root {
    color-scheme: light only;
    --primary-color: #16244d;
    --secondary-color: #fdc700;
    --accent-color: #1e3a8a;
    --light-color: #f8f9fa;
    --dark-color: #121212;
    --gray-light: #f1f5f9;
    --gray-medium: #94a3b8;
    --gray-dark: #64748b;
    --white: #ffffff;
    --black: #000000;
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px !important;
}

/* Common Classes */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--gray-light) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-white {
    color: var(--white) !important;
}

.btn {
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: #f0b800;
    border-color: #f0b800;
    color: var(--primary-color);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-padding {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 1024px;
    margin: 0 auto 2rem;
}

.overview-image img {
    width: 100%;
}

/* Header Styles */
.header {
    padding: 15px 0;
    transition: var(--transition);
    z-index: 1000;
}

.header.transparent {
    background-color: transparent;
}

.page-home .header.transparent {
    background-color: transparent;
}

.page-home .header.transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
}

.page-home .header.transparent .navbar-toggler .navbar-toggler-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(21deg) brightness(102%) contrast(105%);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.header.scrolled .navbar-nav .nav-link {
    color: var(--primary-color);
}

.header.scrolled .btn-contact {
    background-color: var(--primary-color);
    color: var(--white);
}

.navbar-brand .logo {
    max-height: 48px;
    filter: brightness(0) invert(1);
}

.header.scrolled .navbar-brand .logo {
    max-height: 48px;
    filter: unset;    
}

.navbar-nav .nav-item.px-2 {
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    padding: 0.5rem 0;
    position: relative;

    &.show {
        color: var(--white);
    }
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.header.scrolled .navbar-nav .nav-link {
    color: var(--primary-color);
}

.header.scrolled .navbar-nav .nav-link:hover,
.header.scrolled .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.btn-contact {
    padding: 8px 24px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-get-started {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 14px 30px;
}

.btn-get-started:hover {
    background-color: #f0b800;
    border-color: #f0b800;
    color: var(--primary-color);
}

.btn-watch-video {
    padding: 14px 30px;
    font-weight: 600;
}

.hero-image {
    position: relative;
    z-index: 2;
}

/* Stats Section */
.stats-section {
    background-color: var(--gray-light);
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    font-weight: 600;
}

/* About Section */
.about-section {
    background-color: #F0F4FF;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: #dee7ff;
    padding: 30px;
}

.image-content {
    background-color: transparent;
    color: var(--primary-color);
    padding-top: 1rem;
    text-align: center;
}

.image-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.image-content p {
    color: var(--gray-dark);
    margin-bottom: 0;
    font-size: 1rem;
}

.about-points {
    margin-bottom: 30px;
}

.about-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.point-icon {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    border: 2px solid var(--primary-color);
}

.point-icon i {
    font-size: .75rem;
    color: var(--primary-color);
}

.point-content h5 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.point-content p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

.btn-learn-more {
    margin-top: 20px;
}

/* Partners Section */
.partners-section {
    background-color: var(--gray-light);
}

.partner-logo {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);

    img {
        max-height: 80px;
    }
}

.partner-logo:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.logo-placeholder {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Services Section */
.services-section {
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-content {
    padding: 24px 0;
}

.service-content h4 {
    margin-bottom: 15px;
    text-align: left;
}

.service-content p {
    text-align: left;
}

/* Services Category */
.services-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.service-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.service-tags .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border: 1px solid var(--gray-medium);
}

/* Why Choose Section */
.why-choose-section {
    background-color: var(--white);
}

.feature-card {
    background-color: transparent;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: none;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-blue {
    background-color: #e3f2fd;
}

.icon-blue i {
    color: #1976d2;
    font-size: 2.2rem;
}

.icon-green {
    background-color: #e8f5e9;
}

.icon-green i {
    color: #388e3c;
    font-size: 2.2rem;
}

.icon-orange {
    background-color: #fff3e0;
}

.icon-orange i {
    color: #f57c00;
    font-size: 2.2rem;
}

.feature-card h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Testimonials Section */
.testimonials-section {
}

.testimonial-item {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 0 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 10px;
    line-height: 1;
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    order: 2;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 20px;
    font-style: italic;
    min-height: 120px;
    order: 3;
}

.testimonial-author {
    order: 4;
    margin-top: auto;
}

.testimonial-author h5 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.testimonial-author p {
    color: var(--gray-dark);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.btn-slider {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-slider:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-accordion .accordion-item {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    padding: 20px 25px;
    font-size: 1.1rem;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    display: none;
}

.faq-accordion .accordion-button.collapsed .accordion-icon {
    transform: rotate(0deg);
}

.faq-accordion .accordion-button .accordion-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
    font-size: 1rem;
    color: var(--primary-color);
}

.accordion-question {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.faq-accordion .accordion-body {
    padding: 20px 25px;
    background-color: var(--white);
    border-top: 1px solid var(--gray-medium);
    color: var(--gray-dark);
}

/* Blog Section */
.blog-section {
    background-color: var(--gray-light);
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-content h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-content p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--secondary-color);
}

.btn-view-all {
    padding: 12px 35px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background-color: #182955;
    color: var(--white);
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 16px 35px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-cta-primary:hover {
    background-color: #f0b800;
    border-color: #f0b800;
    color: var(--primary-color);
}

.btn-cta-secondary {
    padding: 16px 35px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-cta-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 4rem;
}

.footer-logo img {
    max-width: 200px;
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h5 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-about {
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}
.contact-details {
    .social-icons a {
        background-color: var(--primary-color);
    }
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 0;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 10px;
}

.footer-contact {
    padding-left: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.newsletter-section {
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content h6 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.newsletter-form .form-control {
    height: 55px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border: none;
    padding: 0 20px;
    font-size: 1rem;
}

.newsletter-form .btn {
    height: 55px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 30px;
}

.footer-bottom {
    padding: 30px 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ========== MEGA DROPDOWN MENU - DESKTOP ONLY ========== */
.dropdown-mega {
    position: static !important;
}

.dropdown-mega .dropdown-mega-menu {
    width: 100%;
    max-width: 100%;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    margin-top: 10px;
    padding: 30px !important;
    background-color: var(--white);
    z-index: 1050;
}

.dropdown-mega-menu .container {
    max-width: 1200px;
    margin: 0 auto;
}

.dropdown-header {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 8px;
}

.dropdown-item-group {
    margin-bottom: 10px;
}

.dropdown-item-group .dropdown-item {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
    margin-bottom: 5px;
    display: block;
    width: 100%;
}

.dropdown-item-group .dropdown-item:hover,
.dropdown-item-group .dropdown-item.active {
    background-color: #F0F4FF;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-icon i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.dropdown-item-group .dropdown-item h6 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.dropdown-item-group .dropdown-item small {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.dropdown-mega-menu .border-start {
    border-left: 1px solid var(--gray-medium) !important;
    padding-left: 30px !important;
}

.dropdown-mega-menu .btn {
    padding: 10px 20px;
}

/* Page Header */
.page-header h1 {
    color: var(--white);
}

.page-header img.img-fluid {
    display: inline-flex;
    border-radius: var(--bs-border-radius-xl)!important;
}

/* Service Content */
.feature-box {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.cta-box {
    background-color: var(--primary-color);
}

/* Sidebar */
.sidebar .card {
    border-radius: var(--border-radius);
}

/* Blog Styles */
.featured-post .card {
    transition: transform 0.3s ease;
}

.featured-post .card:hover {
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.featured-badge .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Blog Cards */
.blog-card {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
}

/*.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}*/

.blog-card:hover .read-more::after {
    transform: translateY(-50%) translateX(5px);
}

/* ========== BLOG DATE - COMPLETE FIXED VERSION ========== */
.blog-date {
    position: absolute;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    z-index: 10;
    line-height: 1.4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-card .blog-date {
    top: 15px;
    left: 15px;
    bottom: auto;
    padding: 8px 12px;
    min-width: 55px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.8rem;
}

.blog-card .blog-date .day {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 2px;
}

.blog-card .blog-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    line-height: 1;
}

.blog-single .blog-date,
.post-info .blog-date {
    position: static;
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-size: 0.85rem;
    margin-right: 10px;
}

.featured-post .blog-date {
    bottom: 20px;
    left: 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 6px 18px;
}

/* Sidebar Widgets */
.blog-sidebar .widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
}

/* Search Widget */
.search-form .input-group {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-form .form-control {
    border-right: none;
}

.search-form .btn {
    border-left: none;
    padding-left: 20px;
    padding-right: 20px;
}

/* Categories Widget */
.categories-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: var(--primary-color);
}

.categories-list .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

/* Recent Posts Widget */
.recent-post {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content h6 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.recent-post-content h6 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h6 a:hover {
    color: var(--secondary-color);
}

.recent-post-content .text-muted {
    font-size: 0.85rem;
}

/* Newsletter Widget */
.newsletter-widget .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--dark-color);
}

.newsletter-widget .btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
}

.newsletter-widget .btn-light:hover {
    background-color: var(--secondary-color);
}

/* Tags Widget */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    background-color: var(--gray-light);
    color: var(--dark-color);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid var(--gray-medium);
    margin: 0 3px;
    border-radius: var(--border-radius);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .page-link:hover {
    background-color: var(--gray-light);
    border-color: var(--primary-color);
}

/* ========== BLOG DETAILS PAGE ========== */
.blog-single {
    padding: 30px 0;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.post-meta .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.post-stats {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.post-info {
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: var(--border-radius);
}

.post-info .badge {
    font-size: 0.9rem;
    padding: 6px 12px;
}

.social-share .social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin: 0 3px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
}

.social-share .social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h2 {
    font-size: 1.8rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.3rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content ul li::marker {
    color: var(--primary-color);
}

.post-content ol li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

.post-content .alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 20px;
    margin: 2rem 0;
}

.post-content .alert-info {
    background-color: #e3f2fd;
    color: #0c5460;
}

.post-content .alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.post-tags .tags-list {
    margin-top: 10px;
}

.author-bio {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.author-bio img {
    border: 4px solid var(--primary-color);
}

.author-social .btn {
    border-radius: 30px;
    padding: 6px 15px;
    font-size: 0.9rem;
}

.comment {
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
}

.comment-avatar img {
    border: 2px solid var(--primary-color);
}

.comment-content h6 {
    color: var(--primary-color);
    font-size: 1rem;
}

.add-comment .form-control {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
}

.add-comment .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 36, 77, 0.1);
}

.post-navigation-widget .nav-prev,
.post-navigation-widget .nav-next {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.post-navigation-widget .nav-prev:hover,
.post-navigation-widget .nav-next:hover {
    color: var(--primary-color);
}

.nav-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-post {
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-10px);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post:hover .related-image img {
    transform: scale(1.05);
}

.related-post .card-body {
    padding: 25px;
}

.related-post .card-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.related-post .card-text {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.blog-single {
    padding: 80px 0;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.blog-meta span {
    margin-right: 20px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content img {
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.tag {
    background-color: var(--gray-light);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-medium);
}

.post-nav-link {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    max-width: 300px;
}

.post-nav-link:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.post-nav-content h6 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.post-nav-content span {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

/* Contact Page */
.contact-info-box {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info-box:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(22, 36, 77, 0.1);
}

/* Claims Page */
.claims-process {
    position: relative;
    padding: 30px 0 20px;
    margin-bottom: 30px;
}

.process-step {
    position: relative;
    z-index: 2;
    height: 100%;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color), 0 5px 15px rgba(0,0,0,0.1);
}

.process-step .step-content {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
}

.process-step:hover .step-content {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, var(--secondary-color), #ffd700);
    color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--secondary-color), 0 5px 15px rgba(0,0,0,0.1);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.process-line {
    position: absolute;
    top: 54px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(to right, 
        transparent 0%, 
        var(--primary-color) 10%, 
        var(--primary-color) 90%, 
        transparent 100%);
    z-index: 1;
}

/*.process-line::before,
.process-line::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}*/

.process-line::before {
    left: 10%;
}

.process-line::after {
    right: 10%;
}

/* Complaints Procedure */
.complaints-procedure {
    position: relative;
    margin-top: 30px;
}

.step-by-step {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.step {
    flex: 1 1 300px;
    max-width: 380px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.step-header {
    padding: 25px 25px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.step .step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color), 0 3px 10px rgba(0,0,0,0.1);
}

.step-header h4 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--primary-color);
}

.step p {
    padding: 0 25px;
    margin: 15px 0;
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 20px 25px;
    margin: 0;
    border-top: 1px solid var(--gray-light);
}

.contact-info .row {
    margin: 0;
}

.contact-info .col-md-6 {
    padding: 5px 10px;
}

.contact-info p {
    padding: 0;
    margin-bottom: 8px;
    margin-top: 0;
}

/*.contact-info p:last-child {
    margin-bottom: 0;
}*/

.contact-info strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 3px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-info .badge {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 30px;
}

.contact-info .alert {
    margin-top: 15px;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--white);
}

.contact-info .alert h6 {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 991px) {
    .process-line {
        display: none;
    }
    
    .timeline-bar .row::before {
        display: none;
    }
    
    .timeline-point {
        margin-bottom: 20px;
    }
    
    .step {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .process-step {
        margin-bottom: 25px;
    }
    
    .process-step .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .step-header h4 {
        font-size: 1.1rem;
    }
    
    .step p {
        text-align: center;
        padding: 0 20px;
    }
    
    .contact-info .row .col-md-6 {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .contact-info .badge {
        display: block;
        text-align: center;
    }
}

/* Animation for steps */
@keyframes stepPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 36, 77, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(22, 36, 77, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 36, 77, 0);
    }
}

.process-step .step-number {
    animation: stepPulse 2s infinite;
}

.process-step:nth-child(2) .step-number {
    animation-delay: 0.3s;
}

.process-step:nth-child(3) .step-number {
    animation-delay: 0.6s;
}

.process-step:nth-child(4) .step-number {
    animation-delay: 0.9s;
}

.process-step .step-content:hover {
    border-color: var(--secondary-color);
}

.process-step .step-content:hover::before {
    border-color: var(--secondary-color);
}

.step:hover {
    border-left-color: var(--secondary-color);
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 1rem;
    line-height: 1.7;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.complaints-procedure .step {
    margin-bottom: 30px;
}

.complaints-procedure .step:last-child {
    margin-bottom: 0;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-active {
    background-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.5);
}

.status-pending {
    background-color: #f39c12;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

.status-completed {
    background-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.timeline-summary {
    margin-top: 40px;
    background-color: var(--white);
    border-radius: 50px;
    padding: 25px 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-medium);
}

.timeline-bar {
    position: relative;
    background: transparent !important;
    padding: 10px 0 !important;
}

.timeline-bar .row {
    position: relative;
    align-items: center;
}

.timeline-bar .row::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(to right, 
        var(--primary-color) 0%, 
        var(--primary-color) 25%,
        var(--gray-medium) 25%,
        var(--gray-medium) 50%,
        var(--gray-medium) 50%,
        var(--gray-medium) 75%,
        var(--gray-medium) 75%,
        var(--gray-medium) 100%);
    border-radius: 2px;
    z-index: 1;
}

.timeline-point {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 5px;
}

.point-indicator {
    width: 24px;
    height: 24px;
    background-color: var(--white);
    border: 3px solid var(--gray-medium);
    border-radius: 50%;
    margin: 0 auto 12px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-point.active .point-indicator {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(22, 36, 77, 0.15);
    transform: scale(1.1);
}

.timeline-point h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-point small {
    font-size: 0.85rem;
    color: var(--gray-dark);
    display: block;
}

.badge {
    padding: 6px 12px;
    font-weight: 500;
}

.contact-info .row {
    align-items: center;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* About Us Page Styles */
.about-story {
    padding-right: 30px;
}

.milestone {
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.milestone h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.mission-card, .vision-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    box-shadow: var(--shadow);
}

.mission-card ul li, .vision-card ul li {
    padding-left: 10px;
}

.vision-points .vision-point {
    background-color: var(--gray-light);
    padding: 15px;
    border-radius: var(--border-radius);
    height: 100%;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.value-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.team-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border: 1px solid var(--primary-color);
    padding: 5px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
    height: 100%;
}

/* Contact Page Styles */
.contact-info-box {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-form-container {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid var(--gray-medium);
    padding: 12px 15px;
    border-radius: var(--border-radius);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 36, 77, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.map-container iframe {
    filter: grayscale(20%);
}

.contact-faq .accordion-item {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.contact-faq .accordion-button {
    font-weight: 600;
    padding: 20px;
    background-color: var(--white);
}

.contact-faq .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-faq .accordion-body {
    padding: 20px;
    background-color: var(--gray-light);
}

/* ========== INNER PAGES HEADER STYLING ========== */
body:not(.page-home) .header {
    background-color: var(--white) !important;
    box-shadow: var(--shadow) !important;
    position: sticky;
}

body:not(.page-home) .header .navbar-nav .nav-link {
    color: var(--primary-color) !important;
}

body:not(.page-home) .header .navbar-nav .nav-link:hover,
body:not(.page-home) .header .navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

body:not(.page-home) .header .navbar-brand .logo {
    filter: none !important;
}

body:not(.page-home) .header .btn-contact {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* ========== STANDARDIZED SECTION PADDING ========== */
section {
    padding: 32px 0;
}

.hero-section {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
}

.hero-section + section {
    padding-top: 48px !important;
}

/* ========== SERVICE DETAILS PAGE STYLES ========== */
.overview-point {
    padding: 10px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.overview-point:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.service-type-card {
    transition: var(--transition);
}

.service-type-card:hover {
    transform: translateY(-5px);
}

.service-type-card .card {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

.service-type-card ul li {
    font-size: 0.95rem;
}

.feature-box {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-box:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-box:hover .feature-icon i {
    color: var(--white);
}

.feature-box .feature-icon i {
    transition: color 0.3s ease;
}

.rider-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.rider-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.rider-card h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.eligibility-box, .documents-box {
    height: 100%;
}

.eligibility-box ul li, .documents-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.eligibility-box ul li:last-child, .documents-box ul li:last-child {
    border-bottom: none;
}

.documents-box ul li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.process-step-simple .step-number-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.quote-form-container {
    border: 1px solid var(--gray-medium);
}

/* ========== CAREER PAGES STYLES ========== */
.why-join-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-join-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.join-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.culture-point {
    padding: 15px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.culture-point:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.job-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.job-type {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-type.bg-success {
    background-color: #28a745 !important;
}

.job-type.bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
}

.job-filter {
    border: 1px solid var(--gray-medium);
}

.perk-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.perk-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.perk-card:hover .perk-icon i {
    color: var(--white);
}

.perk-icon i {
    transition: color 0.3s ease;
}

.job-quick-info {
    border: 1px solid var(--gray-medium);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--gray-light);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--gray-medium);
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.similar-job:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.similar-job h6 a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.similar-job h6 a:hover {
    color: var(--secondary-color);
}

.not-finding-card {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
}

/* ========== HOME INSURANCE PAGE STYLES ========== */
.coverage-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.coverage-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.coverage-icon {
    width: 50px;
    height: 50px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exclusions-box {
    border: 1px solid var(--gray-medium);
}

/* ========== PERSONAL ACCIDENT PAGE STYLES ========== */
.coverage-type-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.coverage-type-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.sum-card {
    background-color: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.sum-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.sum-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.premium-amount {
    font-size: 1.1rem;
}

.benefit-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.reason-card {
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
    height: 100%;
}

.reason-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* ========== PRODUCT LISTING PAGES STYLES ========== */
.category-header {
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.category-header .badge {
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 30px;
}

.industry-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.industry-card i {
    transition: color 0.3s ease;
}

.industry-card:hover i {
    color: var(--secondary-color) !important;
}

.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    border: none;
    padding: 15px;
    font-weight: 600;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: var(--gray-light);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
}

/* ========== GROUP INSURANCE PAGES STYLES ========== */
.plan-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.rider-card {
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.rider-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stats-box {
    border: 1px solid var(--gray-medium);
}

.stats-box .display-5 {
    font-size: 3rem;
    font-weight: 700;
}

.reason-point {
    align-items: flex-start;
}

.reason-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hospital-card {
    transition: var(--transition);
}

.hospital-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

/* ========== CORPORATE TRAVEL PAGE STYLES ========== */
.destination-card {
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

/* ========== D&O PAGE STYLES ========== */
.who-card {
    transition: var(--transition);
}

.who-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

.who-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.coverage-section-card {
    position: relative;
    transition: var(--transition);
}

.coverage-section-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow-hover);
}

.coverage-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.covered-box {
    transition: var(--transition);
}

.covered-box:hover {
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

/* ========== PROFESSIONAL INDEMNITY PAGE STYLES ========== */
.profession-card {
    transition: var(--transition);
}

.profession-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

.profession-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.industry-coverage-card {
    transition: var(--transition);
}

.industry-coverage-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

/* ========== MARINE CARGO PAGE STYLES ========== */
.coverage-type-card {
    transition: var(--transition);
}

.coverage-type-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

.risk-card {
    transition: var(--transition);
}

.risk-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

.risk-icon {
    width: 60px;
    height: 60px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-card {
    transition: var(--transition);
}

.policy-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
}

.policy-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ========== LEGAL PAGES STYLES ========== */

/* Sidebar Navigation */
.legal-sidebar .card {
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-medium);
}

.legal-sidebar .nav-pills .nav-link {
    color: var(--dark-color);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.legal-sidebar .nav-pills .nav-link:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.legal-sidebar .nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Legal Content */
.legal-content {
    border: 1px solid var(--gray-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-content h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.legal-content h5 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-content .list-unstyled {
    padding-left: 0;
    list-style-type: none;
}

.legal-content .list-unstyled li {
    margin-bottom: 10px;
}

/* Contact Cards */
.contact-card {
    background-color: var(--white);
    transition: var(--transition);
    border: 1px solid var(--gray-medium) !important;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color) !important;
}

.contact-card i {
    font-size: 1.5rem;
}

.contact-card h6 {
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-card a {
    color: var(--dark-color);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* Partner Cards */
.partner-card {
    background-color: var(--white);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color) !important;
}

.partner-card h6 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.partner-card .small {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.partner-card a.small {
    color: var(--primary-color);
    text-decoration: none;
}

.partner-card a.small:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Cookie Settings Card */
.cookie-settings-card {
    background-color: var(--white);
}

/* Cookie Options */
.cookie-option {
    transition: var(--transition);
}

.cookie-option:hover {
    background-color: var(--gray-light);
}

/* Table Styles */
.legal-content .table {
    border: 1px solid var(--gray-medium);
}

.legal-content .table th {
    background-color: var(--gray-light);
    font-weight: 600;
}

/* Alert Styles */
.legal-content .alert {
    border-radius: var(--border-radius);
    border: none;
}

.legal-content .alert-info {
    background-color: #e3f2fd;
    color: #0c5460;
}

.legal-content .alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.legal-content .alert-light {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .legal-sidebar {
        position: static !important;
        margin-bottom: 30px;
    }
    
    .legal-sidebar .nav-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .legal-sidebar .nav-item {
        width: auto;
    }
    
    .legal-sidebar .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .legal-content {
        padding: 25px !important;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-sidebar .nav-pills {
        flex-direction: column;
    }
    
    .legal-sidebar .nav-item {
        width: 100%;
    }
    
    .cookie-settings-card {
        text-align: center;
    }
    
    .cookie-settings-card .text-lg-end {
        text-align: center !important;
    }
}

/* Video Modal Styles */
#videoModal .modal-content {
    background-color: transparent;
    box-shadow: none;
}

#videoModal .btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 1;
    background-size: 1.5em;
    margin-right: -10px;
    margin-top: -10px;
}

#videoModal .modal-header {
    padding: 10px 15px;
}

#videoModal .ratio {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}