@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600&display=swap');
:root {
    --primary-blue: #003366;
    --accent-orange: #FF8C00;
    --light-white: #FFFFFF;
    --soft-gray: #f8f9fa;
}

body {
    font-family: 'Kanit', sans-serif;
    color: #333;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    background-color: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand, .nav-link {
    color: white !important;
}
.nav-link:hover {
    color: var(--accent-orange) !important;
}

/* Section Styling */
.section-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    margin: 15px auto;
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.category-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.category-name {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Prize Cards */
.prize-card {
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    background: white;
    transition: 0.3s;
}
.prize-header {
    background: var(--primary-blue);
    color: white;
    padding: 20px;
    text-align: center;
}
.prize-header.featured {
    background: var(--accent-orange);
}
.prize-body {
    padding: 30px;
}
.prize-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}
.prize-label {
    font-weight: 400;
}
.prize-amount {
    font-weight: 600;
    color: var(--accent-orange);
}

/* Download Section Styling */
.download-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-orange);
    transition: 0.3s;
}
.download-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.download-info {
    display: flex;
    align-items: center;
}
.download-icon {
    font-size: 2.5rem;
    margin-right: 20px;
}
.icon-pdf { color: #dc3545; }
.icon-word { color: #2b579a; }

.download-text h6 {
    margin-bottom: 2px;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Contact Section */
.contact-info-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}
.contact-detail-item {
    display: flex;
    margin-bottom: 15px;
}
.contact-detail-item i {
    color: var(--accent-orange);
    width: 30px;
    margin-top: 5px;
}
.qr-box {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: 0.3s;
}
.qr-box:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.qr-image {
    width: 120px;
    height: 120px;
    background: #ddd;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}
.qr-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Login Section & Form Styling */
.login-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.login-header {
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    text-align: center;
}
.login-body {
    padding: 35px;
    background: white;
}
.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ddd;
}
.form-control:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* CTA Buttons */
.btn-custom {
    background-color: var(--accent-orange);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    border: none;
}
.btn-custom:hover {
    background-color: #e67e00;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
    transform: scale(1.05);
}

.btn-outline-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    padding: 8px 25px;
    transition: 0.3s;
}
.btn-outline-custom:hover {
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
}

.btn-login-nav {
    background-color: rgba(255,255,255,0.1);
    color: white !important;
    border: 1px solid white;
    border-radius: 50px;
    padding: 5px 20px !important;
    margin-left: 10px;
    transition: 0.3s;
}
.btn-login-nav:hover {
    background-color: white;
    color: var(--primary-blue) !important;
}

footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 40px 0;
    margin-top: 80px;
}

.bg-blue {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .download-item { flex-direction: column; text-align: center; padding: 25px; }
    .download-info { flex-direction: column; margin-bottom: 20px; }
    .download-icon { margin-right: 0; margin-bottom: 10px; }
    .login-body { padding: 30px 20px; }
}

// Card Animate

#fh5co-services, #fh5co-testimonials, #fh5co-counters, #fh5co-work, #fh5co-contact, #fh5co-about {
    padding: 4em 0;
}
@media screen and (max-width: 768px) {
    #fh5co-services, #fh5co-testimonials, #fh5co-counters, #fh5co-work, #fh5co-contact, #fh5co-about {
    padding: 2em 0;
    }
}

#fh5co-services, #fh5co-work, #fh5co-counters {
    padding: 7em 0;
}
@media screen and (max-width: 768px) {
    #fh5co-services, #fh5co-work, #fh5co-counters {
    padding: 4em 0;
    }
}

.fh5co-person {
    border: 2px solid #f2f2f2;
    padding: 80px 30px 30px 30px;
    float: left;
    width: 100%;
    position: relative;
    }
    @media screen and (max-width: 992px) {
    .fh5co-person {
        margin-bottom: 3.5em;
    }
    }
    .fh5co-person figure {
    position: absolute;
    margin-top: -60px;
    top: 0;
    left: 50%;
    margin-left: -60px;
    display: block;
    margin-bottom: 50px;
    }
    .fh5co-person figure img {
    width: 120px;
    border: 2px solid #f2f2f2;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    }
    .fh5co-person h3 {
    margin-bottom: 0px;
    }
    .fh5co-person .fh5co-position {
    color: #b3b3b3;
    display: block;
    margin-bottom: 20px;
    }

    #fh5co-contact {
    padding-bottom: 0;
    }
    #fh5co-contact .fh5co-contact-info {
    padding: 0;
    margin: 0 0 1.5em 0;
    }
    #fh5co-contact .fh5co-contact-info li {
    position: relative;
    padding: 0;
    margin: 0 0 1.5em 0;
    padding-left: 50px;
    list-style: none;
    }
    #fh5co-contact .fh5co-contact-info li i {
    position: absolute;
    top: .2em;
    left: 0;
    }

#fh5co-counters {
    background: #52d3aa;
    overflow: hidden;
    background-color: transparent;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    width: 100%;
    padding: 9em 0 10em 0;
    }
    @media screen and (max-width: 768px) {
    #fh5co-counters {
        padding: 4em 0;
    }
    }
    #fh5co-counters .fh5co-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    }
    #fh5co-counters:before, #fh5co-counters:after {
    position: absolute;
    transform: rotate(-1.7deg);
    -ms-transform: rotate(-1.7deg);
    -webkit-transform: rotate(-1.7deg);
    -o-transform: rotate(-1.7deg);
    -moz-transform: rotate(-1.7deg);
    background-color: #fff;
    content: "";
    z-index: 3;
    display: inline-block;
    height: 70px;
    padding: 0;
    width: 101%;
    }
    #fh5co-counters:before {
    top: 0;
    margin-top: -35px;
    }
    #fh5co-counters:after {
    bottom: 0;
    margin-bottom: -35px;
    }
    #fh5co-counters .section-heading {
    position: relative;
    z-index: 3;
    margin-bottom: 0;
    }
    #fh5co-counters .section-heading h2 {
    color: #fff;
    }
    #fh5co-counters .section-heading h2:after {
    background: rgba(255, 255, 255, 0.3) !important;
    }
    #fh5co-counters .section-heading .subtext h3 {
    color: rgba(255, 255, 255, 0.7) !important;
    }
    #fh5co-counters .fh5co-counter {
    position: relative;
    z-index: 3;
    text-align: center;
    }
    @media screen and (max-width: 992px) {
    #fh5co-counters .fh5co-counter {
        margin-bottom: 50px;
        float: left;
        width: 100%;
    }
    }
    #fh5co-counters .fh5co-counter .fh5co-counter-icon,
    #fh5co-counters .fh5co-counter .fh5co-counter-number,
    #fh5co-counters .fh5co-counter .fh5co-counter-label {
    display: block;
    }
    #fh5co-counters .fh5co-counter .fh5co-counter-icon {
    font-size: 40px;
    color: #52d3aa;
    }
    #fh5co-counters .fh5co-counter .fh5co-counter-number {
    font-size: 70px;
    color: #fff;
    font-weight: 300;
    }
    #fh5co-counters .fh5co-counter .fh5co-counter-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 400;
    }

// Animation

.js .to-animate,
.js .to-animate-2,
.js .single-animate {
    opacity: 0;
}