* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: white;
    border-bottom: 1px solid #eee;
    height: 80px;
    
    /* Stick to top */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures it stays above all other content */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    height: 60px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00; /* Academic Blue */
}

/* Hero Section */
.hero {
    height: 100vh; /* Full screen height */
    /* background-attachment: fixed creates the "sticky" background effect */
    background: url('img/pantas3.png') no-repeat center center/cover fixed; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Animation */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: inherit;
    z-index: 1;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    color: #00004d; /* Deep Blue from Logo */
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

/* Login Button */
.login-btn {
    background: linear-gradient(to bottom, #f39c12, #e67e22);
    color: white;
    border: none;
    padding: 12px 60px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(230, 126, 34, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 20px rgba(230, 126, 34, 0.6);
}

/* Text Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards ease-out;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ... (Previous CSS) ... */

.about-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 800px;
}

.about-logo {
    width: 200px;
    margin-bottom: 40px;
}

.tagline {
    color: #00004d; /* Navy blue from logo */
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
}

.description {
    color: #444;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-motto {
    color: #00004d;
    font-style: italic;
    font-weight: 600;
    font-size: 20px;
}

/* Scroll Animation Class */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background-color: #fff;
    padding: 60px 50px 30px;
    border-top: 1px solid #eee;
    color: #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #000;
}

/* Branding Column */
.footer-logo { height: 50px; display: block; margin-bottom: 10px; }
.footer-logo-sub { height: 60px; display: block; margin-bottom: 30px; }
.copyright { font-size: 14px; color: #666; margin-top: 20px; }

/* Quick Links */
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { 
    text-decoration: none; 
    color: #444; 
    font-size: 14px;
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: #ffcc00; }

/* Contact Column */
.footer-col p { 
    font-size: 14px; 
    line-height: 1.6; 
    margin-bottom: 15px; 
    color: #444;
}
.footer-col a { text-decoration: none; color: #00004d; border-bottom: 1px solid #00004d; }
.schedule { font-weight: 600; }

/* Slideshow Animation for Logos */
.logo-slider { overflow: hidden; padding: 40px 0; }
.logo-track {
    display: flex;
    width: calc(250px * 6);
    animation: scroll 20s linear infinite;
}
.logo-track img { width: 120px; margin: 0 40px; filter: grayscale(1); opacity: 0.6; transition: 0.3s; }
.logo-track img:hover { filter: grayscale(0); opacity: 1; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 3)); }
}


/* Contact Page Specific Layout */
.contact-page {
    background-color: #fff;
    min-height: 100vh;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    position: relative;
    z-index: 2;
}

.contact-info-section {
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a4b;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-detail {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Form Styling */
.form-box {
    background-color: #ededed;
    width: 90%;
    max-width: 650px;
    padding: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-instruction {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #777;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.form-footer {
    display: flex;
    justify-content: flex-end; /* Aligns button to the right as per image */
    margin-top: 10px;
}

.send-btn {
    background: #fff;
    border: 1px solid #333;
    padding: 10px 40px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background-color: #1a1a4b;
    color: white;
    border-color: #1a1a4b;
}

/* Reusing your watermark logic */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: url('img/pantas3.png') no-repeat center;
    background-size: contain;
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

.modal{
    display:none;
    position:fixed;
    z-index:1000;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

.modal-content{
    background:white;
    width:380px;
    margin:8% auto;
    padding:30px;
    border-radius:8px;
    text-align:center;
    position:relative;
}

.modal-content h2{
    margin-bottom:15px;
}

.modal-content input{
    width:100%;
    padding:10px;
    margin:8px 0;
    border:1px solid #ccc;
    border-radius:5px;
}

.modal-content button{
    width:100%;
    padding:12px;
    background:#2f6fed;
    border:none;
    color:white;
    border-radius:5px;
    cursor:pointer;
}

.close-btn{
    position:absolute;
    top:10px;
    right:15px;
    font-size:22px;
    cursor:pointer;
}
