html{
    scroll-behavior: smooth;
    scroll-padding-top: 22vh;
}
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #0e1a15;
    --dark-color:#b3b9c4;
    --light-color:#f4f4f4;
    --goldrod-color:#daa520;
}
*{
    margin: 0; padding: 0;
    box-sizing: border-box;
}
body{
    justify-content: center;
    align-items: center;
}
h1{
    font-size: 2.2rem;
    text-transform: uppercase;
}
h4{
    padding: 5px 4px;
}
h2 {
    color: var(--goldrod-color);
}
h3{
    padding: 0.5rem 1rem;
    margin-top: 0.8rem;
}
a {
    text-decoration: none;
    color: #daa520;
}
ul {
    list-style: none;
}
img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
figcaption{
    padding-left: 1rem;
    font-style: italic;
}
p {
    font-size: 1.3em;
    line-height: 1.5;
    padding: 0.5rem 0.8rem;
}
nav{
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: start;
    gap: 2rem;
    height: 15vh;
    padding-left: 1rem;
    box-shadow: unset rgba(8, 8, 8, 0.5);
    z-index: 3;
    background: #000;
}
nav a {
    height: 98%; width: fit-content;
}
nav a img {
    object-fit: contain;
}
nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul li{
    display: block;
    margin: 10px; padding: 5px 10px;
    border-radius: 10px;
    font-size: 1.5rem;
    transition: 0.3s ease;
}
nav ul li a{
    color: var(--light-color);
    text-shadow: 2px 2px 5px #000;
}
nav ul li:hover, nav ul li a:hover{
    color: var(--goldrod-color);
}
nav ul li:hover, nav ul .current{
    border-bottom: 1px solid #daa520;
}
header{
    margin-top: 15vh;
    display: flex;
    height: 45vh;
    background-image: url(images/headerimg.jpg);
    background-repeat: repeat-x;
    justify-content: space-between;
    align-items: center;
}

