/*==================================================
PARAPPUR VANITHA SAHAKARANA SANGHAM
STYLE.CSS
PART 1
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=====================================
ROOT VARIABLES
======================================*/

:root{

    --primary:#0B5D3B;
    --secondary:#0F7A4F;
    --dark:#063E29;
    --gold:#D4A017;
    --white:#ffffff;
    --light:#F8F9F7;
    --text:#555;
    --heading:#222;
    --border:#e6e6e6;

}

/*=====================================
GLOBAL
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:var(--white);
    color:var(--text);
    line-height:1.8;
    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    transition:.4s;

}

ul{

    margin:0;
    padding:0;
    list-style:none;

}

section{

    padding:90px 0;

}

.container{

    max-width:1200px;

}

h1,h2,h3,h4,h5,h6{

    color:var(--heading);
    font-weight:700;

}

p{

    color:var(--text);

}

/*=====================================
SECTION TITLE
======================================*/

.section-subtitle{

    color:var(--gold);
    text-transform:uppercase;
    font-weight:600;
    letter-spacing:2px;
    font-size:14px;

}

.section-title{

    font-size:42px;
    font-weight:700;
    margin-top:10px;
    margin-bottom:20px;

}

/*=====================================
BUTTONS
======================================*/

.btn-success{

    background:var(--primary);
    border:none;
    padding:13px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.4s;

}

.btn-success:hover{

    background:var(--dark);
    transform:translateY(-3px);

}

.btn-warning{

    background:var(--gold);
    color:#fff;
    border:none;
    padding:13px 35px;
    border-radius:50px;
    font-weight:600;

}

.btn-warning:hover{

    background:#bf8f0b;
    color:#fff;

}

.btn-outline-success{

    border:2px solid var(--primary);
    color:var(--primary);
    border-radius:50px;
    padding:13px 35px;
    font-weight:600;

}

.btn-outline-success:hover{

    background:var(--primary);
    color:#fff;

}

/*=====================================
TOP HEADER
======================================*/

.top-header{

    background:var(--dark);
    color:#fff;
    font-size:14px;
    padding:10px 0;

}

.top-header span{

    margin-right:20px;

}

.top-header i{

    color:var(--gold);
    margin-right:7px;

}

/*=====================================
NAVBAR
======================================*/

.navbar{

    padding:18px 0;
    background:#fff !important;
    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.navbar-brand{

    font-size:24px;
    font-weight:700;
    color:var(--primary)!important;

}

.navbar-brand img{

    margin-right:8px;

}

.nav-link{

    color:#333!important;
    margin-left:18px;
    font-weight:500;
    position:relative;

}

.nav-link::after{

    content:'';
    position:absolute;
    width:0%;
    height:2px;
    left:0;
    bottom:-6px;
    background:var(--gold);
    transition:.4s;

}

.nav-link:hover::after{

    width:100%;

}

.nav-link:hover{

    color:var(--primary)!important;

}

/*=====================================
HERO SECTION
======================================*/

.hero{

    background-image: url("../images/hero.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    min-height: 750px;
    width: 100%;

    display: flex;
    align-items: center;

    padding: 100px 0;

    position: relative;

    overflow: hidden;

}

/* Dark Overlay */

.hero::before{

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.25);

}

/* Keep content above overlay */

.hero .container{

    position: relative;
    z-index: 2;

}

/* Hero Content */

.hero h1{

    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;

    color: #ffffff;

    margin-bottom: 20px;

}

.hero h1 span{

    color: #FFD54F;

}

.hero h4{

    color: #ffffff;

    margin-bottom: 20px;

    font-weight: 600;

}

.hero p{

    color: #f5f5f5;

    font-size: 17px;

    line-height: 30px;

    margin-bottom: 35px;

}

/* Buttons */

.hero .btn{

    border-radius: 50px;

    padding: 14px 35px;

    font-weight: 600;

}

.hero .btn-success{

    background: #0B5D3B;

    border: none;

}

.hero .btn-success:hover{

    background: #063E29;

}

.hero .btn-outline-success{

    border: 2px solid #ffffff;

    color: #ffffff;

}

.hero .btn-outline-success:hover{

    background: #ffffff;

    color: #0B5D3B;

}

/* Mobile */

@media(max-width:768px){

.hero{

    min-height:600px;

    background-position:center;

    padding:70px 0;

}

.hero h1{

    font-size:38px;

}

.hero h4{

    font-size:22px;

}

.hero p{

    font-size:15px;

    line-height:28px;

}

.hero .btn{

    width:100%;
    margin-bottom:15px;

}

}

/*=====================================
STICKY NAVBAR
======================================*/

.sticky-top{

    z-index:999;

}

/*=====================================
SOCIAL ICONS
======================================*/

.social-icons{

    display:flex;
    gap:12px;

}

.social-icons a{

    width:42px;
    height:42px;
    background:var(--primary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;

}

.social-icons a:hover{

    background:var(--gold);
    transform:translateY(-5px);

}

/*=====================================
COMMON CARD
======================================*/

.card-style{

    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.4s;

}

.card-style:hover{

    transform:translateY(-10px);

}

/*=====================================
ANIMATION
======================================*/

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0px);

    }

}

