:root{
    --bg:#eef5fd;
    --primary:#052b7d;
    --accent:#c4def8;
    --white:#ffffff;
    --text:#1d2740;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:'Montserrat',sans-serif;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* NAVIGATION HEADER */
nav{
    background:white;
    position:sticky;
    top:0;
    z-index:100;
    border-bottom:1px solid rgba(5,43,125,.08);
}

.nav-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
    position: relative;
}

.logo{ display:flex; flex-direction:column; }
.logo img{ width:80px; height:auto; display:block; }
.logo span{ letter-spacing:4px; font-size:11px; color:#052b7d; }
.logo h2{ color:var(--primary); font-family:'Cormorant Garamond',serif; font-size:42px; }

.menu{ display:flex; gap:40px; }
.menu a{ text-decoration:none; color:var(--primary); font-weight:600; text-transform:uppercase; font-size:13px; }

.btn{
    background:var(--primary);
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
    border: none;
    cursor: pointer;
}
.btn:hover{ transform:translateY(-2px); }

.menu-toggle { display: none; }
.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--primary); order: 2; align-items: center; gap: 8px; font-weight: 600; }
.hamburger span { font-size: 13px; font-family: 'Montserrat', sans-serif; letter-spacing: 1px; }

@media(max-width:992px){
    .hamburger { display: flex; }
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 30px 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        gap: 25px;
        text-align: center;
        border-top: 1px solid rgba(5,43,125,.05);
    }
    .menu-toggle:checked ~ .menu { display: flex; }
    .nav-btn { padding: 10px 18px; font-size: 13px; }
}


/* GLOBAL BRAND FOOTER */
footer{ background:white; margin-top:80px; border-top:1px solid rgba(5,43,125,.08); }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding:60px 0; }
.footer-title{ color:var(--primary); margin-bottom:15px; font-weight:600; }
footer ul{ list-style:none; }
footer li{ margin-bottom:10px; }
footer a{ text-decoration:none; color:#4c5d7a; }
.copyright{ text-align:center; padding:20px; border-top:1px solid rgba(5,43,125,.08); }

/* =========================
   RESPONSIVE LAYOUT
========================= */

@media (max-width: 992px) {

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}

.section-header{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:2px;
    margin-top:12px;
}

.step-badge{
    width:40px;
    height:40px;
    border-radius:12px;
    background:#6a5cff;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.section-text h2{
    color:var(--primary);
    font-size:12px;
    margin-bottom:2px;
}

.section-text p{
    color:#7d879d;
    font-size:10px;
}

/* ============================================================
   TOOLS SUB-NAVIGATION BAR ARCHITECTURE
   ============================================================ */
.tools-subnav-bar {
    background: #fcfcfd;
    border-bottom: 1px solid #f1f1f5;
    padding: 8px 0;
    font-family: 'Montserrat', sans-serif;
}

.tools-subnav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Breadcrumb Navigation Text Layout */
.tools-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.crumb-root {
    color: #8e8e9f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.crumb-root:hover {
    color: #5031F4; /* Matches signature purple theme */
}

.crumb-divider {
    color: #d5d5e1;
    font-weight: 300;
}

.crumb-active {
    color: #1a1a24;
    font-weight: 600;
}

/* Scalable Suite Link Right Side Hub */
.directory-link-back {
    font-size: 12px;
    font-weight: 600;
    color: #5031F4;
    text-decoration: none;
    background: rgba(80, 49, 244, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.directory-link-back:hover {
    background: rgba(80, 49, 244, 0.1);
    box-shadow: 0 2px 6px rgba(80, 49, 244, 0.05);
}


/* =========================
   CUSTOM POPUP MODAL
========================= */
.modal-overlay {
    display: flex;

    /* =========================
  change display to none to hide
========================= */

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 39, 64, 0.4); /* Uses your --text color with transparency */
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(5, 43, 125, 0.15);
    border: 1px solid rgba(5, 43, 125, 0.05);
    animation: modalFadeIn 0.3s ease forwards;
}

.modal-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-card p {
    color: #52627f;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.modal-btn {
    width: 100%;
    padding: 14px;
}


.section{
    padding:70px 0;
}

.section-title{
    font-family:'Cormorant Garamond',serif;
    font-size:3rem;
    color:var(--primary);
    margin-bottom:30px;
}


/* GALLERY NATIVE SMOOTH SWIPER */
.gallery-carousel-wrapper {
    overflow-x: auto;
    width: 100%;
    position: relative;
    padding: 20px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}
.gallery-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Keeps it completely clean and hidden */
}
.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.gallery-track img {
    width: 260px;
    height: 420px;
    border-radius: 18px;
    object-fit: cover;
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-drag: none; /* Prevents browser ghost-dragging files */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-track img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(5, 43, 125, 0.15);
}

/* LIGHTBOX MODAL STRUCTURE */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 39, 64, 0.95);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
    animation: zoomAnimation 0.25s ease-out;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
}

@keyframes zoomAnimation {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    @media(max-width: 768px) {
    .gallery-track img {
        width: 180px; /* Slightly scaled down sizing variables for smaller mobile viewports */
        height: 300px;
    }
}


     .tools-subnav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .feature-card{
        display:flex;
        flex-direction:row;
        align-items:flex-start;
        gap:12px;
    }

    .feature-left{
        flex:1;
        min-width:0;
    } 

   .feature-info h3{
        font-size:12px;
        white-space:normal; /* allow natural wrapping if needed */
    }

    .feature-info p{
        font-size:13px;
    }

    .points-box{
        width:150px;              /* narrower panel */
        display:flex;
        flex-direction:row;    /* stack contents */
        align-items:right;
        gap:10px;
        padding:5px;
    }
  .points-info{
        width:80%;
    }

    .points-number{
        font-size:12px;
    }

    .points-label{
        font-size:10px;
    }

   .topup-btn{
        width:50%;
        padding:8px 0;
        font-size:13px;
    }

    .upload-box{
        max-width:100%;
    }

    .upload-section{
        flex-direction:column;
        gap:16px;
    }

    .upload-box{
        width:100%;
        min-width:0;
        height:140px;
    }

    .file-list{
        width:100%;
    }

      .preset-grid {
        grid-template-columns: repeat(2, 1fr); /* Fixed: 5 columns break layout on small mobile screens */
        gap: 8px;
    }


      .preset-card {
        aspect-ratio: auto; /* Removes the conflicting card-level aspect ratio */
    }

      .preset-card img {
        aspect-ratio: 2 / 3; 
    }

       .preset-card h4 {
        font-size: 11px;
        padding: 8px 4px;
    }

    .thumbnail{
        aspect-ratio:2/3; /* mobile crop frame */
    }

     .more-card {
        /* Automatically adapts to span both columns on mobile */
        grid-column: 1 / -1; 
        padding: 12px;
    }
    
    .more-icon {
        font-size: 32px; /* Slightly scaled down icon for mobile viewports */
    }

     .thumbnail-selector-matrix-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .nested-tabs-navigation {
        flex-direction: column;
        gap: 6px;
    }

     .quality-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .security-trust-bar {
        flex-direction: column;
        gap: 6px;
    }
    .trust-divider {
        display: none;
    }
}



    
.contact-section{min-height:700px;padding:40px 0;}
