html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Saira Semi Condensed', sans-serif;
}

a{
 text-decoration: none;
}

.text-primary{
    color: #1C3377 !important;
}



.btn-primary {
background-color: #1C3377 !important;
border-color: #1C3377 !important;
}

.btn-primary:hover {
background-color: #012c61 !important; /* A darker shade for hover effect */
border-color: #012c61 !important;
}

    .hover-effect:hover {
      color: red;
    }


.navbar {
    background:rgba(255, 255, 255, 0);
    width:100%;
    /*position:absolute; */
    z-index:3;
}

@media (max-width: 992px) {
    
    .navbar{
        background: white;    
    }
    
    /*.navbar .collapse {*/
    /*  background:#012c61;*/
    /*}*/
}
    
   
    
.nav-item{
    font-weight: bold;
    color:black;
}

.nav-item .nav-link{
    color:black;
}

.nav-link:hover {
    color:#fd7e14;
}

@media (max-width: 992px) {
    .navbar-nav .dropdown-menu {
      margin-left:auto;
      margin-right:auto;
    }
}


.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color:#fd7e14;
}

.navbar-nav .dropdown-menu {
    max-width:200px;
}


  @media (min-width: 992px) {
    .pt-srilanka{
      padding-top: 1rem;
    }
  }
  
  @media (min-width: 768px) {
     .pt-sl-image{
         padding-top: 1rem;
     }
    .pt-video {
        padding-top: 9px;
    }
}

/*cards*/


    .card-container {
        perspective: 1000px;
    }

    .card-flip {
        height: 350px;
        position: relative;
        transform-style: preserve-3d;
        transition: transform 0.6s;
    }

    .card-container:hover .card-flip {
        transform: rotateY(180deg);
    }

    .card-front, .card-back {
        width: 100%;
        height: 100%;
        position: absolute;
        backface-visibility: hidden;
        border: 1px solid #ddd;
        border-radius: 20px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .card-front {
        background-size: cover;
        background-position: center;
        position: absolute;
        z-index: 2;
        color: #fff; /* Text color */
        padding: 30px;
    }

    .card-front::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Black overlay */
        z-index: 1;
    }

    .card-front h3 {
        position: relative;
        z-index: 2;
    }

    .card-back {
        background-color: #f8f9fa;
        transform: rotateY(180deg);
        z-index: 1;
    }

    .card-content {
        padding: 20px;
    }
    
    
.obj-card{
    padding: 10px 10px;
}




/*Why Sri Lanka with Icons*/


.wrap {
    display: flex;
    background: white;
    padding: 1rem 1rem 1rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 7px 7px 30px -5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    margin-right: 0.4rem;
    margin-left: 0.4rem;
}

