/* ========================================
   HIRA PRINT - IMAGE & ENHANCED SECTIONS CSS
   Real machine photos, certificates, logo
======================================== */

/* ===== LOGO IMAGE ===== */
.nav__logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer__logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.preloader-logo-img {
    height: 80px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

/* ===== HERO IMAGE BACKGROUNDS ===== */
.hero-slide .slide-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-slide .slide-visual-image {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 80%;
    object-fit: cover;
    border-radius: 30px;
    opacity: 0.25;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, transparent 100%);
    z-index: 0;
}

/* ===== MACHINES SHOWCASE SECTION ===== */
.machines-showcase {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.machines-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.machine-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.machine-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.machine-card__image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.machine-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.machine-card:hover .machine-card__image img {
    transform: scale(1.1);
}

.machine-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95), transparent);
    pointer-events: none;
}

.machine-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.machine-card__content {
    padding: 24px;
    position: relative;
}

.machine-card__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.machine-card__type {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 500;
}

.machine-card__specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.machine-card__specs li {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.machine-card__specs li i {
    color: var(--gold);
    margin-right: 4px;
}

/* Machine Card Featured */
.machine-card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.machine-card--featured .machine-card__image {
    height: 100%;
    min-height: 400px;
}

.machine-card--featured .machine-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.machine-card--featured .machine-card__name {
    font-size: 1.6rem;
}

/* ===== REAL IMAGE GALLERY ===== */
.gallery-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.print-gallery-item:hover .gallery-real-img {
    transform: scale(1.1);
}

/* ===== ABOUT PAGE - FACILITY IMAGE ===== */
.story-image-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.story-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.story-image-wrapper .story-image-real {
    transition: transform 0.8s ease;
}

.story-image-wrapper:hover .story-image-real {
    transform: scale(1.05);
}

/* ===== INFRASTRUCTURE WITH REAL IMAGES ===== */
.infra-card .infra-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.6s ease;
}

.infra-card:hover .infra-image img {
    transform: scale(1.08);
}

.infra-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.infra-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.6), transparent);
}

/* ===== SERVICE BLOCK REAL IMAGES ===== */
.service-block__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-lg);
}

.service-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-block__image:hover img {
    transform: scale(1.05);
}

.service-block__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    pointer-events: none;
}

.service-block__image .image-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 2;
}

/* ===== CERTIFICATES SECTION - REDESIGNED ===== */
.cert-card-enhanced {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s ease;
    overflow: hidden;
}

.cert-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.cert-card-enhanced:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.cert-card-enhanced .cert-seal {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.cert-card-enhanced .cert-seal::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px dashed rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    animation: spin 15s linear infinite;
}

.cert-card-enhanced .cert-seal i {
    font-size: 2.5rem;
    color: var(--navy);
}

.cert-card-enhanced h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.cert-card-enhanced p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.cert-card-enhanced .cert-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cert-card-enhanced .cert-download:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== EQUIPMENT SECTION WITH IMAGES ===== */
.equipment-card-img {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.5s ease;
}

.equipment-card-img:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.12);
}

.equipment-card-img .equipment-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.equipment-card-img .equipment-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.equipment-card-img:hover .equipment-img-wrapper img {
    transform: scale(1.1);
}

.equipment-card-img .equipment-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.4), transparent);
}

.equipment-card-img .equipment-origin {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--navy);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.equipment-card-img .equipment-details {
    padding: 20px;
}

.equipment-card-img .equipment-details h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.equipment-card-img .equipment-details span {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 500;
}

/* ===== IMAGE LIGHTBOX ===== */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(20px);
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.5s ease;
}

.image-lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--gold);
    color: var(--navy);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 30px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

/* ===== FACILITY TOUR SECTION ===== */
.facility-tour {
    padding: 80px 0;
    background: var(--gray-100);
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 250px 250px;
    gap: 20px;
    margin-top: 3rem;
}

.facility-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.facility-item:hover img {
    transform: scale(1.1);
}

.facility-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

.facility-item .facility-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    color: white;
}

.facility-item .facility-label h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.facility-item .facility-label span {
    font-size: 0.8rem;
    color: var(--gold);
}

.facility-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.facility-item:nth-child(4) {
    grid-column: span 2;
}

/* ===== PORTFOLIO REAL IMAGES ===== */
.portfolio-card__image img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.08);
}

/* ===== IMAGE FRAME DECORATIONS ===== */
.img-frame {
    position: relative;
    display: inline-block;
}

.img-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.img-frame::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
    border-radius: 20px;
    z-index: -1;
    transition: all 0.5s ease;
}

.img-frame:hover::before {
    top: -6px;
    left: -6px;
    opacity: 1;
}

.img-frame:hover::after {
    top: 6px;
    left: 6px;
}

/* ===== IMAGE PARALLAX OVERLAY ===== */
.parallax-image-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.parallax-image-section img {
    position: absolute;
    inset: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    object-fit: cover;
}

