/*==================================================
Yadav R & Associates
Professional CA Website
Author : Wagish Yadav
==================================================*/


/*==========================
GOOGLE FONT
==========================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*==========================
ROOT VARIABLES
==========================*/

:root{

    --primary:#0B3C5D;
    --secondary:#D4AF37;
    --dark:#1B1B1B;
    --light:#F8F9FA;
    --white:#ffffff;
    --text:#555555;
    --border:#e9ecef;

}


/*==========================
RESET
==========================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    font-size:16px;
    line-height:1.8;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    transition:.3s;

}

ul{

    list-style:none;
    margin:0;
    padding:0;

}


/*==========================
COMMON
==========================*/

.section-padding{

    padding:100px 0;

}

.bg-light{

    background:#f8f9fa !important;

}

.section-tag{

    color:var(--secondary);
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:14px;

}

.section-title{

    color:var(--primary);
    font-size:42px;
    font-weight:700;
    margin:15px 0 20px;

}

.section-subtitle{

    max-width:700px;
    margin:auto;
    color:#777;

}

.text-primary{

    color:var(--primary)!important;

}


/*==========================
BUTTONS
==========================*/

.btn-warning{

    background:var(--secondary);
    border:none;
    color:#fff;
    padding:13px 30px;
    font-weight:600;
    border-radius:50px;

}

.btn-warning:hover{

    background:var(--primary);
    color:#fff;

}


/*==========================
PAGE LOADER
==========================*/

#loader{

    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;

}


/*==========================
BACK TO TOP
==========================*/

.back-to-top{

    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:var(--secondary);
    color:#fff;
    display:none;
    z-index:999;
    cursor:pointer;

}

.back-to-top:hover{

    background:var(--primary);

}


/*==========================
TOP HEADER
==========================*/

.top-header{

    background:var(--primary);
    color:#fff;
    padding:10px 0;
    font-size:14px;

}

.top-info span{

    margin-right:15px;

}

.top-info i{

    color:var(--secondary);
    margin-right:6px;

}

.social-links a{

    color:#fff;
    margin-left:12px;
    font-size:15px;

}

.social-links a:hover{

    color:var(--secondary);

}


/*==========================
NAVBAR
==========================*/

.main-navbar{

    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.logo{

    height:70px;

}

.navbar-nav .nav-link{

    color:var(--dark);
    font-weight:500;
    margin-left:18px;

}

.navbar-nav .nav-link:hover{

    color:var(--secondary);

}

.navbar-nav .nav-link.active{

    color:var(--secondary);

}

.dropdown-menu{

    border:none;
    border-radius:12px;
    box-shadow:0 20px 40px rgba(0,0,0,.1);

}

.dropdown-item{

    padding:12px 20px;

}

.dropdown-item:hover{

    background:var(--secondary);
    color:#fff;

}

.consultation-btn{

    border-radius:30px;
    padding:12px 24px;

}

/*==================================================
HOME HERO SECTION
==================================================*/

.hero-section{

    position:relative;
    width:100%;
    height:100vh;
    min-height:700px;
    overflow:hidden;
    display:flex;
    align-items:center;

}

.hero-video{

    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center center;

    z-index:1;

}

.hero-overlay{

    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(11,60,93,.82) 0%,
        rgba(11,60,93,.55) 45%,
        rgba(11,60,93,.25) 100%
    );

    z-index:2;

}

.hero-section .container{

    position:relative;
    z-index:3;

}

.hero-content{

    max-width:700px;
    color:#fff;

}

.hero-subtitle{

    display:inline-block;

    padding:10px 22px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.2);

    border-radius:50px;

    color:#FFD54F;

    font-size:15px;

    font-weight:600;

    letter-spacing:1px;

    margin-bottom:25px;

}

.hero-content h1{

    font-size:64px;

    line-height:1.15;

    font-weight:700;

    color:#fff;

    margin-bottom:25px;

}

.hero-content p{

    font-size:20px;

    color:#f3f3f3;

    line-height:1.8;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.hero-buttons .btn{

    padding:15px 34px;

    border-radius:50px;

    font-weight:600;

}

.hero-buttons .btn-outline-light{

    border:2px solid #fff;

}

.hero-buttons .btn-outline-light:hover{

    background:#fff;

    color:#000;

}

.hero-scroll{

    position:absolute;

    left:50%;

    bottom:30px;

    transform:translateX(-50%);

    color:#fff;

    z-index:5;

    animation:floatDown 2s infinite;

}

@keyframes floatDown{

0%{

transform:translate(-50%,0);

}

50%{

transform:translate(-50%,12px);

}

100%{

transform:translate(-50%,0);

}

}

/*==========================
PAGE BANNER
==========================*/

.page-banner{

    background:url('../images/about-banner.jpg')
    center center/cover;

    position:relative;

    padding:170px 0 120px;

}

.banner-overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.60);

}

.page-banner .container{

    position:relative;
    z-index:2;

}

.page-banner h1{

    color:#fff;
    font-size:55px;
    font-weight:700;

}

.page-banner p{

    color:#ddd;
    max-width:700px;
    margin:auto;

}

.breadcrumb{

    margin-top:25px;

}

.breadcrumb a{

    color:#fff;

}

.breadcrumb-item.active{

    color:var(--secondary);

}


/*==========================
ABOUT SECTION
==========================*/

