﻿/* ======================================================
   DIGITALVISITINGCARD – Unified Modern Theme (Orange)
   ====================================================== */
@import url("https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700");

/* ===== BASE ===== */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: auto;
    min-height: 100vh;
}

body {
    margin: 0;
    padding: 0 0 70px 0;
    font-family: Montserrat, sans-serif;
    background: url('card_images/bgt1.png'), repeating-linear-gradient(45deg, #000, #3b3b3b 100px);
    background-size: 108px 108px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    color: #333;
}

/* ===== THEME VARIABLES ===== */
:root {
    --theme-primary: #ff7139;
    --theme-accent: #ff944d;
    --theme-success: #25D366;
    --text-dark: #222;
    --text-light: #fff;
}

/* ===== GLOBAL RESET ===== */
a {
    text-decoration: none;
    color: inherit;
}

div, h1, h2, h3, h4, p, i, a {
    transition: 0.3s ease;
}

input, select, textarea, button {
    font-family: Montserrat, sans-serif;
}

    input::placeholder,
    textarea::placeholder {
        font-size: 12px;
    }

/* ===== WRAPPER ===== */
.card-wrapper {
    width: 100%;
    max-width: 460px;
    margin: 20px auto 80px;
    padding: 0 10px;
}

/* ===== CARD BASE ===== */
.card, .card2 {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    margin: 15px auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    border-left: 4px solid var(--theme-primary);
    transition: 0.3s ease;
}

    .card:hover, .card2:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

/* ===== PROFILE ===== */
.card_content {
    text-align: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--theme-primary);
    margin: 20px auto 10px;
    overflow: hidden;
}

    .card_content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.card_content2 {
    text-align: center;
}

    .card_content2 h2 {
        margin: 8px 0 5px;
        font-size: 20px;
        font-weight: 600;
    }

    .card_content2 p {
        margin: 0;
        font-weight: 500;
        font-size: 13px;
        color: #666;
    }

/* ===== CONTACT DETAILS ===== */
.contact_details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.contact_d {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #222;
    padding: 6px 0;
}

    .contact_d i {
        background: var(--theme-primary);
        color: #fff;
        border-radius: 50%;
        font-size: 14px;
        padding: 8px;
        margin-right: 8px;
    }

/* ======================================================
   SHARE & CONNECT
   ====================================================== */
.modern-share {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    width: 95%;
    max-width: 460px;
    margin: 25px auto;
    padding: 22px 16px 28px;
    text-align: center;
    border: 1.8px solid rgba(0,0,0,0.06);
    border-left: 4px solid var(--theme-primary);
}

    .modern-share h3 {
        color: var(--theme-primary);
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    .modern-share .share-subtext {
        font-size: 12px;
        color: #555;
        margin-bottom: 14px;
    }

/* WhatsApp Share Box */
.whatsapp-share-box {
    margin-bottom: 16px;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    border: 1.8px solid var(--theme-primary);
    border-radius: 6px;
    overflow: hidden;
    width: 90%;
    max-width: 360px;
    margin: 0 auto;
}

.prefix {
    background: #f7f7f7;
    padding: 10px 8px;
    font-size: 13px;
    border-right: 1px solid #ddd;
    color: #555;
}

.input-group input {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    color: #222;
}

.btn-whatsapp {
    background: var(--theme-success);
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

    .btn-whatsapp:hover {
        background: #1ebe5c;
    }

/* Outline Buttons */
.share-btn-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.btn-outline {
    background: #fff;
    border: 1.8px solid var(--theme-primary);
    color: var(--theme-primary);
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 14px;
    min-width: 150px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.3s;
}

    .btn-outline:hover {
        background: var(--theme-primary);
        color: #fff;
    }

/* ======================================================
   ENHANCED QR SECTION
   ====================================================== */
.qr-section {
    text-align: center;
    margin: 25px auto;
    border: 2px solid var(--theme-primary);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    max-width: 460px;
    transition: 0.3s ease;
}

    .qr-section:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    }

.qr-header {
    background: linear-gradient(45deg, var(--theme-primary), var(--theme-accent));
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 0;
    border-radius: 10px 10px 0 0;
    text-transform: uppercase;
}

.qr-body {
    padding: 20px 0 25px;
}

.qr-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 10px auto;
    display: block;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.qr-actions {
    text-align: center;
    margin-bottom: 10px;
}

.copy-link-btn, .qr-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.copy-link-btn {
    background: #fff;
    color: var(--theme-primary);
    border: 2px solid var(--theme-primary);
}

    .copy-link-btn:hover {
        background: var(--theme-primary);
        color: #fff;
    }

.qr-download-btn {
    background: linear-gradient(45deg, var(--theme-primary), var(--theme-accent));
    color: #fff;
    border: none;
    margin-top: 10px;
}

    .qr-download-btn:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

/* ======================================================
   GALLERY SECTION
   ====================================================== */
.gallery_row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery_img {
    width: 46%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.35s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .gallery_img:hover {
        transform: scale(1.05);
        border-color: var(--theme-primary);
        box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    }

/* ======================================================
   FEEDBACK / ENQUIRY
   ====================================================== */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

    form input, form select, form textarea {
        width: 95%;
        padding: 10px;
        font-size: 13px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        transition: 0.3s;
    }

        form input:focus, form select:focus, form textarea:focus {
            border-color: var(--theme-primary);
            box-shadow: 0 0 6px rgba(255, 113, 57, 0.3);
        }

    form textarea {
        resize: vertical;
        min-height: 60px;
    }

    form button, .btn-feedback {
        background: var(--theme-primary);
        color: #fff;
        border: none;
        padding: 10px 14px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 13px;
        cursor: pointer;
        transition: 0.3s;
    }

        form button:hover, .btn-feedback:hover {
            background: #ff8958;
        }

/* Feedback Display */
.feedback_block {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    padding: 10px 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .feedback_block .star {
        font-size: 15px;
        color: #ffcc33;
    }

    .feedback_block .comment {
        font-size: 14px;
        color: #333;
        margin: 5px 0;
    }

    .feedback_block .byline {
        font-size: 12px;
        color: #666;
        text-align: right;
    }

/* ======================================================
   VIEW COUNTER
   ====================================================== */
.view_counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--theme-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

    .view_counter i {
        font-size: 13px;
        margin-bottom: 2px;
    }

/* ======================================================
   VIDEO SECTION
   ====================================================== */
#videos iframe, #videos video {
    width: 100%;
    height: 220px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    margin-bottom: 10px;
}

.video-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-primary);
    margin-bottom: 15px;
}

