/* Color tokens & Design system variables */
:root {
    --vpi-primary: #0c2340;
    --vpi-primary-light: #1d3557;
    --vpi-secondary: #c5a880;
    --vpi-secondary-dark: #b08e5c;
    --vpi-accent: #ff5e3a;
    --vpi-text-dark: #1f2937;
    --vpi-text-light: #ffffff;
    --vpi-text-muted: #6b7280;
    --vpi-bg-light: #f3f4f6;
    --vpi-bg-card: rgba(255, 255, 255, 0.98);
    --vpi-radius: 16px;
    --vpi-radius-sm: 8px;
    --vpi-shadow: 0 10px 30px rgba(12, 35, 64, 0.05);
    --vpi-shadow-lg: 0 20px 40px rgba(12, 35, 64, 0.12);
}

/* Wrapper Styles (Stretches Full Width) */
.vpi-landing-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 1.6;
    box-sizing: border-box;
}

.vpi-landing-wrapper *,
.vpi-landing-wrapper *::before,
.vpi-landing-wrapper *::after {
    box-sizing: border-box;
}

/* Container for centered grid elements */
.vpi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Smooth Scroll HTML support */
html {
    scroll-behavior: smooth;
}

/* Sticky Navigation Sub-Header */
.vpi-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    z-index: 9990;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.vpi-sticky-header.sticky {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Adjust top margin for logged-in WP users */
body.admin-bar .vpi-sticky-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .vpi-sticky-header {
        top: 46px;
    }
}

.vpi-sticky-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.vpi-sticky-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 16px;
    white-space: nowrap;
}

.vpi-logo-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.vpi-sticky-logo .vpi-logo-icon {
    font-size: 18px;
}

.vpi-sticky-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.vpi-nav-link {
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 23px 0;
    transition: color 0.25s ease;
    position: relative;
    cursor: pointer;
}

.vpi-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 0.25s ease;
}

