* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.section:target {
    scroll-margin-top: 15vh;
}

body::-webkit-scrollbar {
    width: 10px;
    background: #d5ffe6;
}
body::-webkit-scrollbar-thumb {
    background: green;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Abril Fatface", serif;
}

a, span, p, button, input {
    font-family: 'Open Sans', sans-serif;
    font-size: small;
}
a {
    color: #000;
}
a:hover {
    color: #000;
}
a, button {
    cursor: pointer;
}
button {
    position: relative;
}
button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background: #cccccc62;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.2s ease-in;
}
input, textarea {
    font-size: small !important;
}
button:hover::after {
    width: 100%;
}
header {
    height: 10vh;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 10%;
    width: 80%;
    background: #fff;
    z-index: 999;
}
header nav {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.delyt-logo {
    display: flex;
    align-items: center;
}
.delyt-logo img {
    padding-right: 24px;
}
.delyt-logo h5 {
    font-size: large;
    margin-bottom: 0;
    font-family: 'Bebas Neue';
    display: flex;
    border-bottom: 2px solid #ccc;
    border-left: 2px solid #ccc;
    padding-left: 6px;
    letter-spacing: 1px;
    display: none;
}
.about-section h5 {
   font-family: 'Open Sans';
   font-weight: 400;
   font-size: medium;
   color: #303030;
   line-height: 1.5rem;
} 
.span-sup {
    margin-left: 2px;
    display: inline-block;
}
.explore-delyt {
    display: block;
    text-decoration: underline;
    font-size: small;
}
.nav-item:nth-child(2) {
    display: flex;
    align-items: center;
}
.nav-item:nth-child(2) a {
    display: block;
}
.nav-item:nth-child(2) a svg {
    display: none;
}
.nav-item:nth-child(2) a:not(:last-child) {
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid #ccc;
}

.nav-item button {
    font-size: small;
}
.nav-item button:first-child {
    margin-right: 12px;
    background: none;
    border: none;
    padding: 2px 12px;
}
.nav-item button:last-child {
    background: none;
    border: 1px solid #000;
    padding: 2px 12px;
    background: #d5ffe6;
}

.small-container {
    width: 80%;
    margin: 0 auto;
}

.hero-section {
    margin-top: 10vh;
    min-height: 85vh;
    position: relative;
}

.hero-section .main-item {
    padding: 42px;
    min-height: 85vh;
    background: #d5ffe6;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content .content {
    text-align: center;
    color: #000;
    width: 80%;
}
.hero-content .content h3 {
    font-size: 3.5rem;
    margin-bottom: 36px;
}
.hero-content .content p {
    margin-bottom: 36px;
}
.hero-content .content button {
    border: 1px solid #000;
    padding: 12px 46px;
    background: none;
    color: #000;
}

.look-section {
    margin-top: 15vh;
    display: flex;
    align-items: start;
    min-height: 50vh;
}
.look-item:first-child {
    margin-right: 24px;
}
.look-item:last-child {
    flex: 1;
    border: 1px solid #ccc;
    padding: 12px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.diagonal-right {
    width: 90px;
    height: 1px;
    background: #000;
    margin-left: 24px;
}

.section-title h5 {
    font-size: medium;
    font-style: italic;
    position: relative;
    width: max-content;
    border: 1px solid #ccc;
    padding: 12px 24px;
    color: black;
    font-family: 'Playfair Display';
    font-weight: bold;
}
.look-item ul {
    padding: 0;
    margin: 0;
}
.look-item ul li {
    list-style-type: none;
    width: 100%;
    display: flex;
    align-items: stretch;
    transition: all 0.2s ease-in;
}

.look-item ul li:not(:last-child) {
    margin-bottom: 12px;
}
.look-item ul li h5 {
    color: black;
}
.look-item ul li p {
    margin-bottom: 0;
    color: #5e5e5e;
}
.look-item ul li .look-icon {
    width: 80px;
    aspect-ratio: auto; /* Remove fixed ratio */
    border: 1px solid #ccc;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.look-icon img {
    width: 50%;
}

.look-item ul li .look-list {
    border: 1px solid #ccc;
    padding: 12px 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.look-item ul li .look-list h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: bolder;
}


.destination-section {
    margin-top: 10vh;
    padding: 24px;
    background: #d5ffe6;
}
.destination-title {
    text-align: center;
}




.horizontal-wrapper {
    display: flex;
    justify-content: center;
    padding: 12px;
    margin-top: 24px;
}

.horizontal-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.destination-item {
    background-color: #fff;
    border: 1px solid green;
    padding: 42px;
    text-align: center;
    position: relative;
}

.item-list h3 {
    margin: 0;
    font-size: x-large;
    color: #333;
}

.item-list h6 {
    font-family: 'Open Sans', sans-serif;
    font-size: small;
    margin-top: 12px;
    font-weight: 400;
}
.item-list span {
    color: #8a8a8a;
    border-top: 1px solid #ccc;
    font-size: small;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 12px;
    margin-top: 6px;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-list ion-icon {
    margin-right: 6px;
}
.horizontal-scroll .destination-item:nth-child(n + 5) {
    grid-column: span 1;
    justify-self: center;
}


.works-section {
    margin-top: 15vh;
    padding: 24px;
    background: #d5ffe6;
}
.works-item:first-child {
    text-align: center;
    margin-bottom: 42px;
}
.works-item:last-child {
    width: 100%;
    display: flex;
    align-items: start;
}

.works-list {
    width: 25%;
    border: 1px solid green;
    padding: 24px;
    background: white;
}
.works-list:not(:last-child) {
    margin-right: 12px;
}
.works-list p:first-child {
    background: #000;
    width: max-content;
    padding: 2px 6px;
    color: white;
    margin-bottom: 24px;
}
.works-list h6 {
    margin-bottom: 12px;
    font-size: large;
    font-family: 'Open Sans', sans-serif;
    font-weight: bolder;
}

.term-condition-section {
    margin-top: 15vh;
    padding: 42px;
}
.term-condition-title {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
}
.term-condition-content {
    width: 100%;
    margin: 0 auto;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(2, auto); /* 2 rows */
    gap: 0 24px; /* Space between items */
}
.tc-content-list {
    border: 1px solid #ccc;
    padding: 12px; /* Optional: Add padding for better spacing */
    box-sizing: border-box; /* Ensure padding is included in the width */
}
.tc-content-list:not(:last-child) {
    margin-bottom: 24px;
}
.tc-content-list h6 {
    margin-bottom: 12px;
}
.tc-content-list p {
    margin-bottom: 0;
    padding: 2px 6px;
    color: #555;
}
.tc-content-list p:not(:last-child) {
    margin-bottom: 2px;
}
.cta-section {
    border: 2px dashed #ccc;
    padding: 42px;
    margin-top: 15vh;
    margin-bottom: 15vh;
    text-align: center;
    background: linear-gradient(to right, rgba(104, 104, 104, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(104, 104, 104, 0.1) 1px, transparent 1px);
    background-size: 12px 12px;
}
.cta-section button {
    background: #000;
    border: none;
    display: block;
    margin: 0 auto;
    color: white;
    padding: 12px 42px;
    font-family: "Abril Fatface", serif;
    font-size: large;
    display: flex;
    align-items: center;
}
.cta-section button ion-icon {
    margin-right: 12px;
}

button.close {
    display: flex;
    align-items: center;
    justify-content: center;
}
.close span {
    font-weight: 400;
    font-size: 11px;
    border: 1px solid #ccc;
    padding: 8px 12px;
}

.submit-btn {
    width: 100%;
    border-radius: 0;
    font-size: small;
}
.form-group span {
    background: #555;
    color: white;
    padding: 2px 6px;
    font-size: small;
    width: calc(50% - 12px);
    display: block;
    margin-left: 12px;
    transform: translateY(6px);
}
.form-group input, .form-group textarea {
   border-radius: 0;
   border: 1px solid #555;
}

/* Styling for modal dialog and content */

.modal-dialog {
    margin: 0;
    position: relative;
    margin-top: 10vh;
    margin-right: 10%;
    float: right;
    width: 500px;
}
.modal-content {
    height: 85vh;
    overflow-y: scroll;
    border-radius: 0;
}
.modal-content::-webkit-scrollbar {
    background: transparent;
    width: 0;
}

.about-section {
    margin-top: 10vh;
}

.text-color-red {
    font-family: "Open Sans", "Abril Fatface", serif;
    font-size: large;
    font-weight: bold;
    color: black;
}
.text-color-red a {
    font-family: "Open Sans", "Abril Fatface", serif;
    font-size: large;
    font-weight: bold;
    color: black;
}
.nav-item:last-child {
    display: none;
}
.modal-footer {
    display: block;
}
.modal-footer button {
    padding: 6px 12px;
    width: 100%;
    border: none;
}
.modal-footer button:first-child {
    background: #007bff;
    color: white;
}
.modal-footer button:last-child {
    background: #28a745;
    color: white;
}
.otp-button {
    width: 100%;
}






@media (max-width: 1024px) {
    .horizontal-scroll {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 667px) {
    .horizontal-scroll {
        grid-template-columns: 1fr;
    }

    header .nav-item:nth-child(2),
    header .nav-item:nth-child(3) {
        display: none;
    }
    .small-container {
        width: 92%;
    }
    header {
        width: 92%;
        left: 4%;
    }
    .section {
        margin-top: 10vh;
    }
    .nav-item:last-child {
        display: block;
    }
    .nav-item:last-child button {
        margin-right: 0;
        padding: 0;
        font-size: large;
        border: none;
        outline: none;
        background: none;
    }
    .nav-item:last-child button ion-icon {
        font-size: x-large ;
    }

    .about-section {
        padding: 24px;
        border: 1px solid #ccc;
    }

    .hero-content {
        padding: 12px;
    }
    .hero-section .main-item {
        padding: 24px;
    }
    .hero-content .content {
        width: 100%;
        text-align: left;
    }
    .hero-content .content h3 {
        font-size: 2rem;
        margin-bottom: 36px;
    }
    .hero-content .content button {
        padding: 12px 24px;
    }
    .text-color-red {
        font-size: medium;
    }
    .text-color-red a {
        font-size: medium;
    }
    .about-section h5 {
        font-size: medium;
        line-height: 1.5rem;
    }
    .look-section {
        flex-direction: column;
    }
    .look-section h6 {
        font-size: medium;
    }
    .works-item:last-child {
        flex-direction: column;
    }
    .works-item:last-child .works-list {
        width: 100%;
        margin-bottom: 12px;
        padding: 24px;
    }
    .works-list h6 {
        font-size: large;
    }
    .term-condition-content {
        display: flex;
        flex-direction: column;
    }
    .term-condition-title {
        padding: 12px;
    }
    .cta-section {
        margin-bottom: 24px;
    }
    .modal-dialog {
        width: 92%;
        margin-right: 4%;
    }
    .term-condition-section {
        padding: 0;
    }
    .horizontal-scroll {
        gap: 12px 0;
    }
    .horizontal-wrapper {
        padding: 12px 0;
    }
  
    nav {
        display: block;
        margin-top: 24px;
    }
    nav .nav-item {
        display: block;
    }
    nav .nav-item a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        border: 1px solid #ccc;
        width: 100%;
        padding: 6px 12px;
        padding-right: 6px;
    }
    .modal {
        background: #0005;
    }

    #loginModal {
        background: rgba(0, 0, 0, 0.68);
    }
    #registerModal {
        background: rgba(0, 0, 0, 0.68);
    }
    .nav-item:nth-child(2) a svg {
        display: block;
    }

}

