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

}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0e1a2b;
    color: #f0f0f0;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}
/* NAVBAR MAIN CONTAINER */
nav {
    position: fixed;
    display: flex;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(5px);
    padding: 0 30px;
    box-shadow: 0 0 15px #72a1de68;
    z-index: 999;
    font-family: "Inter", sans-serif; /* keeps font consistent */
}

/* LEFT SECTION */
nav .left {
    display: flex;
    align-items: center;
}

nav .left h1{
    font-size: 30px;
    display: flex;
    align-items: center;
}

nav .left img {
    width: 40px;
    margin: 0 15px;
}

/* MENU LIST */
nav ul {
    display: flex;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #727fde65;
    cursor: pointer;
}

nav ul li {
    list-style: none;
}

nav ul a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    margin: 0 10px;
    font-family: inherit; /* force to use nav font */
}

/* ICON BOXES */
nav .box-icons {
    display: flex;
    gap: 40px;
}

nav .box-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgray;
    border-radius: 50%;
    transition: 0.3s;
}

nav .box-icons a:hover {
    background-color: #727fde;
    color: black;
    box-shadow: 0 0 15px #727fde6f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
        gap: 10px;
    }

    nav .left {
        justify-content: center;
        width: 100%;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        padding: 10px;
        margin: 0;
    }

    nav ul a {
        margin: 5px 10px;
        font-size: 15px;
    }

    nav .box-icons {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
    }

    nav .box-icons a {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}


.container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding:150px 20px 20px;
}

h1 {
    color: #ffc500;
    font-size: 2.5em;
    
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    color: #a7a7a7;
    margin-top: 5px;
    margin-bottom: 30px;
    font-weight: normal;
    font-size: 1.2em;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 80%;
    gap: 15px;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.card {
    width: 160px;
    height: 240px;
    background: linear-gradient(135deg, #2a3a5a 0%, #1a263a 100%);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 2px solid #3a4a6a;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-color: #ffc500;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffc500;
    font-size: 0.9em;
    font-weight: bold;
    padding: 8px 5px;
    text-align: center;
    border-bottom: 1px solid #3a4a6a;
}

.card-image {
    height: 90px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #3a4a6a;
}


.card-details {
    padding: 8px;
    font-size: 0.7em;
    line-height: 1.3;
    overflow-y: auto;
    flex-grow: 1;
}

.card-details p {
    margin: 5px 0;
}

.card-details strong {
    color: #ffc500;
}

.nav-button {
    background-color: rgba(255, 197, 0, 0.8);
    color: #0e1a2b;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.nav-button:hover {
    background-color: #ffd700;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.left-button {
    margin-right: 10px;
}

.right-button {
    margin-left: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .gallery {
        width: 85%;
    }
    
    .card {
        width: 140px;
        height: 210px;
    }
    
    .card-header {
        font-size: 0.8em;
        padding: 6px 3px;
    }
    
    .card-image {
        height: 70px;
    }
    
    .card-details {
        font-size: 0.65em;
        padding: 5px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1em;
    }
    
    .gallery {
        width: 90%;
    }
    
    .card {
        width: 120px;
        height: 180px;
    }
    
    .card-header {
        font-size: 0.7em;
        padding: 5px 2px;
    }
    
    .card-image {
        height: 60px;
    }
    
    .card-details {
        font-size: 0.6em;
    }
    
    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
}
  /* Reset default spacing */
html, body {
    margin: 0;
    padding: 0;
}

/* Footer Base */
.custom-footer {
    background-color: #0a0c1a;
    color: lightgray;
    padding: 40px 20px 0;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

/* Footer Top Section */
.custom-footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;   /* ✅ content stays centered */
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Columns */
.custom-footer .footer-col {
    flex: 1 1 180px;
    margin: 20px;
}

/* Logo */
.custom-footer .footer-logo .logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-footer .footer-logo .logo-title img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.custom-footer .footer-logo h2 {
    font-size: 28px;
    color: #727fde;
    
    font-family: 'Cinzel Decorative', serif;
    font-weight: bold;
}

.custom-footer .footer-logo p {
    margin-top: 0;
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
}

/* Links */
.custom-footer .footer-col h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.custom-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer .footer-col ul li {
    margin-bottom: 15px;
}

.custom-footer .footer-col ul li a {
    text-decoration: none;
    color: #aaa;
    transition: 0.3s;
}

.custom-footer .footer-col ul li a:hover {
    color: white;
    text-shadow: 0 0 10px #727fdeaa;
}

/* Social Icons */
.custom-footer .footer-socials a {
    display: inline-block;
    font-size: 25px;
    margin-right: 15px;
    color: #727fde;
    transition: transform 0.3s cubic-bezier(1, 1.56, 0.64, 1), color 0.3s ease;
}

.custom-footer .footer-socials a:hover {
    color: white;
    text-shadow: 0 0 10px #727fde;
    transform: translateY(-8px) rotate(-360deg);
}

/* Footer Bottom */
.custom-footer .footer-bottom {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    background-color: rgb(13, 13, 44);
    color: lightgray;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}


/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .custom-footer .footer-top {
        flex-direction: column;
        align-items: center; 
    }

    .custom-footer .footer-col,
    .custom-footer .footer-logo {
        flex: 1 1 100%; 
        margin: 15px 0; /* Mobile မှာ vertical margin ထားဖို့ */
        text-align: center; 
        max-width: 90%; /* Smaller screens မှာပိုကျယ်အောင် */
    }
    .custom-footer .footer-logo .logo-title {
        margin-bottom: 10px; 
    }
    .custom-footer .footer-logo h2 {
        margin-bottom: 10px; 
    }
    .custom-footer .footer-logo p {
         line-height: 1.3; 
         max-width: unset; 
         padding: 0 10px; 
    }
    .custom-footer .footer-socials {
        justify-content: center; 
    }
}

@media (max-width: 480px) {
    .custom-footer .footer-logo {
        max-width: 95%; /* ပိုသေးတဲ့ screen အတွက် ပိုကျယ်အောင် */
    }
}



@media (max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}