@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Schoolbell&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap');
@font-face {
    font-family: 'WaterlilyScript';
    /* Move up one folder to assets, then into fonts */
    src: url('../fonts/Waterlily Script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

a{
    text-decoration: none !important;
}

.waterlily{
    font-family: 'WaterlilyScript';
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.abhaya-libre-regular {
  font-family: "Abhaya Libre", serif;
  font-weight: 400;
  font-style: normal;
}

.schoolbell-regular {
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
}


.google-sans-regular {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}

*{
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
}

.btn-outline{
    text-decoration: none;
    border: 1px solid #000;
    padding: 10px 40px;
    background-color: #fff;
    border-radius: 50px;
    transition: 0.3s all;
    color: #000;
}

.btn-solid{
    text-decoration: none;
    padding: 10px 40px;
    background-color: #000;
    border-radius: 50px;
    transition: 0.3s all;
    color: #fff;
}

.btn-solid:hover{
    transform: translateY(-5px);
}

.btn-outline:hover{
    transform: translateY(-5px);
}

.btn-paper-round {
    position: relative; /* Required for absolute positioning of background */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    text-decoration: none !important;
    border: none;
    background-color: transparent;
    font-family: "Schoolbell", cursive;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1; /* Ensure text stays above background */
}

/* Move the background image to a pseudo-element */
.btn-paper-round::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/btn-bg-round.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.4s ease-in-out; /* Smooth return to original */
    z-index: -1; /* Place behind the text */
}

/* Rotate ONLY the background on hover */
.btn-paper-round:hover::before {
    transform: rotate(15deg); /* Adjust degree as needed */
}

.back-btn{
    color: #000;
}


.container-fluid{
    width: 80% !important;
}


.bg-wrapper {
    overflow: hidden;
}

header .paper-bg-div {
    margin-top: -350px;
    width: 600px;
    height: 600px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-80px) rotate(35deg);
}

header .content-overlay {
    /* Counter-rotate the text -45 degrees so it is level */
    transform: rotate(-35deg) translateX(80px); 
    text-align: center;
    width: 100%;
}

header .brand-name {
    font-size: 3rem;
    margin: 0;
    font-family: serif;
    margin-top: 210px;
    font-size: 61px;
}

header .subtitle{
    font-size: 20px;
    font-weight: bold;
}

 @media (max-width: 768px) {
    header .paper-bg-div {
        margin-top: -150px;
        width: 600px;
        height: 320px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-80px) rotate(35deg);
    }

    header .brand-name {
        font-size: 30px !important;
        margin: 0;
        font-family: serif;
        margin-top: 110px;
        font-size: 61px;
    } 

    header .subtitle{
        font-size: 12px;
        font-weight: bold;
    }
 }

