﻿@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700);

/* ===== BASE ===== */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Montserrat, sans-serif;
    background: repeating-linear-gradient(45deg, #000, #3b3939 100px);
    background-size: 107px 108px;
    background-attachment: fixed;
}

/* ===== GLOBAL ===== */
a {
    text-decoration: none;
    color: inherit;
}

div, h1, h2, h3, h4, p, i, a {
    transition: 0.4s;
}

form, input, textarea, select, button {
    font-family: Montserrat, sans-serif;
}

:root {
    --color: #848484;
    --color2: #64af35;
    --radius: 10px;
    --shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* ===== CARD-VIEW WRAPPERS ===== */
.card, .card2, .share-section, footer.footer-card {
    width: 440px;
    margin: 22px auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .card:hover, .card2:hover, .share-section:hover, footer.footer-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 22px rgba(0,0,0,0.3);
    }

/* ===== HEADER ===== */
.card {
    background: linear-gradient(45deg,#275259,#01a1eb);
    color: #fff;
    position: relative;
    overflow: hidden;
}

    /* subtle animated glow */
    .card::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
        animation: headerGlow 6s linear infinite;
        z-index: 0;
    }

@keyframes headerGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card_content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px;
    background: url(card_images/bg10.png) center/cover;
    animation: animateBack 10s linear infinite;
}

@keyframes animateBack {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 100%;
    }
}

.card_content img {
    height: 115px;
    border-radius: 10px;
    border: 4px solid #0c88be;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.card_content2 {
    text-align: center;
    background: rgba(14,133,183,.7);
    padding: 10px;
}

    .card_content2 h2 {
        font-weight: 500;
        text-transform: uppercase;
        margin: 10px 0;
    }

    .card_content2 p {
        font-weight: 600;
        font-size: 12px;
        margin: 0;
    }

/* ===== CONTACT DETAILS ===== */
.contact_details {
    padding: 20px;
}

.contact_d {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

    .contact_d i {
        margin: 4px;
        color: #fff;
        font-size: 15px;
        padding: 7px;
        background: rgba(255,255,255,.25);
        border-radius: 4px;
    }

    .contact_d p {
        margin: 6px 15px;
        font-size: 12px;
        font-weight: 500;
        max-width: 260px;
        color: #fff;
    }

/* ===== GENERIC SECTIONS ===== */
.card2 h3 {
    font-size: 18px;
    background: linear-gradient(90deg,#9C27B0,#3F51B5);
    color: #fff;
    padding: 12px 25px;
    margin: 0 0 18px;
    letter-spacing: .5px;
    font-weight: 600;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.card2 p {
    padding: 0 20px 15px;
    font-size: 14px;
    color: #333;
}

/* ===== PRODUCT & SERVICES ===== */
.product_s {
    width: 90%;
    background: #f6f9ff;
    border-radius: 8px;
    padding: 10px;
    margin: 10px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    text-align: center;
    transition: transform .25s ease;
}

    .product_s:hover {
        transform: translateY(-4px);
    }

    .product_s img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
        border-radius: 6px;
    }

    .product_s p {
        font-weight: 600;
        margin: 6px 0;
        color: #275259;
    }

/* ===== GALLERY ===== */
.img_gall {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
    gap: 8px;
    padding: 10px;
    text-align: center;
}

    .img_gall img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,.1);
    }

/* ===== FEEDBACK BLOCK ===== */
.feedback_block {
    background: #fff;
    border-left: 4px solid #01a1eb;
    margin: 12px 15px;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

    .feedback_block .star {
        color: #01a1eb;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .feedback_block p {
        font-size: 13px;
        color: #333;
        margin: 5px 0;
    }

    .feedback_block i {
        color: #666;
        font-size: 12px;
    }

/* ===== FORMS ===== */
#feedback form, #enquiry form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    margin: 10px 15px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

    #feedback form input, #feedback form textarea, #feedback form select,
    #enquiry form input, #enquiry form textarea, #enquiry form select {
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 10px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }

    #feedback form textarea, #enquiry form textarea {
        resize: vertical;
        min-height: 70px;
    }

.btn-feedback, .btn-submit {
    background: #01a1eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s;
}

    .btn-feedback:hover, .btn-submit:hover {
        background: #0c88be;
    }

/* ===== SHARE SECTION ===== */
.share-section {
    background: linear-gradient(45deg,#275259,#01a1eb);
    color: #fff;
    text-align: center;
    padding: 22px 15px;
}

    .share-section input {
        border: none;
        border-radius: 4px;
        padding: 8px 10px;
        width: 65%;
        font-size: 13px;
        margin: 6px 4px;
    }

.wtsp_share_btn {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

    .wtsp_share_btn:hover {
        background: #1fa956;
    }

/* ===== SHARE POPUP ===== */
#shareBox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.65);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.share-inner {
    background: #fff;
    color: #333;
    width: 85%;
    max-width: 340px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
    text-align: center;
    position: relative;
    animation: fadeIn .5s ease;
}

    .share-inner h4 {
        color: #275259;
        margin-bottom: 15px;
        font-weight: 600;
    }

.shar_btns {
    display: block;
    margin: 8px auto;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    background: linear-gradient(45deg,#01a1eb,#275259);
    transition: .2s;
}

    .shar_btns:hover {
        transform: translateY(-2px);
        background: linear-gradient(45deg,#0c88be,#275259);
    }

.close {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 22px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
}

    .close:hover {
        color: #e74c3c;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== PAYMENT TABLE STYLE ===== */
.pay-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 10px 15px 20px;
}

.pay-box {
    background: #f7f9ff;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform .2s ease;
}

    .pay-box:hover {
        transform: translateY(-4px);
    }

    .pay-box h4 {
        margin: 0 0 4px;
        color: #275259;
        font-weight: 700;
        font-size: 14px;
    }

    .pay-box p {
        margin: 0 0 6px;
        font-size: 12px;
        color: #333;
    }

.qr-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 8px auto 0;
    display: block;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

/* ===== COPYRIGHT FOOTER ===== */
footer.footer-card {
    max-width: 440px;
    margin: 30px auto 90px;
    text-align: center;
    font-size: 13px;
    color: #ddd;
    background: linear-gradient(90deg,#275259,#01a1eb);
    padding: 15px 10px;
    border-radius: 12px;
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

    footer.footer-card p {
        margin: 0;
        color: #fff;
        font-weight: 500;
        letter-spacing: 0.2px;
    }

    footer.footer-card span {
        display: block;
        font-size: 11px;
        color: #f1f1f1;
        margin-top: 3px;
    }

/* ===== MENU ===== */
.menu_bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: linear-gradient(45deg,#275259,#01a1eb);
    color: #fff;
    z-index: 999;
    padding: 6px 0;
}

.menu_item {
    flex: 1;
    text-align: center;
    font-size: 11px;
    cursor: pointer;
}

    .menu_item i {
        display: block;
        font-size: 16px;
        margin-bottom: 3px;
    }

/* ===== SCROLL ANIMATION ===== */
.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

    .fade-section.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== RESPONSIVE ===== */
@media (max-width:700px) {
    .card, .card2, .share-section, footer.footer-card {
        width: auto;
        margin: 10px 5px;
        border-radius: 10px;
    }

    .card_content img {
        height: 90px;
    }

    .pay-table {
        grid-template-columns: 1fr;
    }

    .qr-img {
        width: 160px;
        height: 160px;
    }

    .img_gall {
        grid-template-columns: repeat(2,1fr);
    }
}