.vpi-sticky-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.vpi-sticky-phone {
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.vpi-sticky-cta {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

/* Light Theme Sticky Header (Default - White background, dark text) */
.vpi-sticky-theme-light {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2e8f0;
}

.vpi-sticky-theme-light .vpi-sticky-logo {
    color: #0f172a;
}

.vpi-sticky-theme-light .vpi-nav-link {
    color: #475569;
}

.vpi-sticky-theme-light .vpi-nav-link:hover,
.vpi-sticky-theme-light .vpi-nav-link.active {
    color: var(--vpi-secondary-dark);
}

.vpi-sticky-theme-light .vpi-nav-link::after {
    background-color: var(--vpi-secondary-dark);
}

.vpi-sticky-theme-light .vpi-sticky-phone {
    color: #0f172a;
}

.vpi-sticky-theme-light .vpi-sticky-phone:hover {
    color: var(--vpi-secondary-dark);
}

/* Dark Theme Sticky Header (Dark background, white text) */
.vpi-sticky-theme-dark {
    background-color: rgba(12, 35, 64, 0.95);
    border-bottom: 2px solid var(--vpi-secondary);
}

.vpi-sticky-theme-dark .vpi-sticky-logo {
    color: #ffffff;
}

.vpi-sticky-theme-dark .vpi-nav-link {
    color: #cbd5e1;
}

.vpi-sticky-theme-dark .vpi-nav-link:hover,
.vpi-sticky-theme-dark .vpi-nav-link.active {
    color: var(--vpi-secondary);
}

.vpi-sticky-theme-dark .vpi-nav-link::after {
    background-color: var(--vpi-secondary);
}

.vpi-sticky-theme-dark .vpi-sticky-phone {
    color: #ffffff;
}

.vpi-sticky-theme-dark .vpi-sticky-phone:hover {
    color: var(--vpi-secondary);
}

/* Sections Styling */
.vpi-section {
    padding: 70px 0 30px 0;
    border-bottom: 1px solid #e5e7eb;
}

.vpi-section:last-of-type {
    border-bottom: none;
}

.vpi-section-header {
    text-align: center;
    margin-bottom: 45px;
}

.vpi-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--vpi-primary);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vpi-divider {
    width: 60px;
    height: 4px;
    background-color: var(--vpi-secondary);
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.vpi-section-desc {
    font-size: 15px;
    color: var(--vpi-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section (No Rounded Corners & Full Width) */
.vpi-hero-section {
    color: var(--vpi-text-light);
    padding: 75px 40px;
    border-radius: 0; /* Full width banner - no rounded corners */
    text-align: center;
    margin-bottom: 40px; /* Space between banner and content container */
    box-shadow: var(--vpi-shadow);
    position: relative;
    border: none;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    width: 100%;
}

.vpi-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.vpi-hero-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.vpi-hero-subtitle {
    font-size: 19px;
    color: #f1f5f9;
    max-width: 850px;
    margin: 0 auto 40px auto;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Hero Highlights */
.vpi-hero-highlights {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vpi-hl-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: var(--vpi-radius-sm);
    text-align: left;
    min-width: 250px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.vpi-hl-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.vpi-hl-icon {
    font-size: 26px;
    line-height: 1;
}

.vpi-hl-content {
    display: flex;
    flex-direction: column;
}

.vpi-hl-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #d1d5db;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.vpi-hl-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.vpi-hl-value small {
    font-size: 12px;
    font-weight: 400;
    color: #cbd5e1;
}

/* Grid Layout */
.vpi-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    margin-bottom: 45px;
}

/* Card Styling */
.vpi-card {
    background: var(--vpi-bg-card);
    border-radius: var(--vpi-radius);
    border: 1px solid rgba(12, 35, 64, 0.06);
    box-shadow: var(--vpi-shadow);
    padding: 35px;
    margin-bottom: 30px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.vpi-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 18px;
}

.vpi-card-icon {
    color: var(--vpi-secondary-dark);
    flex-shrink: 0;
    width: 26px;
    height: 26px;
}

.vpi-card-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0;
}

/* Details list style */
.vpi-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.vpi-details-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.vpi-dot {
    width: 8px;
    height: 8px;
    background: var(--vpi-secondary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
    box-shadow: 0 0 8px rgba(197, 168, 128, 0.8);
}

.vpi-tag {
    display: inline-block;
    background: rgba(197, 168, 128, 0.12);
    color: #92754d;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vpi-details-list p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.vpi-details-list strong {
    color: var(--vpi-primary);
}

/* Overview Section Layout */
.vpi-overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.vpi-overview-table-wrapper {
    background: #ffffff;
    border-radius: var(--vpi-radius-sm);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: var(--vpi-shadow);
}

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

.vpi-overview-table th,
.vpi-overview-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.vpi-overview-table tr:last-child th,
.vpi-overview-table tr:last-child td {
    border-bottom: none;
}

.vpi-overview-table th {
    background-color: #f9fafb;
    color: var(--vpi-primary);
    font-weight: 700;
    width: 30%;
    border-right: 1px solid #e5e7eb;
}

.vpi-overview-table td {
    color: #4b5563;
}

.vpi-overview-highlight-card {
    background: linear-gradient(135deg, #07162c 0%, #0c2340 100%);
    padding: 35px;
    border-radius: var(--vpi-radius);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(197, 168, 128, 0.2);
    box-shadow: var(--vpi-shadow);
}

.vpi-highlight-banner h3 {
    color: var(--vpi-secondary);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.vpi-highlight-accent {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0 0 25px 0;
}

.vpi-feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vpi-feature-bullets li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #e5e7eb;
    align-items: flex-start;
}

.vpi-feature-bullets li span {
    color: var(--vpi-secondary);
    font-weight: bold;
}

/* Location Section Layout */
.vpi-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vpi-location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vpi-para-lead {
    font-size: 16px;
    font-weight: 600;
    color: var(--vpi-primary);
    margin-bottom: 15px;
}

.vpi-para {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
}

.vpi-location-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vpi-location-links li {
    font-size: 14px;
    color: #4b5563;
    position: relative;
    padding-left: 15px;
}

.vpi-location-links li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--vpi-secondary-dark);
}

.vpi-location-links li strong {
    color: var(--vpi-primary);
}

.vpi-location-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vpi-loc-metric-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: var(--vpi-radius-sm);
    border: 1px solid #e5e7eb;
    box-shadow: var(--vpi-shadow);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.vpi-loc-metric-card:hover {
    transform: translateY(-2px);
    border-color: var(--vpi-secondary);
}

.vpi-loc-time {
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    color: var(--vpi-secondary-dark);
    margin-bottom: 8px;
}

.vpi-loc-metric-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0 0 8px 0;
}

.vpi-loc-metric-card p {
    font-size: 12px;
    color: var(--vpi-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Amenities Section Layout */
.vpi-amenities-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vpi-amenity-block {
    background: #ffffff;
    border-radius: var(--vpi-radius);
    padding: 35px;
    border: 1px solid rgba(12, 35, 64, 0.05);
    box-shadow: var(--vpi-shadow);
}

.vpi-amenity-block-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.vpi-amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vpi-amenities-list li {
    font-size: 14px;
    color: #4b5563;
    padding-left: 5px;
}

.vpi-amenities-list strong {
    color: var(--vpi-primary);
}

/* Floor Plan Gallery Grid (WP native blocks integration) */
.vpi-gallery-block-wrapper,
.vpi-section-custom-content {
    width: 100%;
    margin-top: 10px;
}

/* Styles for Core Gallery block inside VPI layout - Specificity Boost */
body .vpi-landing-wrapper .wp-block-gallery,
body .vpi-landing-wrapper .blocks-gallery-grid,
body .vpi-landing-wrapper .gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    list-style: none !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

body .vpi-landing-wrapper .wp-block-gallery .wp-block-image,
body .vpi-landing-wrapper .wp-block-gallery .blocks-gallery-item,
body .vpi-landing-wrapper .gallery .gallery-item {
    background: #ffffff !important;
    border-radius: var(--vpi-radius-sm) !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: var(--vpi-shadow) !important;
    padding: 12px !important;
    margin: 0 !important;
    cursor: pointer !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-grow: 0 !important;
    flex-shrink: 1 !important;
    display: block !important;
    box-sizing: border-box !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

body .vpi-landing-wrapper .wp-block-gallery .wp-block-image:hover,
body .vpi-landing-wrapper .wp-block-gallery .blocks-gallery-item:hover,
body .vpi-landing-wrapper .gallery .gallery-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--vpi-shadow-lg) !important;
    border-color: rgba(197, 168, 128, 0.3) !important;
}

body .vpi-landing-wrapper .wp-block-gallery figure,
body .vpi-landing-wrapper .gallery figure,
body .vpi-landing-wrapper .gallery dl {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body .vpi-landing-wrapper .wp-block-gallery img,
body .vpi-landing-wrapper .gallery img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block !important;
    margin: 0 !important;
    transition: transform 0.3s ease !important;
}

body .vpi-landing-wrapper .wp-block-gallery .wp-block-image:hover img,
body .vpi-landing-wrapper .wp-block-gallery .blocks-gallery-item:hover img,
body .vpi-landing-wrapper .gallery .gallery-item:hover img {
    transform: scale(1.04) !important;
}

body .vpi-landing-wrapper .wp-block-gallery figcaption,
body .vpi-landing-wrapper .gallery figcaption,
body .vpi-landing-wrapper .gallery .gallery-caption,
body .vpi-landing-wrapper .gallery .gallery-caption-text {
    display: block !important;
    font-size: 12.5px !important;
    color: var(--vpi-text-dark) !important;
    margin-top: 10px !important;
    text-align: center !important;
    font-weight: 600 !important;
    position: static !important;
    background: none !important;
    padding: 0 !important;
}

.vpi-gallery-empty {
    background-color: #f9fafb;
    border: 1px dashed #d1d5db;
    padding: 45px;
    border-radius: var(--vpi-radius);
    text-align: center;
    color: var(--vpi-text-muted);
}

/* Policy Section Layout */
.vpi-policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vpi-policy-gift-box {
    background: #ffffff;
    border-radius: var(--vpi-radius);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 35px;
    box-shadow: var(--vpi-shadow);
}

.vpi-gift-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.vpi-gifts-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.08) 0%, rgba(197, 168, 128, 0.02) 100%);
    border: 1px dashed var(--vpi-secondary);
    padding: 20px 25px;
    border-radius: var(--vpi-radius-sm);
}

