/* RRDPO brand theme - loaded AFTER front-end/css/style.css */
:root{
  --rrdpo-navy:#002060;
  --rrdpo-navy-dark:#001744;
  --rrdpo-green:#548235;
  --rrdpo-green-dark:#456b2b;
  --rrdpo-light:#f4f7f2;
}
a{color:var(--rrdpo-green)}
a:hover{color:var(--rrdpo-navy)}
h1,h2,h3,h4,h5,h6{color:var(--rrdpo-navy)}

/* top bar */
#topbar{background:var(--rrdpo-navy)!important}
#topbar,#topbar a,#topbar i{color:#fff!important}
#topbar .cta a{background:var(--rrdpo-green)!important;border-color:var(--rrdpo-green)!important;color:#fff!important}
#topbar .cta a:hover{background:#fff!important;color:var(--rrdpo-navy)!important}

/* header + logo */
#header,#header.header-scrolled,#header.header-inner-pages{background:#fff!important;box-shadow:0 2px 12px rgba(0,32,96,.12)}
#header .logo img{max-height:56px;width:auto}
#header #name{color:var(--rrdpo-navy)!important}
.navbar a,.navbar a:focus{color:var(--rrdpo-navy)!important}
.navbar a:hover,.navbar .active,.navbar .active:focus,.navbar li:hover>a{color:var(--rrdpo-green)!important}
.navbar .dropdown ul{background:#fff!important}
.navbar .dropdown ul a{color:var(--rrdpo-navy)!important}
.navbar .dropdown ul a:hover,.navbar .dropdown ul .active:hover,.navbar .dropdown ul li:hover>a{color:var(--rrdpo-green)!important;background:var(--rrdpo-light)!important}
.mobile-nav-toggle{color:var(--rrdpo-navy)!important}
.navbar-mobile{background:rgba(0,32,96,.9)!important}
.navbar-mobile a,.navbar-mobile .mobile-nav-toggle{color:#fff!important}

/* hero */
#hero h2 span,#hero .carousel-container h2 span{color:var(--rrdpo-green)!important}
#hero h2{color:#fff!important}
.btn-get-started,#hero .btn-get-started{background:var(--rrdpo-green)!important;border-color:var(--rrdpo-green)!important;color:#fff!important}
.btn-get-started:hover{background:#fff!important;color:var(--rrdpo-navy)!important}
#hero .carousel-control-next-icon,#hero .carousel-control-prev-icon{background:rgba(0,32,96,.55)!important;color:#fff!important}

/* buttons / bootstrap */
.btn-primary,.btn-primary:focus{background-color:var(--rrdpo-green)!important;border-color:var(--rrdpo-green)!important;color:#fff!important}
.btn-primary:hover{background-color:var(--rrdpo-navy)!important;border-color:var(--rrdpo-navy)!important}
.text-primary{color:var(--rrdpo-green)!important}
.bg-primary{background-color:var(--rrdpo-navy)!important}
.page-item.active .page-link{background:var(--rrdpo-navy)!important;border-color:var(--rrdpo-navy)!important;color:#fff!important}
.page-link{color:var(--rrdpo-navy)}
.form-control:focus{border-color:var(--rrdpo-green)!important;box-shadow:0 0 0 .2rem rgba(84,130,53,.2)!important}
input[type=submit],button[type=submit]{background:var(--rrdpo-green);border-color:var(--rrdpo-green);color:#fff}
input[type=submit]:hover,button[type=submit]:hover{background:var(--rrdpo-navy);border-color:var(--rrdpo-navy)}

/* sections / headings */
.section-title h2,.section-title h3{color:var(--rrdpo-navy)!important}
.section-title h2::after,.section-title h2::before{background:var(--rrdpo-green)!important}
.section-bg,.breadcrumbs{background:var(--rrdpo-light)!important}
.breadcrumbs ol li a,.breadcrumbs h2{color:var(--rrdpo-navy)!important}
.icon-box i,.bx,.bi{color:inherit}
.icon-box i{color:var(--rrdpo-green)!important}
.icon-box:hover,.icon-box:hover h4 a{color:var(--rrdpo-navy)}
#portfolio-flters li:hover,#portfolio-flters li.filter-active{color:var(--rrdpo-green)!important}
.portfolio .portfolio-wrap .portfolio-info,.portfolio-info{background:rgba(0,32,96,.85)!important}
.faq .faq-list a,.faq .faq-list .collapse .icon-show{color:var(--rrdpo-green)}
.team .member .social a:hover{background:var(--rrdpo-green)!important}
.back-to-top{background:var(--rrdpo-green)!important}
.back-to-top:hover{background:var(--rrdpo-navy)!important}
#preloader:before{border-color:var(--rrdpo-green) transparent var(--rrdpo-green) transparent!important}

/* footer */
#footer{background:var(--rrdpo-navy)!important;color:#fff}
#footer .footer-newsletter{background:var(--rrdpo-navy-dark)!important}
#footer .footer-newsletter input[type=submit]{background:var(--rrdpo-green)!important}
#footer .footer-newsletter input[type=submit]:hover{background:#fff!important;color:var(--rrdpo-navy)!important}
#footer .footer-top{background:var(--rrdpo-navy)!important}
#footer h3,#footer h4,#footer .footer-top h4,#footer .footer-info h3{color:#fff!important}
#footer a,#footer .footer-links ul a{color:rgba(255,255,255,.85)!important}
#footer a:hover,#footer .footer-links ul a:hover{color:#a9d18e!important}
#footer .footer-links ul i{color:#a9d18e!important}
#footer .social-links a{background:var(--rrdpo-green)!important;color:#fff!important}
#footer .social-links a:hover{background:#fff!important;color:var(--rrdpo-navy)!important}
#footer .copyright,#footer .credits{color:#fff}
#footer .footer-logo{display:inline-block;background:#fff;border-radius:50%;padding:8px;margin-bottom:12px}
#footer .footer-logo img{width:90px;height:auto;display:block}

/* ===== RRDPO click & motion effects ===== */
.rrdpo-rip{overflow:hidden!important}
.rrdpo-ripple{position:absolute;border-radius:50%;pointer-events:none;background:rgba(84,130,53,.38);transform:scale(0);animation:rrdpo-ripple .6s ease-out forwards;z-index:0}
@keyframes rrdpo-ripple{to{transform:scale(1);opacity:0}}
.rrdpo-pop{animation:rrdpo-pop .35s ease}
@keyframes rrdpo-pop{0%{transform:scale(1)}40%{transform:scale(.95)}100%{transform:scale(1)}}
a,button,.btn,input[type=submit],.card,.icon-box,.page-link{transition:transform .2s ease,box-shadow .2s ease,background-color .25s ease,color .25s ease,border-color .25s ease}
.btn:hover,button:hover,input[type=submit]:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,32,96,.22)}
.btn:active,button:active,input[type=submit]:active{transform:scale(.96)}
.card:hover,.icon-box:hover,.member:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(0,32,96,.16)}
.rrdpo-reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.rrdpo-reveal.rrdpo-in{opacity:1;transform:none}
body{animation:rrdpo-page .5s ease both}
@keyframes rrdpo-page{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.rrdpo-reveal{opacity:1;transform:none}}
