/*
====================================
------------------------------------
	1. Typography
	2. Header
	3. Main Slider
	4. About Us
	5. Service
	6. Our Team
	7. Portfolio
	8. Clients
	9. Our Blog
	10. Contact
	11. Footer
	12. Carousel Effect
	13. Isotope
	14. Portfolio Hover effect
-------------------------------------
=====================================
*/


/*====================
======Typography=====
======================*/
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic);

body {
    font-family: 'Roboto', sans-serif;
    position: relative;
    font-weight: 400;
    background: #fff;
    color: #43484E;
}

    body section {
        padding: 25px 0;
    }

a:hover {
    outline: none;
    text-decoration: none;
}

a:focus {
    outline: none;
    outline-offset: 0;
}

a {
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
    color: #0b7bbb;
    text-decoration: none;
}

    a:visited {
        text-decoration: none;
    }

    a:link {
        text-decoration: none;
    }

    a:active {
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

.slider-btn {
    background-color: #c20000;
    color: #FFF;
    -webkit-box-shadow: inset 0 0 0 2px #c20000;
    box-shadow: inset 0 0 0 2px #c20000;
    text-transform: uppercase;
    width: 190px;
    text-align: center;
    height: 55px;
    line-height: 55px;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
    border: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

    .slider-btn:hover {
        background-color: #43484E;
        -webkit-box-shadow: inset 0 0 0 2px #43484E;
        box-shadow: inset 0 0 0 2px #43484E;
        color: #fff
    }


.parallax-section {
    min-height: 300px;
    width: 100%;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


.preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: table;
    background: #fff;
    z-index: 9999;
}

.preloder-wrap {
    display: table-cell;
    vertical-align: middle;
}

.preloder-inner {
    width: 200px;
    height: 100px;
    margin: 0 auto;
}

.ball {
    width: 10px;
    height: 10px;
    margin: 10px auto;
    border-radius: 50px;
}

    .ball:nth-child(1) {
        background: #ff005d;
        -webkit-animation: right 1s infinite ease-in-out;
        -moz-animation: right 1s infinite ease-in-out;
        animation: right 1s infinite ease-in-out;
    }

    .ball:nth-child(2) {
        background: #35ff99;
        -webkit-animation: left 1.1s infinite ease-in-out;
        -moz-animation: left 1.1s infinite ease-in-out;
        animation: left 1.1s infinite ease-in-out;
    }

    .ball:nth-child(3) {
        background: #008597;
        -webkit-animation: right 1.05s infinite ease-in-out;
        -moz-animation: right 1.05s infinite ease-in-out;
        animation: right 1.05s infinite ease-in-out;
    }

    .ball:nth-child(4) {
        background: #ffcc00;
        -webkit-animation: left 1.15s infinite ease-in-out;
        -moz-animation: left 1.15s infinite ease-in-out;
        animation: left 1.15s infinite ease-in-out;
    }

    .ball:nth-child(5) {
        background: #2d3443;
        -webkit-animation: right 1.1s infinite ease-in-out;
        -moz-animation: right 1.1s infinite ease-in-out;
        animation: right 1.1s infinite ease-in-out;
    }

    .ball:nth-child(6) {
        background: #ff7c35;
        -webkit-animation: left 1.05s infinite ease-in-out;
        -moz-animation: left 1.05s infinite ease-in-out;
        animation: left 1.05s infinite ease-in-out;
    }

    .ball:nth-child(7) {
        background: #4d407c;
        -webkit-animation: right 1s infinite ease-in-out;
        -moz-animation: right 1s infinite ease-in-out;
        animation: right 1s infinite ease-in-out;
    }


@-webkit-keyframes right {
    0% {
        -webkit-transform: translate(-15px);
    }

    50% {
        -webkit-transform: translate(15px);
    }

    100% {
        -webkit-transform: translate(-15px);
    }
}

@-webkit-keyframes left {
    0% {
        -webkit-transform: translate(15px);
    }

    50% {
        -webkit-transform: translate(-15px);
    }

    100% {
        -webkit-transform: translate(15px);
    }
}

@-moz-keyframes right {
    0% {
        -moz-transform: translate(-15px);
    }

    50% {
        -moz-transform: translate(15px);
    }

    100% {
        -moz-transform: translate(-15px);
    }
}

@-moz-keyframes left {
    0% {
        -moz-transform: translate(15px);
    }

    50% {
        -moz-transform: translate(-15px);
    }

    100% {
        -moz-transform: translate(15px);
    }
}

@keyframes right {
    0% {
        transform: translate(-15px);
    }

    50% {
        transform: translate(15px);
    }

    100% {
        transform: translate(-15px);
    }
}

@keyframes left {
    0% {
        transform: translate(15px);
    }

    50% {
        transform: translate(-15px);
    }

    100% {
        transform: translate(15px);
    }
}


.vertical-middle {
    width: 100%;
    height: 100%;
    display: table;
}

    .vertical-middle div {
        display: table-cell;
        vertical-align: middle;
    }


.TrialTitle {
    font-size: 125%;
    font-weight: bold;
    color: #666666;
}

.pdfList {
    list-style-image: url('../images/pdf-icon.png');
}

.pdf {
    list-style-image: url('../images/pdf-icon.png');
}

.excel {
    list-style-image: url('../images/excel-icon.png');
}

.files {
    font-size: larger;
}

    .files li {
        margin: 20px;
    }

/*====================
======Header CSS=====
======================*/

#navigation .navbar {
    background: rgba(255, 255, 255, 0.952941);
    border-radius: 0;
    border-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 0px 3px;
    padding-bottom: 8px;
}

#navigation .navbar-toggle {
    margin-top: 20px;
    background-color: #333;
}

#navigation .navbar-brand h1 {
    padding: 0;
    margin: 0;
}

#navigation .navbar-nav.navbar-right li {
    padding: 0 1px;
}

#navigation .navbar-nav.navbar-right {
    margin-top: 28px;
    margin-left: 15px;
}

    #navigation .navbar-nav.navbar-right li a {
        color: #578bbc;
        font-family: 'Roboto',sans-serif;
        font-size: 14px;
        padding: 0;
        text-transform: uppercase;
        -webkit-transition: all .9s ease 0s;
        -moz-transition: all .9s ease 0s;
        -o-transition: all .9s ease 0s;
        transition: all .9s ease 0s;
        padding: 6px 15px;
    }

        #navigation .navbar-nav.navbar-right li a i {
            margin-right: 6px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        #navigation .navbar-inverse .navbar-nav .active a,
        #navigation .navbar-inverse .navbar-nav .active a:focus,
        #navigation .navbar-nav.navbar-right li a:hover {
            color: #fff;
            background-color: #578bbc;
        }

            #navigation .navbar-nav.navbar-right li a:hover i {
                transform: scale(1.1);
            }


/*======================
====Main Slider CSS=====
=======================*/
.home-pattern {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    bottom: 0;
    background-image: url(../images/home-pattern.png);
    background-repeat: repeat;
    opacity: 0.2;
}

#home {
    padding: 0;
    overflow: hidden;
    position: relative
}

#main-carousel .carousel-inner .item {
    background-size: cover;
    height: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#main-carousel .carousel-indicators {
    bottom: 15px
}

    #main-carousel .carousel-indicators li {
        background: rgba(0, 0, 0, 0);
        border: 1px solid #fff;
        width: 13px;
        height: 13px;
        margin-left: 5px;
        text-indent: -9999px;
        display: inline-block;
    }

