/* =====================================================
   MobShah Group Corporate Website
   Main Stylesheet
===================================================== */

:root{

    --primary:#0B1F3A;
    --secondary:#173A63;
    --gold:#C8A24A;
    --light:#f6f8fb;
    --dark:#20252b;
    --text:#555;
    --white:#ffffff;

    --shadow:0 12px 35px rgba(0,0,0,.10);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial,Helvetica,sans-serif;
    font-size:16px;
    line-height:1.7;
    color:var(--text);
    background:#fff;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    transition:.3s;

}

ul{

    list-style:none;

}

.container{

    width:90%;
    max-width:1250px;
    margin:auto;

}

/* ===========================
HEADER
=========================== */

header{

    background:var(--primary);
    color:#fff;

}

.topbar{

    background:#071321;
    padding:8px 0;
    font-size:14px;

}

.topbar .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.topbar a{

    color:#fff;

}

.logo-area{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;

}

.logo h1{

    color:#fff;
    font-size:34px;
    letter-spacing:1px;

}

.logo span{

    color:var(--gold);

}

/* ===========================
NAVIGATION
=========================== */

nav{

    background:#102948;

}

nav ul{

    display:flex;
    justify-content:center;
    align-items:center;

}

nav li{

    margin:0;

}

nav a{

    display:block;
    color:#fff;
    padding:18px 24px;
    font-weight:bold;

}

nav a:hover{

    background:var(--gold);
    color:#111;

}

/* ===========================
HERO
=========================== */

.hero{

    background:url('../images/hero.jpg') center center/cover no-repeat;
    position:relative;
    color:#fff;
    text-align:center;
    padding:160px 20px;

}

.hero::before{

    content:"";
    position:absolute;
    inset:0;
    background:rgba(11,31,58,.72);

}

.hero-content{

    position:relative;
    z-index:2;

}

.hero h2{

    font-size:52px;
    margin-bottom:20px;

}

.hero p{

    max-width:800px;
    margin:auto;
    font-size:21px;

}

/* ===========================
BUTTONS
=========================== */

.btn{

    display:inline-block;
    margin-top:35px;
    background:var(--gold);
    color:#111;
    padding:15px 38px;
    border-radius:4px;
    font-weight:bold;

}

.btn:hover{

    background:#fff;

}

/* ===========================
SECTIONS
=========================== */

section{

    padding:80px 0;

}

.section-title{

    text-align:center;
    margin-bottom:55px;

}

.section-title h2{

    color:var(--primary);
    font-size:38px;
    margin-bottom:12px;

}

.section-title p{

    max-width:720px;
    margin:auto;

}

/* ===========================
CARDS
=========================== */

.grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;

}

.card{

    background:#fff;
    box-shadow:var(--shadow);
    border-radius:10px;
    overflow:hidden;

}

.card img{

    width:100%;
    height:230px;
    object-fit:cover;

}

.card-content{

    padding:28px;

}

.card h3{

    color:var(--primary);
    margin-bottom:15px;

}

/* ===========================
FOOTER
=========================== */

footer{

    background:#08111d;
    color:#ddd;
    padding:55px 0 25px;

}

.footer-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;

}

footer h3{

    color:#fff;
    margin-bottom:18px;

}

footer a{

    color:#ddd;

}

footer a:hover{

    color:var(--gold);

}

.copyright{

    margin-top:45px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    font-size:14px;

}
/* ======================================
Animations
====================================== */

.hidden{

    opacity:0;
    transform:translateY(35px);
    transition:all .7s ease;

}

.visible{
 opacity:1;
    transform:translateY(0);

}

/* ======================================
Back To Top Button
====================================== */

#topButton{

    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;

    border:none;
    border-radius:50%;

    background:#0B1F3A;
    color:#fff;

    cursor:pointer;

    display:none;

    font-size:20px;

    box-shadow:0 5px 15px rgba(0,0,0,.3);

    z-index:9999;

}

#topButton:hover{

    background:#C8A24A;
    color:#111;

}