.parallax-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .machines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .machine-card--featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .machine-card--featured .machine-card__image {
        min-height: 300px;
    }
    
    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .facility-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .facility-item:nth-child(4) {
        grid-column: span 1;
    }

    .hero-slide .slide-visual-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .machines-grid {
        grid-template-columns: 1fr;
    }
    
    .machine-card--featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .machine-card--featured .machine-card__image {
        min-height: 250px;
        height: 250px;
    }
    
    .machine-card__image {
        height: 220px;
    }
    
    .machines-showcase {
        padding: 60px 0;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .facility-item:nth-child(1) {
        grid-column: span 1;
    }
    
    .facility-item {
        height: 220px;
    }
    
    .service-block__image {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .cert-card-enhanced {
        padding: 30px 20px;
    }
    
    .cert-card-enhanced .cert-seal {
        width: 80px;
        height: 80px;
    }
    
    .cert-card-enhanced .cert-seal i {
        font-size: 2rem;
    }
    
    .equipment-card-img .equipment-img-wrapper {
        height: 180px;
    }
    
    .parallax-image-section {
        height: 350px;
    }
    
    .nav__logo-img {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .machine-card__image {
        height: 180px;
    }
    
    .machine-card__content {
        padding: 16px;
    }
    
    .machine-card__name {
        font-size: 1rem;
    }
    
    .facility-item {
        height: 180px;
    }
    
    .nav__logo-img {
        height: 32px;
    }
}

/* ===== SKELETON LOADING FOR IMAGES ===== */
.skeleton-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #e8e8e8 8%, #f5f5f5 18%, #e8e8e8 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    border-radius: inherit;
}

.skeleton-wrapper.dark {
    background: linear-gradient(110deg, rgba(255,255,255,0.05) 8%, rgba(255,255,255,0.1) 18%, rgba(255,255,255,0.05) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image skeleton before load */
img[loading="lazy"],
.machine-card__image img,
.facility-item img,
.infra-image img,
.equipment-img-wrapper img,
.service-block__image img,
.gallery-real-img {
    background: linear-gradient(110deg, #e0e0e0 8%, #efefef 18%, #e0e0e0 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    min-height: 40px;
}

.machine-card__image img,
.machines-showcase img {
    background: linear-gradient(110deg, rgba(255,255,255,0.05) 8%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.05) 33%);
    background-size: 200% 100%;
}

img.loaded {
    animation: none;
    background: none;
}

/* Image fade-in on load */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== CERTIFICATE NAME & ID STYLES ===== */
.cert-card-enhanced .cert-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    line-height: 1.5;
}

.cert-card-enhanced .cert-id {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ===== HIRA PRINT ASSISTANT CHATBOT ===== */
.hira-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

.chatbot-toggle-icon {
    font-size: 1.6rem;
    color: var(--navy);
    transition: all 0.3s ease;
}

.chatbot-toggle-close {
    font-size: 1.4rem;
    color: var(--navy);
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
    transition: all 0.3s ease;
}

.hira-chatbot.active .chatbot-toggle-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.hira-chatbot.active .chatbot-toggle-close {
    opacity: 1;
    transform: rotate(0);
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #e74c3c;
    border-radius: 50%;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse-badge 2s ease infinite;
}

.hira-chatbot.active .chatbot-badge {
    display: none;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Chatbot Window */
.chatbot-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.hira-chatbot.active .chatbot-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 3px;
}

.chatbot-header-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
}

.chatbot-status {
    font-size: 0.7rem;
    color: #25D366;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
}

.chatbot-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    transition: color 0.3s ease;
}

.chatbot-close:hover {
    color: white;
}

/* Chat Messages */
.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 340px;
    background: #f8f9fa;
}

.chat-message {
    margin-bottom: 14px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message p {
    background: var(--white);
    border: 1px solid #e8e8e8;
    padding: 12px 16px;
    border-radius: 4px 18px 18px 18px;
    font-size: 0.88rem;
    color: var(--navy);
    line-height: 1.5;
    display: inline-block;
    max-width: 90%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin: 0;
}

.user-message {
    text-align: right;
}

.user-message p {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: white;
    padding: 12px 16px;
    border-radius: 18px 4px 18px 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    display: inline-block;
    max-width: 90%;
    margin: 0;
}

/* Quick Actions */
.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.quick-action-btn {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--navy);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-action-btn i {
    color: var(--gold);
    font-size: 0.8rem;
}

.quick-action-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.quick-action-btn:hover i {
    color: var(--navy);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 4px 18px 18px 18px;
    display: inline-flex;
}

.typing-indicator span {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Chat Input */
.chatbot-input {
    display: flex;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e8e8e8;
    gap: 8px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: var(--font-body);
}

.chatbot-input input:focus {
    border-color: var(--gold);
}

.chatbot-input button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    color: var(--navy);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chatbot-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Chatbot Mobile */
@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 30px);
        right: -15px;
        max-height: 70vh;
        bottom: 70px;
    }
    
    .chatbot-toggle {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 768px) {
    .hira-chatbot {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-window {
        width: 340px;
    }
}

/* ===== PROCESS VISUAL FIX (Hira Advantage) ===== */
/* Overrides handled in sections2.css - keeping this for additional tweaks only */
.why__visual {
    overflow: visible !important;
}

.process-visual {
    overflow: visible !important;
}

.process-circle {
    overflow: visible !important;
}

/* ===== HIDE BACK TO TOP (REPLACED BY CHATBOT) ===== */
.back-to-top {
    display: none !important;
}

/* ===== WHATSAPP FLOAT REPOSITIONED ===== */
.whatsapp-float {
    bottom: 100px !important;
    right: 30px;
}
