body {
    font-family: system-ui, sans-serif, 'Arial';
    padding-top: 60px;
    margin: 0;
}
@keyframes colorChange {
  0%   { background-color: #1490A3; color: #ffffff; }
  20%  { background-color: #08AEC9; color: darkred; }
  40%  { background-color: #5cb85c; color: #ffffff; }
  60%  { background-color: #D33B36; color: #ffffff; }
  80%  { background-color: #BB0617; color: #ffffff; }
  100% { background-color: #17a2b8; color: #ffffff; }
}
.bg-light {
    background-color: #116dcf !important;
    box-shadow: 0 .0625rem .125rem rgba(0, 0, 0, .45);
}
  .navbar-brand {
    font-weight: bold;
    font-size: 1.1rem;
}

.nav-link{
    margin-left: 15px;
    color: #28a745 !important;
}

.nav-link:hover, {
    color: #0056b3 !important;
}

.bio {
    font-size: 1.2rem;
    color: #000;
    text-align: justify;
    background-color: #fafcff;
    padding: 2rem;
    box-shadow: 0px 0px 9px #6e6e6e;
    border-top-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
#biog{
    padding-top: 1rem;
    padding-bottom: 3rem;
}
#aboutbio{
   background-color: #efefef;
   background-size: 180% 180%;
   animation: gradient 15s ease infinite;
   background-size: cover; 
   background-position: center center; 
   background-repeat: no-repeat;
   width: 100vw;   
}
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
h4{
    color: darkslateblue;
}
.skill h5{
   font-size: 1rem !important;
   color: #411698 !important;
}

.container {
    width: 80%;
    margin: 0 auto;
}
#form{
    padding: 10px;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    margin-top: 3rem;
}
.container a{
    color: #ebebeb !important;
}

.container a span{
    color: #b99696;
    font-size:1.4rem;
    font-weight:normal;
}
.refresh-link i{
    color: #571dc9 !important;
}
.pb-5, .py-5 {
    padding-bottom: 0rem !important;
}
.py-4{
   margin-top: 0rem !important;
}
.resume-item p{
    text-align: justify;
}
.col-lg-6 h3{
    color: #D9174E;
    border-bottom: 3px double green;
    max-width: 25rem;
}
textarea{
    min-height: 12rem;
    
}
.swap-div {
    position: relative;
    width: 32%;
    perspective: 1000px;
    margin: 0px;
    min-width: 250px;
    min-height: 25rem;
}
.content-align-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%; 
}
.swap-div .front, .swap-div .back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 0px 10px rgba(173, 173, 173, 0.99);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #08aec9;
    border: 1px solid #ccc;
    transition: transform 1.6s;
}

.swap-div .front {
    transform: rotateY(0deg);
    font-size: 2.4rem;
    text-align: center;
    color: #152783;
    animation: colorChange 40s infinite;
}

.swap-div .back {
    transform: rotateY(180deg);
    background-color: #dee2e6;
    font-size: 1.2rem;
    text-align: justify;
    padding: 4px 29px;
    min-height: 250px;
}
.front:hover, .back:hover{
    background-color: #B6C270;
    cursor: pointer;
}

.swap-div.flipped .front {
    transform: rotateY(-180deg);
}

.swap-div.flipped .back {
    transform: rotateY(0deg);
}

.swap-div .refresh-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #007bff;
    font-size: 24px;
    cursor: pointer;
    text-decoration: none;
}
.blog-wrapper {
    background-color: #dee2e6 !important;
    border-radius: 10px;
    box-shadow: 0 0px 10px rgb(173 173 173 / 99%);
    transition: transform 0.3s ease;
    padding: 5px;
    text-align: center;
    margin: 3 10px;
    width: 100%;
    box-sizing: border-box;
}
.blog-wrapper p {
    font-size: 1rem;
    line-height: 1.6;
    color: #121212;
    text-align: justify;
    min-height: 628px;
    padding: 2rem;
    font-size: 1.3rem;
}
.swap-div .refresh-link:hover {
    color: #0056b3;
}
.refresh-link:hover .front, .refresh-link:hover .back {
    background-color: #B6C270;
}
i.fas.fa-chart-bar {
    margin-right: 8px;
    font-size: 1.2rem;
    color: #b1133f;
}

.column {
     width: 95%;
}

h3 {
    margin: 10px 0;
    font-size: 18px;
}
.progress-container {
    width: 100%;
    background-color: #d6d6d6;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: #26b92d;
    height: 25px;
    border-radius: 5px;
    line-height: 25px;
    color: white;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    transition: width 2s ease;
}
.university {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;    
    height: 100%;           
    text-align: center;     
}
.university h5{
    color: #000000 !important;
    padding: 2rem;
    background-color: #ced4da;
    border-radius: 57px;
    width: 105px;
    text-align: center;
}
#skillCall{
    width: 50%;
    padding-right: 20px;
}
.p5{
    padding-top: 1rem !important;
}
.latest-blog-area{
    background-color: #efefef;
    padding-top: 4rem;
    padding-bottom: 4rem;
    
}
.latest-blog-area input{
    padding: 1.5rem 1rem;
}
.footer {
    width: 100%;
    position: relative;
    text-align: left;
}