.vpi-gift-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.vpi-gift-icon {
    font-size: 24px;
    line-height: 1;
}

.vpi-gift-text {
    font-size: 14px;
    color: var(--vpi-text-dark);
    line-height: 1.5;
}

.vpi-gift-text strong {
    color: var(--vpi-secondary-dark);
    font-weight: 700;
}

/* Discounts Grid */
.vpi-discounts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.vpi-discount-card {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    padding: 18px 10px;
    border-radius: var(--vpi-radius-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.vpi-discount-card:hover {
    background: rgba(197, 168, 128, 0.05);
    border-color: rgba(197, 168, 128, 0.3);
    transform: translateY(-1px);
}

.vpi-disc-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--vpi-secondary-dark);
    line-height: 1;
}

.vpi-disc-lbl {
    font-size: 11.5px;
    color: var(--vpi-text-muted);
    font-weight: 600;
}

/* Register/Form Section Layout */
.vpi-register-section {
    padding: 60px 0;
}

.vpi-register-card {
    background: linear-gradient(135deg, #07162c 0%, #0c2340 100%);
    border-radius: var(--vpi-radius);
    padding: 45px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    border: 1px solid rgba(197, 168, 128, 0.2);
    box-shadow: var(--vpi-shadow-lg);
    align-items: center;
}

.vpi-register-info {
    color: #ffffff;
}

.vpi-register-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--vpi-secondary);
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

