/*
Theme Name: Dere's Health Travel Theme
Theme URI: https://www.dereshealthtravel.com/
Description: A modern, premium, and highly responsive WordPress theme for Dere's Health Travel Tourism Portal.
Version: 1.0.0
Author: Antigravity
Author URI: https://www.google.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deres-health-theme
*/

:root {
    --primary-color: #0d8a8a; /* Premium teal */
    --primary-gradient: linear-gradient(135deg, #0d8a8a 0%, #005a70 100%);
    --secondary-color: #f7a823; /* Bright warm accent */
    --secondary-gradient: linear-gradient(135deg, #f7a823 0%, #d87e04 100%);
    --dark-color: #111a24; /* Sleek navy dark blue */
    --light-color: #f4f8f9;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --text-color: #333d47;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(13, 138, 138, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(13, 138, 138, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base styles and utilities */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--secondary-color);
}
.btn-premium-primary {
    background: var(--primary-gradient);
    color: var(--white) !important;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(13, 138, 138, 0.2);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 138, 138, 0.35);
}
.btn-premium-secondary {
    background: var(--secondary-gradient);
    color: var(--white) !important;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(247, 168, 35, 0.2);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-premium-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 168, 35, 0.35);
}
.btn-premium-outline {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    padding: 10px 26px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-premium-outline:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--box-shadow);
}
.glass-panel-dark {
    background: rgba(17, 26, 36, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow);
}

/* Header design */
header.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
header.site-header.scrolled {
    padding: 10px 0;
}
.navbar-brand img {
    height: 55px;
    object-fit: contain;
    transition: var(--transition);
}
.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    padding: 10px 16px !important;
    font-size: 15px;
    transition: var(--transition);
}
.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary-color) !important;
}

/* Custom phone/social details in top header */
.top-bar {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 6px 0;
}
.top-bar a {
    color: rgba(255, 255, 255, 0.8);
}
.top-bar a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px 0;
    background-color: var(--dark-color);
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 26, 36, 0.9) 0%, rgba(17, 26, 36, 0.6) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-form-container {
    position: relative;
    z-index: 2;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Treatment Card */
.treatment-card {
    border-radius: var(--border-radius);
    background-color: var(--white);
    border: none;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}
.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}
.treatment-card .card-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.treatment-card .card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.treatment-card:hover .card-img-container img {
    transform: scale(1.08);
}
.treatment-card-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(13, 138, 138, 0.3);
}

/* Timeline process */
.process-step {
    text-align: center;
    position: relative;
}
.process-step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(13, 138, 138, 0.3);
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    background: var(--primary-color);
    opacity: 0.2;
    z-index: -1;
}

@media (max-width: 991.98px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
}

/* Floating Elements */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: var(--transition);
}
.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* License/Certificate Images Hover Effect */
.cert-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.cert-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(13, 138, 138, 0.15);
    border-color: rgba(13, 138, 138, 0.3);
}
.cert-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.cert-image-container:hover img {
    transform: scale(1.02);
}

/* Footer Text & Link Contrast Fix */
footer.bg-dark {
    background-color: #111a24 !important;
}
footer.bg-dark p.text-muted,
footer.bg-dark span.text-muted,
footer.bg-dark .text-muted,
footer.bg-dark ul.text-muted,
footer.bg-dark li.text-muted {
    color: rgba(255, 255, 255, 0.65) !important;
}
footer.bg-dark a.text-muted {
    color: rgba(255, 255, 255, 0.65) !important;
    transition: var(--transition);
}
footer.bg-dark a.text-muted:hover {
    color: var(--secondary-color) !important;
}
footer.bg-dark .footer-middle, 
footer.bg-dark .footer-bottom {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
footer.bg-dark .footer-bottom a.text-muted {
    color: rgba(255, 255, 255, 0.65) !important;
    transition: var(--transition);
}
footer.bg-dark .footer-bottom a.text-muted:hover {
    color: var(--primary-color) !important;
}
footer.bg-dark h5, footer.bg-dark h6 {
    color: #ffffff !important;
}
footer.bg-dark h5.text-primary {
    color: var(--primary-color) !important;
}

/* Language selector dropdown z-index layer fix */
.top-bar {
    position: relative !important;
    z-index: 1050 !important; /* Higher than Bootstrap's default 1020 sticky-top */
    overflow: visible !important;
}
.top-bar .container-xxl,
.top-bar .d-flex,
.top-bar .dropdown,
.top-bar .language-selector {
    overflow: visible !important;
}
.top-bar .dropdown-menu {
    z-index: 99999 !important; /* Ensure dropdown displays over sticky header */
}
header.site-header.sticky-top {
    z-index: 1020 !important; /* Ensure header has a lower stacking layer than top-bar */
}

/* General Dark Background Text Contrast Fix */
.bg-dark p,
.hero-section p,
.glass-panel-dark p,
.bg-dark .text-muted,
.hero-section .text-muted,
.glass-panel-dark .text-muted,
#neden-biz .text-muted,
footer .text-muted,
footer.bg-dark .text-muted,
footer p.text-muted,
footer span.text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}
.bg-dark p,
.hero-section p,
.glass-panel-dark p,
#neden-biz p,
footer p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Custom Pulse/Highlight animation for Quote Form */
@keyframes formPulse {
    0% {
        box-shadow: 0 10px 30px rgba(13, 138, 138, 0.08), 0 0 0 0px rgba(13, 138, 138, 0.4);
    }
    70% {
        box-shadow: 0 10px 30px rgba(13, 138, 138, 0.08), 0 0 0 15px rgba(13, 138, 138, 0);
    }
    100% {
        box-shadow: 0 10px 30px rgba(13, 138, 138, 0.08), 0 0 0 0px rgba(13, 138, 138, 0);
    }
}
.form-highlight-pulse {
    animation: formPulse 1.5s ease-out 1;
    border: 1px solid var(--primary-color) !important;
}



