/* =========================================
   Healix Elementor Widgets — Main Stylesheet
   ========================================= */

/* ── SHARED ─────────────────────────────── */
.healix-hero-section,
.healix-about-section,
.bs-blog-section {
    font-family: 'Jost', sans-serif;
    box-sizing: border-box;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.healix-hero-section {
    background-color: #00332c;
    padding: 60px 30px 0;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    max-width: 1200px;
    margin: 10px auto;
}

.hero-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text-content {
    flex: 1;
    min-width: 300px;
    z-index: 2;
}

.hero-text-content .sub-heading {
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
.hero-text-content .sub-heading i { color: #f7c35f; }

.hero-text-content h1 {
    color: #ffffff;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text-content p {
    color: #e0e0e0;
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 520px;
    line-height: 1.6;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-know-more {
    background: #f7c35f;
    color: #00332c;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
    white-space: nowrap;
}
.btn-know-more::before,
.btn-know-more::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    transition: width 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: skewX(-15deg);
}
.btn-know-more::before { left: -10%; }
.btn-know-more::after  { right: -10%; }
.btn-know-more:hover   { color: #000 !important; }
.btn-know-more:hover::before,
.btn-know-more:hover::after { width: 65%; }

.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}
.phone-icon {
    border: 1px solid rgba(255,255,255,0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7c35f;
}
.contact-info small {
    display: block;
    opacity: 0.7;
    font-size: 11px;
}
.contact-info strong { color: #fff; }

/* Hero Stats */
.hero-footer-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.user-reviews-wrap { display: flex; align-items: center; gap: 10px; }
.user-reviews { display: flex; align-items: center; }
.user-reviews img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #00332c;
    margin-left: -12px;
    object-fit: cover;
}
.user-reviews img:first-child { margin-left: 0; }
.review-count {
    background: #f7c35f;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-left: -12px;
    border: 2px solid #00332c;
    color: #00332c;
}
.rating-text { color: #fff; font-size: 13px; line-height: 1.3; }

.stat-item {
    color: #fff;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}
.stat-item h3 { margin: 0; font-size: 28px; color: #f7c35f; font-weight: 700; }
.stat-item p  { margin: 0; font-size: 14px; opacity: 0.8; }

/* Hero Image */
.hero-image-box {
    flex: 1;
    position: relative;
    text-align: right;
    min-width: 280px;
}
.hero-image-box img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 10px;
}
.exp-badge {
    position: absolute;
    background: #f7c35f;
    padding: 14px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    top: 30%;
    right: -10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: healixFloat 3s ease-in-out infinite;
}
.exp-badge h2  { margin: 0; font-size: 30px; color: #00332c; font-weight: 800; }
.exp-badge span { font-size: 13px; font-weight: 600; color: #00332c; line-height: 1.2; }

/* ==========================================
   ABOUT SECTION
   ========================================== */
.healix-about-section {
    padding: 100px 20px;
    overflow: hidden;
    border-radius: 30px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

/* About Images */
.about-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    min-width: 480px;
}

.main-img-box {
    width: 60%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
    animation: healixSlideLeft 1.2s ease-out forwards;
    border: 5px solid #ffffff;
}
.secondary-img-box {
    width: 50%;
    margin-left: -15%;
    margin-bottom: 20%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 1;
    animation: healixSlideRight 1.2s ease-out forwards;
    border: 10px solid #ffffff;
}
.about-image-wrapper img { width: 100%; display: block; }

.about-exp-badge {
    position: absolute;
    bottom: 5%;
    left: 35%;
    background: #f7c35f;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(247,195,95,0.3);
    animation: healixFloat 4s ease-in-out infinite;
}
.about-exp-badge h2  { margin: 0; font-size: 35px; font-weight: 800; color: #00332c; min-width: 45px; }
.about-exp-badge span { font-size: 13px; font-weight: 600; line-height: 1.2; color: #00332c; }

/* About Content */
.about-content { flex: 1; text-align: left; }

.about-sub {
    color: #00332c;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.gemini-star-shape {
    width: 18px;
    height: 18px;
    background: #f7c35f;
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
    display: inline-block;
    flex-shrink: 0;
}

.about-content h2 {
    font-size: 46px;
    color: #00332c;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}
.about-content p {
    color: #666;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #EAEEF1;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-left: 6px solid #00332c;
    transition: all 0.4s ease;
}
.features-list::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 100%;
    background: #00332c;
    z-index: -1;
    transition: width 0.5s ease-in-out;
}
.features-list:hover::before { width: 100%; }
.features-list:hover { border-left-color: #f7c35f; }

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #00332c;
    font-size: 15px;
    transition: color 0.4s ease;
}
.features-list:hover .feature-item { color: #f7c35f; }

.feature-item i {
    background: #00332c;
    color: #EAEEF1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}
.features-list:hover .feature-item i { background: #f7c35f; color: #00332c; }

/* About Button */
.btn-about {
    background: #f7c35f;
    color: #00332c;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}
.btn-about::before,
.btn-about::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #014E4E;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: skewX(-15deg);
}
.btn-about::before { left: -10%; }
.btn-about::after  { right: -10%; }
.btn-about:hover   { color: #ffffff; }
.btn-about:hover::before,
.btn-about:hover::after { width: 65%; }

/* About Footer */
.about-footer {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.author-info { display: flex; align-items: center; gap: 12px; }
.author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info h4 { margin: 0; color: #00332c; font-size: 16px; }
.author-info span { font-size: 14px; color: #666; }

/* ==========================================
   BLOG SECTION
   ========================================== */
.bs-blog-section {
    padding: 80px 20px;
    background: #ffffff;
}

.bs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Header */
.bs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}
.bs-tagline {
    color: #00332c;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.bs-star {
    width: 16px;
    height: 16px;
    background: #f7c35f;
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
    display: inline-block;
    flex-shrink: 0;
}
.bs-header h2 {
    font-size: 42px;
    color: #00332c;
    margin: 0;
    line-height: 1.2;
    max-width: 500px;
    font-weight: 700;
}

/* Blog View All Button */
.bs-view-btn {
    background: #f7c35f;
    color: #00332c;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    white-space: nowrap;
}
.bs-view-btn:hover { background: #00332c; color: #fff; }

/* Blog Grid */
.bs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bs-card { overflow: hidden; }

.bs-img-box {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
}
.bs-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.bs-card:hover .bs-img-box img { transform: scale(1.08); }

.bs-card h3 {
    font-size: 20px;
    color: #00332c;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-weight: 700;
    min-height: 56px;
}

.bs-read-more {
    text-decoration: none;
    color: #00332c;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, gap 0.3s;
}
.bs-read-more:hover { color: #014E4E; gap: 14px; }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes healixFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-14px); }
    100% { transform: translateY(0px); }
}
@keyframes healixSlideLeft {
    from { opacity: 0; transform: translateX(-80px) rotate(-5deg); }
    to   { opacity: 1; transform: translateX(0) rotate(-5deg); }
}
@keyframes healixSlideRight {
    from { opacity: 0; transform: translateX(80px) rotate(5deg); }
    to   { opacity: 1; transform: translateX(0) rotate(5deg); }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1240px) {
    .healix-hero-section { margin-left: 20px; margin-right: 20px; }
}

@media (max-width: 1024px) {
    .bs-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { flex-direction: column; align-items: flex-start; }
    .about-image-wrapper { min-width: 100%; margin-bottom: 60px; }
}

@media (max-width: 991px) {
    .healix-hero-section {
        border-radius: 0;
        margin: 0;
        max-width: 100%;
        padding: 40px 20px 0;
    }
    .hero-text-content { min-width: 100%; }
    .hero-text-content h1 { font-size: 44px; }
    .hero-image-box { min-width: 100%; text-align: center; }
    .hero-image-box img { max-width: 100%; }
    .exp-badge { right: 10px; }
}

@media (max-width: 767px) {
    .hero-text-content h1 { font-size: 36px; }
    .hero-actions { flex-wrap: wrap; }
    .btn-know-more { padding: 12px 25px; }

    .healix-about-section { padding: 60px 0; }
    .about-content h2 { font-size: 32px; }
    .features-list { grid-template-columns: 1fr; padding: 20px; }
    .about-image-wrapper { min-width: 100%; }
    .main-img-box  { width: 70%; }
    .secondary-img-box { width: 60%; margin-left: -20%; }
    .about-exp-badge { left: 15%; bottom: 0; padding: 10px 15px; }

    .bs-blog-section { padding: 50px 0; }
    .bs-grid { grid-template-columns: 1fr; }
    .bs-header { flex-direction: column; align-items: flex-start; }
    .bs-header h2 { font-size: 30px; }
    .bs-img-box { height: 250px; }
}
