@import url('https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap');

:root {
    /* Original Color Palette */
    --primary-color: #0f2b48;
    --primary-light: #1a365d;
    --accent-color: #d69e2e;
    --accent-hover: #b7791f;
    --accent-glow: rgba(214, 158, 46, 0.4);
    
    --bg-color: #f7fafc;
    --card-bg: #ffffff;
    --text-color: #2d3748;
    --text-muted: #4a5568;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================= 1. Page Smooth Entrance Animation ================= */
@keyframes pageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body { 
    font-family: 'Padauk', 'Pyidaungsu', 'Myanmar Text', sans-serif; 
    background-color: var(--bg-color) !important; 
    color: var(--text-color); 
    line-height: 1.6;
    overflow-x: hidden;
    animation: pageFadeIn 1.2s ease-out forwards;
}

/* ================= Keyframe Animations ================= */

/* 2. Hero Logo Floating Motion */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.35));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0px 14px 22px rgba(214, 158, 46, 0.35));
    }
}

/* 3. Countdown Box Pulse Glow */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(214, 158, 46, 0.3);
        border-color: rgba(214, 158, 46, 0.35);
    }
    50% {
        box-shadow: 0 0 30px rgba(214, 158, 46, 0.65);
        border-color: rgba(246, 224, 94, 0.8);
    }
}

