*{
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', serif;
}
html{
  scroll-behavior: smooth;
}
  
/*Custom Properties*/
:root{
    --dark-color: #2d2c2c;
    --purple-solid: #350a4f;
    --purple-transparent: rgba(53, 10, 79 .7);
    --purple-transparent-alt: rgba(53, 10, 79, .5);
    --purple-light: #8f50fb;
    --yellow-solid: #fa9e2c;
    --gradiant-color: linear-gradient(to right, var(--yellow-solid), var(--purple-light));
    --gradiant-color-back: linear-gradient(to right, var(--purple-light) ,var(--purple-solid));

    --transition: all 0.7s ease;
    --dark: #292826;
}
.header{
  	min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/PIbanner.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 1% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 180px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: aliceblue;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h2{
    font-size: 50px;
    letter-spacing: 2px;  
}
.text-box h1{
    font-size: 80px;
    letter-spacing: 5px;
}
.text-box h1
{
  text-transform: uppercase;
  background-image: linear-gradient( -225deg, #231557 0%,#44107a 29%, #ff1361 67%,#fff800 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  display: inline-block;
  font-size: 90px;
  font-weight: 900;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    letter-spacing: 1px;
    word-spacing: 2px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 12px 34px;
    font-size: 20px;
    background-image: var(--gradiant-color);
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;  
}

nav .fa{
    display: none;
}
.hero-btn1{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 12px 34px;
    font-size: 18px;
    background-image: linear-gradient( -225deg, #231557 0%,#44107a 29%, #ff1361 67%,#fff800 100%);
    position: relative;
    cursor: pointer;
}
.hero-btn1:hover{
    border: 1px solid #6f09e2;
    background: #6f09e2;
    transition: 1s;  
}
@media(max-width: 900px)
{
  nav img{
    width: 10em;
  }
    .text-box h1{
        font-size: 2rem;
    }
    .text-box h2{
        font-size: 1.25rem;
    }
    .text-box p{
        font-size: .80rem;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
   .hero-btn{
        font-size: .90rem;
    }
    .hero-btn1{
        font-size: 0.80rem;
    }
   
}

/*----- Rooms -----*/

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 46px;
    font-weight: 400px;
}
h3{
    font-size: 36px;
}
h4{
    font-size: 24px;
    text-decoration: underline;
}
.course p{
    color: rgb(119, 119, 119);
    font-size: 20px;
    font-weight: 300;
    line-height: 20px;
    padding: 10px;
    line-height: 25px;
    text-shadow: 0px 1px rgb(15, 238, 33);
}

.fac-li{
    color: rgb(44, 40, 40);
    font-size: 20px;
    font-weight: 300;
    line-height: 20px;
    padding: 10px;
    text-align: left;
    list-style: none;
        
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
   flex-basis: 24%;
   background: #faec9f;
   border-radius: 10px;
   margin-bottom: 5%;
   padding: 20px 12px;
   box-sizing: border-box;
   transition: 0.5s; 
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0,2);
}
.hero-btn2{
    display: inline-block;
    text-decoration: none;
    color: rgb(252, 249, 249);
    border: 1px solid rgb(79, 118, 247);
    border-radius: 20px;
    padding: 12px 34px;
    font-size: 20px;
    font-weight: 700;
    background-image: linear-gradient( -225deg, #231557 0%,#44107a 29%, #ff1361 67%,#fff800 100%);
    position: relative;
    cursor: pointer;
    
}
.hero-btn2:hover{
    border: 1px solid #e20909;
    background: #e20909;
    transition: 1s;
}  
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}
/*----- Rooms Cat -----*/
.btn{
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 140px;
    display: block;
    margin: 15px auto;
    cursor: pointer;
    transition: var(--transition);
}
.room-text a{
    text-decoration: none;
}
.btn:hover{
    color: #8f50fb;
    opacity: 0.85;
}
.sec-width img{
    width: 100%;
}
.title{
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 30px;
    color: var(--purple-solid);
    
    
}
.sec-width{
    width: 80vw;
    margin: 0 auto!important;
}

.rooms{
    margin: 40px 0;
}
.room{
    margin: 45px 0;
    padding-bottom: 25px;
    background: var(--dark);
    color: #fff;
}
.room-text{
    padding: 5px 20px;
}
.room-text ul{
    list-style-type: none;
    margin: 15px 0;
    display: inline-table;
    padding: 5px 120px;
}
.room-text ul li{
    padding: 7px 0;
    font-size: 16px;
    font-weight: 600;
      
}
.room-text ul li i{
    color: var(--yellow-solid);
    margin-right: 10px;
}
.room-image{
    overflow: hidden;
}
.room-image img{
    transition: var(--transition);
}
.room-image:hover img{
    transform: scale(1.1);
}
.sec-width p{
    font-size: 20px;
}
@media(max-width:700px){
    .sec-width{
        font-size: 20px;
    }
    .room-text ul{
        font-size: 10px;
        display: block;
        padding: 5px 50px;
    }
    .room-text h3{
        font-size: 24px;
    }
    .room-text ul h4{
        font-size: 18px;
    }
    .sec-width p{
        font-size: 14px;
    }
    .btn{
        width: 100px;
        font-size: 12px;
    }
    .room-text ul li{
        font-size: 12px;
    }
}


/*----- Guest Houses -----*/

.Campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(226,0,0,0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*------ facilities ------*/

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 5px;
}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facilities-col img{
    width: 100%;
    border-radius: 10px;
    transition: 1s;
}
.facilities-col img:hover{
    transform: scale(1.1);
}
.facilities-col p{
    padding: 0;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}
.facilities a{
    color: #e20909;
}
/*----- Testimonials-----*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testimonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonials-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonials-col p{
    padding: 0;
}
.testimonials-col h3{
    margin-top: 15px;
    text-align: left;
    font-size: 20px;
}
.testimonials-col .fa{
    color: #f44336;
}
@media(max-width: 700px){
    .testimonials-col img{ 
        margin-left: 0px;
        margin-right: 15px;      
    }
}

/*----- Call To Action -----*/

.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.9),rgba(2,2,2,0.9)),url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}

