@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}
body {
    background-color: rgb(8,27,41);
    color: #ededed;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo {
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
}
.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}
.navbar a:hover,
.navbar a.active {
    color: #00abf0;
}
.home {
    height: 100vh;
    background: url('');
    display: flex;
    align-items: center;
    padding: 0 10%;
}
.home-content {
    max-width: 600px;
}
.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}
.home-content2 h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}
.home-content2 h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
}
.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
}
.home-content p {
    font-size: 16px;
    margin: 20px 0 40px;
}
.home-content .btn-box {
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}
.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}
.btn-box a:hover {
    color: #00abf0;
}
.btn-box a:nth-child(2) {
    background: transparent;
    color: #00abf0;
}
.btn-box a:nth-child(2):hover {
    color: #081b29;
}
.btn-box a:nth-child(2)::before {
    background: #00abf0;
}
.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}
.btn-box a:hover::before {
    width: 100%;

}
.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}
.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}
.home-sci a:hover {
    color: #081b29;
}
.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;
}
.home-sci a:hover::before {
    width: 100%;
}
::selection {
    
  background-color: #00abf0;
}
.home2 {
    height: 100vh;
    display: flex; 
    align-items: center; 
    padding: 0 10%;
}
.home-content2 {
    max-width: 600px; 
    flex: 1; 
}
.responsive-image {
    width: 100%;  
    height: auto; 
    max-width: 400px; 
    display: block; 
    margin-left: auto; 
    margin-top: 20px; 
}
.pdf-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 140px 10% 60px; /* account for fixed header */
    flex-wrap: wrap;
}

.pdf-thumb {
    width: 280px;   /* increased */
    height: 380px;  /* increased */
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdf-thumb embed {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none; /* allow clicks to reach parent div */
    transform: scale(0.99); /* slight visual padding */
}
.pdf-thumb:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 34px rgba(0,0,0,0.55);
}

/* Modal styles - enlarged viewer */
.pdf-modal {
    position: fixed;
    inset: 0;
    display: none; /* toggled by JS */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: auto;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2,6,10,0.88);
}
.modal-content {
    position: relative;
    width: 96%;
    max-width: 1400px; /* larger max width */
    height: 94%;       /* slightly taller */
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
    display: flex;
}
.modal-content embed {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

/* Close button */
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}
.modal-close:hover {
    background: rgba(0,0,0,0.8);
}

/* Responsive */
@media (max-width: 700px) {
    .pdf-thumb { width: 46%; height: 300px; }
    .modal-content { height: 96%; width: 98%; }
}

/* PDF item + title styles */
.pdf-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px; /* matches .pdf-thumb width */
    gap: 12px;
}
.pdf-title {
    font-size: 18px;
    font-weight: 600;
    color: #ededed;
    text-align: center;
    margin-bottom: 4px;
}

/* ensure layout still wraps nicely on small screens */
@media (max-width: 700px) {
    .pdf-item { width: 46%; }
    .pdf-title { font-size: 16px; }
}

.content-sections section {
    margin-bottom: 2rem;
}

.content-sections h2 {
    color: white;
    margin-bottom: 1rem;
}

.content-sections p {
    line-height: 1.6;
}

.content-sections ol {
    margin-left: 1.5rem;
    line-height: 1.6;
}