/********** Aadar Multi Investment Co. Ltd. — Frontend **********/

/* ===== Design Tokens ===== */
:root {
    --primary: #0d47a1;
    --primary-dark: #002171;
    --primary-light: #1565c0;
    --accent-red: #d32f2f;
    --accent-red-hover: #b71c1c;
    --secondary: #6366f1;
    --secondary-dark: #4f46e5;
    --dark: #111111;
    --dark-soft: #1e293b;
    --dark-muted: #334155;
    --light: #f8f9fa;
    --light-soft: #f1f5f9;
    --light-bg: #f8f9fa;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --info: #06b6d4;
    --warning: #f59e0b;
    --font-primary: "Inter", sans-serif;
    --font-display: "Montserrat", sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg:
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl:
        0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    scroll-padding-top: 80px;
}

/* ===== Base ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--accent-red);
}

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

::selection {
    background: var(--primary);
    color: var(--white);
}

/* Template utility classes */
.text-primary-blue { color: var(--primary) !important; }
.text-accent-red { color: var(--accent-red) !important; }
.bg-primary-blue { background-color: var(--primary) !important; }
.bg-accent-red { background-color: var(--accent-red) !important; }
.bg-dark-black { background-color: var(--dark) !important; }
.bg-light-bg { background-color: var(--light-bg) !important; }
.max-w-700 { max-width: 700px; }
.min-h-100 { min-height: 100vh; }
.font-montserrat { font-family: var(--font-display); }

/* ===== Buttons ===== */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white) !important;
    box-shadow: 0 4px 14px rgba(13, 71, 161, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.4);
    color: var(--white) !important;
}

.btn-custom-blue {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary);
    transition: var(--transition);
}
.btn-custom-blue:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-custom-red {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-red);
    transition: var(--transition);
}
.btn-custom-red:hover {
    background-color: transparent;
    color: var(--accent-red);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
}

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
}

/* ===== Topbar ===== */
.site-topbar {
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}
.site-topbar a {
    color: rgba(255, 255, 255, 0.7);
}
.site-topbar a:hover {
    color: var(--accent-red);
}
.site-topbar .separator {
    color: var(--dark-muted);
    margin: 0 0.75rem;
}
.site-topbar i {
    color: var(--accent-red);
    margin-right: 0.375rem;
}

/* ===== Navbar ===== */
.site-navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background-color: var(--primary-dark);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    z-index: 1030;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
}

.site-navbar .navbar-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--white) !important;
}

.site-navbar .navbar-brand img {
    height: 40px;
    transition: var(--transition);
    border-radius: 4px;
}

.site-navbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    padding: 0.5rem 0 !important;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.site-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
    width: 100%;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--accent-red) !important;
}

.site-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    margin-top: 0;
    animation: dropdownFade 0.25s ease;
}

.site-navbar .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.site-navbar .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.site-navbar .navbar-toggler {
    border: none;
    color: var(--white);
}

.site-navbar .navbar-toggler-icon {
    filter: invert(1);
}

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

@media (max-width: 991.98px) {
    .site-navbar .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0;
    }
    .site-navbar .nav-link::after {
        display: none;
    }
    .site-navbar .collapse.show,
    .site-navbar .collapsing {
        background: var(--primary-dark);
        padding: 1rem;
        border-radius: 0 0 var(--radius) var(--radius);
    }
}

/* ===== Hero Section with Video ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(13, 71, 161, 0.7), rgba(17, 17, 17, 0.8));
    z-index: -1;
}

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

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 71, 161, 0.15);
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: var(--accent-red);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin-bottom: 2rem;
}

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

/* Hero Carousel */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.hero-carousel .owl-dot span {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: var(--transition);
}
.hero-carousel .owl-dot.active span {
    width: 30px;
    background: var(--accent-red);
}
.hero-carousel .item {
    min-height: 85vh;
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 120px 0 60px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* ===== Section Styles ===== */
.section-padding {
    padding: 100px 0;
}
.section-padding-sm {
    padding: 3rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-tag::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--accent-red);
    display: inline-block;
}

.section-title {
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray-500);
    max-width: 600px;
}

/* ===== Interactive Video Section ===== */
.video-section {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.video-section h2 {
    color: var(--white);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 71, 161, 0.4);
    z-index: 1;
    transition: background 0.3s ease;
}

.video-thumbnail:hover {
    transform: translateY(-5px);
}