/*----- Footer -----*/

.footer{
   width: 100%;
   text-align: center;
   padding: 30px 0;  
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600; 
}
.icons .fa{
    color: #f44336;
    margin: 0 10px;
    cursor: pointer;
    padding: 18px 0;
    transition: 2s;
    font-size: 30px; 
}
.icons .fa:hover{
    transform: scale(1.3);
    color: #6f09e2;
}
.fa-heart-o{
    color: #f44336;
}
.top{
    position: fixed;
    right: 30px;
    opacity: 0;
    bottom: -50px;
    padding: 1px;
    animation: fade-up 1000ms forwards;
    animation-delay: 1000MS;
    transition: 1s;
}
.top a{
    text-decoration: none;
    font-size: 40px;
    color: #999;
    opacity: 0.50;
    margin-right: 20px;
}
.top:hover{
    transform: scale(1.3);
}
@media(max-width: 700px){
    .top a{
        font-size: 38px;
        margin-right: 0;
    }
}
/* WhatsApp Start */
.whatsapp-btn-container{
    position: fixed;
    top: 150px;
    right: 10px;
    opacity: 0;
    bottom: -50px;
    padding: 28px;
    animation: fade-up 1000ms forwards;
    animation-delay: 1000MS;
}
@keyframes fade-up {
    100%{
        bottom: 24PX;
        opacity: 1;
}
}
.whatsapp-btn-container .whatsapp-btn{
    font-size: 48px;
    color: #25d366;
    display: inline-block;
    transition: all 400ms;
}
.whatsapp-btn-container .whatsapp-btn:hover{
    transform: scale(1.2);
}

