/* General Body and Container Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #004d99; /* SQA Blue */
    color: #fff;
    padding: 1rem 0;
    border-bottom: 3px solid #ffcc00; /* SQA Yellow */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px; /* Adjust as needed */
    margin-right: 10px;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    color: #ffcc00;
}

/* Hero Section */
.hero {
    background: url('https://via.placeholder.com/1920x400/003366/ffffff?text=Physics+Background') no-repeat center center/cover; /* Replace with a suitable physics image */
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background: #ffcc00;
    color: #004d99;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e6b800;
}

/* Main Content Sections */
.content-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-section h2, .content-section h3 {
    color: #004d99;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.quick-link-box {
    background: #f0f8ff; /* Light blue */
    border: 1px solid #d0e0f0;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #004d99;
    font-weight: bold;
    border-radius: 8px;
    flex: 1 1 200px; /* Allows flexibility in sizing */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, background 0.2s ease;
}

.quick-link-box:hover {
    transform: translateY(-5px);
    background: #e0f0ff;
}


/* Qualification Cards */
.qualification-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.qualification-card h3 {
    color: #004d99;
    margin-top: 0;
    border-bottom: 1px dashed #ffcc00;
    padding-bottom: 10px;
}

.qualification-card ul {
    list-style: none;
    padding: 0;
}

.qualification-card ul li {
    margin-bottom: 8px;
}

.qualification-card a {
    color: #0066cc;
    text-decoration: none;
}

.qualification-card a:hover {
    text-decoration: underline;
}

/* News Section */
.news-item {
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h4 a {
    color: #004d99;
    text-decoration: none;
}

.news-item h4 a:hover {
    text-decoration: underline;
}

.news-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}


/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.9rem;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links img {
    height: 24px; /* Adjust icon size */
    margin: 0 8px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .quick-links {
        flex-direction: column;
    }

    .quick-link-box {
        flex: auto; /* Revert flex item behavior for smaller screens */
    }
}