.carousel-indicators .active {
    background-color: #fff !important;
}

.slider-content {
    height: 100%;
}

#main-carousel .carousel-caption {
    display: table;
    height: 100%;
    width: 100%;
    min-height: 100%;
    left: 0;
    top: 0;
    z-index: 11;
}

    #main-carousel .carousel-caption > div {
        vertical-align: middle;
        display: table-cell;
    }

#main-carousel .carousel-inner h2 {
    color: #f6f6f6;
    display: inline-block;
    font-family: roboto;
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 40px;
    text-shadow: none;
    text-transform: uppercase;
}

    #main-carousel .carousel-inner h2 span {
        color: #7ab700;
    }

#main-carousel .carousel-inner p {
    color: #f6f6f6;
    font-family: roboto;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 59px;
    margin-top: 0;
    text-shadow: none;
}

#main-carousel .carousel-left {
    left: -50px;
}

#main-carousel .carousel-right {
    right: -50px;
}

#main-carousel:hover .carousel-left {
    left: 0px;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}

#main-carousel:hover .carousel-right {
    right: 0px;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}

#main-carousel .carousel-left,
#main-carousel .carousel-right {
    padding: 15px;
    z-index: 12;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.52);
    top: 50%;
    position: absolute;
    margin-top: -60px;
    text-align: center;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}

.carousel-right {
    right: 65px
}

.carousel-left {
    left: 65px
}

#main-carousel .carousel-left:hover,
#main-carousel .carousel-right:hover {
    color: #F6F6F6;
}



/*=======================
====== About Us CSS =====
=========================*/


#about-us {
    background: #F6F6F6;
    overflow: hidden;
    padding: 85px 0;
}

    #about-us h2 {
        margin-bottom: 35px
    }

.title-one {
    color: #414f9a;
    display: inline-block;
    font-size: 32px;
    font-weight: 600;
    padding-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    position: relative
}

    .title-one:after {
        color: #90a5ab;
        content: "||";
        position: absolute;
        right: -40px;
        top: -2px;
    }

    .title-one:before {
        color: #90a5ab;
        content: "||";
        left: -40px;
        position: absolute;
        top: 0;
    }


#about-us h4 {
    color: #909090;
    margin-bottom: 50px;
    margin-top: -5px;
    text-transform: capitalize;
}

#about-us p {
    font-weight: 300;
    font-size: 15px
}

.about-us .col-sm-6 {
    margin-top: 50px
}

.about-us h3 {
    font-size: 20px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.about-us .tab-content {
    background: #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    padding: 25px;
}

.about-us .nav-tabs li a {
    border-top: 2px solid #f6f6f6;
    color: #c20000
}

.about-us .nav-tabs li.active a,
.about-us .nav-tabs li.active a:hover,
.about-us .nav-tabs li.active a:focus {
    border-radius: 0;
    border-top: 2px solid #c20000;
    color: #333333;
}

.about-us .tab-content
.pull-left.media-object {
    background-color: #F6F6F6;
    margin-right: 20px;
    padding: 5px;
}

.skillbar {
    position: relative;
    display: block;
    margin-bottom: 18px;
    box-shadow: 1px 1px 0 0 #333333;
    width: 100%;
    background: #43484E;
    height: 35px;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -ms-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-transition-property: width, background-color;
    -moz-transition-property: width, background-color;
    -ms-transition-property: width, background-color;
    -o-transition-property: width, background-color;
    transition-property: width, background-color;
}

.skillbar-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    background-color: #c20000;
}

    .skillbar-title span {
        float: none;
        margin-bottom: 0;
        margin-right: 0;
        margin-top: 0;
        text-align: left;
        display: block;
        background-color: #c20000;
        padding: 0 15px;
        height: 35px;
        line-height: 35px;
    }


.skillbar-bar {
    height: 35px;
    width: 0px;
    background-color: #c20000;
    box-shadow: 0 1px 0 0 #333333;
}

.skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 11px;
    height: 35px;
    line-height: 35px;
    color: #ffffff;
}


.KeyOfMap {
    padding: 10px;
}

/*====================
======Service CSS=====
======================*/

#services {
    background-image: url("../images/services/service-bg.jpg");
    color: #fff;
    text-align: center;
    background-color: #0A0A13;
}

.services {
    /*display: block;*/
    overflow: hidden;
    margin-top: 50px
}

#services h2 {
    color: #fff;
    border-color: #fff;
    margin-bottom: 35px;
}

.single-service {
    background-color: #fff;
    padding: 25px;
    text-align: center;
    /* min-height: 500px;*/
    /*transition: all 0.9s ease 0s;
	-moz-transition: all 0.9s ease 0s;
	-webkit-transition: all 0.9s ease 0s;
	-o-transition: all 0.9s ease 0s;*/
}

    .single-service h2 {
        margin-top: 10px;
    }

    .single-service p {
        text-align: justify;
    }

    .single-service i {
        text-align: center;
        font-size: 80px;
        background-color: whitesmoke;
        border-radius: 50%;
        display: inline-block;
        height: 150px;
        line-height: 150px;
        width: 150px;
        color: #43484E;
        /*transition: all 0.9s ease 0s;
	-moz-transition: all 0.9s ease 0s;
	-webkit-transition: all 0.9s ease 0s;
	-o-transition: all 0.9s ease 0s;*/
    }

    .single-service:hover {
        background-color: #578bbc;
    }

        .single-service:hover i {
            color: #578bbc;
            -moz-transform: scale(1.1) rotate(360deg);
            -webkit-transform: scale(1.1) rotate(360deg);
            -o-transform: scale(1.1) rotate(360deg);
            -ms-transform: scale(1.1) rotate(360deg);
            transform: scale(1.1) rotate(360deg);
        }

        .single-service:hover a {
            color: #fff !important;
            text-decoration:underline;
        }

        .single-service:hover h2 {
            color: #fff;
        }

        .single-service:hover p {
            color: #fff;
        }

/*=====================
======Our Team CSS=====
=======================*/

#team-carousel {
    position: relative
}

#our-team {
    background-color: #f6f6f6;
    color: #43484E;
}

    #our-team h2 {
        color: #43484E;
        margin-bottom: 35px;
    }

    #our-team .team-members {
        padding: 0;
        margin-top: 55px;
        display: block;
        overflow: hidden
    }

.single-member {
    //height:430px;
    background-color: #43484E;
    border: 1px solid #43484E;
    color: #f6f6f6;
    padding: 25px;
    text-align: center;
    overflow: hidden;
}

    .single-member img {
        width: 100%
    }

    .single-member h4,
    .single-member h5 {
        text-align: center
    }

#our-team .socials i {
    background-color: #fff;
    border-radius: 50%;
    color: #43484E;
    display: inline-block;
    font-size: 16px;
    height: 30px;
    line-height: 28px;
    margin-right: 5px;
    text-align: center;
    width: 30px;
    border-width: 1px;
    border-color: #43484E;
    border-style: solid;
    opacity: .5;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#our-team .socials a i:hover {
    opacity: 1;
    color: #fff;
    border: 0
}

#our-team .socials a .fa-facebook:hover {
    background: #3B5997;
}

#our-team .socials a .fa-twitter:hover {
    background: #29C5F6
}

#our-team .socials a .fa-pinterest:hover {
    background: #C61118
}

#our-team .socials a .fa-dribbble:hover {
    background: #FF5C93
}

#our-team .socials a .fa-linkedin:hover {
    background: #006DC0
}

