/* =========================================================
   STANDARD CSS FOR SOURASHTRA COLLEGE WEB PORTAL
   Theme: Times New Roman | Red, Blue, Yellow 
========================================================= */
:root {
  --primary-red: #b30000;
  --primary-blue: #003366;
  --accent-yellow: #ffcc00;
  --bg-color: #f4f6fa;
  --text-main: #333333;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--bg-color);
    font-family: "Times New Roman", Times, serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* =====================================
   MAIN CONTAINERS
===================================== */
.scholarship-section,
.pta-container,
.form-box,
.career-container,
.page-container,
.feedback-form,
.menu-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-red);
}

/* =====================================
   TYPOGRAPHY & HEADINGS
===================================== */
h1, h2, h3, .title, .main-title, .page-title {
    color: var(--primary-blue);
    font-family: inherit;
}

h1.main-title, 
h1 {
    text-align: center;
    color: var(--primary-red);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

h2, .section-title, .sub-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 5px;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-red);
}

p, .paragraph, .center-text, .intro-text {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: justify;
}

/* =====================================
   LISTS
===================================== */
.scholarship-section ul, 
.pta-container ul,
.career-container ul,
.feedback-form ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}

.scholarship-section ul li, 
.pta-container ul li,
.career-container ul li,
.feedback-form ul li {
    font-size: 16px;
    margin-bottom: 8px;
}

/* =====================================
   BUTTONS
===================================== */
button, .main-button {
    background: var(--primary-red);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
}

button:hover, .main-button:hover {
    background: var(--primary-blue);
}

.btn-wrapper, .button-row, .btn-wrap {
    text-align: center;
    margin-top: 25px;
}

/* =====================================
   FORMS
===================================== */
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--primary-blue);
}

input, textarea, select {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.form-grid {
    display: flex;
    gap: 20px;
}

.input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.field, .left, .right {
    flex: 1;
}

/* =====================================
   TABLES (Feedback)
===================================== */
.feedback-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 30px;
}

.feedback-table th {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.feedback-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

/* =====================================
   MENU SYSTEM (For index.php)
===================================== */
.menu-header {
    background: var(--primary-red);
    color: white;
    padding: 15px 0;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.menu-section {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    background: #fff;
    border: 1px solid #e1e5ee;
}

.menu-section a {
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: bold;
    display: flex;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.menu-section a:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}
