/* Palmony Custom CSS */

/* Hero Search Box */
.hero-search-box {
    background: #fff;
    border-radius: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    max-width: 800px;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-search-box .search-input {
    flex: 1;
    min-width: 250px;
    border: none;
    padding: 15px 20px;
    border-right: 1px solid #eee;
    background: transparent;
    outline: none;
}

.hero-search-box .search-input:last-of-type {
    border-right: none;
}

.hero-search-box .search-btn {
    background: var(--theme-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.hero-search-box .search-btn:hover {
    background: var(--title-color);
}

.hero-supporting-text {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.hero-supporting-text span {
    margin-right: 15px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--theme-color);
}

.category-card .icon {
    font-size: 40px;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.category-card h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.category-card p {
    color: #666;
    margin: 0;
}

/* Business Card */
.business-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.business-card-body {
    padding: 25px;
    flex: 1;
}

.business-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.business-card-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.business-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-weight: 600;
}

.business-rating span {
    color: #333;
    margin-left: 5px;
}

.business-meta {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.business-meta p {
    margin-bottom: 5px;
}

.business-meta i {
    color: var(--theme-color);
    margin-right: 5px;
}

.business-card-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Location Tags */
.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.location-tag {
    background: #f4f5f8;
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--title-color);
    font-weight: 500;
    transition: 0.3s;
}

.location-tag:hover {
    background: var(--theme-color);
    color: #fff;
}

/* Review Card */
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    height: 100%;
}

.review-card .rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.review-card p {
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
    color: var(--title-color);
}

.review-location {
    font-size: 14px;
    color: #666;
}

/* App Mockup Placeholder */
.app-mockup {
    background: #f4f5f8;
    border-radius: 30px;
    height: 600px;
    width: 300px;
    margin: 0 auto;
    border: 10px solid #333;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.app-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #333;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Hero Visual Placeholder */
.hero-visual-placeholder {
    background: #f4f5f8;
    border-radius: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 2px dashed #ddd;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .hero-search-box .search-input {
        border-right: none;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .hero-search-box .search-btn {
        width: 100%;
    }
}

/* Palmony Logo Sizing */
.palmony-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.offcanvas__logo .palmony-logo {
    max-height: 45px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Download App Button */
.header-btn-download {
    background: #0052cc !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.25) !important;
    border: none !important;
}

.header-btn-download:hover {
    background: #003e99 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.35) !important;
}

/* Category Card with Image */
.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.category-card .cat-img-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.category-card .cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .cat-img-box img {
    transform: scale(1.15);
}

/* Contrast & Typography Fixes */
.section-title p {
    color: #4a5568 !important;
    font-size: 16px;
    line-height: 1.6;
}

.feature-item p {
    color: #4a5568;
}

.feature-item h4 {
    color: #1a202c;
    font-size: 20px;
    font-weight: 700;
}

.feature-item h6 {
    color: #0052cc;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Local Experts Checklist */
.expert-checklist li {
    color: #2d3748 !important;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.expert-checklist li i {
    color: #0052cc;
    font-size: 16px;
    margin-right: 12px;
}

/* Business Card Action Buttons */
.business-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.business-card-actions .btn-call {
    flex: 1;
    background: #28a745;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
    text-decoration: none;
}

.business-card-actions .btn-call:hover {
    background: #218838;
}

.business-card-actions .btn-profile {
    flex: 1;
    background: #0052cc;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    text-decoration: none;
}

.business-card-actions .btn-profile:hover {
    background: #003e99;
}

/* App Download Box Styling */
.app-section-box {
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    border-radius: 24px;
    padding: 50px 40px;
    border: 1px solid #e2e8f0;
}

/* Fix header-3 blue slant shape overlapping menu items */
.header-3::before {
    display: none !important;
}

.header-3 .plane-shape {
    display: none !important;
}

.header-3 .header-main .header-right .header-button::before {
    display: none !important;
}

.header-3 .header-main .header-right {
    gap: 30px !important;
}

.header-3 .header-main .header-right .header-button {
    margin-left: 15px !important;
}

.header-3 .header-main .header-right .header-button .theme-btn {
    background-color: #0052cc !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.25) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.header-3 .header-main .header-right .header-button .theme-btn:hover {
    background-color: #003e99 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Palmony Mobile App Download Section Styles
   ========================================================================== */
.palmony-app-section {
    position: relative !important;
    background: linear-gradient(135deg, #070d1e 0%, #0d1733 50%, #081026 100%) !important;
    padding: 100px 0 90px !important;
    overflow: hidden !important;
    color: #ffffff !important;
}

.palmony-app-section .app-bg-glow {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 114, 252, 0.3) 0%, rgba(60, 114, 252, 0) 70%);
    top: 5%;
    right: 5%;
    pointer-events: none;
    filter: blur(50px);
    z-index: 1;
}

.palmony-app-section .app-bg-glow-2 {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 75, 255, 0.22) 0%, rgba(56, 75, 255, 0) 70%);
    bottom: -60px;
    left: -20px;
    pointer-events: none;
    filter: blur(60px);
    z-index: 1;
}

.palmony-app-section .container {
    position: relative;
    z-index: 2;
}

.palmony-app-section .app-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(60, 114, 252, 0.2);
    border: 1px solid rgba(60, 114, 252, 0.45);
    color: #8bb4fe !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.palmony-app-section .app-title {
    font-size: 44px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
}

.palmony-app-section .app-title span {
    background: linear-gradient(90deg, #3c72fc 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.palmony-app-section .app-desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 30px;
    max-width: 540px;
}

.palmony-app-section .app-feature-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 36px !important;
}

@media (max-width: 575px) {
    .palmony-app-section .app-feature-list {
        grid-template-columns: 1fr !important;
    }
}

.palmony-app-section .app-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.palmony-app-section .app-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(60, 114, 252, 0.6);
    transform: translateY(-3px);
}

.palmony-app-section .app-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3c72fc 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.palmony-app-section .app-feature-text h5 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
}