.wrap:hover {
    background: linear-gradient(160deg,#F7921C 30%,#808080 70%);
    color: white;
}

.ico-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mbr-iconfont {
    font-size: 4.5rem !important;
    color: #1C3377;
    margin: 1rem;
}
.vcenter {
    margin: auto;
}

.mbr-section-title3 {
    text-align: left;
    color: #1C3377;
}

.icon-title {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    text-align:center;
}

.icon-text {
    line-height: 25px;
    font-size: 18px;
}

.card-text{
    font-size: 12px;
}

@media (min-width: 992px) {
    .wrap{
        height: 50vh;
    }

}

@media (min-width: 1090px) {
    .wrap{
        height: 18vh;
    }
    .card-text{
        font-size: 14px;
    }

}


@media (min-width: 1091px) {
    .wrap{
        height: 65vh;
    }

}

@media (min-width: 1240px) {
    .wrap{
        height: 50vh;
    }
}


@media (min-width: 1280px) {
    .wrap{
        height: 45vh;
    }
}

@media (min-width: 1366px) {
    .wrap{
        height: 45vh;
    }
}

@media (min-width: 1500px) {
    .wrap{
        height: 35vh;
    }
}

@media (min-width: 1700px) {
    .wrap{
        height: 35vh;
    }
     .icon-text {
        line-height: 28px;
        font-size: 20px;
    }
    .icon-title{
        font-size: 2rem;
    }
}


@media (min-width: 1920px) {
    .wrap{
        height: 30vh;
    }
    
}

@media (min-width: 2000px) {
    .wrap{
        height: 30vh;
    }
    .icon-text {
        line-height: 30px;
        font-size: 23px;
    }
    .icon-title{
        font-size: 2rem;
    }
}

@media (min-width: 2400px) {
    .wrap{
        height: 23vh;
    }
    .icon-text {
        line-height: 32px;
        font-size: 23px;
    }
    .icon-title{
        font-size: 2rem;
    }
}

/**/

@media (min-width: 1200px) and (max-width: 1400px) {
    .about-video{
        padding-top: 45px;
    }

}

@media (min-width: 1400px) {
    .pt-sl-image{
        object-fit:contain;
     }
}

@media (min-width: 1400px) {
    .pt-srilanka2 {
        font-size:23px;
    }
}

/*@media (max-width: 1900px) {*/
/*    .pt-srilanka2 {*/
/*        font-size:20px;*/
/*    }*/
/*}*/


/*@media (min-width: 1160px) {*/
/*    .why-content {*/
/*        font-size:16px;*/
/*    }*/
/*}*/

/*@media (min-width: 1400px) {*/
/*    .why-content {*/
/*        font-size:44px;*/
/*    }*/
/*}*/


@media (min-width: 768px) {
    .why-content {
        font-size:2.1vw;
    }
}

@media (min-width: 814px) {
    .why-content {
        font-size:1.96vw;
    }
}

@media (min-width: 878px) {
    .why-content {
        font-size:1.8vw;
    }
}

@media (min-width: 894px) {
    .why-content {
        font-size:1.79vw;
    }
}

@media (min-width: 990px) {
    .why-content {
        font-size:1.6vw;
    }
}

@media (min-width: 994px) {
    .why-content {
        font-size:1.49vw;
    }
}

@media (min-width: 1078px) {
    .why-content {
        font-size:1.4vw;
    }
}

@media (min-width: 1222px) {
    .why-content {
        font-size:1.5vw;
    }
}


.carousel-caption{
    top: 41%;
}


.hr-line {
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, rgba(2, 62, 134, 0), #1C3377, rgba(2, 62, 134, 0));
  margin: 30px auto; /* This centers the HR */
}



/*Translator Tool*/
/*.gt_container-unisv1 a.glink span{*/
/*    color: cornflowerblue;*/
/*}*/



/* Styles for the back-to-top button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1C3377;
  color: #fff;
  font-size: 24px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 9999;
  transition: background-color 0.3s ease;
}

#back-to-top:hover {
  background-color: #fd7e14;
}



/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 100vw 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
    background: white;
    padding: 10px;
    margin: 5px;
    border-radius: 20px;
}

/* @media (max-width: 992px) {
    .carousel {
        padding-top: 77px;
    }
} */

.responsive-carousel {
    height: auto; /* Default for mobile & tablet */
    }

    @media (min-width: 1390px) {
    .responsive-carousel {
        height: 92vh;
    }
}


@media (max-width: 768px) {
    .display-first {
        order: -1;
    }
    .display-second {
        order: -2;
    }
    .display-third {
        order: -3;
    }
    .display-fourth {
        order: -4;
    }
}

.dropdown-item{
    text-align: left;
}


.social-text {
    font-weight: bold;
    font-size: 35px;
    margin-top: 15px;
    color:#1C3377;
}


.social-icons {
    font-size: 75px;
}


.social-btn {    
   color: white;
    text-decoration: none;
    border-radius: 50px;
    width: 100%;
    padding: 10px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content:center;
     margin-right:10px;

}

.zoom {
    transition: transform .2s;	
}

.zoom:hover {
    transform:scale(1.2);
}

.nav-item-special{
    	background-color: #F7921C;
    	border-radius: 25px;
    	border: 1px solid white;
    	padding:0 12px;
}

.nav-item-special:hover{
	background-color:#1C3377;
}

.navbar-toggler{
    background-color: #f7921c;
}


.rounded{
 border-radius: 20px !important;
}