:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #dddddd;
    --yellow: #f9b000;
    --blue: #08408d;
    --red: #CA0B00;
}

@font-face {
    font-family: rotaryr;
    src: url(../fonts/RobotoSlab-Regular.ttf);
}

@font-face {
    font-family: rotaryb;
    src: url(../fonts/RobotoSlab-Bold.ttf);
}

@font-face {
    font-family: rotarym;
    src: url(../fonts/RobotoSlab-Medium.ttf);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: rotaryr;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: rotaryb;
}

a {
    text-decoration: none;
}

/* theme */
.t-blue {
    color: var(--blue);
}

.t-yellow {
    color: var(--yellow);
}

.bg-rotary-blue {
    background-color: var(--blue);
}

.bg-rotary-red {
    background-color: var(--red);
}

.fs-2 {
    font-size: 2rem;
}

.navbar-expand-lg .navbar-nav .nav-join {
    font-size: 0.9em;
    color: var(--black) !important;
    background-color: var(--yellow);
}

/* navbar */
.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 0.9em;
    /* font-weight: bold; */
    color: var(--blue);
    padding: 0.5rem 0.8rem;
    /* border: 1pt solid var(--white); */
    border-radius: 10px;
    margin-right: 6px;
    /* border-top-left-radius: 15px;
    border-bottom-right-radius: 15px; */
    text-transform: uppercase;
    box-shadow: 2px 2px 1px var(--white);
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    background-color: var(--yellow);
    color: var(--black);
    box-shadow: 2px 2px 1px var(--blue);
    /* border:1pt solid var(--yellow); */
}

.active-menu {
    color: var(--blue) !important;
    border: 1pt solid var(--yellow) !important;
    background-color: var(--yellow);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
}

/* section-about */
.section-about {
    /* background-image: url(../images/patten1.png);
    background-repeat: no-repeat;
    background-position: left; */
    padding: 40px 0px;
    background-color: #fcfcfc;
}

/* team */
.team {
    background-image: url(../images/pattern.png);
    padding: 50px 0px 70px 0px;
}

.team-box {
    position: relative;
    background-color: var(--white);
    /* background: linear-gradient(var(--white),var(--yellow)); */
    border: 4px double var(--yellow);
    padding: 15px 8px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.team-box h5 {
    margin-top: 5px;
}

.m-details a {
    color: var(--black);
}

.m-details a:hover {
    color: var(--blue);
}

.img-section {
    position: absolute;
    top: 1rem;
    right: 12px;
    width: 60px;
}

/* about page */
.header-top-title-section {
    /* background-image: url(../images/favicon.png);
    background-repeat: no-repeat;
    background-position:right;
    background-size: contain; */
    background-color: var(--blue);
    padding: 3rem 0rem 1rem 0rem;
    /* height:10rem; */
}

.section-about-page {
    padding: 50px 0px;
}

.other-page-header {
    /* top: -30px; */
    /* background-color: var(--white); */
    /* border-radius:50px; */
    /* padding:10px 0px; */
    /* border: 1px solid var(--yellow); */
    /* width: 50%; */
    /* margin: 0 auto; */
    text-align: center;
    color: var(--yellow);
    margin-bottom: 1rem;
}

/*  */
.event-description {
    padding: 20px;
    border-radius: 8px;
}

.event-description p {
    margin-bottom: 0px;
}

/* card */
.card {
    border-radius: 0px;
    border: none;
}

.card .card-img-top {
    border-radius: 0px;
    /* height: 300px; */
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: contain;
}

/* what-we-do */
.what-we-do {
    padding: 60px 0px;
    background-image: url(../images/pattern.png);
}

.what-we-do label {
    margin-top: 15px;
}

/* events */
.mentor {
    padding: 60px 0px;
    background-color: var(--blue);
    border-top: 5px solid var(--yellow);
    border-bottom: 5px solid var(--yellow);
}

.mentor-photo img {
    border: 1px solid var(--yellow);
    padding: 10px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.mentor-description {
    background-color: var(--yellow);
    padding: 20px;
}

.mentor-description p {
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    text-align: justify;
}

/*  */
.img-focus {
    border: 1px solid var(--blue);
    padding: 10px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.desc-focus {
    /* text-align: justify; */
    margin-bottom: 0px;
}

.desc-container {
    background-color: var(--blue);
    padding: 15px 25px;
    color: var(--white);
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

/* 4way-test */
.way-test {
    padding: 60px 0px;
}

.way-test p {
    text-align: justify;
}

/* footer */
footer {
    /* background-image: url(../images/patternbottom.png);
    background-size: 100%;
    background-position: bottom; */
    background: -webkit-linear-gradient(0deg, #00458c 0, #0174af 100%);
    /* background-color: var(--blue); */
    padding: 60px 0px 30px 0px;
    /* padding-top: 80px;
    padding-bottom:40px; */
    color: var(--white);
    border-top: 5px solid var(--yellow);
    border-bottom: 5px solid var(--yellow);
}

footer h5 {
    margin-top: 20px;
    color: var(--yellow) !important;
}

.footer-menu li {
    list-style: none;
    line-height: 1.8rem;
}

footer .get-in-touch a {
    color: var(--white);
    transition: 0.5s;
}

footer .get-in-touch a:hover {
    padding-left: 10px;
}

.footer-menu li i {
    color: var(--white);
}

.footer-menu li a {
    color: var(--white);
    transition: 0.5s;
}

.footer-menu li a:hover {
    color: var(--yellow);
}

.divider {
    width: 100%;
    background-color: #000;
}


/*  */
.bottom-website a {
    color: var(--white);
}

.bottom-website a:hover {
    color: var(--yellow);
}

/* credit-line */
.credit-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--black);
}

.credit-line a {
    color: var(--black);
}

.contact-icons {
    background-color: var(--blue);
    color: var(--white);
    font-size: 3rem;
    padding: 0.7rem 1.5rem;
    border-radius: 100%;
    position: absolute;
    margin-top: -50px;
    left: -1%;
}

.contact-box {
    border: 1px solid var(--blue);
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.contact-info-container {
    padding: 20px 0px 20px 0px;
    margin-top: 0px;
    text-align: center;
}

.contact-info-container a {
    color: var(--blue);
}

.contact-info-container a:hover {
    color: var(--yellow);
}

/* animation */
.rotate {
    -webkit-animation: rotate 5s normal linear infinite;
    animation: rotate 5s normal linear infinite;
}

.carousel-inner {
    height: 43rem;
    overflow: hidden;
}

.carousel-inner img {
    height: 43rem;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/*  */

#zz_frame::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.85);
    z-index: -1;
}

#zz_frame {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000;
}

#zz_media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    margin: 0 auto;
    max-width: 1500px;
    display: inline-block;
    z-index: 10000;
}

#zz_media img {
    width: 100%;
    box-shadow: 0px 0px 20px 1px rgb(0, 0, 0);
}

#zz_frame .zz_close {
    color: #fff;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 26px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

#zz_frame .zz_controls {
    display: none;
    color: #fff;
    position: absolute;
    left: 10px;
    top: 10px;
}

