/* color palette  */
:root {
    --color-one: #011b34;
    --color-two: #20cecf;
    --color-three: #ffffff;
    --color-four: #e2ffff;
    --color-five: #191c90;
    --color-six: #637A85;
    --color-gradient: linear-gradient(270deg, rgba(164,136,246,1) 0%, rgba(14,25,30,1) 100%);
    --color-gradient2: linear-gradient(270deg, rgba(246,247,255,1) 50%, rgba(164,136,246,1) 100%);
    --font-one: "Lora", serif;
    --font-two: "Nunito Sans", sans-serif;
    --radius: 5px;
}


/* common  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}
.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}
body {
    scroll-behavior: smooth;
    transition: background-color 0.3s ease;
    position: relative;
}

p, li, a, h5, h6 {
    line-height: 1.5;
    font-family: var(--font-two);
}
h1, h2, h3, h4 {
    font-family: var(--font-one);
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
p, a, li {
    color: var(--color-three);
    font-size: 17px;
}


.img-cd img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
section {
    padding: 100px 0;
    overflow: hidden;
}
.section-title {
    display: flex;
    flex-direction: column;
}
.section-title h2 {
    color: var(--color-one);
    font-size: 40px;
    text-transform: capitalize;
    font-weight: 600;
    line-height: 1.2;
    max-width: 750px;
}
.section-title h4 {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-two);
    font-size: 16px;
    padding-bottom: 12px;
}
.section-title {
    padding-bottom: 25px;
}
.btn-1, .btn-2, #submit {
    position: relative;
    display: inline-block;
    padding: 8px 15px;
    background: var(--color-two);
    color: var(--color-one);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--color-two);
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease;
    border-radius: 6px; 
    text-transform: capitalize;
    width: max-content;
}
.btn-2 {
    border-color: var(--color-three);
    background: transparent;
    color: var(--color-three);
}
.btn-1::after, #submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-one); 
    transition: left 0.4s ease;
    z-index: 0;
    border-radius: 4px;
}
.btn-1:hover, #submit:hover {
    color: var(--color-three);
    border-color: var(--color-one);
}
.btn-2:hover {
    color: var(--color-two);
    border-color: var(--color-two);
}
.btn-1:hover::after, #submit:hover::after {
    left: 0;
}
.btn-1 span, #submit span {
    position: relative;
    z-index: 1;
}


/* navigation  */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s, padding 0.3s;
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    max-height: 100px;
}
#navbar {
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#nav.scrolled {
    background: var(--color-one);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.logo {
    width: 60px;
}
.logo a {
    display: inline-block;
}
.nav-links {
    display: flex;
    gap: 35px;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a.active {
    color: var(--color-two);
}
.nav-links a:hover {
    color: var(--color-two);
}
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}


/* hero-section  */
.hero-section {
    padding: 0;
    position: relative;
    height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0,0,0,0.6), rgba(0,0,0,0.4), rgba(0,0,0,0)),
              url("../img/hero-banner.jpg") center/cover no-repeat;
}
.hero-content {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    height: 100vh;
}
.hero-content h1 {
    color: var(--color-three);
    font-size: 50px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}
.hero-content p {
    font-size: 20px;
    width: 60%;
}
.button {
    display: flex;
    align-items: center;
    gap: 25px;
}


/* about-section  */
.about-section {
    background: var(--color-three);
}
.about-content {
    display: flex;
    gap: 80px;
    align-items: center;
}
.about-left, .about-right {
    width: 50%;
}
.about-left p {
    color: var(--color-one);
    padding-bottom: 15px;
}
.about-right {
    display: flex;
    gap: 15px;
}
.image-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 600px;
}
.img {
    overflow: hidden;
}
.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.img1, .img4 { 
    height: 40%; 
}
.img2, .img3 { 
    height: 60%; 
}
.space {
    height: 15px;
}


/* services-section  */
.services-section {
    background: var(--color-four);
}
.services-section h4, .services-section h2 {
    text-align: center;
    margin: 0 auto;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 50px;
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 2px 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 6px;
    cursor: pointer;
    padding: 25px;
}
.service-card:hover {
    transform: translateY(-4px);
    background: var(--color-four);
}
.service-icon img {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.service-grid h5 {
    font-size: 18px;
    color: var(--color-one);
    font-weight: 500;
    text-align: center;
}
.service-grid p {
    color: var(--color-one);
    text-align: center;
    font-size: 16px;
}


/* package-section  */
.package-section .section-title h4, .package-section .section-title h2 {
    text-align: center;
    margin: 0 auto;
}
.package-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 50px;
    gap: 45px;
}
.package-card {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: var(--color-three);
    padding-bottom: 25px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.16);
}
.package-card h3, .package-card p {
    color: var(--color-one);
    text-align: center;
    padding: 0 25px;
}
.price {
    font-size: 22px;
    color: var(--color-one);
    font-style: italic;
    font-weight: 600;
}
.package-img img {
    height: 200px;
    width: auto;
    object-fit: contain;
    border-radius: 6px 6px 0 0;
}