/* ================= Hero Section ================= */
.hero { 
    background: linear-gradient(135deg, rgba(15, 43, 72, 0.94), rgba(3, 18, 26, 0.96)), 
                url('images/students.jpg') center/cover no-repeat fixed; 
    color: #ffffff; 
    text-align: center; 
    padding: 90px 20px 70px 20px; 
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-logo {
    height: 160px; 
    width: auto; 
    object-fit: contain;
    animation: floatLogo 4s ease-in-out infinite;
    transition: var(--transition-smooth);
    margin-bottom: 15px;
}

.hero h1:nth-of-type(1) { 
    font-size: 38px; 
    margin-bottom: 8px; 
    color: var(--accent-color); 
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

.hero h1:nth-of-type(2) { 
    font-size: 22px; 
    margin-bottom: 20px; 
    color: #e2e8f0; 
    font-weight: 400;
    opacity: 0.95;
}

.hero p { 
    font-size: 16px; 
    max-width: 680px;
    margin: 0 auto 30px auto; 
    color: #cbd5e0; 
}

/* ================= Buttons & Notices ================= */
.btn-primary { 
    background: linear-gradient(135deg, #d69e2e, #b7791f); 
    color: #0f2b48; 
    padding: 14px 42px; 
    font-size: 17px; 
    font-weight: bold; 
    border-radius: 50px; 
    text-decoration: none; 
    display: inline-block; 
    transition: var(--transition-smooth); 
    box-shadow: 0 6px 20px var(--accent-glow); 
}

.btn-primary:hover { 
    background: linear-gradient(135deg, #f6e05e, #d69e2e); 
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 28px rgba(214, 158, 46, 0.55);
}

.closed-notice {
    background: rgba(229, 62, 62, 0.15); 
    border: 1px solid #fc8181; 
    padding: 12px 26px; 
    border-radius: 30px; 
    display: inline-block; 
    color: #feb2b2; 
    font-weight: bold; 
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

/* ================= Countdown Box ================= */
.hero-countdown-box {
    background: rgba(15, 43, 72, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 22px 32px;
    border-radius: 20px;
    display: inline-block;
    color: #fff;
    border: 1px solid rgba(214, 158, 46, 0.35);
    margin-bottom: 28px;
    animation: pulseGlow 3s infinite ease-in-out;
}

.countdown-title {
    font-size: 16px;
    margin-bottom: 14px;
    color: #f6e05e;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.countdown-timer {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.time-block {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 12px;
    min-width: 65px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.time-block:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.time-block span {
    font-size: 26px;
    font-weight: 700;
    display: block;
    color: #63b3ed;
    font-family: 'Courier New', Courier, monospace;
}

.time-block label {
    font-size: 12px;
    color: #a0aec0;
}

/* ================= Features Section ================= */
.features { 
    max-width: 1140px; 
    margin: 50px auto 70px auto; 
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

/* Results Box */
.results-box {
    background: var(--card-bg); 
    padding: 35px; 
    border-radius: 20px; 
    text-align: center; 
    box-shadow: 0 10px 25px rgba(15, 43, 72, 0.05); 
    border-top: 5px solid #38a169;
    grid-column: 1 / -1;
    transition: var(--transition-smooth);
}

.results-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(56, 161, 105, 0.15);
}

.results-title {
    color: #276749; 
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
}

.year-form {
    margin-bottom: 24px;
}

.year-label {
    font-weight: bold; 
    margin-right: 10px;
    color: var(--text-muted);
}

.year-select {
    padding: 10px 20px; 
    border-radius: 10px; 
    border: 1.5px solid #cbd5e0;
    outline: none;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.year-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.2);
}

.pdf-container {
    display: flex; 
    justify-content: center; 
    gap: 16px; 
    flex-wrap: wrap;
}

/* PDF Download Button */
.btn-pdf {
    background: linear-gradient(135deg, #38a169, #2f855a); 
    color: white; 
    padding: 12px 26px; 
    text-decoration: none; 
    border-radius: 10px; 
    font-weight: bold;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.25);
}

.btn-pdf:hover {
    background: linear-gradient(135deg, #2f855a, #276749);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(56, 161, 105, 0.38);
}

.no-pdf-msg {
    color: #e53e3e; 
    font-weight: bold; 
    margin: 10px 0;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    padding: 12px 24px;
    border-radius: 10px;
    display: inline-block;
}

/* ================= Feature Cards ================= */
.card { 
    background: var(--card-bg); 
    padding: 32px; 
    border-radius: 20px; 
    box-shadow: 0 6px 20px rgba(15, 43, 72, 0.04); 
    text-align: center; 
    border-top: 5px solid var(--accent-color); 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(15, 43, 72, 0.12);
}

.card h3 { 
    color: var(--primary-color); 
    font-size: 20px;
    margin-bottom: 14px; 
    font-weight: 700;
}

.card p { 
    color: var(--text-muted); 
    font-size: 15px; 
    line-height: 1.6; 
    margin-bottom: 24px;
}

.card a { 
    display: inline-block; 
    color: var(--primary-color); 
    font-weight: bold; 
    text-decoration: none; 
    font-size: 15px;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 8px;
}

.card a:hover { 
    color: var(--accent-hover); 
    background: rgba(214, 158, 46, 0.12);
    transform: translateX(3px);
}

/* ================= Mobile Responsive ================= */
@media (max-width: 768px) {
    .hero { padding: 60px 15px 45px 15px; }
    .hero-logo { height: 130px; }
    .hero h1:nth-of-type(1) { font-size: 28px; }
    .hero h1:nth-of-type(2) { font-size: 18px; }
    .hero p { font-size: 14px; }
    .countdown-timer { gap: 10px; }
    .time-block { min-width: 52px; padding: 8px 10px; }
    .time-block span { font-size: 20px; }
    .results-box, .card { padding: 24px; }
}


/*@import url('https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap');

:root {
    --primary-color: #0f2b48;
    --primary-light: #1a365d;
    --accent-color: #d69e2e;
    --accent-hover: #b7791f;
    --bg-color: #f7fafc;
    --card-bg: #ffffff;
    --text-color: #2d3748;
    --text-muted: #4a5568;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body { 
    font-family: 'Padauk', 'Pyidaungsu', 'Myanmar Text', sans-serif; 
    background: var(--bg-color); 
    color: var(--text-color); 
    line-height: 1.6;
}*/

/* ================= Hero Section ================= 
.hero { 
    background: linear-gradient(135deg, rgba(15, 43, 72, 0.92), rgba(3, 18, 26, 0.95)), 
                url('images/students.jpg') center/cover no-repeat fixed; 
    color: #ffffff; 
    text-align: center; 
    padding: 80px 20px 60px 20px; 
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-logo {
    height: 160px; 
    width: auto; 
    object-fit: contain;
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
    margin-bottom: 10px;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero h1:nth-of-type(1) { 
    font-size: 36px; 
    margin-bottom: 6px; 
    color: var(--accent-color); 
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

.hero h1:nth-of-type(2) { 
    font-size: 22px; 
    margin-bottom: 18px; 
    color: #e2e8f0; 
    font-weight: 400;
    opacity: 0.9;
}

.hero p { 
    font-size: 16px; 
    max-width: 680px;
    margin: 0 auto 30px auto; 
    color: #cbd5e0; 
}*/

/* Primary Button 
.btn-primary { 
    background: linear-gradient(135deg, #d69e2e, #b7791f); 
    color: #0f2b48; 
    padding: 14px 40px; 
    font-size: 17px; 
    font-weight: bold; 
    border-radius: 50px; 
    text-decoration: none; 
    display: inline-block; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 18px rgba(214, 158, 46, 0.35); 
}

.btn-primary:hover { 
    background: linear-gradient(135deg, #f6e05e, #d69e2e); 
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.5);
}

.closed-notice {
    background: rgba(229, 62, 62, 0.15); 
    border: 1px solid #fc8181; 
    padding: 12px 24px; 
    border-radius: 30px; 
    display: inline-block; 
    color: #feb2b2; 
    font-weight: bold; 
    margin-bottom: 20px;
}*/

/* Countdown Box 
.hero-countdown-box {
    background: rgba(15, 43, 72, 0.6);
    backdrop-filter: blur(10px);
    padding: 18px 30px;
    border-radius: 16px;
    display: inline-block;
    color: #fff;
    border: 1px solid rgba(214, 158, 46, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
}

.countdown-title {
    font-size: 15px;
    margin-bottom: 12px;
    color: #f6e05e;
    font-weight: bold;
}

.countdown-timer {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.time-block {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-block span {
    font-size: 24px;
    font-weight: 700;
    display: block;
    color: #63b3ed;
    font-family: monospace;
}

.time-block label {
    font-size: 12px;
    color: #a0aec0;
}*/

/* ================= Features Section ================= 
.features { 
    max-width: 1140px; 
    margin: 40px auto 60px auto; 
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 25px; 
}*/

/* Results Box 
.results-box {
    background: var(--card-bg); 
    padding: 30px; 
    border-radius: 16px; 
    text-align: center; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.04); 
    border-top: 5px solid #38a169;
    grid-column: 1 / -1;
}

.results-title {
    color: #276749; 
    font-size: 20px;
    margin-bottom: 18px;
}

.year-form {
    margin-bottom: 22px;
}

.year-label {
    font-weight: bold; 
    margin-right: 8px;
    color: var(--text-muted);
}

.year-select {
    padding: 8px 16px; 
    border-radius: 8px; 
    border: 1.5px solid #cbd5e0;
    outline: none;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.year-select:focus {
    border-color: var(--accent-color);
}

.pdf-container {
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    flex-wrap: wrap;
}

.btn-pdf {
    background: #38a169; 
    color: white; 
    padding: 11px 22px; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.2);
}

.btn-pdf:hover {
    background: #2f855a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(56, 161, 105, 0.3);
}

.no-pdf-msg {
    color: #e53e3e; 
    font-weight: bold; 
    margin: 10px 0;
    background: #fff5f5;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}*/

/* Feature Cards 
.card { 
    background: var(--card-bg); 
    padding: 30px; 
    border-radius: 16px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.04); 
    text-align: center; 
    border-top: 5px solid var(--accent-color); 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.card h3 { 
    color: var(--primary-color); 
    font-size: 19px;
    margin-bottom: 12px; 
}

.card p { 
    color: var(--text-muted); 
    font-size: 14px; 
    line-height: 1.6; 
    margin-bottom: 20px;
}

.card a { 
    display: inline-block; 
    color: var(--primary-color); 
    font-weight: bold; 
    text-decoration: none; 
    font-size: 15px;
    transition: color 0.2s;
}

.card a:hover { 
    color: var(--accent-color); 
}*/

/* Mobile Responsive 
@media (max-width: 768px) {
    .hero { padding: 60px 15px 40px 15px; }
    .hero-logo { height: 120px; }
    .hero h1:nth-of-type(1) { font-size: 26px; }
    .hero h1:nth-of-type(2) { font-size: 18px; }
    .hero p { font-size: 14px; }
    .countdown-timer { gap: 8px; }
    .time-block { min-width: 48px; padding: 6px 10px; }
    .time-block span { font-size: 18px; }
}*/