#our-team .socials a .fa-google-plus:hover {
    background: #D13D2F
}

#our-team .socials a .fa-flickr:hover {
    background: #7A797B
}

.member-left, .member-right {
    position: absolute;
    top: -43px;
    color: #43484E
}


.member-left {
    left: 49%;
}

.member-right {
    left: 51%
}


/*======================
======Portfolio CSS=====
========================*/

#portfolio {
    padding-top: 70px;
    padding-bottom: 100px;
    background: #F6F6F6
}

    #portfolio p,
    #portfolio h2 {
        margin-bottom: 30px;
    }

    #portfolio
    .portfolio-filter {
        margin-bottom: 40px;
        margin-top: 10px;
    }

        #portfolio
        .portfolio-filter li {
            display: inline-block;
        }

            #portfolio
            .portfolio-filter li a:hover,
            #portfolio
            .portfolio-filter li a:focus,
            #portfolio
            .portfolio-filter li a:active,
            #portfolio
            .portfolio-filter li .active {
                border: 1px solid #c20000;
                color: #686868;
                box-shadow: none;
                -webkit-box-shadow: none;
                opacity: 1;
            }

            #portfolio
            .portfolio-filter li a {
                color: #686868;
                font-size: 16px;
                text-transform: uppercase;
                border: none;
                background: rgba(67, 72, 78, 0);
                opacity: .8;
                border: 1px solid rgba(252, 119, 0, 0);
                border-radius: inherit;
            }

.portfolio-items > div {
    padding: 0;
}

.portfolio-items img {
    width: 100%;
}

.view {
    cursor: default;
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

.efffect h4 {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear 0s;
}

.efffect h3 {
    opacity: 0;
    transform: scale(0);
    -webkit-transition: all 0.5s linear 0s;
    -moz-transition: all 0.5s linear 0s;
    -ms-transition: all 0.5s linear 0s;
    -o-transition: all 0.5s linear 0s;
    transition: all 0.5s linear 0s;
}

.efffect img {
    transform: scaleY(1);
    -moz-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -o-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transition: all 0.7s ease-in-out 0s;
    -moz-transition: all 0.7s ease-in-out 0s;
    -webkit-transition: all 0.7s ease-in-out 0s;
    -o-transition: all 0.7s ease-in-out 0s;
}

.view img {
    display: block;
    position: relative;
}

.efffect .mask {
    background-color: #F6F6F6;
    border: 4px solid #333333;
    -webkit-transition: all 0.5s linear 0s;
    -moz-transition: all 0.5s linear 0s;
    -ms-transition: all 0.5s linear 0s;
    -o-transition: all 0.5s linear 0s;
    transition: all 0.5s linear 0s;
    opacity: 0
}

.view .mask, .view .content {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.mask h3 {
    color: #43484E;
    font-family: cabin;
    font-size: 22px;
    font-weight: 700;
    margin-top: 30px;
    text-transform: uppercase;
    transition: height 500ms ease 0s;
}

.mask h4 {
    color: #000;
    font-family: roboto;
    font-size: 14px;
    font-weight: 200;
    padding: 0 35px 5px;
}

.mask i {
    border: 2px solid #333;
    border-radius: 50%;
    color: #333;
    font-size: 17px;
    margin-left: 8px;
    padding: 8px;
}

    .mask i:hover {
        background-color: #c20000;
        color: #fff;
    }



/*====================
======Clients CSS=====
======================*/

#clients {
    background-image: url("../images/clients/client-bg.jpg");
    background-color: #0A0A13;
}

    #clients h2 {
        margin-bottom: 30px;
        color: #f6f6f6
    }

    #clients p {
        color: #fff
    }

#clients-carousel {
    margin-top: 45px;
    text-align: center;
}

    #clients-carousel
    .carousel-inner {
        display: inline-block;
        width: 60%
    }

.carousel-inner blockquote {
    border-left: 0 none;
    margin: 15px;
    padding: 0;
    text-align: left;
}

    .carousel-inner blockquote p {
        font-size: 17px;
    }

#clients-carousel
.carousel-inner img {
    border-right: 5px solid#eee;
    padding-right: 10px
}

#clients-carousel
.carousel-indicators {
    top: 100%;
    left: 50%;
    margin: 0 0 0 -50px;
    position: absolute;
    width: 100px;
}

#clients-carousel .item {
    background: #43484E
}

#clients-carousel
.carousel-indicators li {
    background: rgba(0, 0, 0, 0);
    border: 1px solid #fff;
    width: 13px;
    height: 13px;
    margin-left: 5px;
    text-indent: -9999px;
    display: inline-block;
}

#clients-carousel
.carousel-indicators {
    margin-top: 20px;
}

.clients {
    text-align: center;
}

    .clients h2 {
        color: #FFFFFF;
        font-family: 'Roboto',sans-serif;
        font-size: 30px;
        font-weight: 500;
        line-height: 40px;
        text-transform: uppercase;
        margin-top: 0;
    }

    .clients p {
        color: #FFFFFF;
        font-family: 'Roboto',sans-serif;
        font-size: 14px;
        font-weight: 300;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

        .clients p span {
            color: #c20000;
        }



/*=====================
======Our Blog CSS=====
======================*/

#blog {
    padding-bottom: 75px;
    padding-top: 75px
}

.blog-heading {
    margin-bottom: 35px;
    margin-top: 15px;
}

.single-blog {
    margin-bottom: 30px;
    background-color: #F7F7F7;
    padding: 25px;
    transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -webkit-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    -webkit-box-shadow: 0 2px 0 0 #ddd;
    box-shadow: 0 2px 0 0 #ddd;
}

    .single-blog:hover {
        background-color: #43484E;
        color: #fff
    }

        .single-blog:hover.single-blog h2 {
            color: #fff
        }

        .single-blog:hover.single-blog .btn-primary {
            background-color: #c20000;
            color: #fff;
            border-color: #fff;
            transition: all 0.9s ease 0s;
            -moz-transition: all 0.9s ease 0s;
            -webkit-transition: all 0.9s ease 0s;
            -o-transition: all 0.9s ease 0s;
        }

    .single-blog img {
        width: 100%;
        margin-bottom: 20px
    }

    .single-blog h2 {
        color: #43484E;
        font-size: 24px;
    }

    .single-blog h2 {
        margin: 0;
        margin-bottom: 15px;
    }

    .single-blog ul {
        padding: 0;
        overflow: hidden;
    }

        .single-blog ul li {
            border-right: 2px solid #999999;
            float: left;
            line-height: 10px;
            list-style: none;
            margin-right: 10px;
            padding-right: 10px;
            font-size: 12px;
            color: #999;
        }

            .single-blog ul li:last-child {
                border: none;
            }

.blog-content {
    margin-bottom: 25px;
    margin-top: 0;
}

.single-blog .btn-primary {
    text-transform: uppercase;
    border: 1px solid #c20000;
    color: #686868;
    background-color: rgba(255, 255, 255, 0);
    border-color: #c20000;
}

.single-blog:hover.single-blog .btn-primary:hover {
    background-color: #c20000;
    color: #fff;
}

#blog-detail .modal-body {
    padding: 30px;
}

    #blog-detail .modal-body img {
        width: 100%
    }

#blog-detail .close {
    margin-right: -15px;
    margin-top: -25px;
}



/*====================
======Contact CSS=====
======================*/

