:root {
    --color-primary: #284A89;
    --color-secondary: #DA9E30;
    --color-white: #fff;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Anybody', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* For the icon fonts */
@font-face {
    font-family: "SocialMediaCircled";
    src: url('../fonts/SocialMediaCircled.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* For Primary fonts */
@font-face {
    font-family: "Anybody";
    src: url('../fonts/Anybody-VariableFont_wdth,wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}
/* For Secondary fonts */
@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary) !important;
    background-color: #ffffff;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Scroll thumb */
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary); /* lighter blue on hover */
}

/* For Custom color section */
::selection{
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

a {
    text-decoration: none !important;
    color: inherit !important;
}

li {
    list-style: none !important;
}

.container {
    max-width: 1440px !important;
    margin: 0 auto;
}

.navbar-nav .nav-item {
    margin-left: 15px;
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--color-secondary) !important;
    transition: 0.3s ease;
}

.mrm-0{
    margin-right: -20px !important;
}

.arrow-icon {
    opacity: 0;
    transform: translateX(-5px);
    transition: 0.3s ease;
}

.nav-link:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.pnpac-logo img{
    width: 250px;
    height: 100%;
}

.hero {
    background: url('../img/pnpac-hero.webp') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero-content-wrapper {
    display: flex !important;
    align-items: center;
    height: 100% !important;
    z-index: 5;
}

.title-highlighted {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-family: var(--font-secondary);
}

.title-highlighted h1{
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-main-title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
}

.text-highlight {
    color: var(--color-secondary);
}

.hero-date {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-family: var(--font-secondary);
}
.hero-date h3{
    font-weight: 700;
}

.pnpac-location-text p{
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 400;
}

.ri-map-pin-2-fill{
    font-size: 1.3rem !important;
}


.text-icon{
    font-family: "SocialMediaCircled";
}

.hero-dates-banner {
    background-color: var(--color-secondary);
}

.hero-dates-banner .date-title {
    font-size: 1.4rem !important;
}

.hero-dates-banner .date-date {
    font-size: 1.3rem !important;
}

/* Commmon Section spacing */
.cmn-section{
    margin-top: 5rem !important;
    margin-bottom: 5rem !important;
}

/* Common Section titles */
.section-title-primary{
    font-size: 2.5rem;
    color: var(--color-white);
    font-weight: 800;
    text-transform: capitalize;
    margin-bottom: 2.5rem;
}

.section-title-primary::before{
    content: '';
    margin-right: 10px;
    padding-top: 20px;
    border-left: 10px solid var(--color-secondary);
}
.section-title-secondary{
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 800;
    text-transform: capitalize;
    margin-bottom: 2.5rem;
}

.section-title-secondary::before{
    content: '';
    margin-right: 10px;
    padding-top: 20px;
    border-left: 10px solid var(--color-primary);
}

/* Theme Wrapper */
.themes-wrapper{
    width: 100%;
}

.themes-wrapper .theme-icon-img{
    border: 3px dashed var(--color-secondary);
    border-radius: 50%;
    margin-bottom: 20px;
    padding: 3px;
}

.themes-wrapper .theme-icon-img:hover{
    border-style: solid;
    border-color: var(--color-primary);
    transition: 0.3s ease;
}

.themes-wrapper .theme-icon{
    height: 130px !important;
    width: 130px !important;
    object-fit: none;
    padding: 10px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.themes-wrapper .theme-content{
    width: 260px;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 1.2rem;
    line-height: 1.1;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.themes-wrapper .theme-content {
    position: relative;
    padding: 0 30px; /* space for border */
}

/* Add divider to all except last card */
.themes-wrapper .col-auto:not(:last-child) .theme-content::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%; /* mid height */
    width: 0;
    border-right: 2px solid var(--color-primary);
}

.sub-theme-wrapper{
    width: 100%;
    overflow-x: hidden;
}

/* Parent */
.sub-theme-content {
    position: relative;
    height: 364px;
    width: 100%;
    overflow: hidden;
}
.sub-theme-content-end {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Image */
.sub-theme-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}
.sub-theme-content-end img {
    margin-top: 50px !important;
    width: 100%;
    height: 100%;
    object-fit: none;
    display: block;
    transition: 0.4s ease;
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 74, 137, 0.7);
    transition: 0.4s ease;
}

/* Center Content */
.sub-theme-text {
    position: absolute;
    inset: 0;                    /* full area */
    display: flex;               /* THIS makes perfect center */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 20px;
}

/* Default title */
.default-text {
    margin: 0;
    transition: 0.4s ease;
}

/* Hover list hidden */
/* Hover list hidden initially */
.hover-list {
    padding: 0;
    margin: 0;

    opacity: 0;
    max-height: 0;
    overflow: hidden;

    transform: translateY(20px);
    transition: all 0.4s ease;

    font-size: 2rem;
    line-height: 1.3;
}

.hover-list li {
    font-size: 1.2rem;
}


/* Hover Effects */
.sub-theme-content:hover .overlay {
    background: rgba(0, 0, 0, 0.75);
}

.sub-theme-content:hover .default-text {
    opacity: 0;
    transform: translateY(-20px);
}

.sub-theme-content:hover .hover-list {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
}

/* Optional zoom */
.sub-theme-content:hover img {
    transform: scale(1.08);
}

/* Call for papers section */
.call-for-papers-desc{
    text-align: justify;
    margin-bottom: 2.5rem;
}

.regs-abs-container{
    width: 100%;
    padding: 3.5rem;
    background-color: var(--color-primary);
    border-top-right-radius: 100px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.regs-abs-container .registraion-process{
    margin: 1.5rem 0;
    color: var(--color-white);
    font-size: 1.3rem;
}

.template-download-btn{
    font-size: 1.5rem;
    padding: 1rem 2rem;
    color: var(--color-white) !important;
    font-weight: 600;
    background-color: var(--color-primary);
    border-radius: 36px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.template-download-btn:hover{
    background-color: var(--color-secondary);
    color: var(--color-primary);
    scale: 1.05;
    filter: brightness(110%);
}

/* Common Class */
.bg-theme-primary{
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Registration Details section */
.registration-details-card{
    padding: 2.5rem 5rem;
    border-radius: 35px;
    color: var(--color-white);
}

.registration-details-left{
    display: flex;
    align-items: center;
    gap: 5rem;
    border-right: 2px solid var(--color-white);
}

.registration-details-right{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}
.registration-details-right h2{
    margin-bottom: 0.5rem;
    font-weight: 400 !important;
}

.conference-partners-logo-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Confrence speakers */
.speaker-card{
    padding: 1rem;
    text-align: center;
}
.speaker-card img{
    width: 300px;
    height: 410px;
    object-fit: cover;
    margin-bottom: 0.8rem;
}
.speaker-card img:hover{
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}

.margin-bottom-none{
    margin-bottom: 0 !important;
}
.margin-top-none{
    margin-top: 0 !important;
}

.conference-sub-persons-title{
    font-size: 2.5rem;
    font-weight: 700;
    border-bottom: 2px solid;
    width: 40%;
    padding-bottom: 0.5rem;
}

.conference-sub-persons-person{
    margin-bottom: 0.5rem;
}

.conference-sub-persons-person h3{
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
}
.conference-sub-persons-person p{
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    max-width: 70%;
}


#scrollTopBtn {
  position: fixed;
  bottom: 35px;
  right: 35px;
  display: none;
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 11px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  transition: 0.3s ease;
  z-index: 99999999;
}

#scrollTopBtn:hover {
  background-color: var(--color-secondary);
}

/* ============================= */
.breadcrumb-section{
    background: url('../img/pnpac-hero.webp') no-repeat center center/cover;
    height: 300px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about-chemical-science-department{
    margin-top: -18px !important;
}

.text-justify{
    text-align: justify !important;
}