.vpi-register-info p {
    font-size: 14.5px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.vpi-support-box {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: var(--vpi-radius-sm);
    border-left: 4px solid var(--vpi-secondary);
}

.vpi-sup-icon {
    font-size: 24px;
    color: var(--vpi-secondary);
}

.vpi-sup-lbl {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

.vpi-sup-phone {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.vpi-sup-phone:hover {
    color: var(--vpi-secondary);
}

.vpi-register-form-box {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--vpi-radius-sm);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Form Styles Override for Contact Form 7 integration */
.vpi-cf7-form-wrapper .wpcf7 {
    margin: 0;
    padding: 0;
}

.vpi-landing-wrapper .contact-form,
.vpi-modal-window .contact-form {
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
}

.vpi-landing-wrapper .contact-form h3,
.vpi-modal-window .contact-form h3 {
    display: none !important; /* Managed by headers */
}

.vpi-landing-wrapper .contact-form label,
.vpi-modal-window .contact-form label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--vpi-text-dark);
    text-align: left;
}

.vpi-landing-wrapper .contact-form input[type="text"],
.vpi-landing-wrapper .contact-form input[type="tel"],
.vpi-landing-wrapper .contact-form input[type="email"],
.vpi-landing-wrapper .contact-form select,
.vpi-modal-window .contact-form input[type="text"],
.vpi-modal-window .contact-form input[type="tel"],
.vpi-modal-window .contact-form input[type="email"],
.vpi-modal-window .contact-form select {
    display: block;
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    color: var(--vpi-text-dark);
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: var(--vpi-radius-sm);
    transition: all 0.25s ease;
    margin-top: 6px;
    font-family: inherit;
}

.vpi-landing-wrapper .contact-form input:focus,
.vpi-landing-wrapper .contact-form select:focus,
.vpi-modal-window .contact-form input:focus,
.vpi-modal-window .contact-form select:focus {
    outline: none;
    border-color: var(--vpi-secondary-dark);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
    background-color: #ffffff;
}

.vpi-landing-wrapper .contact-form select,
.vpi-modal-window .contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%236b7280' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Submit Button */
.vpi-landing-wrapper .contact-form input[type="submit"],
.vpi-modal-window .contact-form input[type="submit"] {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--vpi-secondary) 0%, var(--vpi-secondary-dark) 100%);
    color: #ffffff;
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--vpi-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vpi-landing-wrapper .contact-form input[type="submit"]:hover,
.vpi-modal-window .contact-form input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--vpi-secondary-dark) 0%, #ab8855 100%);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.45);
    transform: translateY(-1px);
}

.vpi-landing-wrapper .contact-form input[type="submit"]:active,
.vpi-modal-window .contact-form input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(197, 168, 128, 0.15);
}