/* ======================================================
   PAYMENT BLOCK
   ====================================================== */
.payment_block {
    background: #fafafa;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-left: 4px solid var(--theme-primary);
    text-align: center;
}

    .payment_block img {
        width: 150px;
        height: auto;
        margin: 10px auto;
        border-radius: 8px;
    }

    .payment_block p {
        font-size: 13px;
        color: #333;
        margin: 5px 0;
    }

/* ======================================================
   COPYRIGHT / BOTTOM MENU
   ====================================================== */
.copyright {
    background: var(--theme-primary);
    color: #fff;
    text-align: center;
    font-size: 13px;
    padding: 12px 0;
    margin-top: 25px;
    border-radius: 0 0 10px 10px;
}

    .copyright a {
        color: #fff;
        font-weight: 600;
    }

.menu_bottom {
    background: var(--theme-primary);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.menu_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow-x: auto;
    padding: 5px 0;
    white-space: nowrap;
}

.menu_item {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 8px;
    cursor: pointer;
}

    .menu_item i {
        display: block;
        font-size: 18px;
        margin-bottom: 3px;
    }

    .menu_item:hover {
        color: #fff;
        opacity: 0.85;
    }

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 480px) {
    .btn-outline {
        font-size: 12px;
        padding: 8px 10px;
        min-width: 130px;
    }

    .gallery_img {
        width: 48%;
        height: 110px;
    }

    .qr-img {
        width: 150px;
        height: 150px;
    }

    .menu_item {
        font-size: 10px;
    }
}
/* ======================================================
   FOOTER MENU – Modern Fixed Navigation
   ====================================================== */
.footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 2px solid var(--theme-primary);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 6px 0;
}

    .footer-menu .menu-item {
        flex: 1;
        text-align: center;
        font-size: 11px;
        color: var(--text-dark);
        cursor: pointer;
        transition: 0.3s;
        font-weight: 600;
    }

        .footer-menu .menu-item i {
            display: block;
            font-size: 18px;
            margin-bottom: 3px;
            color: var(--theme-primary);
            transition: 0.3s;
        }

        .footer-menu .menu-item span {
            display: block;
            text-transform: uppercase;
            font-size: 10px;
            letter-spacing: 0.4px;
        }

        .footer-menu .menu-item:hover i {
            transform: scale(1.2);
            color: var(--theme-accent);
        }

        .footer-menu .menu-item.active i {
            color: var(--theme-primary);
        }

@media screen and (max-width: 700px) {
    .footer-menu .menu-item i {
        font-size: 16px;
    }

    .footer-menu .menu-item span {
        font-size: 9px;
    }
}
/* ======================================================
   PRODUCTS & SERVICES
   ====================================================== */
#products, #services {
    text-align: center;
    padding-bottom: 10px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid var(--theme-primary);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 12px;
    margin: 12px auto;
    max-width: 400px;
    text-align: center;
    transition: 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

    .product-card h4 {
        color: var(--theme-primary);
        font-size: 15px;
        font-weight: 700;
        margin: 6px 0 10px;
        text-transform: capitalize;
    }

    .product-card img {
        width: 100%;
        max-width: 360px;
        height: 190px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #ddd;
        margin-bottom: 10px;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    }

    .product-card p {
        font-size: 13px;
        color: #444;
        margin: 5px 0 8px;
        text-align: justify;
        line-height: 1.4;
        padding: 0 4px;
    }

.product-enquiry-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffaf2;
    border: 1px solid #ffd699;
    border-radius: 6px;
    padding: 8px 10px;
    margin-top: 8px;
}

    .product-enquiry-section span {
        font-size: 12px;
        color: #444;
        font-weight: 600;
    }

.product-enquiry-btn {
    background: var(--theme-success);
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: 0.3s;
}

    .product-enquiry-btn:hover {
        background: #1ebe57;
        transform: translateY(-1px);
    }

/* Responsive adjustment */
@media (max-width: 480px) {
    .product-card img {
        height: 150px;
    }

    .product-enquiry-section {
        flex-direction: column;
        gap: 6px;
    }
}