.display-frame{
    background: #000;
    width: 34%;
    height: 90%;
    margin: 10px auto;
    border-radius: 10px;
    justify-items: center;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.display{
    width: 98%;
    height: 85%;
    margin: auto;
    justify-content: center;
    align-items: center;
    z-index: 3;
}
.display video {
    width: 100%;
    height: 98%;
    margin-top: 5%;
   /* min-height: 180px;*/
    object-fit: contain;
}
.caption{
    width: 65%;
    justify-content: center;
    justify-items: center;
    text-align: center;
}
.caption h1, .caption-svs h1{
    font-size: 2em;
    margin: 20px auto 0;
    align-items: center;
    color: #daa520;
}
.caption p, .caption-svs p{
    text-align: center;
    color: #8787fa;
    font-size: 1.2em;
}
.caption .cta {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 30px;
}
.cta a{
    display: inline-block;
    height: 25px; width: fit-content;
    background: transparent;
    border-radius: 5px;
    color: var(--goldrod-color);
    font-size: 1.2rem;
    padding: 0 10px;
    margin: 5px;
}
.cta>a:hover{
    border: 1px solid var(--light-color);
    color: var(--light-color);
}
.sch {
    font-size: 4rem;
}
.scp{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 2rem;
}
.csp{
    background-image: url(images/patternbg2.png);
    background-repeat: repeat;
    height: fit-content;
}
.csp p{
    text-align: center;
    font-size: 3rem;
}
main{
    width: 100%;
    margin: auto;
    display: flex;
    background: var(--dark-color);
    justify-content: center;
}
.main-h{
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.main-s, .main-samp{
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 3%;
    justify-content: center;
}

main .stat{
    width: 98%;
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    grid-template-rows: 0.50fr 2fr 1fr;
    grid-template-areas: 
    'h2 h2 h2'
    'stat1 stat2 stat3';
    margin: 1px 5px; padding: 5px;
    justify-content: center;

    --s: 15px; /* control the size */

    --c: #0000, #282828 0.5deg 119.5deg, #0000 120deg;
    --g1: conic-gradient(from 60deg at 56.25% calc(425% / 6), var(--c));
    --g2: conic-gradient(from 180deg at 43.75% calc(425% / 6), var(--c));
    --g3: conic-gradient(from -60deg at 50% calc(175% / 12), var(--c));
    background: var(--g1), var(--g1) var(--s) calc(1.73 * var(--s)), var(--g2),
      var(--g2) var(--s) calc(1.73 * var(--s)), var(--g3) var(--s) 0,
      var(--g3) 0 calc(1.73 * var(--s)) #1e1e1e;
    background-size: calc(2 * var(--s)) calc(3.46 * var(--s));

    height: 23vh;
    margin-bottom: 0px;
    border: 1px solid #b4becb;
}
main .stat h2{
    width: 100%;
    grid-area: h2;
    font-size: 1.2em;
    color: var(--dark-color);
    text-align: center;
}
main .stat hr{
    width: 100%;
}
main .stat-ct1{
    display: flex;
    grid-area: stat1;
    flex-direction: column;
    justify-items: center;
    color: var(--dark-color);
}
main .stat-ct2{
    display: flex;
    grid-area: stat2;
    flex-direction: column;
    justify-items: center;
    color: var(--dark-color);
}
main .stat-ct3{
    display: flex;
    grid-area: stat3;
    flex-direction: column;
    justify-items: center;
    color: var(--dark-color);
}
main .stat-ct1 span, main .stat-ct2 span, main .stat-ct3 span{
    font-size: 1.3em;
    color: var(--light-color);
    margin: 0 auto;
}
.stat h3{
    text-align: center;
    font-size: 1rem;
}
.card{
    width: 46%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin: 10px; padding: 5px;
    text-align: start;
    letter-spacing: normal;
    text-justify: distribute;
}

.card h2{
    margin: 5px 2px 10px;
    font-size: 2em;
}
.card h3 {
    font-size: 1.5em;
}
.card a {
    font-size: 1.2rem;
}
.image{
    width: 60%;
    height: 10rem;
    margin: auto;
}
.text{
    margin: 5px 0 10px;
    align-items: center;
}
.text img {
    width: 24px;
    margin-top: 5px;
    padding-top: 5px;
}
.text h2 {
    margin-top: 25px;
}
.text a{
    color: #0000ff;
}
.card a{
	display: block;
    margin-bottom: 10px;
    margin-left: 45%;
	width: fit-content;
	height: 30px;
    text-decoration: underline;
	border: none; 
}
.card a:hover{
    font-weight: bold;
}

.text button {
    display: inline-flex;
    height: 40px;
    width: fit-content;
    padding: 2%;
    
    margin-right: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    outline: none; border: none;
    background: linear-gradient(
      45deg,
      transparent 33.33%,
      rgba(57, 144, 179, 0.1) 33.33%,
      rgba(0, 0, 0, 0.1) 66.66%,
      transparent 66.66%
    ),
    lightblue;
    background-size: 20px 20px; 
}
.text button a {
    margin: auto 0;
    text-decoration: none;
    color: #000;
    align-items: center;
}
.svs-img, .samp-img-link{
    display: flex;
    flex-direction: row;
    margin: 5px auto;
}
.samp-img-link {
    margin-bottom: 7rem;
}
.svs-img img, .samp-img-link a {
    width: 25%;
    margin: 5px auto;
    text-decoration: none;
}
.samp-img-link a {
    height: auto;
}
.samp-img-link a img {
    transition: 0.3s ease-in;
}
.samp-img-link a:hover > img {
    scale: 1.2;
}
.text a{
    display: inline-block;
    margin-left: 20px;
    margin-bottom: 3rem;
    font-size: 1.2em;
}
.card-detail ul li {
    margin: 5px;
    padding: 3px;
}
.card-detail a {
    color: var(--light-color);
    font-style: italic;
}
aside{
    width: 30%;
    top: 0;
}
aside .svs-aside {
    width: 30%;
}
.this-why-l {
    width: 90vw;
    justify-content: center;
}
.showcase-form {
    position: relative;
    justify-content: start;
    top: 0;
    width: 95%;
    padding: 10px;
}
.showcase-form h2 {
    font-size: 30px;
    font-style: italic;
    margin: 10px 2px;
    padding: 5px 2px;
}
.showcase-form .form-control {
    margin: 10px auto;
}
.form-control p{
    margin-bottom: 1em;
}
label{
    display: flex;
    flex-direction: row;
    width: 100%;
    font-size: 1.1em;
    text-indent: 10px;
}
.showcase-form input[type="text"],
.showcase-form input[type="number"],
.showcase-form input[type="email"] {
    border: #b4becb;
    border-bottom: 1px #b4becb solid;
    width: 100%;
    background-color: #F0F8FF;
    padding: 2px;
    font-size: 16px;
    color: #495057;
}
.showcase-form button[type="submit"] {
    width: 25%;
    height: 30px;
    padding: 0.2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--goldrod-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.showcase-form button[type="submit"]:hover {
    background: var(--primary-color);
    color: var(--goldrod-color);
    transform:scale(90%)
}
.showcase-form input:focus, .showcase-form select[id="dropdown"]:focus{
    outline: none; 
}
.input-textarea {
    min-height: 120px;
    width: 100%;
    padding: 0.625rem;
    resize: vertical;
}
.card-f {
    background-color: var(--light-color);
    color: #333;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 7px 10px;
    margin: 5px;
}
.card-f ul li {
    margin: 5px;
    padding: 3px;
}
.card-f a {
    color: royalblue;
    font-style: italic;
}
.updates{
    width: 50%;
    margin-top: 40px;
}
.updates h3{
    margin: 15px 4px 0;padding: 0;
}
.updates p{
    font-size: 0.6rem;
    margin: 0 4px 15px; padding: 0;
}
.event-list{
    background: url(images/colorgradiant_bg.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    height: 15.5rem;
}
.event{
     display: flex;
}
.date{
    margin-top: 10px;
    margin-left: 10px;
}
.narative{
    margin-bottom: 5px;
}
.narative p{
    font-size: 1em;
}
.training{
    width: 100%;
    margin: 10px 5px 5px;
}
.training h3 {
    font-size: 1.5em;
}
.programs{
    display: flex;
}
.programs img{
    width: 30px;height: 30px;
    margin: auto 5px;
}
.programs .course h4{
    margin-left: 10px;
    font-size: 1.3em;
}
/* services page*/
.header-s{
    flex-direction: column;
    width: 100%;
    height: fit-content;
}
.caption-svs{
    width: 100%;
    justify-content: center;
    justify-items: center;
    text-align: center;
}
header .caption-svs h1{
    margin-top: 90px;
    margin-bottom: 4px;
}
header .caption-svs p{
    padding-left: 10%;
}
.header-s .svs-opt {
    position: fixed;
    top: 15vh;
    left: 12px;
    display: flex;
    width: 15%;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}
.header-s .svs-opt a h4{
    display: block;
    color: var(--dark-color);
    background-color: rgba(10, 10, 10, 0.6);
    border-radius:0 7px 7px 0;
}
.header-s .svs-opt a h4:hover{
    font-size: 1.1em;
    color: var(--light-color);
}
/* contact page*/
.header-c {
    height: 25vh;
    justify-content: center;
}
.leadmsg h2 {
    font-size: 2em;
}
.leadmsg h2, .leadmsg p, .why-us h1{
    text-align: center;
    margin-top: 15px;
}
.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 40px auto;
}
.contact p {
    text-align: center;
    font-size: 1.3em;
}
.contact a{
    margin: 0 auto;
    margin-top: 24px;

    font-size: 24px;
}
.contact h3{
    text-align: center;
    font-size: 2em;
}
.c-form-h {
    text-align: center;
}
.c-form {
    width: 60%;
    margin: 2rem auto;
}
.contact video {
    width: 30px;
    height: 24px;
}

#fb {
    color: #0000ff;
    font-weight: bolder;
}
 
#wa {
    color: #075e54;
    font-weight: bolder;
}
.get-us h3 {
    margin-left: 3rem;
    font-size: 1.5em;
}
.get-us p {
    margin-left: 3rem;
}
.get-us p b {
    margin-top: 2rem;
}
/* proposal page */
.container{
    margin: 0 10%;
}
.proposal {
    background-color: #f1f1e7;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 30px;
    margin: 5px 0;
    align-items: center;
    text-align: left;
    text-size-adjust: auto;
}
.proposal h1 {
    font-style: italic;
    font-size: 2em;
    text-align: left;
    margin-bottom: 10px;
    padding: 5px;
    padding-top: 105px;
}
.proposal h2 {
    font-style: italic;
    margin:20px 5px 5px 5px;
    padding: 5px;
}
.proposal h3 {
    margin:20px 5px 5px 5px;
    padding: 5px;
}
.proposal ul {
    list-style-type: disc;
    list-style-position: outside;
}
.proposal li {
    margin-top: 5px;
    padding: 0 4px;
    margin-left: 15px;
    font-size: 1.3em;
}
.proposal a {
    color: #1c3fa8;
    font-size: 1.5em;
}
.proposal a:hover {
    font-weight: bold;
}
.proposal img {
    margin-left: 20%;
    width: 50vw;
    height: 50vh;
}
.request-meeting {
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin: 5px;
    position: relative;
    top: 1px;
    width: 400px;
    padding: 10px;
}
.request-meeting input[type="text"],
.request-meeting input[type="email"] {
    border: #b4becb;
    border-bottom: 1px #b4becb solid;
    width: 100%;
    padding: 2px;
    font-size: 16px;
}
.request-meeting textarea {
    width: 98%;
}
.request-meeting input:focus, textarea:focus {
    outline: none; 
}
.request-meeting input[type="submit"]:hover {
    background: var(--primary-color);
}
.get-us a {
color: #1c3fa8;
}

footer{
    display: flex;
    justify-content: space-between;
    background: var(--primary-color);
    align-items: center;
    height: 15vh;
    box-shadow: unset rgba(8, 8, 8, 0.5);
    padding: 0.5rem 2rem;
}
footer a {
    height: 97%; width: 160px;
}
footer ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
footer p{
    color: var(--light-color);
}
footer ul li{
    display: block;
    margin: 10px; padding: 5px 10px;
    border-radius: 10px;
    font-size: 1.5rem;
    transition: 0.3s ease;
}
footer ul li a{
    color: var(--light-color);
}
footer ul li:hover, footer ul li a:hover{
    color: var(--light-color);
}
footer ul li:hover{
    border-bottom: 1px solid #f4f4f4;
}

@media(max-width: 950px) {
    main {
        flex-direction: column;
    }
    .caption h1{
        font-size: 1.7em;
    }
    .main-h{
        width: 100%;
    }
    .main-s{
        display: grid;
        grid-template-columns: 1fr;
        width: 98%;
        margin-left: 5px;
    }
    
    main .stat{
        height: 25vh;
    }
    main .stat-ct{
        width: 30%;
    }
    .header-s .svs-opt{
        top: 15.1vh;
        width: 98%;
        left: 10px;
        justify-content: center;
    }
    .header-s .svs-opt a h4{
        border-radius: 7px;
        color: var(--primary-color);
        background-color: rgba(10, 10, 10, 0);
    }
    
    header .caption-svs h1{
        margin-top: 90px;
        padding-top: 30px;
        margin-bottom: 4px;
    }
    .caption p, .caption-svs p{
        font-size: 1rem;
    }
    aside {
        width: 98%;
        padding: 1rem;
    }
    aside .svs-aside {
        width: 10% !important;
    }
    .card{
        width: 100%;
    }
    .event-list{
        overflow-y: scroll;
        scroll-behavior:auto;
    }
    .text button {
        margin-top: 1rem;
        margin-right: 1.5rem;
    }
    .c-form {
        width: 90%;
        margin: 1rem auto;
    }
    footer {
        height: 24vh;
        width: 100vw;
    }
    footer img{
        height: 100px; width: 100px;
    }
    footer ul{
        flex-wrap: wrap;
    }
    footer ul li{
        font-size: 1.4rem;
    }
}

@media(max-width: 650px) {
    html{
        scroll-padding-top: 40vh;
    }
    nav {
        height: 18vh;
    }
    
    nav ul{
        flex-wrap: wrap;
    }
    nav ul li{
        margin: 5px 15px;
        padding: 5px 10px;
        font-size: 1.2rem;
    }
    .caption{
        padding-top: 25px;
    }
    .caption h1{
        font-size: 1.3em;
        padding-bottom: 5px;
    }

    .display-frame{
        height: 70%;
        align-items: center;
    }
    main{
        flex-direction: column;
    }
    .showcase-form h2 {
        font-size: 24px;
    }
    header {
        height: 50vh;
    }
    .cus-care-header {
        height: 30vh;
    }
    .caption .csp {
        font-size: 1.5em;
    }
    .btn{
        height: 28px; width: 160px;
    }
    header .caption-svs h1{
        margin-top: 100px;
        margin-bottom: 4px;
        font-size: 1.5em;
    }
    header .caption-svs h1{
        padding-top: 50px;
        padding-bottom: 0;
        margin-bottom: 5px;
    }
    header .caption-svs p{
        padding-bottom: 50px;
        padding-top: 5px;
        margin-bottom: 60px; margin-top: 5px;
    }
    .header-s .svs-opt{
        top: 18vh;
        width: 98%;
        left: 5px;
        justify-content: center;
    }
    .header-s .svs-opt h4 {
        font-size: .8em;
    }
    main .stat h2 {
        font-size: 1.2em;
    }
    main .stat-ct1 h3, main .stat-ct2 h3, main .stat-ct3 h3 {
        font-size: 0.9em;
    }
    main .stat-ct1 span, main .stat-ct2 span, main .stat-ct3 span{
        font-size: 1em;
    }
    .event-list{
        overflow: hidden;
    }
    .container{
        margin: 0 5%;
    }
    .svs-img{
        flex-direction: column;
    }
    
    .samp-img-link{
        flex-direction: column;
        margin-bottom: 4rem;
    }
    .samp-img-link a, .svs-img img {
        width: 70%;
        height: auto;
        margin: 40px auto;
    }
    .proposal h1 {
        font-size: 1.5em;
    }
    .proposal a {
        font-size: 1.2em;
    }
    footer{
        justify-content: space-evenly;
    }
    footer ul {
        display: none;
    }
    footer ul li{
        margin: 8px 10px;
        padding: 5px 7px;
        font-size: 1.2rem;
    }
    footer p{
        width: 350px;
        overflow: hidden;
    }
}

@media(max-width: 450px) {
    nav ul li{
        font-size: 1.1rem;
        margin: 5px;
        padding: 5px;
    }
    header {
        flex-direction: column;
        height: 100vh;
    }
    .cus-care-header {
        height: 40vh;
    }
    .display-frame{
        width: 98%;
        height: 50%;
    }
    .request-meeting {
        width: 98vw;
    }
    footer ul li{
        margin: 8px 5px;
        font-size: 1rem;
    } 
}