/* =========================================================
   Homepage-specific styles — home.blade.php
   ========================================================= */

/* Author Info Styles for Homepage */
.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-thumbnail {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.author-name {
    font-size: 11px;
    font-weight: 600;
    color: #1A4137;
}

/* Service Icon Styles */
.service-icon-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none !important;
    background: transparent !important;
}

.service-main-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none !important;
    background: transparent !important;
}

.service-block-two:hover .service-icon-img,
.service-block-two:hover .service-main-img {
    transform: scale(1.1);
    background: transparent !important;
    border: none !important;
}

/* Remove background from service icon container */
.service-block-two .icon {
    background: transparent !important;
    border: none !important;
}

.service-block-two:hover .icon {
    background: transparent !important;
    border: none !important;
}

/* Cities Section Styles */
.cities-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.cities-section .sec-title .title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.cities-owl-carousel {
    position: relative;
    padding: 20px 0;
}

.city-item {
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
}

.city-item:hover {
    transform: translateY(-5px);
}

.city-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.city-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.city-icon i {
    font-size: 1.5rem;
    color: #1A4137;
}

.city-item:hover .city-icon i {
    color: #2c5a4f;
    transform: scale(1.1);
}

.city-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.city-description {
    font-size: 0.7rem;
    color: #666;
    margin: 0;
}

/* Owl Carousel Custom Styles */
.cities-owl-carousel .owl-nav {
    display: none !important;
}

.cities-owl-carousel .owl-dots {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cities-section {
        padding: 60px 0;
    }

    .cities-section .sec-title .title {
        font-size: 1.8rem;
    }

    .city-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .city-icon i {
        font-size: 1.2rem;
    }

    .city-name {
        font-size: 0.8rem;
    }

    .city-description {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .city-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 6px;
    }

    .city-icon i {
        font-size: 1rem;
    }

    .city-name {
        font-size: 0.75rem;
    }

    .city-description {
        font-size: 0.6rem;
    }
}

/* Founders Section Styles */
.founders-section {
    background: #f8f9fa;
}

.founder-block {
    position: relative;
    margin-bottom: 30px;
}

.founder-block .founder-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.founder-block .founder-link:hover {
    text-decoration: none;
    color: inherit;
}

.founder-block .inner-box {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}

.founder-block .founder-link:hover .inner-box {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: #ffd700;
}

.founder-block .image {
    position: relative;
    overflow: hidden;
    /* aspect-ratio: 4/3; */
    width: 100%;
}

.founder-block .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.founder-block .founder-link:hover .image img {
    transform: scale(1.1);
}

.founder-block .content-box {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.founder-block .content-box .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

.founder-block .content-box .sub-title {
    color: var(--theme-color1);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.founder-block .content-box .bio {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Founder Badge */
.founder-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2c3e50;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
}

/* Responsive Design for Founders */
@media (max-width: 768px) {
    .founder-block .content-box {
        padding: 20px 15px;
    }

    .founder-block .content-box .title {
        font-size: 18px;
    }

    .founder-badge {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Disclaimer Modal Styles */
.disclaimer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.disclaimer-content {
    position: relative;
    background: #fff;
    border: 2px solid #333;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: disclaimerSlideIn 0.3s ease-out;
}

@keyframes disclaimerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.disclaimer-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #e5e7eb;
}

.disclaimer-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
}

.disclaimer-body {
    padding: 20px 25px;
    line-height: 1.6;
    text-align: justify;
}

.disclaimer-body p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #374151;
}

.disclaimer-body ul {
    margin: 0;
    padding-left: 20px;
}

.disclaimer-body li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #4b5563;
}

.disclaimer-footer {
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn-exit, .btn-agree {
    padding: 12px 24px;
    border: 2px solid var(--theme-maroon);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-exit {
    background: transparent;
    color: var(--theme-maroon);
}

.btn-exit:hover {
    background: var(--theme-maroon);
    color: white;
}

.btn-agree {
    background: var(--theme-maroon);
    color: white;
}

.btn-agree:hover {
    background: #4A0701;
    border-color: #4A0701;
}

@media (max-width: 768px) {
    .disclaimer-content {
        width: 95%;
        margin: 20px;
    }

    .disclaimer-header h3 {
        font-size: 20px;
    }

    .disclaimer-body {
        padding: 15px 20px;
    }

    .disclaimer-body p {
        font-size: 14px;
    }

    .disclaimer-body li {
        font-size: 13px;
    }

    .disclaimer-footer {
        padding: 15px 20px;
        flex-direction: column;
    }

    .btn-exit, .btn-agree {
        width: 100%;
        padding: 14px 20px;
    }
}


/* ==============================================
   Hero Section – Background Image Variant
   (hero-with-bg-image on banner-section-six)
   ============================================== */
.banner-section-six.hero-with-bg-image {
    position: relative;
    overflow: hidden;
}

.banner-section-six.hero-with-bg-image .banner-slider,
.banner-section-six.hero-with-bg-image .banner-slide {
    position: relative;
    min-height: 100vh;
}

/* Override default banner-section-six background */
.banner-section-six.hero-with-bg-image .banner-slider {
    background-color: transparent;
}

/* Suppress the default pattern pseudo-element */
.banner-section-six.hero-with-bg-image .banner-slide::after {
    display: none !important;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 28, 22, 0.52);
    z-index: 1;
}

/* Content sits above the overlay */
.banner-section-six.hero-with-bg-image .outer-box {
    position: relative;
    z-index: 2;
    padding-top: 160px;
    padding-bottom: 80px;
}

/* Hero title & text: white on dark overlay */
.banner-section-six.hero-with-bg-image .content-info .title,
.banner-section-six.hero-with-bg-image .content-info .title span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.banner-section-six.hero-with-bg-image .content-info .title {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
}

.banner-section-six.hero-with-bg-image .content-info .title span {
    color: rgba(255,255,255,0.85) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.85) !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .banner-section-six.hero-with-bg-image .outer-box {
        padding-top: 130px;
        padding-bottom: 60px;
    }
}

@media (max-width: 767.98px) {
    .banner-section-six.hero-with-bg-image .outer-box {
        padding-top: 110px;
        padding-bottom: 50px;
        display: block;
    }

    .banner-section-six.hero-with-bg-image .content-info .title {
        font-size: clamp(28px, 8vw, 44px);
    }
}