/*=====================================
SCROLLBAR
======================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#eee;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--dark);

}

/*==================================================
STYLE.CSS
PART 2
FEATURES | ABOUT | STATS | SERVICES
==================================================*/

/*====================================
FEATURES
====================================*/

.features{
    background:#ffffff;
    padding:80px 0;
}

.feature-box{
    background:#fff;
    border-radius:20px;
    padding:35px 20px;
    text-align:center;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    height:100%;
    border-top:4px solid transparent;
}

.feature-box:hover{
    transform:translateY(-10px);
    border-color:var(--gold);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.feature-box i{
    width:75px;
    height:75px;
    line-height:75px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    font-size:28px;
    margin-bottom:20px;
    transition:.4s;
}

.feature-box:hover i{
    background:var(--gold);
    transform:rotate(360deg);
}

.feature-box h6{
    font-size:18px;
    margin-bottom:12px;
    color:var(--heading);
    font-weight:600;
}

.feature-box p{
    font-size:14px;
    margin:0;
}

/*====================================
ABOUT
====================================*/

.about{
    background:var(--light);
}

.about img{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.about h5{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:15px;
    margin-bottom:15px;
}

.about h2{
    font-size:45px;
    margin-bottom:20px;
}

.about h2 span{
    color:var(--primary);
}

.about p{
    margin-bottom:25px;
    text-align:justify;
}

.about ul{
    margin-bottom:30px;
}

.about ul li{
    margin-bottom:15px;
    position:relative;
    padding-left:35px;
    font-weight:500;
}

.about ul li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    width:24px;
    height:24px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    text-align:center;
    line-height:24px;
    font-size:13px;
}

/*====================================
STATISTICS
====================================*/

.stats{
    background:linear-gradient(135deg,var(--primary),var(--dark));
    color:#fff;
}

.stats h2{
    color:#fff;
    font-size:50px;
    font-weight:700;
}

.stats p{
    color:#eee;
    font-size:17px;
    margin-top:10px;
}

.stats .col-lg-3{
    position:relative;
}

.stats .col-lg-3::after{
    content:"";
    position:absolute;
    right:0;
    top:15%;
    width:1px;
    height:70%;
    background:rgba(255,255,255,.2);
}

.stats .col-lg-3:last-child::after{
    display:none;
}

/*====================================
SERVICES
====================================*/

.services{
    background:#fff;
}

.service-card{
    background:#fff;
    border-radius:20px;
    padding:35px 20px;
    text-align:center;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    height:100%;
    overflow:hidden;
    position:relative;
}

.service-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:var(--primary);
    transition:.4s;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.service-card:hover::before{
    background:var(--gold);
}

.service-icon{
    width:90px;
    height:90px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
    font-size:34px;
    margin-bottom:25px;
    transition:.4s;
}

.service-card:hover .service-icon{
    background:var(--gold);
    transform:rotateY(180deg);
}

.service-card h5{
    font-size:20px;
    margin-bottom:15px;
    font-weight:600;
}

.service-card p{
    font-size:14px;
    margin-bottom:0;
}

/*====================================
SECTION SPACING
====================================*/

.features,
.about,
.stats,
.services{
    position:relative;
}

/*====================================
BACKGROUND SHAPE
====================================*/

.services::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    background:rgba(11,93,59,.05);
    border-radius:50%;
    top:-100px;
    left:-100px;
}

.services::after{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    background:rgba(212,160,23,.05);
    border-radius:50%;
    bottom:-120px;
    right:-120px;
}

/*====================================
HOVER EFFECT
====================================*/

.feature-box,
.service-card,
.about img{
    transition:all .4s ease;
}

.about img:hover{
    transform:scale(1.03);
}

/*====================================
RESPONSIVE
====================================*/

@media(max-width:991px){

.about{
    text-align:center;
}

.about ul{
    text-align:left;
}

.about img{
    margin-bottom:40px;
}

.stats .col-lg-3{
    margin-bottom:30px;
}

.stats .col-lg-3::after{
    display:none;
}

}