#contact {
    overflow: hidden;
    position: relative;
    padding-bottom: 85px;
    background-color: #f6f6f6;
    /*
	border-top:2px solid #ddd
	background-color: #f6f6f6;
	*/
}

    #contact .contact-heading {
        padding-bottom: 35px;
        position: relative;
        z-index: 10;
    }

.contact-details {
    padding-top: 75px;
}

.pattern {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    bottom: 0;
    background-image: url(../images/pattern.png);
    background-repeat: repeat;
    opacity: 0.2;
}


.contact-address {
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .contact-address .social-icons a i {
        border-radius: 0;
        height: 30px;
        line-height: inherit;
        width: 30px;
        border-width: 0;
        transition: all 1s ease 0s;
        -moz-transition: all 1s ease 0s;
        -webkit-transition: all 1s ease 0s;
        -o-transition: all 1s ease 0s;
        margin-right: 10px
    }

    .contact-address .social-icons i:hover {
        transform: scale(.9);
    }

.social-icons a {
    color: #A2A2A2;
    font-size: 20px;
    border: 1px solid #A2A2A2;
    border-radius: 50%;
    text-align: center;
    padding: 6px;
    width: 44px;
    height: 44px;
    display: inline-block;
    margin: 2px;
}


    .social-icons a:hover {
        color: #c20000;
        border: 1px solid #c20000;
    }

.contact-address .social-icons,
.contact-address address {
    z-index: 2;
    position: relative
}

.contact-address p {
    font-weight: 800;
    font-size: 24px
}

    .contact-address p span {
        color: #666;
    }

#contact-form-section {
    padding: 35px;
    background-color: #FFF;
    height: 390px;
}

    #contact-form-section .btn-primary {
        background-color: #c20000;
        border-color: #f6f6f6;
        border-radius: 0;
        padding: 10px 35px;
        text-transform: uppercase;
        font-weight: 800;
        transition: all 0.9s ease 0s;
        -moz-transition: all 0.9s ease 0s;
        -webkit-transition: all 0.9s ease 0s;
        -o-transition: all 0.9s ease 0s;
    }

        #contact-form-section .btn-primary:hover {
            background-color: #43484E
        }

#contact-form input,
#contact-form textarea,
#contact-form .btn-primary {
    position: relative;
    z-index: 2;
}

#contact-form .name-field,
#contact-form .mail-field {
    width: 49%;
}

#contact-form .name-field {
    margin-right: 2%;
    float: left
}

#contact-form .mail-field {
}

#contact-form-section .form-control {
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#contact-form-section textarea {
    resize: none
}

#contact-form-section .form-control:focus {
    border-color: #c20000;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}


/*====================
======Footer CSS=====
======================*/

#footer {
    background-color: #f6f6f6;
    padding: 25px 0;
    color: #43484E;
    font-size: 16px;
    position: relative;
    margin-top: 1px;
}

    #footer p {
        margin: 0
    }

    #footer a {
        color: #c20000
    }


/*============================
======Carousel Effect CSS=====
==============================*/


.carousel.scale .carousel-inner > .item.left > div:nth-child(1),
.carousel.scale .carousel-inner > .item.right > div:nth-child(1) {
    -webkit-animation: fadeOutDown 300ms linear 0ms both;
    animation: fadeOutDown 300ms linear 0ms both;
}

.carousel.scale .carousel-inner > .item.next > div:nth-child(1),
.carousel.scale .carousel-inner > .item.prev > div:nth-child(1) {
    -webkit-animation: fadeInDown 300ms linear 75ms both;
    animation: fadeInDown 300ms linear 75ms both;
}

.carousel.scale .carousel-inner > .item.left > div:nth-child(2),
.carousel.scale .carousel-inner > .item.right > div:nth-child(2) {
    -webkit-animation: fadeOutDown 300ms linear 75ms both;
    animation: fadeOutDown 300ms linear 75ms both;
}

.carousel.scale .carousel-inner > .item.next > div:nth-child(2),
.carousel.scale .carousel-inner > .item.prev > div:nth-child(2) {
    -webkit-animation: fadeInDown 300ms linear 150ms both;
    animation: fadeInDown 300ms linear 150ms both;
}

.carousel.scale .carousel-inner > .item.left > div:nth-child(3),
.carousel.scale .carousel-inner > .item.right > div:nth-child(3) {
    -webkit-animation: fadeOutDown 300ms linear 150ms both;
    animation: fadeOutDown 300ms linear 150ms both;
}

.carousel.scale .carousel-inner > .item.next > div:nth-child(3),
.carousel.scale .carousel-inner > .item.prev > div:nth-child(3) {
    -webkit-animation: fadeInDown 300ms linear 225ms both;
    animation: fadeInDown 300ms linear 225ms both;
}

.carousel.scale .carousel-inner > .item.left > div:nth-child(4),
.carousel.scale .carousel-inner > .item.right > div:nth-child(4) {
    -webkit-animation: fadeOutDown 300ms linear 225ms both;
    animation: fadeOutDown 300ms linear 225ms both;
}

.carousel.scale .carousel-inner > .item.next > div:nth-child(4),
.carousel.scale .carousel-inner > .item.prev > div:nth-child(4) {
    -webkit-animation: fadeInDown 300ms linear 300ms both;
    animation: fadeInDown 300ms linear 300ms both;
}


/*==================================
====== Isotope Recommended CSS=====
====================================*/

/**** Isotope Filtering ****/
.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

/**** Isotope CSS3 transitions ****/
.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

    .isotope .isotope-item {
        -webkit-transition-property: -webkit-transform, opacity;
        -moz-transition-property: -moz-transform, opacity;
        -ms-transition-property: -ms-transform, opacity;
        -o-transition-property: -o-transform, opacity;
        transition-property: transform, opacity;
    }

        /**** disabling Isotope CSS3 transitions ****/
        .isotope.no-transition,
        .isotope.no-transition .isotope-item,
        .isotope .isotope-item.no-transition {
            -webkit-transition-duration: 0s;
            -moz-transition-duration: 0s;
            -ms-transition-duration: 0s;
            -o-transition-duration: 0s;
            transition-duration: 0s;
        }
/* End: Recommended Isotope styles */




/*==================================
====== Portfolio Hover effect=======
====================================*/


