/* General Styling */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fc;
    color: #333;
    line-height: 1.6;
}

h1,
h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation Bar */
.navbar {
    background: #1e3a8a;
    background: rgba(30, 58, 138, 0.9); 
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Logo stays on the left */
.navbar .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

/* Nav Links stay on the right */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Navigation links */
.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #1e3a8a;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    top: 100%;
    left: 0;
    min-width: 180px;
}

.dropdown-menu a {
    padding: 10px;
    display: block;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        align-items: center;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 10px;
        background: #1e3a8a;
        border-radius: 5px;
        flex-direction: column;
        display: none;
        width: 200px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 10px;
        width: 100%;
        text-align: right;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
    }
}

/* Ensure content is below fixed navbar */
body {
    padding-top: 70px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding-right: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ffdd57;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #1e3a8a;
        width: 100%;
        padding: 10px;
        border-radius: 0 0 10px 10px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }
}

/* Header */
header {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 3rem;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

/* Sections */
section {
    padding: 40px 20px;
    text-align: center;
}

h2 {
    font-size: 2rem;
    color: #1e3a8a;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Link Boxes */
.link-box {
    background: #eff6ff;
    padding: 15px;
    margin: 10px auto;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-box a {
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 500;
}

.link-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Image Sliders */
.slider {
    display: flex;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    padding: 10px;
}

.slider img {
    width: 250px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Contact */
#contact {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#contact p {
    color: #555;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    border-radius: 10px 10px 0 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

footer p span {
    font-weight: bold;
    color: #ffdd57;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .link-box {
        width: 90%;
    }

    .slider img {
        width: 200px;
        height: 120px;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .link-box {
        font-size: 1rem;
        padding: 12px;
    }

    .slider img {
        width: 180px;
        height: 100px;
    }

    footer {
        font-size: 0.7rem;
        padding: 12px;
    }
}
/* Code Block Styling - Matches Theme */
.code-block {
    background: #eff6ff;
    color: #1e3a8a;
    font-family: "Fira Code", monospace;
    padding: 15px;
    border-left: 5px solid #3b82f6;
    border-radius: 8px;
    overflow-x: auto;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    text-align: right;
}

/* Code Text Styling */
.code-block code {
    display: block;
    white-space: pre;
    font-size: 14px;
    text-align: left;
    overflow-x: auto;
    color: #333;
}

/* Copy Button Styling */
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
}

.copy-btn:hover {
    background: #3b82f6;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    text-align: center;
    background: #f4f4f4;
}

.contact h2 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.contact p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn {
    background: #1e3a8a;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #15306e;
}

/* Response Message */
#response-message {
    margin-top: 10px;
    font-size: 1rem;
    color: green;
}

.hidden {
    display: none;
}

/* Social Icons */
.social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #1e3a8a;
    transition: 0.3s;
}

.social-icon:hover {
    color: #0f2350;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact {
        padding: 60px 10px;
    }
}
