/********** Template CSS **********/
:root {
    --primary: #9CD524;
    --secondary: #FE8800;
    --primary1:red;
    --light: #F5F5F5;
    --dark: #14141F;
}

.text-primary1{
    color: #382e77;
}

.btn-primary1{
    color: #9CD524;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-right: 20px;
    padding: 35px 0;
    color: #FFFFFF !important;
    font-size: 15px ;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}







/*** Hero Header ***/
.hero-index {
    background: linear-gradient(rgba(20, 20, 31, 0.303), rgba(20, 20, 31, 0.319)), url(../img/doct-1.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}


.hero-header1 {
    background: linear-gradient(rgba(20, 20, 31, 0.499), rgba(20, 20, 31, 0.493)), url(../img/1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.hero-header2 {
    background: linear-gradient(rgba(20, 20, 31, 0.59), rgba(20, 20, 31, 0.41)), url(../img/bg-4.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header3 {
    background: linear-gradient(rgba(20, 20, 31, 0.432), rgba(20, 20, 31, 0.404)), url(../img/our\ services.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.hero-header4 {
    background: linear-gradient(rgba(20, 20, 31, 0.432), rgba(20, 20, 31, 0.404)), url(../img/std\ mbbs.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header5 {
    background: linear-gradient(rgba(20, 20, 31, 0.432), rgba(20, 20, 31, 0.404)), url(../img/contact.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header6 {
    background: linear-gradient(rgba(20, 20, 31, 0.432), rgba(20, 20, 31, 0.404)), url(../img/malta.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header7 {
    background: linear-gradient(rgba(20, 20, 31, 0.432), rgba(20, 20, 31, 0.404)), url(../img/loader\ image.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header8 {
    background: linear-gradient(rgba(20, 20, 31, 0.432), rgba(20, 20, 31, 0.404)), url(../img/std\ mbbs.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header01 {
    background: linear-gradient(rgba(20, 20, 31, 0.499), rgba(20, 20, 31, 0.493)), url(../img/exam-prep.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-header-n {
    background: linear-gradient(rgba(20, 20, 31, 0.499), rgba(20, 20, 31, 0.493)), url(../img/nurses.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}






.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.close-btn {
    cursor: pointer;
    color: red;
    margin-top: 10px;
}




.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background:#382e77 ;
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: #382e77;
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
  border-radius: 30px !important;
}

.service-item:hover {
    background: linear-gradient(to top left, #121c75a4 0%, #ffffff 100%);;
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: black !important;
}


/*** Destination ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}


/*** Package ***/
.package-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.package-item img {
    transition: .5s;
}

.package-item:hover img {
    transform: scale(1.1);
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(11, 37, 104, 0.514), rgba(15, 23, 43, .7)), url(../img/logo.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 30px;
  
}
.booking-v {
    background: linear-gradient(rgba(11, 37, 104, 0.514), rgba(15, 23, 43, .7)), url(../img/vision.png);
    background-position: center center;
    background-repeat: no-repeat;
  
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    background: #382e773a;
    border-radius: 30px;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .btn {
    background: #FFFFFF;
    color: #382e77;
    border-radius: 20px;
    border-bottom: 1px solid #382e77;
}

.team-item .btn:hover {
    background: #382e77;
    color: #FFFFFF;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #2d2561a8 !important;
    border-color: #382e77 !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: #382e77;
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.timeline{
    position:relative;
    margin:50px auto;
    padding:40px 0;
    width:1000px;
    box-sizing:border-box;
  }
  .timeline:before{
    content:'';
    position:absolute;
    left:50%;
    width:2px;
    height:100%;
    background:#c5c5c5;
  }
  .timeline ul{
    padding:0;
    margin:0;
  }
  .timeline ul li{
    list-style:none;
    position:relative;
    width:50%;
    padding:20px 40px;
    box-sizing:border-box;
  }
  .timeline ul li:nth-child(odd){
    float:left;
    text-align:right;
    clear:both;
  }
  .timeline ul li:nth-child(even){
    float:right;
    text-align:left;
    clear:both;
  }
  .content{
    padding-bottom:20px;
  }
  .timeline ul li:nth-child(odd):before
  {
    content:'';
    position:absolute;
    width:10px;
    height:10px;
    top:24px;
    right:-6px;
    background:#382e77;
    border-radius:50%;
    box-shadow:0 0 0 3px rgba(6, 7, 56, 0.3);
  }
  .timeline ul li:nth-child(even):before
  {
    content:'';
    position:absolute;
    width:10px;
    height:10px;
    top:24px;
    left:-4px;
    background:#382e77;
    border-radius:50%;
    box-shadow:0 0 0 3px rgba(6, 7, 56, 0.3);
  }
  .timeline ul li h3{
    padding:0;
    margin:0;
    color:#382e77;
    font-weight:600;
  }
  .timeline ul li p{
    margin:10px 0 0;
    padding:0;
  }
  .timeline ul li .time h4{
    margin:0;
    padding:0;
    font-size:14px;
  }
  .timeline ul li:nth-child(odd) .time
  {
    position:absolute;
    top:12px;
    right:-165px;
    margin:0;
    padding:8px 16px;
    background:#382e77;
    color:#fff;
    border-radius:18px;
    box-shadow:0 0 0 3px rgba(6, 7, 56, 0.3);
  }
  .timeline ul li:nth-child(even) .time
  {
    position:absolute;
    top:12px;
    left:-165px;
    margin:0;
    padding:8px 16px;
    background:#382e77;
    color:#fff;
    border-radius:18px;
    box-shadow:0 0 0 3px rgba(6, 7, 56, 0.3);
  }
  @media(max-width:1000px)
  {
    .timeline{
      width:100%;
    }
  }
  @media(max-width:767px){
    .timeline{
      width:100%;
      padding-bottom:0;
    }
    h1{
      font-size:40px;
      text-align:center;
    }
    .timeline:before{
      left:20px;
      height:100%;
    }
    .timeline ul li:nth-child(odd),
    .timeline ul li:nth-child(even)
    {
      width:100%;
      text-align:left;
      padding-left:50px;
      padding-bottom:50px;
    }
    .timeline ul li:nth-child(odd):before,
    .timeline ul li:nth-child(even):before
    {
      top:-18px;
      left:16px;
    }
    .timeline ul li:nth-child(odd) .time,
    .timeline ul li:nth-child(even) .time{
      top:-30px;
      left:50px;
      right:inherit;
    }
  }

  .social-media{
	align-items: center;
	display: flex;
	transition: transform 0.3s ease-in-out;
    border-radius: 50px;
}
.social-media:hover{
	transform: translateX(calc(-100% + 60px));
}

.social-media i{
	color: #fff;
	font-size: 20px;
	padding: 15px;
	text-align: center;
	width: 60px;
}
.social-media a{
	color: #fff;
	padding: 0 10px;
	text-align: center;
	text-decoration: none;
}
.social-media-container{
	top: 50%;
	list-style-type: none;
	padding: 0;
	position: fixed;
	left: calc(100% - 60px);
	transform: translateY(-50%);
	min-width: 250px;
}

.social-media.blog{
	background-color: 	#1876f279;
}

.social-media.pinterest{
	background-color: #0076b58c;
}
.social-media.linkedin{
	background-color: 	#000000b7;
}
.social-media.instagram{
	background-color: rgb(128, 16, 16);
}
.social-media.wha{
	background-color: #25d365a6;
}


.Slide-container {
    overflow: hidden;
    .slider {
      animation: slidein 30s linear infinite;
      white-space: nowrap;
      .logos {
        width: 100%;
        display: inline-block;
        margin: 0px 0;
        .fab {
          width: calc(100% / 5);
          animation: fade-in 0.5s 
            cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards;
        }
      }
    }
  }
  
  @keyframes slidein {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-100%, 0, 0);
    }
  }
  
  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .call-buton .cc-calto-action-ripple {
	z-index: 99999;
	position: fixed;
	right: 1rem;
	bottom: 8rem;
	background: #250a9c;
	width: 3.1rem;
	height: 3.1rem;
	padding: 1rem;
	border-radius: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #ffffff;
	-webkit-animation: cc-calto-action-ripple 0.6s linear infinite;
	animation: cc-calto-action-ripple 0.6s linear infinite;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-items: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	text-decoration: none; }
	.call-buton .cc-calto-action-ripple i {
	  -webkit-transition: 0.3s ease;
	  transition: 0.3s ease;
	  font-size: 1.1rem; }
	.call-buton .cc-calto-action-ripple:hover i {
	  -webkit-transform: rotate(135deg);
	  transform: rotate(135deg); }
  
  @-webkit-keyframes cc-calto-action-ripple {
	0% {
	  -webkit-box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 0 rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2);
	  box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 0 rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2); }
	100% {
	  -webkit-box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2), 0 0 0 20px rgba(236, 139, 0, 0);
	  box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2), 0 0 0 20px rgba(236, 139, 0, 0); } }
  
  @keyframes cc-calto-action-ripple {
	0% {
	  -webkit-box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 0 rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2);
	  box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 0 rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2); }
	100% {
	  -webkit-box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2), 0 0 0 20px rgba(236, 139, 0, 0);
	  box-shadow: 0 4px 10px rgba(35, 0, 236, 0.2), 0 0 0 5px rgba(35, 0, 236, 0.2), 0 0 0 10px rgba(35, 0, 236, 0.2), 0 0 0 20px rgba(236, 139, 0, 0); } }

      .accordion {
        display: flex;
        flex-direction: column;
        font-family: "Sora", sans-serif;
        max-width: 991px;
        min-width: 320px;
        margin: 50px auto;
        padding: 0 50px;
    }
    .accordion h1 {
        font-size: 32px;
        text-align: center;
    }
    .accordion-item {
        margin-top: 16px;
        border: 1px solid #fcfcfc;
        border-radius: 6px;
        background: #ffffff;
        box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    }
    .accordion-item .accordion-item-title {
        position: relative;
        margin: 0;
        display: flex;
        width: 100%;
        font-size: 15px;
        cursor: pointer;
        justify-content: space-between;
        flex-direction: row-reverse;
        padding: 14px 20px;
        box-sizing: border-box;
        align-items: center;
    }
    .accordion-item .accordion-item-desc {
        display: none;
        font-size: 14px;
        line-height: 22px;
        font-weight: 300;
        color: #444;
        border-top: 1px dashed #ddd;
        padding: 10px 20px 20px;
        box-sizing: border-box;
    }
    .accordion-item input[type="checkbox"] {
        position: absolute;
        height: 0;
        width: 0;
        opacity: 0;
    }
    .accordion-item input[type="checkbox"]:checked ~ .accordion-item-desc {
        display: block;
    }
    .accordion-item
        input[type="checkbox"]:checked
        ~ .accordion-item-title
        .icon:after {
        content: "-";
        font-size: 20px;
    }
    .accordion-item input[type="checkbox"] ~ .accordion-item-title .icon:after {
        content: "+";
        font-size: 20px;
    }
    .accordion-item:first-child {
        margin-top: 0;
    }
    .accordion-item .icon {
        margin-left: 14px;
    }
    
    @media screen and (max-width: 767px) {
        .accordion {
            padding: 0 16px;
        }
        .accordion h1 {
            font-size: 22px;
        }
    }
        

    tr:nth-child(even) {
        background-color: #2e2649;
      }
      tr:nth-child(odd) {
        background-color: #423b5b;
      }
      th {
        background-color: #342F44;
        color: white;
      }
      .noBorder {
          border:none !important;
      }


.success-message {
    text-align: center;
    
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.success-message__icon {
    max-width: 75px;
}

.success-message__title {
    color: #3DC480;
    transform: translateY(25px);
    opacity: 0;
    transition: all 200ms ease;
    
    .active & {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-message__content {
    color: #B8BABB;
    transform: translateY(25px);
    opacity: 0;
    transition: all 200ms ease;
    transition-delay: 50ms;
    
    .active & {
        transform: translateY(0);
        opacity: 1;
    }
}

.icon-checkmark {
    circle {
        fill: #3DC480;
        transform-origin: 50% 50%;
        transform: scale(0);
        transition: transform 200ms cubic-bezier(.22, .96, .38, .98);
    }
    path {
        transition: stroke-dashoffset 350ms ease;
        transition-delay: 100ms;
    }
    
    .active & {
        circle {
            transform: scale(1);
        }
    }
}

/********** gallery CSS **********/

.gallery {
    margin: auto;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.gallery-item {
    flex: 1 1 calc(33% - 20px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:hover img {
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: flex;
    margin: 10% auto;
    padding: 20px;
    background: #fff;
    max-width: 70%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}


.modal-left img {
    max-width: 100%;
    height: auto;
    float: left;
    border-radius: 10px;
}

.modal-right {
    margin-left: 20px;
    padding:0 2em;
    width: 40%;
}

.modal-right p {
    margin: 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.nav-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
}

.nav-btn:hover {
    background-color: #555;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(50% - 20px);
    }

    .modal-content {
        flex-direction: column;
    }

    .modal-right {
        margin-left: 0;
        margin-top: 20px;
        width: 80%;
        padding:0;
    }

    .nav-btn {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 1 1 100%;
    }
}





      