.footer a {
    color: #ffffff;
    text-decoration: underline;
}

.footer a:hover {
    color: #dddddd;
}
.reference {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: justify;
}

.number {
    width: 50px;
    flex-shrink: 0;
}

.ref {
    flex-grow: 1;
}

#row{
    text-align:center;
    background-color: red;
    width: 35%;
    margin:auto;
    text-align: center !important;
}
#copy{
    width:95% !important;
    margin:auto;
    text-align: center;
    color: #eee;
}


@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1513px;
    }
}

.client-comments {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.section-tittle h2 {
    font-size: 2rem;
    font-weight: normal;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.blog-active {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4px 5px;
}


.mb-3{
    max-width: 50rem;
}
.person-img img {
    border-radius: 50%;
    width: 153px;
    height: 153px;
    object-fit: cover;
    box-shadow: 0px 0px 3px #6c757d;
    border: 1px solid #ddd;
}

.comment-person h2 {
    font-size: 1.4rem;
    font-weight: normal !important;
    margin-top: 10px;
    color: #333;
}

.comment-person span {
    display: block;
    font-size: 1.4rem;
    color: #777;
}

.slick-slide {
    margin: 0 15px;
    opacity: 0.5;
    transition: opacity 0.3s;
    min-height: 481px !important;
}

.slick-active {
    opacity: 1;
}

.slick-prev, .slick-next {
    background-color: #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
}

.slick-prev:hover, .slick-next:hover {
    background-color: #0056b3;
}

@media (max-width: 1500px) {
    .blog-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }
    #skillTitle{
       margin-top: 47px !important;
    }
    #copy{
        width:90%;
    }
}
.gallery-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-year {
    margin-bottom: 40px;
}

.gallery-year h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #444;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/*
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    #skillTitle{
       margin-top: 47px;
    }
    .column{
        width: 90%;
        padding-right: 9px
    }
    #copy{
        width:90%;
    }
    .navbar-brand {
        font-size: 1rem;
    }
}
*/
@media (max-width: 1500px) {
    .container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-left:14px !important;
        padding-right:14px !important;
    }

    .swap-div {
        width: 100%;
        margin-bottom: 20px;
    }
    .p5{
    padding-top: 1rem !important;
   }
    .navbar-brand {
        font-size: 1rem;
    }

    .nav-link {
        margin-left: 5px;
    }
    #skillTitle{
       margin-top: 47px;
    }
    #copy{
        width:90%;
    }
    .column{
        width: 90%;
        padding-right: 9px
    }

}

@media (max-width: 1500px) {
    .navbar-brand {
    font-size: 0.9rem !important;
  }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .h2, h2 {
    font-size: 2rem;
    }
    .navbar-brand {
        font-size: 1rem;
    }
#skillTitle{
       margin-top: 47px;
    }
    .column{
        width: 95% !important;
        padding-right: 9px
    }
   .p5{
    padding-top: 1rem !important;
}
#copy{
        width:90%;
    }
#biog img{
       width: 39% !important;   
}
}

.navbar {
    background-color: #f8f9fa;
    font-size: 1.2rem;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
}

.navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}
#contactForm input[type="text"], 
#contactForm input[type="email"], 
#contactForm textarea {
   background-color: #f5f5f5 !important;
   background-clip: padding-box !important;
}