.whatsapp-btn-container span{
    position: absolute;
    top: 0;
    left: 4px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    color: #25d366;
    transform: rotateZ(20deg) translateX(10px);
    opacity: 0;
    transition: all 400ms;
}
.whatsapp-btn-container .whatsapp-btn:hover + span{
    transform: rotateZ(0deg) translateX(0px);
    opacity: 1;
}
@media(max-width: 700px){
    .whatsapp-btn-container .whatsapp-btn{
        font-size: 38px;
    }
    .whatsapp-btn-container{
        padding: 5px;
    }
    .whatsapp-btn-container span{
        left: -40px;
        top: -30px;
        font-size: 12px;
    }
}
/* Whatsapp End */
/*----- About Us -----*/
.sub-header{
    min-height: 25em;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/portsmouthcity3.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
	margin-top: 100px;
	padding: 20px;
}
.sub-header .contact-span{
    font-size: 1rem;
  	line-height: 1.5rem;
    text-transform: capitalize;
    text-shadow: 2px 1px rgba(255, 72, 0, 0.7);
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
}
.about-col h1{
    padding: 0;
}
.about-col p{
    padding: 15px 0 25px;
}
.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: #fff;
}
@media(max-width:900px){
  	.sub-header{
  		height: 18rem;}
    .about-col h1{
        font-size: 24px;
    }
    .about-col p{
        font-size: 14px;
    }
    .sub-header .contact-span{
        font-size: 10px;
    }
}
/*----- Blog-Content -----*/

.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-left img{
    width: 100%;
}
.blog-left{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
}
.blog-right{
    flex-basis: 32%;
}
.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}
.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px;

}
.footer{
    color: rgb(0, 0, 0);
}

@media(max-width:700px){
    .sub-header h1{
        font-size: 24px;
      	padding: 1px;
    }
}

/*----- Contact Us Page -----*/

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: o;
}
.contact-col div h5{
    font-size: 30px;
    margin-bottom: 5px;
    color: rgb(5, 5, 5);
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.add-li{
    list-style: none;
    color: #999;
}
.gotcha{
  	display: none;
}
@media(max-width:700px){
    .contact-col div h5{
        font-size: 18px;
    }
    .add-li{
        font-size: 14px;
    }
}

/*----- Booking section styles -----*/

.booking{
    margin: 100px auto;
    width: 70%;
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.85),rgba(0,0,0,0.85)), url(images/kohthai.jpeg);
    padding-top: 40px;
    
}
.input-group{
    margin-bottom: 2px;
    padding-left: 50px;
}
.input-label{
    display: block;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #fff;
    font-weight: 1rem;
}
.input,
.option{
    outline: none;
    border: none;
    width: 90%;
    min-height: 3rem;
    padding: 10px;
    font-weight: bold;
    color: rgb(58, 54, 54);
    font-size: "open sans", sans-serif;
    /*resize: none;*/
}
.hero-btn3{
    display: inline-block;
    text-decoration: none;
    color: rgb(252, 249, 249);
    border: 1px solid rgb(79, 118, 247);
    border-radius: 20px;
    padding: 12px 34px;
    font-size: 20px;
    font-weight: 700;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn3:hover{
    border: 1px solid #b82ed7;
    background: var(--purple-light);
    transition: 1s;
}
@media(max-width:700px){
    .booking,.input-group{
        font-size: 10px;
        padding: 0px 30px;
    }
    .booking{
        padding-bottom: 40%;
    }
    .input-group{
        margin: 5%;
    }
}


/*----- Image Gallary -----*/

body{
    background: #bfddf8c7;
}
.img-gallery{
    width: 80%;
    margin: 80px 50px 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;  
}
.img-gallery img{
    width: 100%;
    padding: 1em 8em;
    cursor: pointer;
    transition: 1s;
}
.img-gallery img:hover{
    transform: scale(0.8) rotate(-15deg);
    border-radius: 20px;
    box-shadow: 0 32px 75px rgba(68,77,136,0.2);
}
.full-img{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.full-img img{
    width: 90%;
    max-width: 500px;

}
.full-img span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
@media(max-width:850px){
    .img-gallery{
        width: 80%;
        margin: 80px auto;
      	margin-top:120px
    }
    .img-gallery img{
        width: 80%;
      	padding: 1em 2em;
        margin-top: 70px;
    }
    .full-img span{
        right: 10%;
        font-size: 20px;
    }
}
/* Rooms Slide Show Strat */

.mySlides1, .mySlides2, .mySlides3, .mySlides4 {display: none}
img {vertical-align: middle;}


/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
  background-color: #f1f1f1;
  color: black;
}
/* Rooms Slide Show End * /