.feature-box{

    display:flex;
    align-items:center;
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.feature-box i{

    color:var(--secondary);
    font-size:26px;
    margin-right:18px;

}

.feature-box h5{

    margin:0;
    color:var(--primary);
    font-weight:700;

}

.feature-box span{

    font-size:14px;

}

.about-card{

    background:#fff;
    padding:40px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.about-card .icon{

    width:80px;
    height:80px;
    margin:auto;
    border-radius:50%;
    background:var(--secondary);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:34px;
    margin-bottom:25px;

}

/*==================================================
SERVICE CARDS
==================================================*/

.service-card{

    background:#fff;
    padding:40px 30px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;

}

.service-card:hover{

    transform:translateY(-10px);

}

.service-icon{

    width:80px;
    height:80px;
    margin:auto;
    border-radius:50%;
    background:var(--secondary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    margin-bottom:25px;

}

.service-card h4{

    color:var(--primary);
    margin-bottom:20px;
    font-weight:600;

}

.service-card p{

    color:#666;
    margin-bottom:0;

}



/*==================================================
TIMELINE
==================================================*/

.timeline{

    position:relative;
    margin-top:50px;

}

.timeline::before{

    content:"";
    position:absolute;
    left:50%;
    width:4px;
    background:var(--secondary);
    top:0;
    bottom:0;
    transform:translateX(-50%);

}

.timeline-item{

    width:50%;
    position:relative;
    padding:20px 45px;
    margin-bottom:50px;

}

.timeline-item:nth-child(odd){

    left:0;
    text-align:right;

}

.timeline-item:nth-child(even){

    left:50%;

}

.timeline-year{

    width:90px;
    height:90px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:700;
    font-size:22px;
    position:absolute;
    top:15px;
    right:-45px;
    z-index:10;

}

.timeline-item:nth-child(even) .timeline-year{

    left:-45px;

}

.timeline-content{

    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.timeline-content h4{

    color:var(--primary);
    margin-bottom:15px;

}



/*==================================================
FOUNDER
==================================================*/

.founder-image{

    border-radius:20px;
    overflow:hidden;

}

.founder-image img{

    border-radius:20px;

}



/*==================================================
COUNTERS
==================================================*/

.counter-section{

    background:var(--primary);
    color:#fff;
    padding:90px 0;

}

.counter-box{

    padding:30px;

}

.counter-box h2{

    font-size:55px;
    font-weight:700;
    color:var(--secondary);

}

.counter-box p{

    font-size:18px;
    margin-top:10px;

}



/*==================================================
VALUE CARDS
==================================================*/

.value-card{

    background:#fff;
    border-radius:18px;
    text-align:center;
    padding:40px 25px;
    transition:.35s;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    height:100%;

}

.value-card:hover{

    transform:translateY(-10px);

}

.value-card i{

    font-size:50px;
    color:var(--secondary);
    margin-bottom:25px;

}

.value-card h4{

    color:var(--primary);
    margin-bottom:15px;

}



/*==================================================
CERTIFICATES
==================================================*/

.certificate-card{

    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;

}

.certificate-card:hover{

    transform:translateY(-8px);

}



/*==================================================
CTA SECTION
==================================================*/

.cta-section{

    background:linear-gradient(
        rgba(11,60,93,.92),
        rgba(11,60,93,.92)
    ),
    url('../images/office-bg.jpg')
    center/cover;

    color:#fff;
    padding:90px 0;

}

.cta-section h2{

    font-size:42px;
    font-weight:700;
    margin-bottom:20px;

}

.cta-section p{

    font-size:18px;
    opacity:.95;

}



/*==================================================
FOOTER
==================================================*/

.footer{

    background:#111;
    color:#ddd;
    padding-top:90px;

}

.footer-logo{

    max-height:70px;

}

.footer h4{

    color:#fff;
    margin-bottom:25px;
    font-size:22px;

}

.footer-links li{

    margin-bottom:14px;

}

.footer-links a{

    color:#ccc;

}

.footer-links a:hover{

    color:var(--secondary);

}

.footer-contact li{

    margin-bottom:18px;
    display:flex;
    align-items:flex-start;

}

.footer-contact i{

    color:var(--secondary);
    margin-right:12px;
    margin-top:5px;

}

.footer-social{

    margin-top:25px;

}

.footer-social a{

    width:42px;
    height:42px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#222;
    color:#fff;
    margin-right:10px;

}

.footer-social a:hover{

    background:var(--secondary);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);
    margin-top:70px;
    padding:25px 0;

}

.footer-bottom a{

    color:#ddd;

}

.footer-bottom a:hover{

    color:var(--secondary);

}



/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px){

.section-title{

    font-size:34px;

}

.timeline::before{

    left:30px;

}

.timeline-item{

    width:100%;
    left:0!important;
    text-align:left;
    padding-left:90px;
    padding-right:20px;

}

.timeline-year{

    left:-15px!important;
    right:auto;

}

.page-banner{

    padding:130px 0 90px;

}

.page-banner h1{

    font-size:42px;

}

.logo{

    height:60px;

}

}


@media(max-width:768px){

.section-padding{

    padding:70px 0;

}

.top-header{

    display:none;

}

.page-banner h1{

    font-size:34px;

}

.counter-box h2{

    font-size:42px;

}

.cta-section h2{

    font-size:30px;

}

.footer{

    text-align:center;

}

.footer-contact li{

    justify-content:center;

}

}


@media(max-width:576px){

.section-title{

    font-size:28px;

}

.btn-warning{

    width:100%;

}

.logo{

    height:50px;

}
@media(max-width:991px){

.hero-section{

height:90vh;
min-height:650px;

}

.hero-content{

text-align:center;
margin:auto;

}

.hero-content h1{

font-size:46px;

}

.hero-content p{

font-size:18px;

}

.hero-buttons{

justify-content:center;

}

}

@media(max-width:768px){

.hero-section{

height:85vh;
min-height:550px;

}

.hero-content h1{

font-size:36px;

}

.hero-content p{

font-size:16px;

}

.hero-buttons .btn{

width:100%;

}

}

}