/* WPCF7 Block fixes */
.vpi-landing-wrapper .wpcf7-form-control-wrap,
.vpi-modal-window .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.vpi-landing-wrapper .wpcf7-not-valid-tip,
.vpi-modal-window .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    font-weight: 500;
}

.vpi-landing-wrapper .wpcf7-response-output,
.vpi-modal-window .wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 12px 18px !important;
    border-radius: var(--vpi-radius-sm) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center;
}

.vpi-landing-wrapper .wpcf7-mail-sent-ok,
.vpi-modal-window .wpcf7-mail-sent-ok {
    background-color: #ecfdf5 !important;
    border: 1px solid #10b981 !important;
    color: #065f46 !important;
}

.vpi-landing-wrapper .wpcf7-validation-errors,
.vpi-modal-window .wpcf7-validation-errors,
.vpi-landing-wrapper .wpcf7-mail-sent-ng,
.vpi-modal-window .wpcf7-mail-sent-ng {
    background-color: #fef2f2 !important;
    border: 1px solid #f87171 !important;
    color: #991b1b !important;
}

/* Bottom CTA Sticky Bar */
.vpi-cta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #07162c 0%, #0c2340 100%);
    border-top: 3px solid var(--vpi-secondary);
    padding: 24px 35px;
    border-radius: var(--vpi-radius);
    color: #ffffff;
    margin-top: 40px;
    box-shadow: var(--vpi-shadow-lg);
    gap: 30px;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.vpi-cta-left {
    flex-grow: 1;
}

.vpi-cta-heading {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.vpi-cta-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0;
}

.vpi-cta-right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