.video-thumbnail:hover::before {
    background: rgba(13, 71, 161, 0.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    z-index: 2;
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    animation: pulse 2s infinite;
    padding-left: 5px;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 20px rgba(211, 47, 47, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* Video Modal */
.modal-content.video-modal {
    background: transparent;
    border: none;
}
.modal-header.video-modal-header {
    border-bottom: none;
    padding: 0;
    z-index: 10;
}
.modal-header.video-modal-header .btn-close {
    background-color: var(--white);
    opacity: 1;
    border-radius: 50%;
    padding: 10px;
    margin: -15px -15px 0 auto;
}

/* ===== Cards ===== */
.card-modern {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-modern .card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-modern .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-modern .card-img-overlay-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.card-modern .card-body {
    padding: 1.5rem;
}

.card-modern .card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.card-modern .card-meta i {
    color: var(--accent-red);
}

.card-modern .card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card-modern .card-title a {
    color: var(--dark);
}
.card-modern .card-title a:hover {
    color: var(--primary);
}

.card-modern .card-text {
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.card-modern .card-link,
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    margin-top: 0.75rem;
}
.card-modern .card-link i,
.card-link i {
    transition: var(--transition);
}
.card-modern .card-link:hover,
.card-link:hover {
    color: var(--accent-red);
}
.card-modern .card-link:hover i,
.card-link:hover i {
    transform: translateX(4px);
}

/* Badge */
.badge-accent {
    background: rgba(13, 71, 161, 0.12);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.badge-dark {
    background: rgba(15, 23, 42, 0.8);
    color: var(--white);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* ===== Investment / Portfolio Cards ===== */
.investment-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.investment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.investment-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.investment-card:hover .card-img-top {
    transform: scale(1.05);
}

.investment-card .card-body {
    padding: 30px;
}

.investment-card .badge {
    background-color: var(--primary);
    margin-bottom: 15px;
    padding: 8px 15px;
    font-weight: 500;
}

/* Filter buttons for gallery/investments */
.filter-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    margin: 0 5px 10px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
}

/* ===== Feature / Service Cards ===== */
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
}

.row > [class*='col-'] > .card-modern {
    height: 100%;
}

.row > .col-md-6 > .feature-card,
.row > .col-lg-3 > .feature-card {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: rgba(13, 71, 161, 0.1);
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent-red);
    color: var(--white);
}

.feature-card h5 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Service Cards (template specific) */
.service-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(13, 71, 161, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background-color: var(--accent-red);
    color: white;
    transform: translateY(-10px);
}

.service-card {
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

/* ===== News Cards (template specific) ===== */
.news-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.news-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Notice list (news sidebar) */
.notice-list .list-group-item {
    border-left: 4px solid var(--primary);
    transition: all 0.2s;
}
.notice-list .list-group-item:hover {
    background-color: var(--light-bg);
    border-left-color: var(--accent-red);
}

/* Download table */
.download-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    vertical-align: middle;
    border: none;
}
.download-table td {
    vertical-align: middle;
    color: var(--dark);
}
.download-table tbody tr {
    transition: all 0.2s;
}
.download-table tbody tr:hover {
    background-color: rgba(13, 71, 161, 0.05);
}
.file-icon {
    font-size: 1.5rem;
    color: var(--accent-red);
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

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

.testimonial-card .testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-card .testimonial-name {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.testimonial-card .testimonial-role {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* Owl Carousel dots for testimonials */
.testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 2rem;
}
.testimonial-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    border-radius: 50%;
    margin: 0 4px;
    transition: var(--transition);
}
.testimonial-carousel .owl-dot.active span {
    width: 24px;
    border-radius: 12px;
    background: var(--primary);
}

/* ===== Gallery ===== */
.gallery-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover img {
    transform: scale(1.12);
}

.gallery-card .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.85) 0%,
        transparent 50%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-card .gallery-overlay h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.gallery-card .gallery-overlay small {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    border-radius: var(--radius-2xl);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(13, 71, 161, 0.1);
}

.cta-section .cta-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
}

.cta-section .cta-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.0625rem;
}

/* ===== Travel / Itinerary ===== */
.itinerary-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    margin-bottom: 2rem;
}

.itinerary-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
}

.itinerary-hero .hero-inner {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.itinerary-hero .hero-inner {
    position: relative;
    z-index: 2;
    padding: 5rem 3rem 3rem;
    width: 100%;
}

.itinerary-hero .breadcrumb {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.itinerary-hero .breadcrumb-item,
.itinerary-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
}

.itinerary-hero .breadcrumb-item.active {
    color: var(--accent-red) !important;
}

.itinerary-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.itinerary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.itinerary-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.itinerary-meta .meta-item i {
    color: var(--accent-red);
    font-size: 1.125rem;
}

.day-plan-timeline {
    position: relative;
    padding-left: 2rem;
}

.day-plan-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.day-plan-item {
    position: relative;
    padding-bottom: 2rem;
}

.day-plan-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.day-plan-item .day-label {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

.day-plan-item .day-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* ===== Catalog / Products ===== */
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

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

.product-card .product-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-img i {
    font-size: 3rem;
    color: var(--gray-300);
}

.product-card .product-body {
    padding: 1.25rem;
}

.product-card .product-category {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.product-card .product-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.product-card .product-price {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--primary);
}

.variant-card {
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.variant-card:hover {
    border-color: var(--primary) !important;
    background: rgba(13, 71, 161, 0.03);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.variant-card .variant-attrs span {
    display: inline-block;
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.version-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    height: 100%;
}

.version-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.version-card .card-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem;
}

.version-card .price-box {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

.version-card .spec-list {
    padding: 1.25rem;
    font-size: 0.875rem;
}

.version-card .spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--gray-100);
}

.version-card .spec-item:last-child {
    border-bottom: none;
}

.version-card .spec-label {
    color: var(--gray-500);
    text-transform: capitalize;
}

.version-card .spec-value {
    font-weight: 600;
    color: var(--dark);
    text-align: right;
}

/* ===== Contact ===== */
.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-card .contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 71, 161, 0.1);
    color: var(--primary);
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* Contact Info Box (template style) */
.contact-info-box {
    background-color: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 10px;
    height: 100%;
}

.contact-form-box {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--white);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Social icons (footer/contact) */
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-red);
    transform: translateY(-3px);
    color: var(--white);
}

