/*styling.css*/
:root {
  --page-max: 1338px;
}
body{
    font-family: Arvo,serif;
    background: linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), url('images/krakow.jpg') no-repeat center center;
    background-attachment: fixed;
    background-size:cover;
    font-size: 16px;
}


/* Banner Section */

.banner {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    max-height: 300px;
    background-color: #f5f5f5; /* Optional background color */
    background-color: transparent;
    max-width: var(--page-max);
    width: 100%; /* Full width */
}

.banner-image{
  display:block;        /* removes inline gap */
  width:100%;           /* fill the banner’s width */
  max-width:100%;       /* don’t cap below parent */
  height:auto;          /* keep aspect ratio */
  margin:0;             /* no extra margins */
  object-fit:contain;   /* or 'cover' if you want edge-to-edge crop */
}

/*Style brand*/
.logo{
    height: 150px;   
}


/*Style navigation bar*/
.navbar-inverse{
  /*  background: rgba(0,0,0,0,5); */
   display: flex;  /* Use flexbox */
   /*max-width: 1338px;*/
   max-width: var(--page-max);
   justify-content: center; /* Center items horizontally */
   width: 100%; /* Full width */
   background-color: #ff4c4c;
   padding: 20px 0;
   margin: 0 auto;
   
}


/* Center Navigation Links */

.nav li{
    color: #ffffff;
    font-size: 16px;
    margin-right: 4px;
    
    

}

.nav li::hover{
    border-bottom: 1px solid white;
    padding-bottom: 9px;
    cursor: pointer;
    
}

/*Style jumbotron*/
.jumbotron{
    background-color: transparent;
    color: black;
    text-align: justify;
    margin: 10px;
    padding: 50px;
    letter-spacing: 2.5px;
    font-size:16px;
    
}



/*limit the width of the icons section*/
.container{
    font-size: 16px;
} 


.section {
    margin-bottom: 24px;
}

.section li {
    margin-bottom: 8px;
}

.section-header {
    margin-bottom: 16px;
    font-size: 24px !important;
    text-align: center
}

.container p {
    font-size: 16px;
}

/* PDF Content Display Rules */
.pdf-content {
    width: 100%;
    position: relative;
    margin-bottom: 1.5rem;
}

/* Desktop: Show object, hide iframe */
.pdf-content object {
    display: block;
    width: calc(100% + 100px);
    transform: translateX(-50px);
    height: 850px;
}

.pdf-content iframe {
    display: none;
}

/* iPad and smaller: Hide object, show iframe */
@media (max-width: 991.98px) {
    .pdf-content object {
        display: none;
    }
    
    .pdf-content iframe {
        display: block;
        width: 100%;
        height: 70vh;
        min-height: 500px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
}


/*Style icons sections using bootstrap grid system*/
.col-md-4{
    text-align: center;
    color: #fff;
}

/*Style contact button*/
.btn{
    background-color: rgba(0,0,0,0.6);
    border: none;
    border-radius:10px;
    color:#fff;
    font-size: 16px;
    padding: 10px 70px;
    letter-spacing: 1.3px;
}

.btn::hover{
    background-color:rgba(0,0,0,1.0);
    color: #fff;
    border:none;
}


/* Footer Bar */
.footer {
    display: flex;
    justify-content: center;
    background-color:#ff4c4c;
    max-width: 1338px;
    width: 100%;
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
    margin: 0 auto;
    border-radius: 6px; 
}

.footer a {
    color: #FFD700;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.mt-4 {
    margin-top: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 1199.98px) { 
    .jumbotron {
        margin: 20px;
        padding: 28px;
    }

    ul {
        padding-left: 13px !important;
    }
}

/* Responsive Media Queries */
@media (max-width: 767.98px) {
    
     body {
        font-size: 12px; /* Even smaller font size for extra-small devices */
        font-family: Arvo,serif;
    }
      
    .banner {
        max-height: 300px;
        background-color:white;
    }

    .section-header {
        text-align: left;
    }

    .banner-image {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .jumbotron {
        padding: 10px;
        margin: 6px;
        text-align: left;
    }

    .navbar-header {
        display: flex;
        justify-content: center;
        float: none;
    }

    ul {
        padding-left: 13px !important;
    }

    .navbar-collapse {
        float: none;
    }

    .navbar-collapse.collapse {
        display: none ;
    }

    .navbar-collapse.collapse.in {
        display: block ;
    }

    .navbar-nav {
        float: none;
        margin: 0 auto;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-toggle {
        display: block;
        float: right;
        margin-right: 10px;
    }

    .nav li {
        font-size: 16px;
        margin-right: 8px;
    }

    .footer {
        padding: 10px 0;
    }

    .footer p, .footer a {
        font-size: 14px;
    }

    .btn {
        padding: 8px 50px;
        font-size: 14px;
    }
    
    .container{
        font-size: 12px;
    } 

    .container p {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    
    body {
        font-size: 12px; /* Even smaller font size for extra-small devices */
        font-family: Arvo,serif;
    }
    .banner {
        max-height: 150px;
        background-color:white;
    }

    .jumbotron {
        padding: 15px;
        margin: 15px;
    }

    .footer {
        padding: 5px 0;
    }

    .footer p, .footer a {
        font-size: 12px;
    }
    
    .container{
        font-size: 12px;
    } 

    .container p {
        font-size: 12px;
    }
}


.award-container {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.award-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.award-text {
    font-size: 18px;
    margin: 10px 0;
}

.recipient {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.institution {
    font-size: 16px;
    color: #555;
}

.award-image {
    margin-top: 20px;
    max-width: 120%;
    height: auto;
    border-radius: 8px;
}

.navbar-inverse {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-inverse .nav li a {
    color: #ffffff !important;
    text-decoration: none;
}

.navbar-inverse .nav li a:hover {
    color: #FFD700 !important;
}
