/* ======== GLOBAL ======== */
* {
    box-sizing: border-box; 
}
body {
   margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #024d6c, #016b57);
    overflow-x: auto; /* You can change this to hidden if you don't want horizontal scrolling */
}
.navbar {
    /* position: fixed; */
    width: 100%;
    background: #a5a4e4;
    padding: 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 55px;
}

.brand {
    font-size: 20px;
    font-weight: bold;
    color: #003c71;
}

/* ===== SEARCH BAR ===== */
.searchbar {
    background: white;
    border-radius: 40px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 10%;
    border: 2px solid rgb(6, 174, 76);
}

.searchbar input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 250px;
    background: transparent;
}

.search-icon {
    font-size: 22px;
    cursor: pointer;
}

/* ===== MENU ===== */
.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.menu a:hover {
    opacity: 0.7;
}

/* ======== CARDS ======== */
.card-container {
    width: 85%;
    margin: 40px auto;
    background: linear-gradient(to right, #02dba4, #00473e);
    padding: 30px;
    border-radius: 20px;
}

.card {
    width: 100%;
    background: #003b55;
    padding: 20px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
}

.thumbnail {
    width: 70px;
    height: 90px;
    background: #e8e8f8;
    border-radius: 12px;
    margin-right: 20px;
}

.card-info h3 {
    color: #30c48a;
    font-size: 18px;
    margin: 0;
    margin-bottom: 8px;
}

.university {
    color: #e4dada;
    font-weight: bold;
    margin: 0;
}

.course {
    color: #d1bcbc;
    margin-top: 4px;
}

.actions {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 15px;
    font-size: 22px;
    color: #ffffff;
    cursor: pointer;
}

.actions span:hover {
    transform: scale(1.2);
}




/* ================================================= */
/* MODAL (FULL-SCREEN PDF VIEWER) STYLES */
/* ================================================= */

.pdf-modal {
    display: none; /* শুরুতে লুকানো থাকবে */
    position: fixed; /* পুরো স্ক্রিন জুড়ে ফিক্সড থাকবে */
    z-index: 1000; /* অন্য সব এলিমেন্টের উপরে থাকবে */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* ভেতরের কন্টেন্ট স্ক্রল করার জন্য */
    background-color: rgba(0, 0, 0, 0.9); /* হালকা কালো ব্যাকগ্রাউন্ড */
}

.pdf-modal-content {
    background-color: #fefefe;
    margin: 10px auto; /* উপরে-নীচে 10px, ডানে-বামে অটো-সেন্টার */
    padding: 0;
    border: 1px solid #888;
    width: 95%; /* কন্টেইনারের প্রস্থ */
    height: 95vh; /* ভিউপোর্ট হাইটের ৯৫% উচ্চতা */
    border-radius: 10px;
    display: flex;
    flex-direction: column; /* কন্টেন্টগুলি (Ad, Viewer) vertically সাজাতে */
    position: relative;
    overflow: hidden; /* Modal এর কোনাগুলো গোল (rounded) করার জন্য */
}

.close-button {
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 15px;
    cursor: pointer;
    z-index: 1010;
    background-color: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.close-button:hover {
    color: red;
}

/* PDF ভিউয়ারের প্রধান এরিয়া - বিজ্ঞাপন বাদ দিয়ে বাকি সব জায়গা নেবে */
.pdf-viewer-area {
    flex-grow: 1; 
    padding: 10px; /* পিডিএফ এর চারপাশে হালকা ফাঁকা স্থান */
}

#modal-pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* ======== HERO SECTION ======== */
.hero-section {
    width: 100%;
    min-height: 500px; /* Adjust height as needed */
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Use the same background gradient as the body for seamless transition */
    background: linear-gradient(to right, #024d6c, #016b57); 
    box-sizing: border-box; /* Ensures padding is included in the width/height */
}

.hero-content {
    flex: 1; /* Takes up available space */
    max-width: 55%; /* Limit the width of the text content */
    color: white;
}

.main-heading {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.highlight {
    color: #30c48a; /* The bright green/cyan color from the image */
    font-size: 60px; /* Make the highlighted part significantly larger */
}

.description {
    font-size: 18px;
    line-height: 1.6;
    color: #e4dada; /* Light gray color for readability */
    max-width: 90%; /* Adjust to match the width in the image */
}

.hero-image-area {
    flex-shrink: 0; /* Prevents the image area from shrinking */
    width: 400px; /* Adjust as per image size */
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* The image effect in the design is complex (two stacked, rotated images with a clip) 
       This will require a more advanced CSS/HTML structure or using the actual composite image.
       For a simple placeholder: */
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* This simple style is a placeholder for the complex image effect */
}

/* Optional: Add a subtle animation/hover effect */
.hero-image-area:hover .hero-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* You might need a media query for smaller screens */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-image-area {
        width: 100%;
        height: auto;
    }
}


/* ======== ABOUT PAGE CONTENT ======== */
.about-section {
    width: 100%;
    min-height: calc(100vh - 80px); /* Full height minus navbar height */
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(to right, #024d6c, #016b57);
    box-sizing: border-box;
}

.about-card {
    width: 80%;
    max-width: 1000px;
    background: #003b55; /* Same background as the note cards */
    color: #e4dada;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.about-heading {
    color: #30c48a; /* Highlight color */
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #016b57;
    padding-bottom: 10px;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.mission-points {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.point-item {
    flex: 1;
    padding: 20px;
    background: #024d6c; /* Darker blue background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.point-item h3 {
    color: #a5a4e4; /* Navbar color for point headings */
    font-size: 22px;
    margin-top: 0;
}

.point-item p {
    font-size: 16px;
    line-height: 1.6;
}

.team-tag {
    font-style: italic;
    font-size: 20px;
    text-align: center;
    color: #30c48a;
    margin-top: 30px;
}

/* Optional: Active state for menu links */
.menu li .active a {
    color: #30c48a !important; /* Highlight the active page */
    border-bottom: 2px solid #30c48a;
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .about-card {
        width: 95%;
        padding: 30px 20px;
    }
    .mission-points {
        flex-direction: column;
    }
}

/* ======== BUTTON STYLES (For Hero Section) ======== */

.view-notes-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: #a5a4e4; /* Use the Navbar color */
    color: #003c71; /* Use the brand dark color */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #a5a4e4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.view-notes-button:hover {
    background-color: #ffffff; /* Lighter hover */
    color: #003c71;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