@media(max-width:768px){

.section-title{
    font-size:32px;
}

.about h2{
    font-size:34px;
}

.stats h2{
    font-size:36px;
}

.feature-box,
.service-card{
    padding:25px 15px;
}

.service-icon{
    width:75px;
    height:75px;
    font-size:28px;
}

.feature-box i{
    width:65px;
    height:65px;
    line-height:65px;
    font-size:24px;
}

}

/*==================================================
STYLE.CSS
PART 3
LOAN | WHY US | NEWS | BRANCH | GALLERY
==================================================*/

/*==============================
LOAN SECTION
==============================*/

.loan-section{
    background:#f8f9f7;
}

.loan-banner{
    background:linear-gradient(135deg,#0B5D3B,#063E29);
    border-radius:25px;
    padding:50px;
    color:#fff;
    overflow:hidden;
    position:relative;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.loan-banner h2{
    color:#fff;
    font-size:38px;
    margin:15px 0;
}

.loan-banner p{
    color:#f1f1f1;
    margin-bottom:25px;
}

.loan-banner img{
    max-width:100%;
    transition:.5s;
}

.loan-banner:hover img{
    transform:scale(1.05);
}

.loan-banner .btn-warning{
    padding:12px 30px;
    border-radius:50px;
    font-weight:600;
}

/*==============================
LOAN CALCULATOR
==============================*/

.calculator-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.calculator-card h3{
    color:#0B5D3B;
    margin-bottom:10px;
}

.calculator-card p{
    margin-bottom:25px;
}

.calculator-card label{
    font-weight:600;
    margin-bottom:8px;
}

.calculator-card .form-control{
    height:52px;
    border-radius:12px;
    border:1px solid #ddd;
    box-shadow:none;
}

.calculator-card .form-control:focus{
    border-color:#0B5D3B;
    box-shadow:none;
}

.calculator-card button{
    height:52px;
    border-radius:50px;
    font-weight:600;
}

/*==============================
WHY CHOOSE US
==============================*/

.why-us{
    background:#fff;
}

.why-card{
    background:#fff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
    height:100%;
}

.why-card:hover{
    transform:translateY(-10px);
}

.why-card i{
    width:80px;
    height:80px;
    background:#0B5D3B;
    color:#fff;
    border-radius:50%;
    line-height:80px;
    font-size:32px;
    margin-bottom:20px;
    transition:.4s;
}

.why-card:hover i{
    background:#D4A017;
    transform:rotate(360deg);
}

.why-card h5{
    margin-bottom:15px;
}

/*==============================
LATEST NEWS
==============================*/

.latest-news{
    background:#f8f9f7;
}

.news-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.news-card:hover{
    transform:translateY(-8px);
}

.news-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    transition:.5s;
}

.news-card:hover img{
    transform:scale(1.08);
}

.news-content{
    padding:25px;
}

.news-date{
    color:#D4A017;
    font-weight:600;
    font-size:14px;
}

.news-content h4{
    margin:15px 0;
    font-size:22px;
}

.news-content a{
    color:#0B5D3B;
    font-weight:600;
}

.news-content a:hover{
    color:#D4A017;
}

/*==============================
BRANCH
==============================*/

.branch-section{
    background:#fff;
}

.branch-box{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.branch-box p{
    margin-bottom:18px;
}

.branch-box i{
    color:#0B5D3B;
    width:28px;
}

.map-box{
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.map-box iframe{
    display:block;
}

/*==============================
GALLERY
==============================*/

.gallery-section{
    background:#f8f9f7;
}

.gallery-item{
    overflow:hidden;
    border-radius:20px;
    position:relative;
    cursor:pointer;
}

.gallery-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.5s;
}

.gallery-item:hover img{
    transform:scale(1.12);
}

.gallery-item::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(11,93,59,.45);
    opacity:0;
    transition:.4s;
    z-index:1;
}

.gallery-item::after{
    content:"+";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    color:#fff;
    font-size:48px;
    font-weight:bold;
    opacity:0;
    transition:.4s;
    z-index:2;
}

.gallery-item:hover::before,
.gallery-item:hover::after{
    opacity:1;
}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:991px){

.loan-banner{
    padding:35px;
    text-align:center;
}

.loan-banner img{
    margin-bottom:30px;
}

.loan-banner h2{
    font-size:30px;
}

.news-card{
    margin-bottom:25px;
}

}

@media(max-width:768px){

.loan-banner{
    padding:25px;
}

.loan-banner h2{
    font-size:26px;
}

.calculator-card{
    margin-top:30px;
}

.gallery-item img{
    height:220px;
}

.news-content h4{
    font-size:20px;
}

.branch-box{
    margin-bottom:30px;
}

}

