/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f9f9f9;
}

/* Header Container */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    width: 100%;
    padding: 15px 40px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Area Layout */
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 10px;
    line-height: 1.1;
    color: #111;
    letter-spacing: 0.5px;
}

/* Navigation Links */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #004aad; /* Optional hover color */
}

/* Dropdown arrow styling */
.main-nav .fa-chevron-down {
    font-size: 11px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Get in Touch Button */
.btn-get-in-touch {
    display: inline-block;
    background-color: #000000;
    color: #ffd700; /* Yellow text */
    padding: 12px 28px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-get-in-touch:hover {
    background-color: #222222;
}

/* Responsive handling for smaller screens */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 20px;
    }
    .site-header {
        padding: 15px 20px;
    }
}
.first-subtext{
  font-size: 50px;
  padding-top: 20px;
  font-style: italic;
font-family: 'Instrument Serif', serif;
padding-left: 20px;
color: #ffffff;
text-align: center;
}
.first-text{
  font-size: 85px;
  padding-top: 50px;
  font-style: italic;
font-family: 'Instrument Serif', serif;
padding-left: 20px;
color: #ff0000;
text-align: center;
}
.first-back {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
     url("e8b22fef-3a4c-4bcf-be75-18665c2b3438.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;

}
.first-subtext2{
  font-size: 20px;
  padding-top: 10px;
  font-style: italic;
font-family: 'Instrument Serif', serif;
padding-left: 20px;
color: #dfe1ee;
text-align: center;
}

.dropdown {
    position: relative;
    padding-left: 50px;
}

.dropdown summary {
     display: inline-block;
    cursor: pointer;
    list-style: none;
    color: #fff;
    background-color: #004aad;
    font-size: 17px;
    font-weight: bold;
    padding: 12px 22px;
    border-radius: 10px;
}

.dropdown summary::-webkit-details-marker {
    display: none;
}

.dropdown summary .fa-chevron-down {
    font-size: 11px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 210px;
    padding: 8px 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.main-nav .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f2f2f2;
}

.dropdown summary:hover {
    background-color: #003780;
}

.election-notice {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    line-height: 1.6;
}

.election-notice h2 {
    margin-bottom: 4px;
    color: #004aad;
    font-size: 32px;
    text-align: center;
}

.election-notice h3 {
    margin-bottom: 24px;
    color: #444;
    font-size: 20px;
    text-align: center;
}

.election-steps {
    padding-left: 25px;
}

.election-steps li {
    margin-bottom: 18px;
    padding-left: 6px;
}

.election-steps li p {
    margin-top: 8px;
}

@media (max-width: 600px) {
    .election-notice {
        margin: 20px 12px;
        padding: 20px;
    }

    .election-notice h2 {
        font-size: 26px;
    }
}

.fees-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.fees-section h2 {
    color: #004aad;
    font-size: 32px;
    text-align: center;
}

.fees-intro {
    margin: 8px 0 22px;
    color: #555;
    text-align: center;
}

.fees-table-wrapper {
    overflow-x: auto;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.fees-table th,
.fees-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #e5e5e5;
}

.fees-table th {
    color: #fff;
    background: #004aad;
}

.fees-table tbody tr:nth-child(even) {
    background: #f4f7fc;
}

.fees-table tbody tr:hover {
    background: #eaf1ff;
}

.fees-table td:first-child {
    width: 70px;
    color: #555;
}

.fees-table td:last-child {
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .fees-section {
        margin: 20px 12px;
        padding: 18px;
    }

    .fees-section h2 {
        font-size: 26px;
    }

    .fees-table th,
    .fees-table td {
        padding: 11px 10px;
    }
}

/* Contact page */
.contact-page {
    background: #fff;
}

.contact-layout {
    max-width: 1110px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-form-section h1 {
    margin: 0 0 40px;
    color: #292929;
    font-size: 40px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form > input,
.contact-form textarea {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid #111;
    border-radius: 0;
    background: #fff;
    font: inherit;
    font-size: 14px;
}

.contact-form > input {
    height: 54px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.math-question {
    color: #555;
    font-size: 14px;
}

.math-answer {
    width: 50px;
    height: 54px;
    border: 2px solid #111;
    padding: 8px;
}

.contact-form button {
    min-height: 56px;
    padding: 0 24px;
    border: 0;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #333;
}

.hotline-card {
    min-height: 438px;
    padding: 62px;
    background: #000;
    color: #fff;
}

.hotline-card h2 {
    margin: 0 0 28px;
    font-size: 48px;
}

.hotline-number {
    display: inline-block;
    margin-bottom: 22px;
    color: #ffe000;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
}

.hotline-card p {
    margin-bottom: 14px;
    line-height: 1.5;
}

.hotline-card address {
    color: #ffe000;
    font-size: 20px;
    font-style: normal;
    line-height: 1.5;
}

.hotline-card address a {
    color: inherit;
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 750px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 24px 16px;
    }

    .contact-form-section h1 {
        margin-bottom: 24px;
        font-size: 34px;
    }

    .hotline-card {
        min-height: auto;
        padding: 36px 28px;
    }

    .hotline-card h2 {
        font-size: 40px;
    }
}

.partners-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 24px;
}

.partners-section h2 {
    margin-bottom: 30px;
    color: #26354f;
    font-size: 28px;
    font-weight: 700;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 50px;
    align-items: center;
}

.partner-logo {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.partner-logo img {
    display: block;
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-logo {
        min-height: 120px;
    }
}
.partner{
    text-align: center;
}

/* filepath: c:\Users\ASUS PC\Desktop\GNASSM\style.css */
.site-footer {
    padding: 40px max(4%, calc((100% - 1200px) / 2)) 10px;
    background: #242526;
    color: #fff;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    min-height: 230px;
}

.footer-brand {
    max-width: 390px;
}

.footer-brand img {
    display: block;
    width: 210px;
    max-height: 85px;
    margin-bottom: 22px;
    object-fit: contain;
}

.footer-brand p {
    color: #ddd;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    width: 32%;
}

.footer-links h2 {
    margin: 4px 0 30px;
    font-size: 20px;
}

.footer-links a {
    display: block;
    margin-bottom: 14px;
    color: #ddd;
    font-weight: bold;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffe000;
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 25px;
    background: #000;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 20px 30px;
    color: #fff;
    text-decoration: none;
}

.footer-contact-item > i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #292929;
}

.footer-contact-item strong,
.footer-contact-item small {
    display: block;
}

.footer-contact-item strong {
    margin-bottom: 10px;
}

.footer-contact-item small {
    font-weight: bold;
}

.footer-phone {
    background: #ffe000;
}

.footer-copyright {
    margin: 20px 0 0;
    color: #ddd;
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 700px) {
    .footer-main {
        min-height: auto;
        flex-direction: column;
        gap: 30px;
        padding-bottom: 20px;
    }

    .footer-links {
        width: 100%;
    }

    .footer-contact {
        grid-template-columns: 1fr;
    }

    .footer-contact-item {
        min-height: 80px;
        padding: 16px 20px;
        padding-bottom: 50px;
    }
}