/* Index page styles - Jyotish Kendra Dr. Sunil Singh */
:root {
    --gold: #d4af37;
    --gold-light: #fbbf24;
    --gold-dark: #aa8529;
    --crimson: #991b1b;
    --crimson-light: #dc2626;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #334155;
    --text-muted: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.15);
    --shadow-hover: 0 20px 50px -15px rgba(15, 23, 42, 0.25);
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--bg);
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--dark);
    margin: 0 0 0.75rem;
}

.section-header .section-divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto;
    border-radius: 2px;
}

.section-header p {
    max-width: 560px;
    margin: 1rem auto 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: clamp(280px, 55vh, 620px);
}

.hero-banner .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-banner .carousel-indicators .active {
    background: var(--gold-light);
    transform: scale(1.3);
}

.hero-banner .carousel-control-prev,
.hero-banner .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.5);
    border-radius: 50%;
    opacity: 0.8;
    margin: 0 1rem;
}

.hero-banner .carousel-control-prev:hover,
.hero-banner .carousel-control-next:hover {
    opacity: 1;
    background: rgba(212, 175, 55, 0.85);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.45) 55%, transparent 100%);
    display: flex;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    padding: 2rem 1.5rem;
    max-width: 620px;
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: var(--gold-light);
}

.hero-content p {
    color: #cbd5e1;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    color: var(--dark);
    text-decoration: none;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-light);
    color: var(--gold-light);
    text-decoration: none;
}

.stats-bar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    padding: 2rem 0;
    border-bottom: 3px solid var(--gold);
}

.stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
}

.stat-item .stat-number {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.2;
}

.stat-item .stat-label {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.home-content {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--white);
    overflow: hidden;
}

@media (min-width: 992px) {
    .home-content .container {
        max-width: 92%;
    }
    .home-content .row > .col-lg-6:first-child {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }
    .home-content .row > .col-lg-6:nth-child(2) {
        flex: 0 0 60% !important;
        max-width: 60% !important;
    }
}

.home-content h1,
.home-content h2 {
    background: none;
    padding: 0;
    color: inherit;
}

.about-highlight h2 {
    color: #92400e !important;
}

.about-text>p,
.about-highlight p {
    background: none;
    padding: 0;
}

.about-text>p {
    text-align: left;
}

.about-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.about-image-wrap img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    display: block;
    margin: 0 auto;
}

.experience-badge {
    position: absolute;
    bottom: -12px;
    right: 10%;
    background: linear-gradient(135deg, var(--crimson-light) 0%, var(--crimson) 100%);
    color: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(153, 27, 27, 0.4);
}

.experience-badge .years {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-text h3 {
    font-family: 'Cinzel', serif;
    color: var(--crimson);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    margin-bottom: 1rem;
}

.about-text>p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-text h4 {
    font-family: 'Cinzel', serif;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.specialty-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.specialty-grid li:hover {
    border-color: var(--gold);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.specialty-grid li i {
    color: var(--crimson-light);
    font-size: 1rem;
    flex-shrink: 0;
}

.video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-highlight {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--radius);
    border-left: 5px solid var(--gold-dark);
    box-shadow: var(--shadow);
    margin-top: 2.5rem;
}

.about-highlight h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1rem;
}

.about-highlight p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin: 0;
    text-align: justify;
}

.horoscope {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: clamp(3rem, 8vw, 5rem) 0;
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
    overflow: hidden;
}

.horoscope .section-header h2 {
    color: #b45309;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px 40px;
    border-radius: 16px;
    display: table;
    margin: 0 auto 15px auto !important;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(253, 230, 138, 0.5);
    text-align: center;
    word-break: break-word;
}
@media (max-width: 768px) {
    .horoscope .section-header h2 {
        padding: 15px 20px;
        font-size: 1.8rem;
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
}

.horoBox {
    background: var(--white);
    border-radius: 20px;
    padding: 24px 15px;
    text-align: center;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #fef08a;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.horoBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.horoBox:hover::before {
    transform: scaleX(1);
}

.horoBox:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(217, 119, 6, 0.2);
}

.horoBox img {
    max-width: 65px;
    margin-bottom: 12px;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.horoBox:hover img {
    transform: scale(1.12) rotate(5deg);
}

.horoBox h4 {
    color: #92400e;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 8px 0;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 20px;
}

.track-left {
    animation: scroll-left 40s linear infinite;
}

.track-right {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.horoBox-slider {
    width: clamp(160px, 22vw, 240px);
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none !important;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .marquee-container {
        overflow: visible;
    }
}

.products {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--bg);
}

.prod-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.prod-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.3);
}

.prod-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.prod-card img {
    width: 100%;
    height: clamp(180px, 25vw, 220px);
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.prod-card:hover img {
    transform: scale(1.06);
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--crimson-light);
    color: white;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
    z-index: 2;
}