/*==================================================
STYLE.CSS
PART 4
NEWSLETTER | FOOTER | UTILITIES
==================================================*/

/*=====================================
NEWSLETTER
======================================*/

.newsletter{

    background:linear-gradient(135deg,#0B5D3B,#063E29);
    color:#fff;
    position:relative;
    overflow:hidden;

}

.newsletter::before{

    content:"";
    position:absolute;
    width:300px;
    height:300px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    top:-120px;
    right:-120px;

}

.newsletter h2{

    color:#fff;
    font-size:40px;
    margin-bottom:15px;

}

.newsletter p{

    color:#f5f5f5;

}

.newsletter-form{

    margin-top:20px;

}

.newsletter .input-group{

    background:#fff;
    border-radius:60px;
    overflow:hidden;
    padding:8px;

}

.newsletter input{

    border:none;
    box-shadow:none;
    padding:18px;
    font-size:16px;

}

.newsletter input:focus{

    box-shadow:none;

}

.newsletter button{

    border-radius:50px;
    padding:14px 35px;
    font-weight:600;

}

/*=====================================
FOOTER
======================================*/

.footer{

    background:#062E1E;
    color:#fff;
    padding:80px 0 20px;

}

.footer h4{

    color:#fff;
    margin-bottom:20px;

}

.footer h5{

    color:#fff;
    margin-bottom:25px;
    position:relative;

}

.footer h5::after{

    content:"";
    width:45px;
    height:3px;
    background:#D4A017;
    position:absolute;
    left:0;
    bottom:-10px;

}

.footer p{

    color:#d9d9d9;

}

.footer-links{

    padding:0;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#dcdcdc;
    transition:.4s;

}

.footer-links a:hover{

    color:#D4A017;
    padding-left:8px;

}

.footer i{

    color:#D4A017;
    margin-right:8px;

}

/*=====================================
SOCIAL ICONS
======================================*/

.social-icons{

    display:flex;
    gap:12px;
    margin-top:20px;

}

.social-icons a{

    width:45px;
    height:45px;
    background:#0B5D3B;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    transition:.4s;

}

.social-icons a:hover{

    background:#D4A017;
    transform:translateY(-6px);

}

/*=====================================
COPYRIGHT
======================================*/

.footer hr{

    border-color:rgba(255,255,255,.1);
    margin:40px 0 25px;

}

.footer .mb-0{

    color:#cccccc;
    font-size:15px;

}

/*=====================================
BACK TO TOP
======================================*/

#topBtn{

    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    background:#0B5D3B;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    text-decoration:none;
    z-index:999;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

#topBtn:hover{

    background:#D4A017;
    color:#fff;
    transform:translateY(-5px);

}

/*=====================================
UTILITY
======================================*/

.shadow-box{

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

.rounded-box{

    border-radius:20px;

}

.bg-light-green{

    background:#F8F9F7;

}

.text-primary-green{

    color:#0B5D3B;

}

.text-gold{

    color:#D4A017;

}

/*=====================================
FADE ANIMATION
======================================*/

.fade-up{

    animation:fadeUp 1s ease;

}

@keyframes fadeUp{

0%{

opacity:0;
transform:translateY(40px);

}

100%{

opacity:1;
transform:translateY(0);

}

}

/*=====================================
HOVER SCALE
======================================*/

.zoom{

    overflow:hidden;

}

.zoom img{

    transition:.5s;

}

.zoom:hover img{

    transform:scale(1.1);

}

/*=====================================
BUTTON EFFECT
======================================*/

.btn{

    transition:.4s;

}

.btn:hover{

    transform:translateY(-3px);

}

/*=====================================
SELECTION
======================================*/

::selection{

    background:#0B5D3B;
    color:#fff;

}

/*=====================================
RESPONSIVE
======================================*/

@media(max-width:991px){

.newsletter{

text-align:center;

}

.newsletter h2{

font-size:32px;

}

.footer{

text-align:center;

}

.footer h5::after{

left:50%;
transform:translateX(-50%);

}

.social-icons{

justify-content:center;

}

}

@media(max-width:768px){

section{

padding:70px 0;

}

.newsletter h2{

font-size:28px;

}

.newsletter .input-group{

display:block;
background:none;
padding:0;

}

.newsletter input{

width:100%;
margin-bottom:15px;
border-radius:50px;

}

.newsletter button{

width:100%;
border-radius:50px;

}

#topBtn{

width:45px;
height:45px;
right:18px;
bottom:18px;

}

.footer{

padding-top:60px;

}

.footer h4{

font-size:24px;

}

}

@media(max-width:576px){

.section-title{

font-size:28px;

}

.hero h1{

font-size:38px;

}

.hero p{

font-size:15px;

}

}