/*==================================================
 MJ Trading Lanka International (Pvt) Ltd.
 File : components.css
 Version : 1.0
==================================================*/

/* ==========================================
   BUTTONS
========================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 32px;
    border-radius:50px;
    font-family:var(--heading-font);
    font-size:15px;
    font-weight:600;
    text-decoration:none;
    transition:var(--transition);
    cursor:pointer;
    border:none;
}

.btn-primary{
    background:var(--primary);
    color:var(--white);
}

.btn-primary:hover{
    background:var(--gold);
    color:var(--primary);
    transform:translateY(-3px);
    box-shadow:var(--shadow-lg);
}

.btn-gold{
    background:var(--gold);
    color:var(--primary);
}

.btn-gold:hover{
    background:var(--yellow);
    transform:translateY(-3px);
    box-shadow:var(--shadow-lg);
}

.btn-outline{
    background:transparent;
    border:2px solid var(--gold);
    color:var(--gold);
}

.btn-outline:hover{
    background:var(--gold);
    color:var(--primary);
}

/* ==========================================
   SECTION TITLE
========================================== */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    display:inline-block;
    color:var(--gold);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:10px;
}

.section-title h2{
    font-size:2.6rem;
    color:var(--primary);
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:var(--dark-gray);
}

/* ==========================================
   COMMON CARD
========================================== */

.card-box{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:var(--shadow-md);
    transition:var(--transition);
    overflow:hidden;
    position:relative;
}

.card-box:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-xl);
}

/* ==========================================
   SERVICE CARD
========================================== */

.service-card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    text-align:center;
    transition:var(--transition);
    box-shadow:var(--shadow-md);
}

.service-card i{
    width:80px;
    height:80px;
    line-height:80px;
    border-radius:50%;
    background:var(--primary);
    color:var(--gold);
    font-size:32px;
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
}

.service-card:hover{
    background:var(--primary);
    color:#fff;
    transform:translateY(-8px);
}

.service-card:hover h3,
.service-card:hover p{
    color:#fff;
}

.service-card:hover i{
    background:var(--gold);
    color:var(--primary);
}

/* ==========================================
   DIRECTOR CARD
========================================== */

.director-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow-md);
    transition:var(--transition);
}

.director-card img{
    width:100%;
    height:350px;
    object-fit:cover;
}

.director-content{
    padding:25px;
    text-align:center;
}

.director-content h3{
    margin-bottom:10px;
}

.director-content span{
    color:var(--gold);
    font-weight:600;
}

.director-card:hover{
    transform:translateY(-8px);
}

/* ==========================================
   CLIENT LOGO
========================================== */

.client-logo{
    background:#fff;
    border-radius:15px;
    padding:25px;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:150px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.client-logo img{
    max-width:160px;
    max-height:70px;
    filter:grayscale(100%);
    transition:var(--transition);
}

.client-logo:hover{
    box-shadow:var(--shadow-lg);
}

.client-logo:hover img{
    filter:none;
    transform:scale(1.05);
}

/* ==========================================
   NEWS CARD
========================================== */

.news-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow-md);
    transition:var(--transition);
}

.news-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.news-content{
    padding:25px;
}

.news-card:hover{
    transform:translateY(-8px);
}

/* ==========================================
   FORM
========================================== */

.form-control{
    border-radius:12px;
    padding:14px;
    border:1px solid #ddd;
}

.form-control:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 0.2rem rgba(212,175,55,.25);
}

/* ==========================================
   SOCIAL ICONS
========================================== */

.social-icons{
    display:flex;
    gap:12px;
}

.social-icons a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    transition:var(--transition);
}

.social-icons a:hover{
    background:var(--gold);
    color:var(--primary);
}

/* ==========================================
   FLOATING BUTTONS
========================================== */

.whatsapp-btn,
#topBtn{

    position:fixed;

    right:25px;

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:22px;

    z-index:999;

    transition:var(--transition);

}

.whatsapp-btn{

    bottom:95px;

    background:#25D366;

}

#topBtn{

    bottom:25px;

    background:var(--primary);

    border:none;

    display:none;

}

.whatsapp-btn:hover,
#topBtn:hover{

    transform:scale(1.1);

}