/*=========================================
Hazrat Syed Shah Qadri (R.H.) Dargah Sharif
style.css
==========================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

    --primary:#0F7A3A;
    --secondary:#C8A04A;
    --dark:#16381f;
    --light:#f8f8f5;
    --white:#ffffff;
    --text:#444;
    --shadow:0 15px 35px rgba(0,0,0,.12);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    color:var(--text);
    background:#fafaf8;
    overflow-x:hidden;

}

/*======================
Scrollbar
======================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#eee;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:30px;

}

/*======================
Navbar
======================*/

.navbar{

    background:rgba(8,35,17,.90);
    backdrop-filter:blur(15px);
    transition:.4s;

}

.navbar-brand{

    font-size:1.3rem;
    color:var(--secondary)!important;

}

.nav-link{

    color:#fff!important;
    margin-left:20px;
    transition:.3s;

}

.nav-link:hover{

    color:var(--secondary)!important;

}

/*======================
Hero
======================*/

.hero{

    min-height:100vh;
    display:flex;
    align-items:center;

    color:#fff;

    position:relative;

    background:
    linear-gradient(rgba(6,32,17,.80),rgba(6,32,17,.80)),
    url("images/hero.jpg");

    background-size:cover;
    background-position:center;

}

.hero::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:100%;

background:url("images/pattern.png");
opacity:.05;

}

.hero .container{

position:relative;
z-index:2;

}

.hero h1{

font-size:4rem;
font-weight:800;
line-height:1.2;

}

.hero p{

margin:30px 0;
font-size:18px;
color:#ddd;

}

.hero-image{

max-width:90%;
animation:float 5s ease-in-out infinite;
filter:drop-shadow(0 20px 40px rgba(0,0,0,.5));

}

/*======================
Buttons
======================*/

.btn-success{

background:var(--primary);
border:none;
padding:14px 30px;
border-radius:40px;
font-weight:600;

}

.btn-success:hover{

background:#095d2b;

}

.btn-outline-light{

padding:14px 30px;
border-radius:40px;

}

/*======================
Section
======================*/

.section-padding{

padding:100px 0;

}

section h2{

font-size:40px;
font-weight:700;
margin-bottom:20px;
color:var(--dark);

}

section p{

line-height:1.9;

}

/*======================
About
======================*/

#about img{

border-radius:20px;
box-shadow:var(--shadow);

}

#about h3{

font-size:38px;
color:var(--primary);

}

/*======================
History
======================*/

.history-section{

padding:100px 0;

background:#f4f8f5;

}

.history-card{

background:#fff;

padding:40px;

text-align:center;

border-radius:20px;

transition:.4s;

box-shadow:0 10px 25px rgba(0,0,0,.08);

height:100%;

}

.history-card:hover{

transform:translateY(-10px);

}

.history-card i{

font-size:55px;

color:var(--secondary);

margin-bottom:25px;

}

.history-card h4{

font-weight:700;

margin-bottom:15px;

}

/*======================
Feature
======================*/

.feature-box{

background:#fff;

padding:35px;

border-radius:20px;

text-align:center;

box-shadow:var(--shadow);

transition:.4s;

}

.feature-box:hover{

background:var(--primary);
color:#fff;
transform:translateY(-8px);

}

.feature-box i{

font-size:45px;

margin-bottom:20px;

color:var(--secondary);

}

.feature-box:hover i{

color:#fff;

}

/*======================
Gallery
======================*/

.gallery-section{

padding:100px 0;
background:#fff;

}

.gallery-section img{

border-radius:18px;
transition:.4s;
cursor:pointer;

}

.gallery-section img:hover{

transform:scale(1.05);

box-shadow:0 20px 40px rgba(0,0,0,.25);

}

/*======================
Map
======================*/

iframe{

border-radius:20px;

box-shadow:var(--shadow);

}

/*======================
Contact
======================*/

input,
textarea{

border-radius:15px!important;

padding:15px!important;

border:1px solid #ddd!important;

box-shadow:none!important;

}

input:focus,
textarea:focus{

border-color:var(--primary)!important;

}

.contact-card{

background:#fff;

padding:40px;

border-radius:20px;

box-shadow:var(--shadow);

height:100%;

}

.contact-card h4{

color:var(--primary);

margin-bottom:20px;

}

/*======================
Footer
======================*/

footer{

background:#0a2414;

color:#fff;

padding:50px 0;

}

footer h4{

color:var(--secondary);

font-weight:700;

margin-bottom:15px;

}

footer hr{

border-color:rgba(255,255,255,.15);

}

/*======================
Animation
======================*/

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0);

}

}

/*======================
Responsive
======================*/

@media(max-width:991px){

.hero{

text-align:center;
padding-top:120px;

}

.hero h1{

font-size:2.8rem;

}

.hero-image{

margin-top:50px;

}

.section-padding{

padding:70px 0;

}

section h2{

font-size:30px;

}

}

@media(max-width:576px){

.hero h1{

font-size:2.2rem;

}

.hero p{

font-size:16px;

}

.nav-link{

margin-left:0;

}

.history-card,
.feature-box,
.contact-card{

margin-bottom:25px;

}

}