/* contact-section  */
.contact-section {
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0,0,0,0.4), rgba(0,0,0,0.6), rgba(0,0,0,0.5)),
                url("../img/contact-banner.jpg") center/cover no-repeat;
    background-attachment: fixed; 
    background-size: cover;
    background-position: center;
    position: relative;
}
.contact-section h2 {
    color: var(--color-three);
}
.contact-content {
    display: flex;
    gap: 50px;
}
.contact-left, .contact-right {
    width: 50%;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 50px;
}
.contact-details a, .contact-details p {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}
.contact-details span {
    display: flex;
    width: 20px;
}
.contact-details a:hover {
    color: var(--color-two);
    transition: all 0.3s linear;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#contactForm input, #contactForm textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    background: #ccffff;
    color: var(--color-one);
    font-family: var(--font-two);
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
}
#contactForm input::placeholder, #contactForm textarea::placeholder {
    color: var(--color-one);
}
#msgSubmit {
    font-family: var(--font-two);
    color: #f75151;
}


/* gallery  */
.gallery-section h2, .gallery-section h4 {
    text-align: center;
    margin: 0 auto;
}
#gallery-slider {
    padding: 50px 0;
}
#gallery-slider li img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
}
#gallery-slider .splide__arrow {
    background: #c2ffff;
}
#gallery-slider .splide__arrow svg {
    fill: var(--color-two);
}
.splide__arrow--next {
    right: 0;
    transform: unset;
    top: unset;
    bottom: 0;
}
.splide__arrow--prev {
    left: unset;
    right: 35px;
    transform: unset;
    top: unset;
    bottom: 0;
}
.gallery-section .btn-1 {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: max-content;
}


/* footer  */
footer {
    background: var(--color-one);
}
.footer-content {
    padding: 50px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    border-bottom: 1px solid #ffffff38;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links h5 {
    font-size: 17px;
    color: var(--color-three);
    font-weight: 500;
}
.footer-links a, .footer-links p {
    font-size: 16px;
}
.footer-links a:hover {
    color: var(--color-two);
    transition: all 0.3s ease-in-out;
}
.copyright p {
    padding: 10px 0;
    text-align: center;
    font-size: 15px;
}




/* ##########################################################  galllery page ####################################################  */

.banner {
    padding: 0;
    padding-top: 100px;
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0,0,0,0.5), rgba(0,0,0,0.5), rgba(0,0,0,0.3)),
                url("../img/gallery-banner.jpg") bottom/cover no-repeat;
}
.wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
}
.wave img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner h2 {
    text-align: center;
    color: var(--color-three);
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 5px; 
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    padding: 150px 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}
.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}
.gallery img:hover {
    transform: scale(1.05);
}

/* Popup Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}
.lightbox .close, .lightbox .prev, .lightbox .next {
    position: absolute;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
}
.lightbox .close {
    top: 20px;
    right: 30px;
}
.lightbox .prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox .next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}




/* ##########################################################  events page ####################################################  */

.banner.events {
    padding: 0;
    padding-top: 100px;
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0,0,0,0.5), rgba(0,0,0,0.5), rgba(0,0,0,0.3)),
                url("../img/events-banner.jpg") bottom/cover no-repeat;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}
.event-img {
    position: relative;
}
.date-badge {
    position: absolute;
    left: -10px;
    bottom: 30px;
    top: auto;
}
.badge-inner {
    background: var(--color-one);
    font-size: 18px;
    color: var(--color-three);
    font-weight: 600;
    padding: 8px 16px 8px 20px; /* left padding for notch space */
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    text-align: center;
}
.event-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
}
.event-name {
    padding: 0 20px;
}
.event-name h2 {
    font-size: 20px;
    padding-top: 15px;
    color: var(--color-one);
    font-weight: 600;
}
.event-name p {
    padding: 15px 0;
    color: var(--color-one);
}
.event-card.old .badge-inner {
    background: rgb(247, 48, 48);
}
.event-section .btn-1 {
    margin-left: 20px;
}
.event-name {
    height: 145px;
}




/* ##########################################################  single events page ####################################################  */

