:root {
    --maroon: #8b1e1e;
    --gold: #ffcc00;
    --light-bg: #f4f7f6;
    --shadow: 0px 4px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: #ffa500;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
}

.school-name h1 {
    font-size: 1.5rem;
    color: #333;
    letter-spacing: 1px;
}

.school-name p {
    font-size: 0.8rem;
    color: #666;
}

.nav-icons i {
    font-size: 1.5rem;
    color: #2e5cb8;
    margin-left: 20px;
    cursor: pointer;
}

/* Banner */
.banner {
    background-color: var(--maroon);
    color: var(--gold);
    text-align: center;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Sidebar & Notice */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 30%;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.social-sidebar a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-bottom: 5px;
    border-radius: 0 5px 5px 0;
}

.fb { background: #3b5998; }
.phone { background: #56ace0; }
.whatsapp { background: #25d366; }
.mail { background: #f4b400; }

.news-tab {
    position: fixed;
    right: 0;
    top: 35%;
    background: var(--gold);
    color: var(--maroon);
    padding: 15px 5px;
    writing-mode: vertical-rl;
    font-weight: bold;
    border-radius: 10px 0 0 10px;
    box-shadow: var(--shadow);
    border: 2px solid var(--maroon);
}

/* Main Container */
.main-container {
    padding: 40px 10%;
    display: flex;
    justify-content: center;
}

.form-section {
    background: #fff;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.section-title {
    color: #333;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.subtitle {
    color: #2e5cb8;
    margin-bottom: 30px;
}

/* Form Styles */
.tc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--maroon);
}

.input-group input {
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

.attachment-box {
    grid-column: span 2;
    border: 2px dashed var(--maroon);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    background: #fff9f9;
}

.file-hint {
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

.submit-btn {
    grid-column: span 2;
    padding: 15px;
    border-radius: 30px;
    border: none;
    background: var(--maroon);
    color: var(--gold);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    letter-spacing: 2px;
    background: #5e1515;
}

/* Responsive */
@media (max-width: 768px) {
    .tc-form { grid-template-columns: 1fr; }
    .attachment-box, .submit-btn { grid-column: span 1; }
    .main-container { padding: 20px 5%; }
}