/* ===== Page Header / Breadcrumb ===== */
.page-header {
    background: var(--primary);
    padding: 6rem 0 3rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.page-header .page-title {
    color: var(--white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.9);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 80px 0 0;
}

.site-footer h5 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer h5:not(.mb-0):not(.mb-1)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-red);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    transition: var(--transition);
    display: inline-block;
}

.site-footer a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.site-footer .footer-links li {
    margin-bottom: 15px;
}

.site-footer .footer-links li a::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.625rem;
    margin-right: 0.5rem;
    color: var(--accent-red);
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-right: 0.5rem;
    transition: var(--transition);
    padding-left: 0;
}

.site-footer .footer-social a:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-3px) translateX(0);
    padding-left: 0;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 50px;
    font-size: 0.8125rem;
    text-align: center;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--white);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--accent-red);
    color: var(--white);
}

/* ===== Lightbox Modal ===== */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}
.lightbox-modal .modal-body {
    padding: 0;
}
.lightbox-modal .btn-close {
    position: absolute;
    top: -2rem;
    right: 0;
    filter: invert(1);
}

/* ===== Modals ===== */
.modal {
    z-index: 1060;
}
.modal-backdrop {
    z-index: 1050;
}

/* ===== Stars / Ratings ===== */
.star-rating {
    color: var(--primary);
    font-size: 0.875rem;
}
.star-rating .empty {
    color: var(--gray-300);
}

/* ===== Pricing ===== */
.price-tag {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.price-tag .currency {
    font-size: 1rem;
    font-weight: 600;
}

/* ===== Includes / Excludes ===== */
.include-list,
.exclude-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.include-list li,
.exclude-list li {
    padding: 0.375rem 0;
    font-size: 0.9375rem;
}

.include-list li::before,
.include-list.rich-text ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--success);
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.exclude-list li::before,
.exclude-list.rich-text ul li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--danger);
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.rich-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rich-text p:last-child {
    margin-bottom: 0;
}

/* ===== Sidebar Filter ===== */
.filter-sidebar .filter-group {
    margin-bottom: 1.5rem;
}

.filter-sidebar .filter-group h6 {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.filter-sidebar .filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.filter-sidebar .filter-link:hover,
.filter-sidebar .filter-link.active {
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
}

.filter-sidebar .filter-count {
    font-size: 0.75rem;
    background: var(--gray-100);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    color: var(--gray-500);
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.empty-state h4 {
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-400);
}

/* ===== Feedback / Reviews ===== */
.review-card {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
}

.review-card:last-child {
    border-bottom: none;
}

.review-card .review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.review-card .review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.875rem;
}

/* ===== Alert Styles ===== */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

/* ===== Pagination ===== */
.pagination .page-link {
    border: none;
    border-radius: var(--radius) !important;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
    margin: 0 0.125rem;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
}

/* ===== Animations ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Utility ===== */
.bg-soft-primary {
    background: rgba(13, 71, 161, 0.08) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.border-primary {
    border-color: var(--primary) !important;
}
.rounded-xl {
    border-radius: var(--radius-xl) !important;
}
.rounded-2xl {
    border-radius: var(--radius-2xl) !important;
}
.letter-spacing {
    letter-spacing: 0.05em;
}
.fw-800 {
    font-weight: 800 !important;
}

/* ===== Lightbox Modal (full) ===== */
.lightbox-modal .modal-content {
    background: transparent !important;
    border: none !important;
}

.lightbox-modal .modal-body {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    min-height: 400px;
}

.lightbox-modal .btn-close {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 1060;
    opacity: 1;
    background-size: 1.5rem;
}

.lightbox-modal img {
    max-height: 75vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.gallery-thumbnails {
    margin-top: 1.5rem;
    padding: 0 1rem 1rem;
    width: 100%;
}

.thumbnail-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.thumbnail-wrapper::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.thumb-item {
    flex: 0 0 80px;
    height: 60px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumb-item.active {
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.05);
}

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

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 -60px;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    opacity: 1;
}

@media (max-width: 991px) {
    .carousel-control-prev,
    .carousel-control-next {
        margin: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .lightbox-modal .btn-close {
        top: -50px;
        right: 10px;
    }
    .lightbox-modal img {
        max-height: 65vh;
    }
    .thumb-item {
        flex: 0 0 60px;
        height: 45px;
    }
    .section-padding {
        padding: 60px 0;
    }
}
