/* Homepage Variation 4 - Premium Design */

:root {
    --h4-primary: #6366f1; /* Modern Indigo */
    --h4-secondary: #f43f5e; /* Vibrant Rose */
    --h4-dark: #0f172a; /* Slate 900 */
    --h4-light: #f8fafc; /* Slate 50 */
    --h4-glass: rgba(255, 255, 255, 0.7);
    --h4-glass-border: rgba(255, 255, 255, 0.4);
    --h4-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
}

/* Hero Section */
.h4-hero {
    position: relative;
    padding: 160px 0 120px;
    background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(244, 63, 94, 0.05) 0%, transparent 50%);
    overflow: hidden;
    margin-top: -1px; /* To prevent gaps if any */
}

.h4-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--h4-primary);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

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

.h4-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--h4-primary);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.h4-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--h4-secondary);
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
}

.h4-hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--h4-dark);
    margin-bottom: 24px;
    letter-spacing: -3px;
}

.h4-hero-title span {
    color: var(--h4-primary);
}

.h4-hero-desc {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.6;
}

/* Immersive Search */
.h4-search-box {
    background: white;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    max-width: 700px;
    border: 1px solid #f1f5f9;
}

.h4-search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid #f1f5f9;
}

.h4-search-input-group i {
    color: #94a3b8;
    margin-right: 12px;
}

.h4-search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    padding: 12px 0;
    font-weight: 500;
}

.h4-search-select-group {
    padding: 0 20px;
    min-width: 200px;
}

.h4-btn-search {
    background: var(--h4-dark);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.h4-btn-search:hover {
    background: var(--h4-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

/* Hero Images Assembly */
.h4-hero-visual {
    position: relative;
    height: 600px;
}

.h4-visual-main {
    width: 85%;
    border-radius: 32px;
    position: relative;
    z-index: 1;
}

.h4-floating-card {
    position: absolute;
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.h4-card-stats {
    bottom: 30%;
    left: -10%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.h4-card-stats .icon {
    width: 48px;
    height: 48px;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.h4-card-stats h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.h4-card-stats p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.h4-card-user {
    top: 20%;
    right: -5%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Categories Grid */
.h4-category-section {
    padding: 100px 0;
    background: white;
}

.h4-section-header {
    margin-bottom: 60px;
}

.h4-section-pretitle {
    color: var(--h4-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.h4-section-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--h4-dark);
}

.h4-cat-card {
    background: #f8fafc;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.h4-cat-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
    background: var(--h4-primary);
    transition: all 0.5s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 0;
}

.h4-cat-card:hover {
    transform: translateY(-10px);
}

.h4-cat-card:hover::before {
    width: 250%;
    height: 250%;
    opacity: 1;
}

.h4-cat-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--h4-primary);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.h4-cat-card h5 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.h4-cat-card p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.h4-cat-card:hover h5, 
.h4-cat-card:hover p,
.h4-cat-card:hover .h4-cat-icon {
    color: white;
}

.h4-cat-card:hover .h4-cat-icon {
    background: rgba(255,255,255,0.2);
}

/* Services Grid */
.h4-service-section {
    padding: 120px 0;
    background: #f1f5f9;
}

.h4-service-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 0px 0px rgba(240, 240, 240, 0.04);
    transition: all 0.4s;
    height: 100%;
}

.h4-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 10px rgba(255, 255, 255, 0.1);
}

.h4-s-img {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.h4-s-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.h4-s-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
}

.h4-s-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    color: var(--h4-dark);
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.h4-s-content {
    padding: 30px;
}

.h4-s-provider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.h4-s-provider img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.h4-s-provider span {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.h4-s-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--h4-dark);
    text-decoration: none;
    display: block;
}

.h4-s-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.h4-s-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #eab308;
    font-weight: 700;
}

.h4-btn-book {
    color: var(--h4-primary);
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
        background: #f7f7f7;
    padding: 15px;
    border-radius: 24px;
}

.h4-btn-book i {
    font-size: 12px;
    transition: transform 0.3s;
}

.h4-btn-book:hover i {
    transform: translateX(4px);
}

/* App Section Alignment */
.h4-app-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bg-dark.rounded-5 {
    border-radius: 40px !important;
}

/* Glass Testimonials */
.h4-testimonial-section {
    padding: 120px 0;
    position: relative;
    background: var(--h4-dark);
    color: white;
}

.h4-testi-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 32px;
    padding: 40px;
    margin: 15px;
}

.h4-testi-card .quotes {
    font-size: 40px;
    color: var(--h4-primary);
    margin-bottom: 24px;
}

.h4-testi-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cbd5e1;
}

.h4-testi-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.h4-testi-user img {
    width: 60px;
    height: 60px;
    border-radius: 20px;
}

.h4-testi-user h5 {
    color: white;
    margin: 0;
}

.h4-testi-user span {
    color: #94a3b8;
    font-size: 14px;
}

/* Slick Dots Styling */
.h4-testimonial-section .slick-dots {
    display: none !important;
}

.testimonial-slider-h4 .slick-dots.h4-dots {
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    gap: 12px;
}

.h4-dots li {
    margin: 0;
    padding: 0;
}

.h4-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 12px;
    height: 12px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.h4-dots li.slick-active button {
    background: var(--h4-primary);
    width: 32px;
    border-radius: 100px;
}

.h4-dots li button:before { display: none !important; }

/* Responsive */
@media (max-width: 991px) {
    .h4-hero-title { font-size: 52px; letter-spacing: -2px; }
    .h4-hero-visual { height: auto; margin-top: 60px; }
    .h4-visual-main { width: 100%; }
    .h4-search-box { flex-direction: column; border-radius: 24px; overflow: hidden; padding: 10px; }
    .h4-search-input-group, .h4-search-select-group { 
        width: 100%; 
        border: none; 
        border-bottom: 1px solid #f1f5f9;
        padding: 15px;
    }
    .h4-btn-search { width: 100%; margin-top: 10px; }
}

@media (max-width: 767px) {
    .h4-hero-title { font-size: 42px; }
    .h4-hero { padding: 120px 0 80px; }
    .h4-section-title { font-size: 36px; }
}