/* Hamburger Styles */
.hamburger-menu {
    position: absolute;
    right: 30px; /* Distance from right edge */
    top: 40px;   /* Distance from top edge */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10; /* Ensures it stays above the paper background */
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger-menu {
    position: absolute;
    right: 20px;
    
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

/* Animate Hamburger to X */
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
/* Menu Overlay Styling */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 300px;
    height: 100vh;
    background-color: #fdfaf0; /* Match your paper color */
    /* background-image: url('assets/img/paper-bg.png'); */
    background-size: cover;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav.active {
    right: 0;
}

.nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.nav-links li {
    margin: 25px 0;
}

.nav-links a {
    font-family: "Schoolbell", cursive;
    font-size: 24px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6d503f;
}

.nav-links button{
    font-family: "Schoolbell", cursive;
    color: #333;
    font-size: 24px;
}

.hero{
    margin-top: -200px;
}


.hero-image{
    width: 100%;
    transition: 0.3s all;
    overflow: hidden;
}

/* .hero-image:hover{
    transform: scale(1.1);
} */

.hero-title{
    font-size: 80px;
    text-decoration: none;
    color: #000;
    font-family: 'WaterlilyScript', cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
    transition: 0.3s all;
    line-height: .9em;
}

.hero .author-date{
    font-size: 20px;
    text-decoration: none;
    color: #000;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
}

.hero .description{
    font-size: 30px;
    text-decoration: none;
    color: #000;
    font-family: "Schoolbell", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
}

.hero-article-card{
    height: 100%;
    overflow: hidden;
}

.hero-article-card img{
    width: 100%;
    transition: 0.3s all;
}

.hero-article-card img:hover{
    transform: scale(1.1);
}

.hero-article-card h4{
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-article-card .author-date{
    font-size: 16px;
}

.hero .view-all{
    color: #000;
    text-decoration: none;
}

.hero .view-all h4{
    font-weight: 400;
    transition: 0.3s all;
}

.hero .view-all h4:hover{
    font-weight: 400;
    transform: translateY(-5px);
}

.hero .btn-paper-rect{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 70px;
    text-decoration: none !important;
    border: none;
    background-color: transparent;
    background-image: url('assets/img/btn-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    font-family: "Schoolbell", cursive;
    font-size: 20px;
    color: #333;
    cursor: pointer;
 }

 @media (max-width: 768px) {
    .hero{
        margin-bottom: 20px;
    }
    
    .hero-title{
        margin-top: 10px;
        font-size: 60px;
    }

    .hero .author-date{
        font-size: 16px;
    }

    .hero .description{
        font-size: 20px;
    }

    .hero .btn-paper-rect{
        font-size: 14px;
        width: 120px;
        height: 50px;
        font-weight: bold;
    }
 }

/**************************
    Slider
***************************/
/* Container remains 50% width on desktop */
.slider-left-section {
    height: 600px;
    position: relative; /* Essential for the absolute background */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Keeps the rotated paper from bleeding out */
}

/* The Background Paper (Isolated) */
.slider-left-section::before {
    content: "";
    position: absolute;
    /* Increase width/height so it doesn't clip when rotated */
    width: 120%; 
    height: 100%;
    top: -20%;
    left: -30%; 
    background-image: url('assets/img/paper-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Apply your transforms here only */
    transform: translateX(-50px)  translateY(-120px)  rotate(35deg);
    z-index: 1;
}

/* The Content Overlay (Independent Width) */
.slider .slider-content-overlay {
    position: relative;
    z-index: 2; /* Sits on top of the ::before paper */
    width: 450px; /* YOU CAN NOW SET A FIXED WIDTH HERE */
    text-align: center;
    
}

.slider-content-overlay .slider-title { 
    font-family: "WaterlilyScript", cursive;
    font-weight: 400;
    font-size: 60px !important;
    color: #000;
    line-height: 1.2;
    margin-top: 30px;
}

.slider-content-overlay .slider-author { 
    font-family: "WaterlilyScript", cursive;
    font-weight: 400;
    margin-top: 30px;
    font-size: 40px !important;
    color: #6d503f;
    line-height: 1.2;
}

.slider-content-overlay .slider-subtitle { 
    margin-top: 30px;
    font-family: "Schoolbell", cursive;
    font-weight: 400;
    font-size: 30px !important;
    color: #000;
    line-height: 1.2;

    display: -webkit-box;
    -webkit-line-clamp: 3;   /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

 /* Slider Animation */
.slider-left-section {
    opacity: 0;
    transform: translateX(-70px);
    transition: all 1.5s ease-out;
}

.slider-right-section {
    opacity: 0;
    transform: translateX(70px);
    transition: all 1.5s ease-out;
}

.slider-right-section img{
    width: auto;
    max-height: 405px !important;
}

/* Active State: Triggered when Slick adds .slick-active */
.slick-active .slider-left-section,
.slick-active .slider-right-section {
    opacity: 1;
    transform: translateX(0);
}

/* Optional: Add a small delay to the right section for a layered feel */
.slick-active .slider-right-section {
    transition-delay: 0.2s;
}

@media (max-width: 768px) {
    .slider {
        margin-bottom: 20px;

    }
    .slider-left-section {
        height: auto;
        position: relative; /* Essential for the absolute background */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Keeps the rotated paper from bleeding out */
    }
    .slider-content-overlay .slider-title{
        font-size: 50px !important;
    }

    .slider-content-overlay .slider-author {
        font-size: 22px !important;
    }

    .slider-content-overlay .slider-subtitle{
        font-size: 20px !important;
    }

    .slider-right-section img{
        width: 100%;
        /* max-height: 300px !important; */
        object-fit: contain;
    }
}

/***********************************
    Visualgram
************************************/
 .visualgram{
    height: 600px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden; 
 }

 .visualgram-top-section::before{
    content: "";
    position: absolute;
    /* Increase width/height so it doesn't clip when rotated */
    width: 45%; 
    height: 80%;
    top: -25%;
    left: -10%; 
    background-image: url('assets/img/paper-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Apply your transforms here only */
    transform: translateX(-50px)  translateY(-100px)  rotate(50deg);
    z-index: 1;
 }

 .visualgram-content-overlay{
    margin-top: 64px;
    margin-left: 90px;
    position: relative;
    z-index: 3; /* Sits on top of the ::before paper */
    width: 100%; /* YOU CAN NOW SET A FIXED WIDTH HERE */
    text-align: center;
 }
 

 .visualgram-title{
    font-family: "WaterlilyScript", cursive;
    font-weight: 400;
    font-size: 60px !important;
    color: #000;
    line-height: 1.2;
 }

 .visualgrams{
    margin-top: 80px !important;
    z-index: 5;
 }

 .col-sm-4 .visualgram-item{
    z-index: 5 !important;
    padding: 10px;
 }

 .visualgram-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.visualgram-item .title{
    font-family: "Schoolbell", cursive;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .visualgram{
        height: auto;
    }
    .visualgram-content-overlay{
        margin-left: 20px;
    }

    .visualgram-top-section::before{
        content: "";
        position: absolute;
        /* Increase width/height so it doesn't clip when rotated */
        width: 100%; 
        height: 80%;
        top: -15%;
        left: -8%; 
        background-image: url('assets/img/paper-bg.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        /* Apply your transforms here only */
        transform: translateX(-50px)  translateY(-130px)  rotate(40deg);
        z-index: 1;
    }
}



.section-title{
    font-size: 24px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.section-title a{
    text-decoration: none;
    color: #000;
    transition: 0.3s all;
}

.section-title a:hover{
    transform: translateY(-5px);
}

.carousel-item {
    position: relative;
}

.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0)
    );
    z-index: 1;
}

/* keep caption above gradient */
.carousel-caption {
    z-index: 2;
}

.story-highlight-card {
    height: 350px;
    overflow: hidden;
}

.story-highlight-card .title{
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 22px;
}

.story-highlight-card .title a {
    text-decoration: none;
    color: #000;
    background-image: linear-gradient(#000, #000);
    background-size: 0% 2px;       /* start with no underline */
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.story-highlight-card .title a:hover {
    background-size: 100% 2px;     /* animate to full width */
}


.story-highlight-card .image {
    height: 70%;
}

.story-highlight-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.3s all;
}

.story-highlight-card img:hover{
    transform: scale(.95);
}

footer .title{
    font-size: 22px;
    font-weight: 100;
    margin-bottom: 15px;
    font-family: 'WaterlilyScript';
}

footer p{
    line-height: 1.9em;
    font-family: "Schoolbell", cursive;
}

footer .add{
    font-family: "Schoolbell", cursive;
}

footer .social-icons{
    font-size: 35px;
}

footer .social-icons a {
    color: #383838;
    transition: 0.3s all;
}

footer .social-icons a:hover{
    transform: translateY(-5px);
}

.post-details-header .title{
    font-size: 50px;
    text-decoration: none;
    color: #000;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
    transition: 0.3s all;
}

.post-details-content-bg {
    background-image: url('assets/img/article-bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-left: -120px; 
    padding: 80px 40px 80px 250px; 
    box-sizing: border-box;
    position: relative;

    animation: unrollPaper 1.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform-origin: top;
    will-change: clip-path, transform, opacity;
}

@keyframes unrollPaper {
    0% {
        clip-path: inset(0 0 100% 0);
        transform: scaleY(0.1) translateY(-20px);
        opacity: 0;
    }
    40% {
        opacity: 1;
        transform: scaleY(1.05) translateY(0);
    }
    100% {
        clip-path: inset(0 0 0% 0);
        transform: scaleY(1) translateY(0);
        opacity: 1;
    }
}

.post-details-content-overlay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards 1.5s;
    gap: 30px;
    width: 100%;
    max-width: 100%; 
    display: block;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-details-title{
    width: 400px;
    font-size: 80px;
    text-decoration: none;
    color: #000;
    font-family: 'WaterlilyScript', cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;
    transition: 0.3s all;
    line-height: .9em;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInText 0.8s ease-out forwards 1.2s;
}

 @keyframes slideInText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
 }

 .post-details-text{
    width: 65%;
    font-family: "Schoolbell", cursive;
    font-size: 20px;
 }
 .post-details-image{
    width: 35%;
    padding-right: 120px;
 }
 .post-details-image img{
    width: 100%;
 }

 .post-details-about-author{
    margin-top: 100px;
    background-image: url('assets/img/paper-bg.png');
    background-repeat: no-repeat;
    display: flow-root; 
    min-height: fit-content;
    background-size: 100% 100%;
    padding-right: 60px;
    padding-left: 20px;
    padding-bottom: 60px;
    box-sizing: border-box;
    position: relative;
 }

 .post-details-about-title{
    margin-left: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
 }

 .post-details-about-title i{
    font-size: 100px;
    color: #FEBF28;
 }
 
 .post-details-about-title span{
     font-family: 'WaterlilyScript', cursive;
     font-size: 50px;
     color: #6d503f;
 }

 .post-details-about-author-name{
    font-family: 'WaterlilyScript', cursive;
    font-size: 40px;
    white-space: nowrap;
 }

 .post-details-about-author-desc{
    font-family: "Schoolbell", cursive;
    font-size: 20px;
 }

 @media (max-width: 768px) {
    .post-details-content-bg {
        width: 100% !important;
        margin-left: -10px !important; 
        padding: 0px 0px 0px 0px;    
    }

    .post-details-title{
        width: 100% !important;
        /* margin-left: 40px !important; */
        /* margin-right: 40px !important; */
        font-size: 50px;
        /* padding: 0px 10px; */
        padding: 0px;
        padding-left: 10px;
    }

    .post-details-text{
        width: 100%;
        font-family: "Schoolbell", cursive;
        font-size: 20px;
        /* margin-left: 40px; */
        padding-left: 10px;

    }
    .post-details-image{
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0px;
        padding-left: 10px;
        
    }
    .post-details-image img{
        width: 100%;
        align-self: center;
    }

    .post-details-about-author{
        margin-bottom: 10px;
        padding: 0px;
    }

    .post-details-about-title{
        width: 100% !important;
        justify-content: flex-start;
        margin-left: 0px;
    }

    .post-details-about-title span{
        font-size: 32px !important;
    }

    .post-details-about-title i{
        font-size: 45px !important;
    }

    .pebble-shape-container {
        margin-top: 20px;
        width: 200px !important;
        height: 200px !important; 
    }
 }

 .pebble-shape-container {
    width: 250px; /* Adjust size as needed */
    height: 250px; /* Adjust size as needed */
    /* position: relative; */
    overflow: hidden;
    border-radius: 41% 59% 34% 66% / 46% 36% 64% 54%;
 }

 .pebble-shape-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
 }


 .page-title a{
    text-decoration: none;
    color: #000;
    display: flex;
    gap: 20px;
 }

/*************************
    Page Heading
*************************/
 .page-heading{
    height: 250px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden; 
    z-index: 0;
 }

 .page-heading-top::before{
    content: "";
    position: absolute;
    width: 35%; 
    height: 80%;
    top: -23%;
    left: -5%; 
    background-image: url('assets/img/paper-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-50px)  translateY(-10px)  rotate(40deg);
    z-index: 0;
 }

 .page-heading-overlay{
    margin-top: 64px;
    /* margin-left: 10px; */
    position: relative;
    z-index: 3; 
    width: 450px; 
    /* text-align: center; */
 }

 .article-filter{
    z-index: 10 !important;
    margin-top: -80px;
 }

 .article-filter select{
    width: 25%;
 }

 .article-filter *{
    position: relative;
    z-index: 10 !important;
 }


.article-card{
  border: none;
  cursor: pointer;
  transition: all .35s ease;
  border-bottom: 1px solid #dddddd;
}

.article-card a{
  display:block;
  text-decoration:none;
  color:inherit;
  height:100%;
}

.article-card img{
  height:200px;
  width: auto;
  transition: transform .4s ease;
}

.article-card:hover{
  transform: translateY(-6px);
}

.article-card:hover img{
  transform: scale(1.08);
}

.article-card .card-title{
    font-family:'WaterlilyScript', cursive;
    font-size:23px;
    font-weight:100;
    margin-top:10px;
    color:#363636;
    transition: color .3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.article-card:hover .card-title{
    color:#FEBF28;
}

.article-card .card-text{
    font-family:"Schoolbell", cursive;
    margin-top:10px;
    color:#292929;
}

.article-card .badge{
    background-color:#F2EFE7;
    color:#000;
    font-family:"Schoolbell", cursive;
    font-size:14px;
    box-shadow:1px 1px 1px 1px #d4d4d4;
    transition: all .3s ease;
}

.article-card:hover .badge{
    background:#FEBF28;
}

.article-card .card-author{
   color:#292929;
   font-family:"Abhaya Libre", serif;
}

.article-card .card-author i{
    color: #8f8e8e;
}

.article-loader{
    width:35px;
    height:35px;
    border:4px solid #ddd;
    border-top:4px solid #222;
    border-radius:50%;
    animation:spin 0.8s linear infinite;
    margin:auto;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}


 @media (max-width: 768px) {
    .page-heading{
        margin-top: -100px;
    }

    .page-heading-top::before{
        width: 80%; 
        height: 80%;
        top: -23%;
        left: -5%; 
        transform: translateX(-100px)  translateY(-80px)  rotate(45deg);
    }

     .page-heading-overlay{
        margin-top: 30px;
        width: 450px; 
        margin-bottom: -50px;
    }

    .page-heading h1{
        font-size: 40px;
    }

    .article-filter select{
        width: 100%;
    }

    .container-fluid{
        width: 95% !important;
    }
 }

 /*************************
    Pagination
***************************/

.custom-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.custom-pagination button{
    padding:6px 14px;
    border:1px solid #ddd;
    background:white;
    cursor:pointer;
    border-radius:6px;
    transition:all .2s ease;
}

.custom-pagination button:hover{
    background:#222;
    color:#fff;
}

.custom-pagination button.active{
    background:#000;
    color:#fff;
    font-weight:600;
}

.custom-pagination button:disabled{
    opacity:.5;
    cursor:not-allowed;
}

@media (max-width:768px){
    .custom-pagination{
        gap:5px;
    }

    .custom-pagination button{
        padding:5px 10px;
        font-size:14px;
    }
}

/**************************
 Archives
 *************************/
 .pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pdf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.pdf-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    background: #525659;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-header {
    background: #323639;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#pdf-canvas-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#pdf-canvas-container canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background: white;
}

 /*************************
    Bubbles
*************************/
.icon-section{
    position: relative;
    height: 400px;   /* fixed height */
    width: 100%;
    overflow: hidden; /* prevents icons leaving the section */
    background: #f3f3f3;
}

.icon-bubble{
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ead7b6;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s all;
}

.icon-bubble img{
    width: 50px;
}
.icon-bubble:hover{
    transform: scale(1.2) !important;
}

/* initial layout (cluster) */

.b1{top:150px; left:50px;}
.b2{top:40px; left:180px;}
.b3{top:160px; left:300px;}
.b4{top:60px; left:360px;}
.b5{top:260px; left:220px;}