.efffect img {
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -o-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.efffect .mask {
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    cursor: zoom-in;
}

.efffect h4 {
    background: transparent;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}

.efffect h3 {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    font-size: 22px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.mask a i {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -webkit-transition: all 0.5s linear 0.7s;
    -moz-transition: all 0.5s linear 0.7s;
    -o-transition: all 0.5s linear 0.7s;
    -ms-transition: all 0.5s linear 0.7s;
    transition: all 0.5s linear 0.7s;
}

.efffect:hover img {
    -webkit-transform: scale(10);
    -moz-transform: scale(10);
    -o-transform: scale(10);
    -ms-transform: scale(10);
    transform: scale(10);
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
}

.efffect:hover .mask {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

.efffect:hover h4, .efffect:hover h3, .efffect:hover a i {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.panel {
    border-color: #c20000;
}

.panel-primary > .panel-heading {
    background-color: #ff6000;
}



.orangeCircle {
    background-image: url("../images/Dark orange circles.png");
    background-size: 21px 19px;
    background-repeat: no-repeat;
    width: 21px;
    height: 19px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
}

.border-right {
    border-right: 1px solid #ccc;
}

.panelInfo {
    background-color: rgba(0, 174, 242, 0.1);
}

.fltlt {
    float: left;
}

.fltrt {
    float: right;
}

.d-column {
    padding: 10px;
    width: 25%;
    border-right: 1px solid #ccc;
    display: table-cell;
}

    .d-column:last-child {
        border: none;
    }

.d-Row {
    display: table;
    width: 100%;
    background-color: rgba(219, 219, 219, 0.50);
    border-radius: 10px;
}

.d-column:hover {
    background-color: #578bbc;
}

.d-column:first-child:hover {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.d-column:last-child:hover {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}


.d-header {
    padding-top: 15px;
    overflow: hidden;
    text-align: center;
}

.d-numberLabel {
    background-color: #414f9a;
    border-radius: 5px;
    padding: 10px;
    color: #ffffff;
}

.d-column h1, .d-column h2 {
    text-align: center;
    padding-bottom: 20px;
}

.d-icon {
    font-size: 48px;
}

.downloadButton {
    padding: 20px;
    background-color: #009af2;
    border-radius: 5px;
    box-shadow: 1px 1px 5px 0px #000;
    border: none;
}

.little {
    text-align: center;
    font-size: smaller;
    color: #adabab;
}

.hide {
    display: none;
}

@media screen and (max-width:600px) {

    .d-column {
        width: 100%;
        border: none;
        border-top: 1px solid #ccc;
        display: block;
    }

        .d-column:first-child {
            border: none;
        }

        .d-column:last-child {
            border-top: 1px solid #ccc;
        }

    .d-Row {
        display: block;
    }

    .d-column:first-child:hover {
        border-radius: 0;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
    }

    .d-column:last-child:hover {
        border-radius: 0;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }
}

/*Added for inline styles*/

.height1px {
    height: 1px;
}

.vertical-align-middle {
    vertical-align: middle;
}

.height80px {
    height: 80px;
}

.height800px {
    height: 800px;
}

.font-size-14px {
    font-size: 14px;
}

.font-size-18px {
    font-size: 18px;
}

.font-size-175pc {
    font-size: 175%;
}

.width100pc {
    width: 100%;
}

.width200px {
    width: 200px;
}

.width250px {
    width: 250px;
}

.width1100px {
    width: 1100px;
}

.footer-padding {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: solid 1px #00afef
}

.padding-top-8px {
    padding-top: 8px;
}

.text-decoration-underline {
    text-decoration: underline;
}

.text-decoration-no-underline {
    text-decoration: none;
}

.hr-style {
    border: none;
    border-top: 1px solid #F7B23E;
}

.font-size-175 {
    font-size: 175%;
    font-weight: bold;
    color: #ff6600;
}

.margin-auto {
    margin: auto;
}

.margin-top-10px {
    margin-top: 10px
}

.margin-5px-10px {
    margin: 5px 10px
}

.font-style-italic {
    font-style: italic
}

.font-weight-bold {
    font-weight: bold
}

.font-weight-bolder {
    font-weight: bolder
}

.text-transform-none {
    text-transform: none;
}

.color-red {
    color: red;
}

.color-ff6600 {
    color: #ff6600;
}

/*iframe*/
.body-frameplayer {
    position: relative;
    overflow: hidden;
    /*padding-top: 56.25%;*/
}

    .body-frameplayer iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.alert-info-style {
    color: #0c6043;
    background-color: #d1f1d2;
}

.text-align-left {
    text-align: left;
}

/*Bootstrap 5*/
/*======Carousel=====*/
.carousel-control-prev-icon, .carousel-control-next-icon {
    /*position: absolute;
	top: -50px;*/
    /*color: #43484E;*/
    /*color: #F7B23E*/
}

.carousel-control-prev-icon {
    margin-left: -40px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    margin-right: -40px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-icon-left, .carousel-icon-right {
    width: 40px;
    height: 40px;
}

.carousel-icon-left {
    left: 49%;
}

.carousel-icon-right {
    left: 51%
}

.single-member h5 {
    font-size: 14px;
}

/*======Header CSS - Override=====*/

#navigation .navbar-nav.navbar-right {
    margin-top: 20px;
}

    #navigation .navbar-nav.navbar-right li a {
        text-decoration: none;
    }

        #navigation .navbar-nav .active a,
        #navigation .navbar-nav .active a:focus,
        #navigation .navbar-nav.navbar-right li a:hover {
            background-color: #578bbc !important;
            color: white !important;
        }

/* Position logo above menu */
/*@media screen and (min-width:992px) {
	.navbar .container {
		flex-direction: column;
	}
}*/

/*======General - Override=====*/

section div#overview {
    margin-top: 20px;
}

.card {
    margin-bottom: 10px;
}

.row .orangeCircle {
    margin-left: 5px;
    margin-right: 5px;
    background-size: 50px 19px;
    width: 50px;
}

/*Recruiting centre counts*/
.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #999;
    border-radius: 10px;
}

/*section#summary {
    margin-top: 25px;
}*/

.logo{
    width: 250px;
}

.margin-top-25px {
    margin-top: 100px
}

.margin-top-150px {
    margin-top: 150px;
}

.margin-top-200px {
    margin-top: 200px;
}

/* Twitter */
a#twitter-button {
    text-decoration: none;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: bold;
}

/* Rounded rectangular button styles */
.rounded-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1DA1F2;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, transform 0.2s;
}

    .rounded-button:hover {
        background-color: #0056b3; /* #007bff*/
        transform: scale(1.05);
    }

    .rounded-button:focus {
        outline: none;
    }

/* Custom styles for navigation hover and red color replacement */
.navbar-nav .nav-item a:hover,
.navbar-nav .nav-item a:focus {
    background-color: #578bbc !important;
    color: white !important;
}

/* Replace any red colors in main sections */
.container [style*="red"],
.container [style*="#ff"],
.container [style*="rgb(255"]
/*.fa */ {
    color: #8db2d2 !important; /*#c33a3a*/
}

/* Applicant Testimony Section Styling */
#applicant-testimony {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin: 40px 0;
}

.testimony-image {
    text-align: center;
    margin-bottom: 30px;
}

    .testimony-image img {
        width: 100%;
        max-width: 250px;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        border: 4px solid #fff;
    }

.testimony-content {
    padding-left: 30px;
}

.testimony-title {
    color: #414f9a;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimony-name {
    margin-bottom: 25px;
}

    .testimony-name strong {
        display: block;
        color: #e37ab9;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .testimony-name em {
        color: #666;
        font-size: 16px;
        font-style: italic;
    }

.testimony-quote {
    border-left: 4px solid #e37ab9;
    padding-left: 25px;
    margin: 0;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

    .testimony-quote::before {
        content: "\"";
        font-size: 60px;
        color: #e37ab9;
        position: absolute;
        top: -10px;
        left: 15px;
        font-family: Georgia, serif;
        line-height: 1;
    }

    .testimony-quote p {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
        color: #444;
        font-style: italic;
    }

        .testimony-quote p:last-child {
            margin-bottom: 0;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimony-content {
        padding-left: 0;
        margin-top: 20px;
    }

    .testimony-title {
        font-size: 24px;
        text-align: center;
    }

    .testimony-name {
        text-align: center;
    }

    .testimony-quote {
        padding: 20px;
    }

        .testimony-quote::before {
            font-size: 40px;
            top: -5px;
        }
}

/* Parent Co-Applicant Testimony Section */
.parent-testimony-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e37ab9;
}

.parent-testimony-content {
    text-align: center;
}

    .parent-testimony-content .title-one {
        margin-bottom: 40px;
    }

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 12px;
    }