.prod-card h4 {
    font-size: 1.2rem;
    color: var(--dark-soft);
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.prod-card:hover h4 {
    color: var(--gold);
}

.prod-card .btn-buy {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 220px;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.prod-card .btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
    color: var(--dark);
}

#testimonial {
    background: linear-gradient(135deg, #0a0a14 0%, #15152b 100%);
    padding: clamp(3rem, 8vw, 5rem) 0;
    color: white;
    position: relative;
    overflow: hidden;
}

#testimonial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

#testimonial .section-header h2 {
    color: var(--gold);
}

.testimonial-glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin: 10px auto 50px;
    max-width: 750px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, border-color 0.4s ease;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.45);
}

.quote-icon-top {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: rgba(212, 175, 55, 0.12);
    position: absolute;
    top: 16px;
    left: 20px;
    pointer-events: none;
}

.testimonial-glass-card p {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.75;
    color: #f1f5f9;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.author-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 18px;
    gap: 15px;
}

.author-box img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.05rem;
    color: var(--gold-light);
    margin: 0 0 3px;
    font-weight: 600;
}

.author-info h6 {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.custom-carousel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .custom-carousel-icon,
.carousel-control-next:hover .custom-carousel-icon {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.08);
}

#testimonials .carousel-indicators {
    bottom: -5px;
}

#testimonials .carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.25);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 5px;
    border: none;
    transition: all 0.3s ease;
}

#testimonials .carousel-indicators .active {
    background-color: var(--gold);
    transform: scale(1.4);
}

.cta-section {
    background: linear-gradient(135deg, var(--crimson) 0%, #7f1d1d 100%);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: #fecaca;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--gold-light);
    color: var(--dark);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--dark);
    text-decoration: none;
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: var(--gold-light);
    border-bottom: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-header .close {
    color: #f8fafc;
    opacity: 0.8;
    text-shadow: none;
}

.modal-header .close:hover {
    color: var(--gold-light);
    opacity: 1;
}

.modal-body {
    padding: 30px 25px;
    background: var(--bg);
}

.modal-footer {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 15px 25px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.modal .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    width: 100%;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.modal .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(16, 185, 129, 0.3);
}

.modal .btn-secondary {
    border-radius: 50px;
    padding: 8px 25px;
}

@media (min-width: 768px) {
    .specialty-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-overlay {
        background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%);
        align-items: flex-end;
    }

    .hero-content {
        max-width: 100%;
    }

    .experience-badge {
        right: 5%;
        bottom: -10px;
    }
}

@media (max-width: 767px) {

    .hero-banner .carousel-control-prev,
    .hero-banner .carousel-control-next {
        display: none;
    }

    .hero-content {
        padding: 1.5rem 1rem 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .btn-hero-primary,
    .hero-actions .btn-hero-outline {
        flex: 1 1 auto;
        text-align: center;
        min-width: 140px;
    }

    .stat-item {
        padding: 0.75rem 0.5rem;
    }

    .stat-item .stat-label {
        font-size: 0.75rem;
    }

    .specialty-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .specialty-grid li {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .testimonial-glass-card {
        margin: 0 10px 40px;
        min-height: auto;
    }

    #testimonials .carousel-control-prev,
    #testimonials .carousel-control-next {
        display: none;
    }

    .about-highlight p {
        text-align: left;
    }
}

@media (max-width: 400px) {
    .specialty-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        position: static;
        margin: 1rem auto 0;
        display: inline-block;
    }

    .about-image-wrap {
        text-align: center;
    }
}

#testimonial .section-label {
    color: rgba(212, 175, 55, 0.8);
}

#modalHoroName {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 10px;
}

#modalHoroDate {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

#modalHoroText {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
    text-align: left;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

transform: translateY(-2px);
box-shadow: 0 8px 12px rgba(16, 185, 129, 0.3);
}

.modal .btn-secondary {
    border-radius: 50px;
    padding: 8px 25px;
}

@media (min-width: 768px) {
    .specialty-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-overlay {
        background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%);
        align-items: flex-end;
    }

    .hero-content {
        max-width: 100%;
    }

    .experience-badge {
        right: 5%;
        bottom: -10px;
    }
}

@media (max-width: 767px) {

    .hero-banner .carousel-control-prev,
    .hero-banner .carousel-control-next {
        display: none;
    }

    .hero-content {
        padding: 1.5rem 1rem 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .btn-hero-primary,
    .hero-actions .btn-hero-outline {
        flex: 1 1 auto;
        text-align: center;
        min-width: 140px;
    }

    .stat-item {
        padding: 0.75rem 0.5rem;
    }

    .stat-item .stat-label {
        font-size: 0.75rem;
    }

    .specialty-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .specialty-grid li {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .testimonial-glass-card {
        margin: 0 10px 40px;
        min-height: auto;
    }

    #testimonials .carousel-control-prev,
    #testimonials .carousel-control-next {
        display: none;
    }

    .about-highlight p {
        text-align: left;
    }
}

@media (max-width: 400px) {
    .specialty-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        position: static;
        margin: 1rem auto 0;
        display: inline-block;
    }

    .about-image-wrap {
        text-align: center;
    }
}

#testimonial .section-label {
    color: rgba(212, 175, 55, 0.8);
}

#modalHoroName {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 10px;
}

#modalHoroDate {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

#modalHoroText {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
    text-align: left;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}