.container.md {
    max-width: 1000px;
}
#nav.events {
    background: var(--color-one);
}
.single-event-section {
    margin-top: 100px;
}
.single-event-section h2 {
    text-align: center;
    margin: 0 auto;
    font-size: 30px;
    line-height: 1.5;
    padding-bottom: 20px;
}
.single-event-section h2 span {
    font-size: 25px;
}
.single-event-section h5 {
    text-align: center;
    font-size: 22px;
    color: var(--color-one);
    font-weight: 500;
    font-style: italic;
}
.event-description {
    display: flex;
    gap: 60px;
    padding-top: 70px;
}
.des-left, .des-right {
    width: 50%;
}
.des-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.event-description p {
    color: var(--color-one);
    padding-top: 15px;
}
.event-description ul {
    padding-top: 10px;
}
.event-description li {
    color: var(--color-one);
    display: flex;
}
.event-description.two li span {
    font-style: italic;
}
.event-description i {
    color: var(--color-two);
    padding-right: 8px;
    padding-top: 3px;
}
.review span {
    font-style: italic;
}
.award i {
    color: #e0a607;
}
.route {
    padding-top: 70px;
}
.single-event-section h3 {
    text-align: center;
    color: var(--color-one);
    font-weight: 600;
    font-size: 22px;
    padding-bottom: 30px;
}
.route-grid {
    display: grid;
    grid-template-columns: 100px 2fr 3fr;
}
.route-grid > div {
    border: 1px solid #d6d6d6;  
    border-top: none;
    padding: 10px;    
    font-family: var(--font-two);
    color: var(--color-one);
    white-space: wrap;
}
.route-grid .bg {
    background: var(--color-one);
    color: var(--color-three);
    border: none;
}
.route-img-grid {
    padding-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.route-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
}
.event-description.two {
    padding-top: 70px;
}
.event-description.two .des-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.event-description.two h3 {
    text-align: left;
    padding-bottom: 20px;
}
h3.sec {
    padding-top: 25px;
}
.event-description.two .des-left img {
    max-height: 250px;
}
.event-form {
    padding-top: 70px;
}
.event-form #contactForm {
    max-width: 600px;
    margin: 0 auto;
}
.event-form p {
    color: var(--color-one);
    padding-bottom: 50px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}




/* tab  */
@media screen and (max-width:991px) and (min-width:768px) {
    
    /* about section  */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-left, .about-right {
        width: 100%;
    }

    /* banner  */
    .banner h2 {
        padding: 100px 0;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .des-left img {
        height: 400px;
    }

}



/* MOBILE */
@media screen and (max-width:767px) {

    /* common  */
    section {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .section-title h4 {
        font-size: 14px;
    }
    p, a, li {
        font-size: 16px;
    }
    .container {
        padding: 0 15px;
    }


    /* navigation  */
    nav {
        padding: 5px 0;
    }
    .logo {
        width: 50px;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: max-content;
        width: 100%;
        background: var(--color-one);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease-in-out;
        padding: 50px 0;
    }
    .nav-links.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
    }


    /* hero section  */
    .hero-section, .hero-content {
        height: 100%;
    }
    .hero-section {
        padding: 100px 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0,0,0,0.5), rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url("../img/hero-banner.jpg") center/cover no-repeat;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-content p {
        font-size: 17px;
        width: 80%;
    }


    /* about section  */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-left, .about-right {
        width: 100%;
    }


    /* sevice section  */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 30px;
    }
    .service-card {
        padding: 15px;
    }


    /* contact  */
    .contact-section {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0,0,0,0.5), rgba(0,0,0,0.4), rgba(0,0,0,0.2)),
                    url("../img/contact-banner.jpg") center/cover no-repeat;
        background-attachment: fixed; 
        background-size: cover;
        background-position: center;
        position: relative;
    }
    .gallery img {
        height: 150px;
    }
    .contact-content {
        flex-direction: column-reverse;
    }
    .contact-right, .contact-left {
        width: 100%;
    }
    .event-name {
        height: unset;
    }


    /* footer  */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }


    /* banner  */
    .banner h2 {
        font-size: 32px;
        padding: 50px 0;
    }

    /* events  */
    .event-name h2 {
        font-size: 18px;
    }

    /* single event  */
    .events-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .single-event-section h2 {
        font-size: 25px;
    }
    .single-event-section h2 span {
        font-size: 22px;
    }
    .single-event-section h5 {
        font-size: 18px;
    }
    .event-description {
        flex-direction: column;
        gap: 30px;
    }
    .des-left, .des-right {
        width: 100%;
    }
    .des-left img {
        max-height: 300px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    .route h3 {
        font-size: 20px;
    }
    .route-grid div {
        font-size: 15px;
    }
    .route-grid {
        grid-template-columns: 75px 2fr 3fr;
    }
    .route-img-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .route-img img {
        height: 160px;
    }
    .event-description.two .des-left img {
        height: 250px;
        max-height: unset;
        width: 100%;
    }
    .gallery {
      grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }

}

@media screen and (max-width:680px) {
    
    .image-wrap {
        height: 400px;
    }
    .service-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(1, 1fr);
    }
}
  

@media screen and (max-width: 400px) {

    .gallery {
      grid-template-columns: 1fr; /* 1 column on small screens */
    }
    .hero-content h1 {
        font-size: 25px;
    }
    .section-title h2 {
        font-size: 22px;
    }
}