/* Responsive adjustments for video */
@media (max-width: 768px) {
    .parent-testimony-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .video-container {
        max-width: 100%;
        margin: 0 15px;
    }

    .parent-testimony-content .title-one {
        margin-bottom: 30px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .video-container {
        margin: 0 10px;
        border-radius: 8px;
    }

        .video-container iframe {
            border-radius: 8px;
        }
}

/* Lay Summary Section Styling */
#lay-summary {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.lay-summary-content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

    .lay-summary-content .card-header h2 {
        margin: 0;
        color: #414f9a;
    }

.summary-section {
    margin-bottom: 30px;
}

    .summary-section h4 {
        color: #414f9a;
        font-size: 20px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .summary-section p {
        margin-bottom: 15px;
        text-align: justify;
    }

.treatment-options {
    background-color: #f1f3f4;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #e37ab9;
}

.treatment-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .treatment-option:last-of-type {
        margin-bottom: 0;
    }

.option-number {
    background-color: #414f9a;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 15px;
}

.option-text {
    flex: 1;
    padding-top: 5px;
    font-size: 16px;
    color: #333;
}

.option-divider {
    text-align: center;
    font-weight: bold;
    color: #e37ab9;
    font-size: 18px;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lay-summary-content {
        font-size: 15px;
    }

    .summary-section h4 {
        font-size: 18px;
    }

    .treatment-options {
        padding: 15px;
    }

    .treatment-option {
        flex-direction: column;
        text-align: center;
    }

    .option-number {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: center;
    }

    .option-text {
        padding-top: 0;
    }
}

/* Participant Feedback Section Styling */
#participant-feedback {
    background-color: #f8f9fa;
    padding: 60px 0;
}

    #participant-feedback .card-header {
        background-color: #414f9a;
        color: white;
        border-bottom: none;
        text-align: center;
        padding: 30px 20px;
    }

        #participant-feedback .card-header h2 {
            color: white;
            margin-bottom: 15px;
        }

            #participant-feedback .card-header h2:before,
            #participant-feedback .card-header h2:after {
                color: #e37ab9;
            }

.feedback-question {
    color: #e37ab9;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

.feedback-content {
    padding: 40px 30px;
}

.feedback-quotes {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feedback-quote {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: none;
    border-left: 5px solid #e37ab9;
    border-radius: 10px;
    padding: 25px 30px;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feedback-quote:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .feedback-quote p {
        font-size: 16px;
        line-height: 1.6;
        color: #444;
        margin: 0;
        font-style: italic;
        position: relative;
        padding: 0 15px;
    }

.quote-icon {
    color: #e37ab9;
    font-size: 14px;
    opacity: 0.7;
}

.fa-quote-left {
    margin-right: 8px;
}

.fa-quote-right {
    margin-left: 8px;
}

/* Add some visual flair with pseudo-elements */
.feedback-quote::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, #414f9a 0%, #e37ab9 50%, #414f9a 100%);
    border-radius: 10px 10px 0 0;
}

/* Responsive design */
@media (max-width: 768px) {
    #participant-feedback {
        padding: 40px 0;
    }

    .feedback-content {
        padding: 30px 20px;
    }

    .feedback-quote {
        padding: 20px 25px;
    }

        .feedback-quote p {
            font-size: 15px;
            padding: 0 10px;
        }

    #participant-feedback .card-header {
        padding: 25px 15px;
    }

    .feedback-question {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .feedback-quote {
        padding: 15px 20px;
    }

        .feedback-quote p {
            font-size: 14px;
            padding: 0 5px;
        }

    .quote-icon {
        font-size: 12px;
    }
}

/* Participant Videos Section - Placeholder Styling */
#participant-videos {
    background-color: #fff;
    padding: 60px 0;
}

    #participant-videos .card-header {
        background: linear-gradient(135deg, #414f9a 0%, #e37ab9 100%);
        color: white;
        border-bottom: none;
        text-align: center;
        padding: 30px 20px;
    }

        #participant-videos .card-header h2 {
            color: white;
            margin-bottom: 15px;
        }

            #participant-videos .card-header h2:before,
            #participant-videos .card-header h2:after {
                color: rgba(255, 255, 255, 0.7);
            }

.video-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    font-style: italic;
}

.video-placeholder-content {
    padding: 40px 30px;
}

.video-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-placeholder-item {
    display: flex;
    justify-content: center;
}

.video-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #414f9a;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .video-placeholder:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(65, 79, 154, 0.15);
        border-color: #e37ab9;
    }

    .video-placeholder::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s ease;
    }

    .video-placeholder:hover::before {
        left: 100%;
    }

.placeholder-icon {
    font-size: 48px;
    color: #414f9a;
    margin-bottom: 20px;
    display: block;
    transition: color 0.3s ease;
}

.video-placeholder:hover .placeholder-icon {
    color: #e37ab9;
}

.video-placeholder h5 {
    color: #414f9a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.video-placeholder:hover h5 {
    color: #e37ab9;
}

.video-placeholder p {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

.placeholder-note {
    background-color: #f1f3f4;
    border-left: 4px solid #414f9a;
    border-radius: 8px;
    padding: 20px 25px;
    text-align: center;
}

    .placeholder-note p {
        margin: 0;
        color: #555;
        font-size: 16px;
        line-height: 1.5;
    }

    .placeholder-note .fa-info-circle {
        color: #414f9a;
        margin-right: 8px;
        font-size: 18px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    #participant-videos {
        padding: 40px 0;
    }

    .video-placeholder-content {
        padding: 30px 20px;
    }

    .video-placeholder-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .video-placeholder {
        padding: 30px 15px;
        max-width: none;
    }

    .placeholder-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .video-placeholder h5 {
        font-size: 16px;
    }

    .placeholder-note {
        padding: 15px 20px;
    }

        .placeholder-note p {
            font-size: 15px;
        }

    #participant-videos .card-header {
        padding: 25px 15px;
    }

    .video-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .video-placeholder {
        padding: 25px 10px;
    }

    .placeholder-icon {
        font-size: 36px;
    }

    .video-placeholder h5 {
        font-size: 15px;
    }

    .placeholder-note p {
        font-size: 14px;
    }
}

/* Sites Information Page Styling */
#siteinfo .card {
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #siteinfo .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

#siteinfo .card-header {
    background: linear-gradient(135deg, #414f9a 0%, #e37ab9 100%);
    color: white;
    border-bottom: none;
    padding: 20px;
    text-align: center;
}

    #siteinfo .card-header h4 {
        color: white;
        margin: 0;
        font-weight: 600;
        font-size: 18px;
    }

    #siteinfo .card-header i {
        margin-right: 8px;
        font-size: 20px;
    }

#siteinfo .card-body {
    padding: 25px;
}

/* Database/Randomisation System Styling */
#siteinfo .btn-primary {
    background-color: #414f9a;
    border-color: #414f9a;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    #siteinfo .btn-primary:hover {
        background-color: #e37ab9;
        border-color: #e37ab9;
        transform: translateY(-2px);
    }

/* Newsletter Section Styling */
.newsletter-list {
    text-align: center;
}

.newsletter-placeholder li {
    padding: 8px 0;
    color: #666;
    font-style: italic;
    border-bottom: 1px solid #eee;
}

    .newsletter-placeholder li:last-child {
        border-bottom: none;
    }

.newsletter-placeholder i {
    color: #e37ab9;
    margin-right: 8px;
}

/* Documents Section Styling */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 15px;
}

.document-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #414f9a;
    transition: all 0.3s ease;
}

    .document-item:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(65, 79, 154, 0.2);
    }