.palmony-app-section .app-feature-text p {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.palmony-app-section .app-download-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.palmony-app-section .app-store-btn {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.palmony-app-section .app-store-btn img {
    height: 52px !important;
    width: auto !important;
    max-width: 175px !important;
    display: block;
    object-fit: contain;
}

.palmony-app-section .app-store-btn:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.palmony-app-section .app-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.palmony-app-section .app-rating-badge .stars {
    color: #fbbf24;
    font-size: 13px;
}

.palmony-app-section .app-mockup-wrapper {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.palmony-app-section .app-mockup-wrapper img.main-mockup {
    max-width: 90% !important;
    max-height: 600px !important;
    height: auto !important;
    border-radius: 30px !important;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6)) !important;
    animation: floatAppMockup 5s ease-in-out infinite;
    display: inline-block !important;
}

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

.palmony-app-section .floating-info-card {
    position: absolute;
    background: rgba(13, 23, 51, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 14px 20px;
    border-radius: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    z-index: 5;
}

.palmony-app-section .floating-card-1 {
    top: 12%;
    left: 0;
}

.palmony-app-section .floating-card-2 {
    bottom: 12%;
    right: 0;
}

@media (max-width: 991px) {
    .palmony-app-section .floating-info-card {
        display: none !important;
    }
    .palmony-app-section .app-title {
        font-size: 32px !important;
    }
    .palmony-app-section {
        padding: 70px 0 !important;
    }
    .palmony-app-section .app-mockup-wrapper {
        margin-top: 50px !important;
    }
}

/* ==========================================================================
   Footer Background GIF & Deep Blue Overlay
   ========================================================================== */
.footer-area {
    position: relative;
    overflow: hidden;
    background-color: #060e22 !important;
    z-index: 1;
}

.footer-area .footer-bg-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/footer gif.gif');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.38;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.footer-area .footer-overlay-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 17, 43, 0.94) 0%, rgba(10, 24, 61, 0.88) 50%, rgba(5, 12, 31, 0.96) 100%);
    pointer-events: none;
    z-index: 1;
}

.footer-area > .container {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Section Spacing & Top Bar Padding Reductions
   ========================================================================== */

/* Reduce Section distance / padding across all sessions to 40px */
.section-padding {
    padding: 40px 0 !important;
}

.section-padding.pt-0 {
    padding-top: 0 !important;
    padding-bottom: 40px !important;
}

.section-padding.pb-0 {
    padding-top: 40px !important;
    padding-bottom: 0 !important;
}

/* Specific section adjustments to maintain tight 40px rhythm */
.palmony-app-section {
    padding: 40px 0 !important;
}

.cta-banner-2.section-padding {
    padding: 40px 0 !important;
}

.marque-section.section-padding,
.marque-section-3.section-padding {
    padding: 25px 0 !important;
}

.achievement-section-3 {
    padding: 40px 0 !important;
}

.project-section-3.section-padding.pb-0 {
    padding-top: 40px !important;
    padding-bottom: 0 !important;
}

.footer-area.pt-5 {
    padding-top: 40px !important;
}

/* Reduce Top Bar Padding & Spacing */
.header-top-section {
    padding: 4px 0 !important;
    min-height: auto !important;
}

.header-top-section .header-top-wrapper {
    min-height: auto !important;
}

.header-top-section .contact-list {
    margin-bottom: 0 !important;
}

.header-top-section .contact-list li {
    font-size: 13.5px !important;
    line-height: 1.2 !important;
}

.header-top-section .top-right .social-icon {
    gap: 10px !important;
}

.header-top-section .top-right .social-icon span {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.header-top-section .top-right .social-icon a {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

/* ==========================================================================
   Legal & Policy Pages (Privacy Policy, Terms, Cancellation, Data Deletion)
   Ensuring high contrast, black / dark text on white cards
   ========================================================================== */
.policy-section,
.policy-card {
    color: #111111 !important;
}

.policy-card p,
.policy-card li,
.policy-card ol,
.policy-card ul,
.policy-card div,
.policy-card span {
    color: #1a1a1a !important;
}

.policy-card h1,
.policy-card h2,
.policy-card h3,
.policy-card h4,
.policy-card h5,
.policy-card h6 {
    color: #0d1733 !important;
    font-weight: 700;
}

.policy-card strong,
.policy-card b {
    color: #000000 !important;
    font-weight: 700;
}

.policy-card .lead,
.policy-card .text-secondary {
    color: #222222 !important;
}

.policy-card .text-dark {
    color: #0d1733 !important;
}

.policy-card .text-muted {
    color: #4a5568 !important;
}

.policy-card ul li,
.policy-card ol li {
    color: #1a1a1a !important;
    line-height: 1.75;
}

.policy-card .bg-light,
.policy-card .bg-light p,
.policy-card .bg-light li,
.policy-card .bg-light span,
.policy-card .bg-light ol {
    color: #1a1a1a !important;
}

.policy-card .bg-light strong {
    color: #000000 !important;
}

.policy-card a {
    color: #3c72fc !important;
    font-weight: 600;
}

.policy-card a:hover {
    color: #0d1733 !important;
    text-decoration: underline !important;
}

/* Preserve icon accent colors within policy cards */
.policy-card i.text-primary,
.policy-card .fa-solid.text-primary,
.policy-card .fa-regular.text-primary {
    color: #3c72fc !important;
}

/* ==========================================================================
   Palmony Brand Blue Logo Preloader
   ========================================================================== */
.preloader {
    background-color: #ffffff;
}

.preloader .animation-preloader {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1000;
}

.palmony-preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    z-index: 10;
}

.palmony-preloader-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.palmony-preloader-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(31, 78, 216, 0.14) 0%, rgba(31, 78, 216, 0) 70%);
    border-radius: 50%;
    animation: palmonyPreloaderGlow 2.5s ease-in-out infinite;
    pointer-events: none;
}

.palmony-preloader-logo {
    max-height: 52px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 16px rgba(31, 78, 216, 0.16));
    animation: palmonyPreloaderPulse 2s ease-in-out infinite;
    user-select: none;
    -webkit-user-select: none;
}

