/* css/style.css - Modern Homepage & Original Login Page */

/* 1. CSS Variables & Base Setup */
:root {
    --dark-blue: #12232E;
    --shadow-blue: #203647;
    --primary-blue: #007CC7;
    --light-blue: #4DA8DA;
    --lightest-blue: #EEFBFB;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-family: 'Kanit', sans-serif;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

body {
    font-family: var(--font-family);
    background-color: #f0f4f8;
    color: var(--dark-blue);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--light-blue); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-blue); }

/* 2. Navigation Bar */
.navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
    background-color: transparent;
}
.navbar.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand img { border-radius: 50%; }
.navbar .btn { transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.navbar .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* 3. Hero Section with Aurora Background */
.hero-section {
    position: relative; padding: 120px 0; color: var(--white);
    overflow: hidden; background-color: var(--dark-blue);
}
.hero-section::before, .hero-section::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 800px; height: 800px; border-radius: 50%;
    transform: translate(-50%, -50%); filter: blur(150px);
    opacity: 0.3; z-index: 0;
}
.hero-section::before { background: radial-gradient(circle, var(--primary-blue), transparent 60%); animation: aurora-one 20s infinite linear; }
.hero-section::after { background: radial-gradient(circle, var(--light-blue), transparent 60%); animation: aurora-two 25s infinite linear; }
.hero-section .container { position: relative; z-index: 1; }
.hero-section h1 { font-weight: 700; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-section .lead { font-size: 1.4rem; max-width: 600px; margin: 1.5rem auto; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-section .btn { padding: 12px 30px; font-size: 1.1rem; border-radius: 50px; transition: all 0.3s ease; }
.hero-section .btn:hover { transform: scale(1.05); }
@keyframes aurora-one { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(100px); } 50% { transform: translate(-50%, -50%) rotate(180deg) translateX(100px); } 100% { transform: translate(-50%, -50%) rotate(360deg) translateX(100px); } }
@keyframes aurora-two { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(-100px); } 50% { transform: translate(-50%, -50%) rotate(-180deg) translateX(-100px); } 100% { transform: translate(-50%, -50%) rotate(-360deg) translateX(-100px); } }

/* 4. Section Styling & Animations */
section { opacity: 0; transform: translateY(30px); animation: fadeIn-up 0.8s forwards ease-out; }
.section-title { font-weight: 700; color: var(--dark-blue); margin-bottom: 3rem; text-align: center; }
@keyframes fadeIn-up { to { opacity: 1; transform: translateY(0); } }

/* 5. Features Section */
.feature-card {
    border: 1px solid var(--glass-border); border-radius: 1rem; padding: 2rem; text-align: center;
    background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease; box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 16px 40px rgba(31, 38, 135, 0.15); border-color: rgba(255,255,255,0.4); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 70px; height: 70px; border-radius: 50%; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white); font-size: 2rem; box-shadow: 0 5px 15px rgba(0, 124, 199, 0.3);
}
.feature-card h3 { color: var(--shadow-blue); font-weight: 500; }

/* 6. Carousel & Stats Sections */
.bg-light { background-color: #f0f4f8 !important; }
#techCarousel { border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.carousel-item img { filter: brightness(0.8); }
.stat-box { border: none; border-radius: 1rem; box-shadow: var(--shadow); transition: all 0.3s ease; background-color: var(--white); }
.stat-box:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(31, 38, 135, 0.12); }
.stat-box .display-4 { color: var(--primary-blue); }

/* 7. Footer */
.footer { background-color: var(--dark-blue); color: rgba(255,255,255,0.7); }
.footer a { color: var(--white); text-decoration: none; transition: color 0.3s ease; }
.footer a:hover { color: var(--light-blue); }
.footer img { border: 2px solid var(--light-blue); }

/* 8. Utility & Animation Trigger */
.animated { opacity: 0; }
.honeypot { display: none; }

/* --- ✨ Original Login Page Styles --- */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #EEFBFB 0%, #4DA8DA 100%);
}
.login-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}