.document-icon {
    flex-shrink: 0;
    margin-right: 20px;
}

    .document-icon i {
        font-size: 40px;
        color: #e37ab9;
    }

.document-info h5 {
    color: #414f9a;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.document-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-outline-primary {
    color: #414f9a;
    border-color: #414f9a;
    background-color: transparent;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #414f9a;
        color: white;
    }

/* Training Videos Section Styling */
.training-videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 15px;
}

.video-item {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.video-header {
    margin-bottom: 20px;
    text-align: center;
}

    .video-header h5 {
        color: #414f9a;
        font-weight: 600;
        margin-bottom: 10px;
        font-size: 18px;
    }

        .video-header h5 i {
            color: #e37ab9;
            margin-right: 8px;
        }

    .video-header p {
        color: #666;
        font-size: 14px;
        margin: 0;
        line-height: 1.5;
    }

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .document-item {
        flex-direction: column;
        text-align: center;
    }

    .document-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .video-item {
        padding: 20px;
    }

    .video-header h5 {
        font-size: 16px;
    }

    #siteinfo .card-body {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .training-videos-grid {
        gap: 30px;
    }

    .video-item {
        padding: 15px;
    }

    .document-item {
        padding: 15px;
    }

    #siteinfo .card-header {
        padding: 15px;
    }

        #siteinfo .card-header h4 {
            font-size: 16px;
        }
}

/* Newsletter Section Enhanced Styling */
.newsletter-list {
    text-align: left;
    margin-top: 15px;
}

    .newsletter-list > p {
        background: linear-gradient(135deg, #f1f3f4 0%, #e9ecef 100%);
        border-left: 4px solid #414f9a;
        border-radius: 8px;
        padding: 15px 20px;
        margin-bottom: 25px;
        color: #555;
        font-size: 15px;
        font-weight: 500;
    }

        .newsletter-list > p i {
            color: #414f9a;
            margin-right: 10px;
            font-size: 16px;
        }

.newsletter-placeholder {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

    .newsletter-placeholder li {
        padding: 12px 20px;
        border-bottom: 1px solid #f1f3f4;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        color: #555;
        font-size: 14px;
        position: relative;
        overflow: hidden;
    }

        .newsletter-placeholder li:first-child {
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }

        .newsletter-placeholder li:last-child {
            border-bottom: none;
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
        }

        .newsletter-placeholder li:hover {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            transform: translateX(3px);
            color: #333;
            box-shadow: inset 3px 0 0 #e37ab9;
        }

        .newsletter-placeholder li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 3px;
            background: #e37ab9;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .newsletter-placeholder li:hover::before {
            transform: scaleY(1);
        }

        .newsletter-placeholder li i {
            color: #e37ab9;
            margin-right: 12px;
            font-size: 16px;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .newsletter-placeholder li:hover i {
            color: #414f9a;
            transform: scale(1.1);
        }

        .newsletter-placeholder li a {
            color: inherit;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            flex: 1;
        }

            .newsletter-placeholder li a:hover {
                color: #414f9a;
                text-decoration: none;
            }

/* Add a subtle animation for the newsletter section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-list {
    animation: fadeInUp 0.6s ease-out;
}

/* Add a loading state indicator for newsletters */
.newsletter-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e37ab9, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Enhanced newsletter counter badge */
.newsletter-placeholder li::after {
    content: counter(newsletter-counter);
    counter-increment: newsletter-counter;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #414f9a;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.newsletter-placeholder {
    counter-reset: newsletter-counter;
}

    .newsletter-placeholder li:hover::after {
        opacity: 1;
        background: #e37ab9;
    }

/* Responsive adjustments for newsletters */
@media (max-width: 768px) {
    .newsletter-list > p {
        padding: 12px 15px;
        font-size: 14px;
    }

    .newsletter-placeholder li {
        padding: 10px 15px;
        font-size: 13px;
    }

        .newsletter-placeholder li i {
            font-size: 14px;
            margin-right: 10px;
        }

        .newsletter-placeholder li::after {
            right: 10px;
            font-size: 10px;
            padding: 1px 4px;
        }
}

@media (max-width: 576px) {
    .newsletter-list > p {
        padding: 10px 12px;
        font-size: 13px;
    }

    .newsletter-placeholder li {
        padding: 8px 12px;
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

        .newsletter-placeholder li i {
            margin-bottom: 5px;
            margin-right: 5px;
        }

        .newsletter-placeholder li::after {
            position: static;
            transform: none;
            margin-top: 5px;
            align-self: flex-end;
        }
}

/* Index Page Overview Section Styling */
#overview .card {
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #overview .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

#overview .card-header {
    background: linear-gradient(135deg, #414f9a 0%, #e37ab9 100%);
    color: white;
    border-bottom: none;
    padding: 20px;
    text-align: center;
}

    #overview .card-header h4 {
        color: white;
        margin: 0;
        font-weight: 600;
        font-size: 18px;
    }

    #overview .card-header i {
        margin-right: 8px;
        font-size: 20px;
    }

#overview .card-body {
    padding: 25px;
}

* Override existing .card rule that sets margin-bottom: 10px */
#overview .about-us .card.card-default {
    margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#overview .about-us .card.card-default:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Override existing d-column:hover rule that sets background-color: #2e98b9 */
#overview .about-us .d-Row .d-column:hover {
    background: linear-gradient(135deg, #414f9a 0%, #e37ab9 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(65, 79, 154, 0.3) !important;
}

    #overview .about-us .d-Row .d-column:hover .d-numberLabel {
        background-color: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }

    #overview .about-us .d-Row .d-column:hover .d-icon {
        color: white !important;
        transform: scale(1.1) !important;
    }

    #overview .about-us .d-Row .d-column:hover h3 {
        color: white !important;
    }

    #overview .about-us .d-Row .d-column:hover .little {
        color: rgba(255, 255, 255, 0.9) !important;
    }

/* Force d-Row enhanced styling */
#overview .about-us .d-Row {
    margin-bottom: 40px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%) !important;
}

    /* Force d-column transitions */
    #overview .about-us .d-Row .d-column {
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }

        #overview .about-us .d-Row .d-column::before {
            content: '' !important;
            position: absolute !important;
            top: 0 !important;
            left: -100% !important;
            width: 100% !important;
            height: 100% !important;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
            transition: left 0.5s ease !important;
        }

        #overview .about-us .d-Row .d-column:hover::before {
            left: 100% !important;
        }

/* !IMPORTANT - Apply Enhanced Card Styling to ALL Pages with Higher Specificity */

/* Study Summary Page Card Styling */
#summary .card.card-default,
#recruitment .card,
#collaborators .card,
#funders .card {
    margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

    #summary .card.card-default:hover,
    #recruitment .card:hover,
    #collaborators .card:hover,
    #funders .card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