.palmony-preloader-progress {
    width: 170px;
    height: 4px;
    background: rgba(31, 78, 216, 0.12);
    border-radius: 99px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.palmony-preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #1F4ED8, #3b82f6, #60a5fa);
    border-radius: 99px;
    box-shadow: 0 0 12px rgba(31, 78, 216, 0.55);
    animation: palmonyPreloaderProgress 1.5s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.palmony-preloader-text {
    margin-top: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #1F4ED8;
    opacity: 0.9;
    margin-bottom: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

@keyframes palmonyPreloaderPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

@keyframes palmonyPreloaderGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.85;
    }
}

@keyframes palmonyPreloaderProgress {
    0% {
        left: -40%;
        width: 30%;
    }
    50% {
        left: 30%;
        width: 55%;
    }
    100% {
        left: 100%;
        width: 30%;
    }
}

/* Hide old template preloader elements if any remain */
.preloader .animation-preloader .spinner,
.preloader .animation-preloader .txt-loading {
    display: none !important;
}

/* Smooth exit animation */
.preloader.loaded .animation-preloader {
    opacity: 0;
    transform: scale(0.95);
    transition: 0.35s ease-out;
}

.preloader .loader .loader-section .bg {
    background-color: #ffffff !important;
}

@media (max-width: 767px) {
    .palmony-preloader-logo {
        max-height: 42px;
        max-width: 190px;
    }
    .palmony-preloader-progress {
        width: 140px;
        height: 3.5px;
    }
    .palmony-preloader-text {
        font-size: 11px;
        letter-spacing: 2.5px;
    }
}

