/* ===================================================
   Full Widescreen Horizontal Website Visiting Card
   Optimized for Laptop/Computer Screens & Mobile Devices
=================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-hover: #3b82f6;
    --accent: #0ea5e9;
    --gold: #f59e0b;
    --gold-gradient: linear-gradient(135deg, #f59e0b, #d97706);
    --bg-dark: #090d16;
    --bg-surface: #111827;
    --bg-card: #172033;
    --bg-card-inner: #1f2b42;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-sub: #cbd5e1;
    --wa-green: #25D366;
    --fb-blue: #1877F2;
    --yt-red: #FF0000;
    --insta-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-main: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* ================= CONTAINER ================= */
.site-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= TOP HEADER (HORIZONTAL NAVBAR) ================= */
.site-header {
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: var(--radius-md);
    background: #0b1120;
    border: 2px solid rgba(59, 130, 246, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
}

.company-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.nav-wa {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.nav-wa svg {
    width: 18px;
    height: 18px;
}

.nav-wa:hover {
    background: #25D366;
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-call-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transition: all 0.25s ease;
}

.nav-call-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.badge-icon {
    width: 20px;
    height: 20px;
}

.call-text-group {
    display: flex;
    flex-direction: column;
}

.call-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.call-number {
    font-size: 0.95rem;
    font-weight: 800;
}

/* ================= MAIN CONTENT ================= */
.site-main {
    flex: 1;
    padding: 30px 0 50px 0;
}

/* ================= HERO 10-IMAGE WIDESCREEN SLIDER ================= */
.hero-slider-section {
    margin-bottom: 30px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 480px; /* Full widescreen height for laptops & desktops */
    background: #000000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-main);
    border: 1px solid var(--border);
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease;
    transform: scale(0.98);
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-overlay-info {
    position: absolute;
    bottom: 24px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 5;
}

.slide-counter-badge {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.slide-brand-title {
    background: rgba(37, 99, 235, 0.8);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
}

/* Slider Arrow Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.slider-arrow:hover {
    background: rgba(37, 99, 235, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    border-radius: 12px;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

/* ================= QUICK ACTION STRIP (4-COLUMN HORIZONTAL) ================= */
.quick-action-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s ease;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.action-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-icon svg {
    width: 22px;
    height: 22px;
}

.call-card .action-icon { background: rgba(37, 99, 235, 0.2); color: #60a5fa; }
.wa-card .action-icon { background: rgba(37, 211, 102, 0.2); color: #34d399; }
.email-card .action-icon { background: rgba(234, 88, 12, 0.2); color: #fb923c; }
.vcard-card .action-icon { background: rgba(124, 58, 237, 0.2); color: #a78bfa; }

.action-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.action-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================= 2-COLUMN MAIN CONTENT GRID ================= */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.grid-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-main);
}

/* Profile Card */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.avatar-large {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #ffffff;
    font-weight: 800;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.person-full-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.designation-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 12px;
    border-radius: 20px;
    margin: 6px 0;
}

.company-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tagline-quote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-sub);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* QR Code Box inside Profile */
.qr-horizontal-box {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card-inner);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px;
}

.qr-thumbnail {
    width: 85px;
    height: 85px;
    background: #ffffff;
    padding: 5px;
    border-radius: 10px;
    flex-shrink: 0;
}

.qr-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-details h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.qr-details p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.btn-share-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-share-trigger:hover {
    background: var(--primary-hover);
}

/* Contact Card */
.card-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.card-heading svg {
    width: 22px;
    height: 22px;
    color: #38bdf8;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.loc-bg { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.phone-bg { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
.mail-bg { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.info-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.address-paragraph {
    font-size: 0.92rem;
    color: var(--text-sub);
    line-height: 1.45;
}

.map-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.map-nav-btn:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: translateX(3px);
}

.phone-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.phone-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.phone-link.alt {
    color: var(--text-sub);
    font-size: 0.88rem;
}

.web-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.web-link:hover {
    text-decoration: underline;
}

/* ================= SOCIAL SECTION (HORIZONTAL STRIP) ================= */
.social-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.section-title svg {
    width: 20px;
    height: 20px;
    color: #38bdf8;
}

.social-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.social-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
}

.s-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.s-icon svg {
    width: 20px;
    height: 20px;
}

.insta-box .s-icon { background: var(--insta-grad); }
.fb-box .s-icon { background: var(--fb-blue); }
.yt-box .s-icon { background: var(--yt-red); }
.map-box .s-icon { background: #059669; }

.s-info strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
}

.s-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ================= FOOTER ================= */
.site-footer {
    background: #060911;
    border-top: 1px solid var(--border);
    padding: 24px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.admin-pill-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* ================= MOBILE STICKY BAR ================= */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}

.sticky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    padding: 6px 0;
}

.sticky-item svg {
    width: 20px;
    height: 20px;
}

.sticky-item:hover, .sticky-item:active {
    color: #38bdf8;
}

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-main);
    overflow: hidden;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

.modal-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
}

.modal-body {
    padding: 22px;
}

.share-icons-row {
    display: flex;
    gap: 10px;
    margin: 16px 0;
}

.share-net {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.share-net.wa { background: var(--wa-green); }
.share-net.fb { background: var(--fb-blue); }
.share-net.mail { background: #ea580c; }

.copy-link-field {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #0b1120;
}

.copy-link-field input {
    flex: 1;
    padding: 11px 14px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
}

.copy-link-field button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0 18px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.copy-alert {
    display: none;
    margin-top: 10px;
    padding: 8px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    border-radius: 6px;
    font-size: 0.8rem;
    text-align: center;
}

/* ================= RESPONSIVE DESIGN (TABLETS & MOBILE) ================= */
@media (max-width: 992px) {
    .quick-action-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-horizontal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .slider-wrapper {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .site-container {
        padding: 0 16px;
    }

    .site-main {
        padding: 16px 0 70px 0;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .slider-wrapper {
        height: 240px; /* Adapted for mobile screens */
        border-radius: var(--radius-md);
    }

    .slide-overlay-info {
        bottom: 12px;
        left: 14px;
    }

    .slider-dots {
        bottom: 12px;
        right: 14px;
    }

    .quick-action-strip {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .action-card {
        padding: 12px;
    }

    .action-text h4 {
        font-size: 0.85rem;
    }

    .action-text p {
        font-size: 0.72rem;
    }

    .main-grid {
        grid-template-columns: 1fr; /* Stacks to single column on mobile */
        gap: 16px;
    }

    .grid-card {
        padding: 20px;
    }

    .social-horizontal-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .mobile-sticky-bar {
        display: flex;
    }
}
