body {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background-color: #15385d;
    color: #ffffff;
    padding: 20px;
}

.branding {
    display: flex;
    align-items: center;
}

.branding img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 3px solid #ffffff;
    margin-right: 20px;
}

.branding .info {
    flex-grow: 1;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Section Styles */
.intro {
    padding: 40px;
    text-align: center;
    background-color: #eaf2f8;
}

section {
    padding: 20px;
    margin: 10px 0;
}

button {
    background-color: #1e5a8b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

button:hover {
    background-color: #2e6da8;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #15385d;
    color: #ffffff;
}

/* CSS for resizing images for readability */
img {
  display: block;
  max-width: 100%; /* Responsive width */
  width: 600px;    /* Fixed width for readability */
  height: auto;    /* Maintain aspect ratio */
  margin: 20px auto; /* Center images with spacing */
  border: 1px solid #ccc; /* Optional border for emphasis */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Optional: Specific adjustments for Learning and Assignments section */
.learning-section img {
  width: 650px; /* Slightly larger for diagrams */
}

#stenq h3 {
    font-size: 1.2rem;
}

.tables {
    display: flex;
    gap: 20px;
}

.tables img {
    width: 48%;
}

.sql-queries img {
    width: 50%;
    margin-bottom: 15px;
}

img[src="p3.jpg"],
img[src="p4.jpg"],
img[src="p5.jpg"],
img[src="p6.jpg"],
img[src="p7.jpg"],
img[src="p8.jpg"],
img[src="p9.jpg"],
img[src="p10.jpg"],
img[src="p11.jpg"],
img[src="p12.jpg"],
img[src="p13.jpg"] {
    width: 335px; /* Adjust to desired width */
    height: 266px; /* Adjust to maintain the aspect ratio */
}

/* Specific Resizing for stenq Section Images */
#stenq img[src="i1.jpg"],
#stenq img[src="i3.jpg"],
#stenq img[src="i4_.jpg"],
#stenq img[src="i5_.jpg"],
#stenq img[src="i6_.jpg"],
#stenq img[src="i7_.jpg"],
#stenq img[src="i8_.jpg"],
#stenq img[src="i9.jpg"],
#stenq img[src="i10.jpg"],
#stenq img[src="i11.jpg"],
#stenq img[src="i12.jpg"],
#stenq img[src="i13.jpg"],
#stenq img[src="i14.jpg"],
#stenq img[src="i15.jpg"] {
  width: 540px; /* Reduced width */
  height: auto; /* Maintain aspect ratio */
}

#stenq img[src="i2.jpg"]{
    width:600px;
    height:360px;
}

/* General styling for the social-links container */
.social-links {
    display: flex;
    gap: 15px; /* Space between the links */
    justify-content: center; /* Center align the links */
    margin-top: 20px;
}

/* Styling for each link */
.social-links a {
    display: inline-block;
    padding: 10px 20px; /* Adjust box size */
    background-color: #f0f0f0; /* Light gray background */
    color: #333; /* Dark text color */
    text-decoration: none; /* Remove underline */
    border-radius: 20px; /* Rounded edges */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold text */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
}

/* Hover effect */
.social-links a:hover {
    background-color: #0073e6; /* Blue background on hover */
    color: white; /* White text on hover */
}

.sql-gallery ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
    padding: 0;
}
.sql-gallery li {
    flex: 1 0 30%; /* Adjust width of each image */
    margin: 5px;
}
.sql-gallery img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Make the nav bar fixed for easy navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #15385d; /* Adjust background color as needed */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for depth */
    z-index: 1000; /* Ensure it stays on top of other elements */
    padding: 10px 0;
}

nav ul {
    font-size: 19px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust spacing between links */
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff; /* Adjust text color */
    font-weight: 600; /* Adjust font weight */
    font-family: 'Poppins', sans-serif; /* Optional: Keep it consistent with the header */
    transition: color 0.3s ease; /* Smooth hover effect */
}

nav ul li a:hover {
    color: #007BFF; /* Adjust hover color */
}

/* Add some top margin to content sections to avoid overlap */
body {
    margin-top: 60px; /* Adjust based on nav bar height */
}