#collaborators.parallax-section {
    background-color: #f8f9fa !important;
    padding: 60px 0 !important;
}

    /* Enhanced Card Headers for Study Summary */
    #summary .card.card-default .card-header {
        background: linear-gradient(135deg, #414f9a 0%, #e37ab9 100%) !important;
        color: white !important;
        border-bottom: none !important;
        padding: 20px !important;
        text-align: center !important;
    }

        #summary .card.card-default .card-header h4 {
            color: white !important;
            margin: 0 !important;
            font-weight: 600 !important;
            font-size: 18px !important;
        }

        #summary .card.card-default .card-header i {
            color: white !important;
            margin-right: 8px !important;
            font-size: 20px !important;
        }

        #summary .card.card-default .card-header .fa-3x {
            font-size: 3em !important;
            color: white !important;
        }

    /* Enhanced Card Body for Study Summary */
    #summary .card.card-default .card-body {
        padding: 25px !important;
    }

        #summary .card.card-default .card-body p {
            font-size: 16px !important;
            line-height: 1.7 !important;
            color: #444 !important;
            margin-bottom: 20px !important;
            text-align: justify !important;
        }

            #summary .card.card-default .card-body p:last-child {
                margin-bottom: 0 !important;
            }

        #summary .card.card-default .card-body a {
            color: #414f9a !important;
            font-weight: 600 !important;
            text-decoration: none !important;
            transition: color 0.3s ease !important;
        }

            #summary .card.card-default .card-body a:hover {
                color: #e37ab9 !important;
                text-decoration: underline !important;
            }

        #summary .card.card-default .card-body ul {
            color: #444 !important;
            font-size: 16px !important;
            line-height: 1.7 !important;
            margin-bottom: 15px !important;
        }


/* Patient Information Page Card Styling */
#lay-summary .card.card-default,
#participant-feedback .card.card-default,
#participant-videos .card.card-default {
    margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

    #lay-summary .card.card-default:hover,
    #participant-feedback .card.card-default:hover,
    #participant-videos .card.card-default:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

    /* Enhanced Card Headers for Patient Information */
    #lay-summary .card.card-default .card-header,
    #participant-feedback .card.card-default .card-header,
    #participant-videos .card.card-default .card-header {
        background: linear-gradient(135deg, #414f9a 0%, #e37ab9 100%) !important;
        color: white !important;
        border-bottom: none !important;
        padding: 20px !important;
        text-align: center !important;
    }

        #lay-summary .card.card-default .card-header h2,
        #participant-feedback .card.card-default .card-header h2,
        #participant-videos .card.card-default .card-header h2 {
            color: white !important;
            margin: 0 !important;
            font-weight: 600 !important;
            font-size: 24px !important;
        }

            #lay-summary .card.card-default .card-header h2:before,
            #lay-summary .card.card-default .card-header h2:after,
            #participant-feedback .card.card-default .card-header h2:before,
            #participant-feedback .card.card-default .card-header h2:after,
            #participant-videos .card.card-default .card-header h2:before,
            #participant-videos .card.card-default .card-header h2:after {
                color: rgba(255, 255, 255, 0.7) !important;
            }

/* Map card special styling */
#recruitment .card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%) !important;
    border: 1px solid #e9ecef !important;
}

/* Global card enhancement for any remaining cards */
.card.card-default {
    margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

    .card.card-default:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .card.card-default .card-header {
        background: linear-gradient(135deg, #414f9a 0%, #e37ab9 100%) !important;
        color: white !important;
        border-bottom: none !important;
        padding: 20px !important;
        text-align: center !important;
    }

        .card.card-default .card-header h4 {
            color: white !important;
            margin: 0 !important;
            font-weight: 600 !important;
            font-size: 18px !important;
        }

        .card.card-default .card-header i {
            color: white !important;
            margin-right: 8px !important;
            font-size: 20px !important;
        }

    .card.card-default .card-body {
        padding: 25px !important;
    }

        .card.card-default .card-body p {
            font-size: 16px !important;
            line-height: 1.7 !important;
            color: #444 !important;
            margin-bottom: 20px !important;
            text-align: justify !important;
        }

            .card.card-default .card-body p:last-child {
                margin-bottom: 0 !important;
            }

        .card.card-default .card-body a {
            color: #414f9a !important;
            font-weight: 600 !important;
            text-decoration: none !important;
            transition: color 0.3s ease !important;
        }

            .card.card-default .card-body a:hover {
                color: #e37ab9 !important;
                text-decoration: underline !important;
            }

/* Responsive adjustments for all enhanced cards */
@media (max-width: 768px) {
    .card.card-default .card-body,
    #summary .card.card-default .card-body,
    #lay-summary .card.card-default .card-body,
    #participant-feedback .card.card-default .card-body,
    #participant-videos .card.card-default .card-body {
        padding: 20px !important;
    }

        .card.card-default .card-body p,
        #summary .card.card-default .card-body p {
            font-size: 15px !important;
            text-align: left !important;
        }

    .card.card-default .card-header,
    #summary .card.card-default .card-header,
    #lay-summary .card.card-default .card-header,
    #participant-feedback .card.card-default .card-header,
    #participant-videos .card.card-default .card-header {
        padding: 15px !important;
    }

        .card.card-default .card-header h4,
        #summary .card.card-default .card-header h4 {
            font-size: 16px !important;
        }
}

@media (max-width: 576px) {
    .card.card-default .card-header,
    #summary .card.card-default .card-header,
    #lay-summary .card.card-default .card-header,
    #participant-feedback .card.card-default .card-header,
    #participant-videos .card.card-default .card-header {
        padding: 12px !important;
    }

        .card.card-default .card-header h4,
        #summary .card.card-default .card-header h4 {
            font-size: 15px !important;
        }

    .card.card-default .card-body p,
    #summary .card.card-default .card-body p {
        font-size: 14px !important;
    }
}

/* !IMPORTANT - Fix Database Button Text Display Issue */

/* Force button text and icons to be visible */
#siteinfo .btn.btn-primary {
    background-color: #414f9a !important;
    border-color: #414f9a !important;
    color: white !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

    #siteinfo .btn.btn-primary:hover {
        background-color: #e37ab9 !important;
        border-color: #e37ab9 !important;
        color: white !important;
        transform: translateY(-2px) !important;
        text-decoration: none !important;
    }

    #siteinfo .btn.btn-primary:focus,
    #siteinfo .btn.btn-primary:active {
        background-color: #414f9a !important;
        border-color: #414f9a !important;
        color: white !important;
        text-decoration: none !important;
    }

    /* Ensure FontAwesome icons in buttons are visible */
    #siteinfo .btn.btn-primary i.fa {
        color: white !important;
        margin-right: 8px !important;
        font-size: 14px !important;
        display: inline-block !important;
    }

    #siteinfo .btn.btn-primary:hover i.fa {
        color: white !important;
    }

/* Fix any text color issues in card bodies */
#siteinfo .card-body p {
    color: #444 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
}

#siteinfo .card-body small {
    color: #666 !important;
    font-size: 14px !important;
}

/* Ensure all button text is visible */
.btn-primary, .btn-primary:link, .btn-primary:visited {
    color: white !important;
    text-decoration: none !important;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        color: white !important;
        text-decoration: none !important;
    }

/* Fix outline buttons in document sections */
.btn-outline-primary {
    color: #414f9a !important;
    border-color: #414f9a !important;
    background-color: transparent !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

    .btn-outline-primary:hover {
        background-color: #414f9a !important;
        color: white !important;
        border-color: #414f9a !important;
        text-decoration: none !important;
    }

    .btn-outline-primary i.fa {
        margin-right: 5px !important;
        color: inherit !important;
    }

.card-header,
#overview .card-header,
#summary .card.card-default .card-header,
#lay-summary .card.card-default .card-header,
#participant-feedback .card.card-default .card-header,
#participant-videos .card.card-default .card-header,
#siteinfo .card-header,
.card.card-default .card-header {
    background: linear-gradient(135deg, #578bbc 0%, #c3d9ed 100%) !important;
    color: white !important;
    border-bottom: none !important;
    padding: 20px !important;
    text-align: center !important;
}

