/* Footer styles */
footer {
    background: #0055a4;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Social media link styles */
.social-media a {
    display: inline-block;
    margin: 0 10px;
    vertical-align: middle; /* Ensures the icons align with any adjacent text */
}

/* SVG icon styles */
.social-icon {
    width: 30px; /* Control the size of the icons */
    height: 30px;
}

/* Basic resets and fonts */
body, h1, h2, p, ul, li { margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: #f4f4f4; }

/* Header and navigation styling */
header {
    background: url('../image/header-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 40px 20px;
    text-align: left;
}
nav { background: #003366; }
nav ul { list-style: none; text-align: center; padding: 10px 0; }
nav ul li { display: inline; }
nav a { color: white; text-decoration: none; padding: 15px 20px; display: inline-block; }
nav a:hover { background-color: #004d99; }

/* Main content and sections */
.content { padding: 20px; max-width: 1200px; margin: 20px auto; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
section { padding: 20px; }
h2 { font-size: 2em; color: #0055a4; margin-bottom: 15px; }
p { font-size: 1.2em; margin-bottom: 15px; }

/* Footer styling */
footer { background: #0055a4; color: #fff; text-align: center; padding: 10px; }

/* Responsive adjustments */
@media (max-width: 800px) {
    .intro { padding: 0; background: none; }
    header h1, nav a { font-size: smaller; }
}
/* Apply styles for devices with width less than 600px */
@media only screen and (max-width: 600px) {
    body {
        padding: 10px;
    }

    .content h2 {
        font-size: 24px; /* Reduce title font size */
    }

    .content p {
        font-size: 14px; /* Reduce paragraph font size */
    }

    nav ul {
        padding: 0;
    }

    nav li {
        display: block; /* Stack navigation menu items instead of displaying them side by side */
    }

    .intro img {
        max-width: 100%; /* Make images adapt to screen width */
        height: auto;
    }

    .social-media img {
        width: 30px; /* Adjust social media icon size */
        height: 30px;
    }

    header, footer {
        text-align: center; /* Center align header and footer text */
    }
}

/* Apply styles for devices with width between 600px and 1200px */
@media only screen and (min-width: 601px) and (max-width: 1200px) {
    .content h2 {
        font-size: 28px;
    }

    .content p {
        font-size: 16px;
    }
}