/* Button styles */
.vpi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: var(--vpi-radius-sm);
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.vpi-btn-primary {
    background: linear-gradient(135deg, var(--vpi-secondary) 0%, var(--vpi-secondary-dark) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.vpi-btn-primary:hover {
    background: linear-gradient(135deg, var(--vpi-secondary-dark) 0%, #ab8855 100%);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.45);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.vpi-btn-phone {
    background: #10b981;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.vpi-btn-phone:hover {
    background: #059669;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Pulse animation indicator inside phone CTA */
.vpi-phone-pulse {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 4px;
}

.vpi-phone-pulse::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: vpi-pulse-ring-effect 1.6s infinite ease-out;
    opacity: 0;
}

@keyframes vpi-pulse-ring-effect {
    0% {
        transform: scale(0.4);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Popup Modal Styles */
.vpi-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 22, 44, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vpi-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.vpi-modal-window {
    background: #ffffff;
    width: 92%;
    max-width: 520px;
    border-radius: var(--vpi-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(197, 168, 128, 0.25);
    overflow: hidden;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.vpi-modal-overlay.active .vpi-modal-window {
    transform: translateY(0) scale(1);
}

.vpi-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: 300;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s ease;
    padding: 0;
}

.vpi-modal-close-btn:hover {
    color: var(--vpi-accent);
}

.vpi-modal-header {
    background: linear-gradient(135deg, #07162c 0%, #0c2340 100%);
    padding: 35px 35px 22px 35px;
    color: #ffffff;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--vpi-secondary);
}

.vpi-modal-status-badge {
    display: inline-block;
    background-color: var(--vpi-accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.vpi-modal-title {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
    line-height: 1.3;
}

.vpi-modal-subtitle {
    font-size: 13.5px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}

.vpi-modal-body {
    padding: 30px 35px;
    overflow-y: auto;
    background-color: #ffffff;
    flex-grow: 1;
}

/* Fullscreen Lightbox CSS */
.vpi-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.vpi-lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.vpi-lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
    padding: 10px;
}

.vpi-lightbox-close:hover {
    opacity: 1;
    color: var(--vpi-secondary);
}

.vpi-lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.vpi-lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.vpi-lightbox-overlay.active .vpi-lightbox-content img {
    transform: scale(1);
}

.vpi-lightbox-caption {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.vpi-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s, color 0.2s;
    opacity: 0.6;
}

.vpi-lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--vpi-secondary);
    opacity: 1;
}

.vpi-lightbox-prev {
    left: 40px;
}

.vpi-lightbox-next {
    right: 40px;
}

/* Fallback messages */
.vpi-cf7-fallback {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
    padding: 15px;
    border-radius: var(--vpi-radius-sm);
    font-size: 13.5px;
    text-align: center;
}

.vpi-cf7-fallback code {
    background-color: rgba(0,0,0,0.05);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.vpi-landing-error {
    background-color: #fef2f2;
    border: 1px solid #f87171;
    color: #991b1b;
    padding: 20px;
    border-radius: var(--vpi-radius);
    text-align: center;
    margin: 20px 0;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .vpi-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .vpi-location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vpi-amenities-columns {
        grid-template-columns: 1fr;
    }
    
    .vpi-policy-grid {
        grid-template-columns: 1fr;
    }
    
    .vpi-register-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .vpi-sticky-nav {
        display: none !important; /* Hide links on tablet/mobile for space */
    }
}

@media (max-width: 768px) {
    .vpi-hero-section {
        padding: 50px 20px;
    }
    
    .vpi-hero-title {
        font-size: 26px;
    }
    
    .vpi-hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .vpi-card {
        padding: 25px;
    }
    
    .vpi-cta-bar {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
    }
    
    .vpi-cta-right {
        width: 100%;
        flex-direction: column;
    }
    
    .vpi-cta-right .vpi-btn {
        width: 100%;
    }
    
    .vpi-sticky-actions .vpi-sticky-phone {
        display: none !important; /* Hide text phone on small screen */
    }
    
    .vpi-lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .vpi-lightbox-prev {
        left: 15px;
    }
    
    .vpi-lightbox-next {
        right: 15px;
    }
    
    .vpi-lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .vpi-discounts-grid {
        grid-template-columns: 1fr;
    }
    
    .vpi-location-cards {
        grid-template-columns: 1fr;
    }
    
    .vpi-modal-body {
        padding: 20px;
    }
    
    .vpi-modal-header {
        padding: 30px 20px 20px 20px;
    }
    
    .vpi-overview-table th {
        width: 40%;
        padding: 10px;
    }
    
    .vpi-overview-table td {
        padding: 10px;
    }
}

/* ==========================================================================
   Nam Digital VPI Home Landing Page Styles (inspired by vhsgroup.vn)
   ========================================================================== */

.vpi-home-hero {
    border-bottom: 3px solid var(--vpi-secondary);
}

/* Values Grid Section */
.vpi-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 10px;
}

.vpi-value-card {
    background: var(--vpi-bg-card);
    padding: 35px 25px;
    border-radius: var(--vpi-radius);
    border: 1px solid rgba(197, 168, 128, 0.12);
    box-shadow: var(--vpi-shadow);
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.vpi-value-icon {
    font-size: 36px;
    display: inline-block;
    margin-bottom: 20px;
    background: rgba(197, 168, 128, 0.1);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    text-align: center;
    border: 1px dashed var(--vpi-secondary);
}

.vpi-value-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--vpi-primary);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vpi-value-card p {
    font-size: 13.5px;
    color: var(--vpi-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Properties Showcase Grid & Filters */
.vpi-properties-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.vpi-filter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vpi-filter-btn:hover {
    border-color: var(--vpi-secondary);
    color: var(--vpi-secondary-dark);
}

.vpi-filter-btn.active {
    background-color: var(--vpi-primary);
    border-color: var(--vpi-primary);
    color: #ffffff;
    box-shadow: var(--vpi-shadow);
}

.vpi-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vpi-property-card {
    background: #ffffff;
    border-radius: var(--vpi-radius);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--vpi-shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vpi-property-card.hidden {
    display: none !important;
}

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

.vpi-prop-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.vpi-prop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vpi-property-card:hover .vpi-prop-image img {
    transform: scale(1.06);
}

.vpi-prop-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--vpi-secondary-dark);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vpi-prop-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vpi-prop-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.vpi-prop-excerpt {
    font-size: 13.5px;
    color: var(--vpi-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.vpi-prop-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.vpi-prop-btn {
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    color: var(--vpi-secondary-dark);
    transition: color 0.2s ease;
}

.vpi-prop-btn:hover {
    color: var(--vpi-primary);
}

/* Leaders Grid */
.vpi-leaders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vpi-leader-card {
    background: #ffffff;
    border-radius: var(--vpi-radius);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: var(--vpi-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vpi-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vpi-shadow-lg);
}

.vpi-leader-avatar {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.vpi-leader-avatar img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.vpi-leader-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 35, 64, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8px 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.vpi-leader-social span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

.vpi-leader-info {
    padding: 20px;
    text-align: center;
}

.vpi-leader-info h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--vpi-primary);
    margin: 0 0 4px 0;
}

.vpi-leader-role {
    font-size: 11.5px;
    color: var(--vpi-secondary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 12px;
}

.vpi-leader-info p {
    font-size: 12px;
    color: var(--vpi-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Media Library Section & Video Cards */
.vpi-media-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.vpi-media-tab-btn {
    background: #f1f5f9;
    border: none;
    color: #475569;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vpi-media-tab-btn:hover {
    background: #e2e8f0;
}

.vpi-media-tab-btn.active {
    background-color: var(--vpi-secondary);
    color: #ffffff;
    box-shadow: var(--vpi-shadow);
}

.vpi-gallery-pane {
    display: none;
}

.vpi-gallery-pane.active {
    display: block;
    animation: vpiFadeIn 0.4s ease;
}

.vpi-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vpi-video-card {
    background: #ffffff;
    border-radius: var(--vpi-radius);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--vpi-shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vpi-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vpi-shadow-lg);
}

.vpi-video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000000;
}

.vpi-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vpi-video-card:hover .vpi-video-thumbnail img {
    opacity: 1;
    transform: scale(1.03);
}

.vpi-play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(197, 168, 128, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.vpi-video-card:hover .vpi-play-btn-overlay {
    background-color: var(--vpi-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.vpi-play-icon {
    color: #ffffff;
    font-size: 18px;
    margin-left: 3px;
}

.vpi-video-body {
    padding: 16px 20px;
}

.vpi-video-body h3 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0;
    line-height: 1.4;
}

/* Video Lightbox Modal */
.vpi-video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vpi-video-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.vpi-video-modal-window {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.vpi-video-iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 8px;
}

.vpi-video-modal-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.vpi-video-modal-close-btn:hover {
    color: var(--vpi-secondary);
}

/* Testimonials Grid */
.vpi-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vpi-testimonial-card {
    background: #ffffff;
    padding: 35px;
    border-radius: var(--vpi-radius);
    border: 1px solid #e2e8f0;
    box-shadow: var(--vpi-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vpi-test-rating {
    color: #fbbf24;
    font-size: 15px;
    margin-bottom: 16px;
}

.vpi-test-comment {
    font-style: italic;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 25px;
}

.vpi-test-user {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
}

.vpi-test-avatar {
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border: 1px solid #e2e8f0;
}

.vpi-test-user h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0 0 2px 0;
}

.vpi-test-user span {
    font-size: 11px;
    color: var(--vpi-text-muted);
}

/* Blog News Grid & Card Styles */
.vpi-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vpi-news-card {
    background: #ffffff;
    border-radius: var(--vpi-radius);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--vpi-shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vpi-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vpi-shadow-lg);
}

.vpi-news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #1e293b;
}

.vpi-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.vpi-news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(12, 35, 64, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.vpi-news-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vpi-news-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--vpi-primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.vpi-news-excerpt {
    font-size: 13.5px;
    color: var(--vpi-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.vpi-news-more-btn {
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--vpi-secondary-dark);
    transition: color 0.2s ease;
}

.vpi-news-more-btn:hover {
    color: var(--vpi-primary);
}

.vpi-no-posts {
    grid-column: 1 / -1;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--vpi-radius);
    padding: 50px 30px;
    text-align: center;
    color: var(--vpi-text-muted);
}

/* Keyframe animations */
@keyframes vpiFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides for Home Elements */
@media (max-width: 1024px) {
    .vpi-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vpi-properties-grid,
    .vpi-leaders-grid,
    .vpi-videos-grid,
    .vpi-testimonials-grid,
    .vpi-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vpi-leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .vpi-values-grid,
    .vpi-properties-grid,
    .vpi-leaders-grid,
    .vpi-videos-grid,
    .vpi-testimonials-grid,
    .vpi-news-grid {
        grid-template-columns: 1fr;
    }
}

