:root {
    --primary: #e11d48; --dark: #451a03; --bg: #ffffff; --text: #1e293b;
}
[data-theme="dark"] {
    --bg: #0f172a; --text: #f1f5f9;
}

body { background: var(--bg); color: var(--text); font-family: sans-serif; transition: 0.3s; }

.brand-logo { font-size: 1.8rem; font-weight: bold; color: var(--primary); }
.brand-logo span { background: var(--dark); color: white; padding: 0 5px; }

nav { display: flex; justify-content: space-between; padding: 20px 10%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
[data-theme="dark"] nav { background: #1e293b; }

.slider { height: 300px; background: #eee; display: flex; align-items: center; justify-content: center; }
.pin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px; }
.pin-card { border: 2px solid var(--primary); padding: 20px; border-radius: 10px; text-align: center; }

.whatsapp-btn { position: fixed; bottom: 20px; right: 20px; background: #25d366; color: white; padding: 15px; border-radius: 50px; text-decoration: none; }








/* Glassmorphism Base */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

/* Brand Styling */
.brand-logo {
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    font-weight: 800;
    color: #451a03; /* IBM Brown */
    line-height: 1;
}

.brand-logo span {
    color: #e11d48; /* IBM Red */
}

.brand-logo small {
    font-size: 10px;
    letter-spacing: 1px;
    color: #64748b;
    margin-top: 4px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link, .drop-trigger {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.2s;
}

.nav-link:hover, .drop-trigger:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

/* Dropdown Menu (Blue Theme) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e3a8a; /* Deep Blue */
    min-width: 220px;
    border-radius: 12px;
    margin-top: 1rem;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.dropdown-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
    font-size: 13px;
    border-radius: 8px;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 20px;
}

/* Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid #e2e8f0;
    padding-left: 1.5rem;
}

.btn-register {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-admin {
    background: #e11d48;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.btn-register:hover, .btn-admin:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}








/* Footer Base Styles */
.main-footer {
    background: #451a03; /* IBM Dark Brown */
    color: #f8fafc;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5%;
}

.footer-section h3 {
    color: #e11d48; /* IBM Red */
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: #e11d48;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
}

.social-link:hover {
    background: #e11d48;
    transform: translateY(-3px);
}

.social-link.wa {
    background: #25d366; /* WhatsApp Green */
}

/* Copyright Bar */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #94a3b8;
}

/* Light version of logo for dark background */
.brand-logo.light {
    color: white;
    margin-bottom: 15px;
}

















.admission-container.full-biodata {
    max-width: 800px; /* Wider for full biodata */
    margin: 40px auto;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.form-section h3 {
    font-size: 1.1rem;
    color: #e11d48;
    margin-bottom: 15px;
}

/* Responsive Grid */
.grid-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .grid-input {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
}