:root {
    --primary-blue: #000080;
    --secondary-blue: #000070;
    --light-accent-orange: #e1a169;
    --accent-orange: #e67e22;
    --accent-orange-hover: #d35400;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);

    /* --kmitl-red: #660000; */
    --kmitl-red: #e67e22;
    --shadow-float: 0 10px 30px rgba(0,0,0,0.1);
    --radius-md: 12px;

    box-shadow: 2px;
}

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

body {
    font-family: 'Sarabun', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Forces body to be at least full screen height */
    margin: 0;
}

#navbar-placeholder + section, 
main, 
.hero-subpage {
    flex: 1 0 auto;
}

h1, h2, h3, .nav-link, .btn {
    font-family: 'Prompt', sans-serif;
}

.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.hero-home {
    position: relative;
    padding-top: 70px;
    padding-left: 30px;
    height: 100vh; /* Taller for impact */
    display: flex;
    align-items: center;
    background-image: url('/images/home-img1.jpg'); /* Root-relative path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-home .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,80,0.85) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-home .container {
    position: relative;
    z-index: 2;
    color: var(--white);
}

/* CTA Button Specific to Home */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-family: 'Prompt', sans-serif;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--bg-light);
    color: var(--accent-orange-hover);
}


@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header {
        padding: 0;
    }
    .page-title { 
        font-size: 1.5rem;
    }
}