  /* Global Styles */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    padding: 20px;
    transition: background-color 0.3s, color 0.3s;
}
.container {
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s;
}
.dark-mode {
    background-color: #333;
    color: #f5f5f5;
}

/* Special Section Borders for Construction Theme */
.container::before, .container::after {
    content: "";
    display: block;
    width: 100%;
    height: 8px;
    background-image: repeating-linear-gradient(
        45deg,
        #000,
        #000 10px,
        #ffeb3b 10px,
        #ffeb3b 20px
    );
}
.container::before {
    margin-bottom: 10px;
}
.container::after {
    margin-top: 10px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 250px;
    background-color: #444;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(0); /* Start off as invisible */
    transform-origin: top right;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Jelly effect */
    z-index: 1000;
}

.navbar.show {
    transform: scale(1); /* Show with scale animation */
}

.navbar a,
.navbar button {
    display: block;
    color: #ffeb3b;
    text-decoration: none;
    padding: 12px 15px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.navbar a:hover,
.navbar button:hover {
    background: rgba(255, 235, 59, 0.2);
    color: #fff;
}

/* Navbar Toggle Button */
.navbar-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ffeb3b;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
    z-index: 1001;
}

.navbar-toggle:hover {
    transform: scale(1.1);
    background-color: #ffd600;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        width: 90%;
        max-width: 300px;
        right: 5%;
    }
}


/* Header */
header {
    background-color: #ffeb3b;
    color: #000;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 4px solid #000;
}
header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.about {
    margin-top: 10px;
    font-size: 1.1em;
    line-height: 1.6;
}


/* Sections */
section {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}
section h2 {
    font-size: 1.5em;
    color: #030303;
    margin-bottom: 15px;
    border-bottom: 3px solid #000;
    padding-bottom: 5px;
    text-transform: uppercase;
}

/* Footer */
footer {
    background-color: #333;
    color: #ffeb3b;
    padding: 20px;
    text-align: center;
    border-top: 3px solid #000;
}
footer a {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

/* Download Button */
.download-btn {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffeb3b;
    color: #000;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        max-height: 100%;
    }
}
.pdf-viewer {
    margin: 20px 0;
}

#pdf-frame {
    width: 100%;
    height: 80vh; /* Adjusts the height for readability */
    border: none;
}