#zz_frame .zz_controls button {
    background: #000;
    border: 0;
    color: #fff;
    padding: 8px;
    margin-right: 5px;
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }

    25% {
        -webkit-transform: rotate3d(0, 0, 1, 90deg);
        transform: rotate3d(0, 0, 1, 90deg);
    }

    50% {
        -webkit-transform: rotate3d(0, 0, 1, 180deg);
        transform: rotate3d(0, 0, 1, 180deg);
    }

    75% {
        -webkit-transform: rotate3d(0, 0, 1, 270deg);
        transform: rotate3d(0, 0, 1, 270deg);
    }

    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
        transform: rotate3d(0, 0, 1, 360deg);
    }
}

@media only screen and (max-width: 600px) {
    .carousel-inner {
        height: 12rem;
    }

    .carousel-inner img {
        height: auto !important;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .footer-menu h5 {
        margin-top: 8rem;
    }

}

/* ============================================================================================== */
/* Start Form Section */
/* ============================================================================================== */

.section-about-page label {
    margin-bottom: 10px;
}

.btn-primary {
    background-color: var(--blue);
    border: none;
}

.btn-primary:hover {
    color: var(--blue);
    background-color: var(--yellow);
}

.btn-clear {
    background-color: #ccc;
    border: none;
    color: var(--black);
    margin-right: 20px;
}

.btn-clear:hover {
    background-color: #bbb;
}

/*  */
.contact-details-css{
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.contact-details-css li a{
    padding: 8px 12px;
    background-color: var(--blue);
    border-radius: 2rem;
    color: var(--white);
    font-size: 1.3rem;
    transition: all 0.3s;
}
.contact-details-css li a:hover{
    background-color: var(--yellow);
}

/* ============================================================================================== */
/* End Form Section */
/* ============================================================================================== */



/* this code is fir popup */
/* 
.image-link {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
} */

/* This block of CSS adds opacity transition to background */
/* .mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
} */

/* padding-bottom and top for image *
.mfp-no-margins img.mfp-img {
    padding: 0px;
}

/* position of shadow behind the image *
.mfp-no-margins .mfp-figure:after {
    top: 0;
    bottom: 0;
}

/* padding for main container *
.mfp-no-margins .mfp-container {
    padding: 0;
}

/* aligns caption to center *
.mfp-title {
    text-align: center;
    padding: 6px 0;
}

.image-source-link {
    color: #DDD;
}