/*
* Resume template
* Created by : Rupam Kundu
* website : www.rupamkundu.in
*/


/* Table of Content
==================================================
	- Google fonts & font family -
	- typography -
	- General -
    - Preloader -
	- Header -
    - home section -
    - About section -
    - experience section -
    - projects section -
    - Contact section -
    - Responsive media queries -
*/


/* Google fonts & font family
==================================================*/

@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i';

/*
font-family: 'Playfair Display', serif;
font-family: 'Lato', sans-serif;
font-family: 'Open Sans', sans-serif;
*/


/* typography
==================================================*/

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 70px;
    color: #000000;
}

h6 {
    font-family: 'Georgia', serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    position: relative;
    color: #ade823;
    margin-left: 8px; /*15px*/
    font-weight: 1000;
    font-size: 40px;
    text-shadow: 
        1px 1px 0 #000,  
        -1px -1px 0 #000,  
        1px -1px 0 #000,  
        -1px 1px 0 #000;
}

h4 {
    font-family: 'Georgia', serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    position: relative;
    color: #00c8ff;
    margin-left: 8px; /*15px*/
    font-weight: 1000;
    font-size: 40px;
    text-shadow: 
        1px 1px 0 #000,  
        -1px -1px 0 #000,  
        1px -1px 0 #000,  
        -1px 1px 0 #000;
}

/*h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 2px;
    background: #c90e0e;
    top: 15px;
}*/


/* General
==================================================*/

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
}

.size-50 {
    font-size: 50px;
    line-height: 50px
}

.h-50 {
    height: 50px;
}


/* preloader
==================================================

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10000
}

#status,
.preloader {
    top: 50%;
    left: 50%;
    position: absolute
}

#status {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    margin: -50px 0 0 -50px
}

.preloader {
    height: 40px;
    width: 40px;
    margin-top: -20px;
    margin-left: -20px
}

.preloader:before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: 100%;
    width: 100%;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
    border: 2px solid #425BB5;
    border-top: 2px solid transparent;
    border-radius: 100%
}

.preloader>.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 25px;
    width: 10.6px;
    margin-top: -12.5px;
    margin-left: -5.3px;
    -webkit-animation: wink 1s ease-in-out infinite alternate;
    animation: wink 1s ease-in-out infinite alternate
}

@media only screen and (min-width:768px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader:before {
        left: -2px;
        top: -2px;
        border-width: 2px
    }
    .preloader>.icon {
        height: 37.5px;
        width: 15.9px;
        margin-top: -18.75px;
        margin-left: -7.95px
    }
}

@media only screen and (min-width:1200px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader>.icon {
        height: 50px;
        width: 21.2px;
        margin-top: -25px;
        margin-left: -10.6px
    }
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@-webkit-keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}
*/

/* Header
==================================================*/

header {
    text-align: center;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
}

nav ul {
    display: inline-block;
    padding-left: 0;
    list-style: none;
    padding: 20px;
    margin-bottom: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000;
    font-size: 15px;
    font-weight: bold;
}

.bg-nav {
    background: #fff;
    border-bottom: 1px solid #f3f3f3
}

.bg-nav ul {
    padding: 10px;
}

a:focus {
    color: #ff0000;
    text-decoration: none;
}

a:hover {
    color: #425BB5;
    text-decoration: none;
}

a.active {
    color: #425BB5;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    header {
        height: 120px; /* Increased height for mobile screens */
    }
    
    nav ul {
        padding: 10px; /* Optionally adjust padding */
    }
    
    nav li {
        margin: 5px; /* Optionally adjust margin if needed */
    }
}


/* home section
==================================================*/

#home {
    background: url(../img/me.jpg);
    background-size: cover;
    height: 100vh;
}

@media (max-width: 768px) { /* Adjust this value as needed */
    #home {
        background: url(../img/me-small.jpg); /* Replace with your smaller image */
        background-size: cover;
        height: 100vh; /* Optional: Keep height consistent */
    }
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.disply-table {
    display: table;
    height: 100vh;
}


/* about section
==================================================*/

#about {
    padding: 100px 0 20px;
}

.about-img-div img {
    margin: 0 auto;
}

.about-border {
    position: absolute;
    border: 10px solid #425BB5;
    width: 400px;
    height: 350px;
    top: 40px;
    left: 50px;
    z-index: 1
}

/* CV
=================================================*/

/* Container styling for the CV section */
#cv-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 0px;
    background-color: #ffffff;
  }
  
  /* Aligning logo and button side by side */
  .cv-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Automatically space logo and button */
    width: 65%; /* Adjust the width of the container as needed */
    /*max-width: 1200px; /* Optional: limit the maximum width */
  }
  
  /* Logo styling */
  .logo img {
    width: 300px; /* You can adjust the size as needed */
    height: auto;
  }
  
  /* Button styling */
  .cv-button-container {
    margin-left: 20px; /* Optional: add space between logo and button */
  }

  /* Media query for mobile screens */
  @media (max-width: 768px) { /* Adjust the max-width as needed */
    .cv-container {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
    }
    
    .cv-button-container {
        margin-left: 0; /* Remove left margin on mobile */
        margin-top: 20px; /* Add space above button */
    }
  }
  
  .cv-button {
    display: inline-block;
    padding: 20px 30px;
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    background-color: #e3ed13f7;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 5px rgba(208, 255, 0, 0.8); /* Initial glow effect */
    font-family: 'Playfair Display', serif; /* Apply the font here */
    letter-spacing: 0.7px; /* Adjust the spacing between letters */
  }
  
  .cv-button:hover {
    background-color: #c7dc04;
    color: #000000;
    box-shadow: 0 0 15px rgba(208, 255, 0, 0.8); /* Enhanced glow effect on hover */
    transform: scale(1.05); /* Slight zoom-out effect */
  }
  
   

  /* education section
==================================================*/

#education {
    padding: 100px 0;
    background: #f3f3f3
}

.education-row {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.education-row h3 {
    font-family: 'Garamond', serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #425BB5;
    font-size: 16px;
    font-weight: bold
}

.education-row p {
    color: #888;
    margin-top: 20px;
    font-size: 15px;
}

.education-row .date {
    color: #000;
    font-size: 17px;
}

.timeline {
    padding-left: 0;
    list-style: none;
    position: relative;
}

.timeline:before {
    background-color: black;
    content: '';
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 2px;
    height: 100%;
}

.timeline-event {
    position: relative;
}

.timeline-event:hover .timeline-event-icon {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #425BB5;
}

.timeline-event:hover .timeline-event-thumbnail {
    box-shadow: inset 40em 0 0 0 #425BB5;
}

.timeline-event-copy {
    padding: 2em;
    position: relative;
    top: -1.875em;
    left: 4em;
    width: 100%;
}

.timeline-event-copy h3 {
    font-size: 1.75em;
    font-family: 'Garamond', serif;
    font-size: 15px;
    font-weight: bold;
}


.timeline-event-copy h4 {
    font-size: 1.2em;
    margin-bottom: 1.2em;
    font-size: 20px; /* or any size you prefer */
    color: #23e8e8; /* if you want to also change color */
    letter-spacing: 2.2px;
}

.timeline-event-copy h5 {
    font-family: 'Georgia', serif; /* Font family */
    text-transform: capitalize;     /* Capitalize text */
    letter-spacing: 1.5px;          /* Spacing between letters */
    color: #3f10cc;                 /* Text color */
    margin-left: 8px;               /* Space from left */
    font-weight: bold;               /* Font weight */
    font-size: 18px;                /* Font size */
}


.timeline-event-copy strong {
    font-weight: 700;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
    padding-bottom: 1.2em;
}

.timeline-event-icon {
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #425BB5;
    outline: 10px solid #f3f3f3;
    display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: 2em;
    width: 1em;
    height: 1em;
}

.timeline-event-thumbnail {
    -moz-transition: box-shadow 0.5s ease-in 0.1s;
    -o-transition: box-shadow 0.5s ease-in 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in;
    -webkit-transition-delay: 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in 0.1s;
    transition: box-shadow 0.5s ease-in 0.1s;
    color: white;
    font-size: 12px;
    font-weight: bold;
    background-color: black;
    box-shadow: inset 0 0 0 0em #425BB5;
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 0.25em 1em 0.2em 1em;
}


/* Skill section
==================================================*/

#skills {
    padding: 0;
    background: #eef3f7;
    text-align: center; /* Centering all text content */
}

#skills h4 {
    text-align: left; /* Aligns the number on the left */
}

#skills h1 {
    text-align: left; /* Aligns the title on the left */
    margin-bottom: 30px; /* Retain this margin for spacing */
}


.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    justify-items: center; /* Center the skill cards in the grid */
}

.skill-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%; /* Make the card width consistent */
    max-width: 300px; /* Limit max width for cards */
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: #f0faff; /* Slight background color change on hover */
}

.skill-card .skill-icon {
    font-size: 40px; /* Increase icon size */
    margin-bottom: 20px;
    display: flex;
    justify-content: center; /* Horizontally center the icon */
    align-items: center; /* Vertically center the icon */
    color: #425BB5;
}

.skill-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease; /* Smooth transition for text color */
}

.skill-card p {
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease; /* Smooth transition for text color */
}

.skill-card:hover h3 {
    color: #23e8e8; /* Matching hover effect color for titles */
}

.skill-card:hover p {
    color: #23e8e8; /* Matching hover effect color for descriptions */
}

/* Styling for section header */
#skills .section-number {
    font-size: 24px;
    color: #23e8e8;
}

#skills .section-title {
    font-size: 50px;
    color: #000;
    font-family: 'Roboto', sans-serif; /* Match font with the award section */
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.section-divider {
    width: 60px;
    height: 5px;
    background-color: #23e8e8;
    margin: 0 auto 30px auto;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #3f3f3f;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



/* experience section
==================================================*/

#experience {
    padding: 100px 0;
    background: #f3f3f3
}

.experience-row {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.experience-row h3 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #425BB5;
    font-size: 16px;
    font-weight: bold
}

.experience-row p {
    color: #888;
    margin-top: 20px;
    font-size: 15px;
}

.experience-row .date {
    color: #000;
    font-size: 17px;
}

.timeline {
    padding-left: 0;
    list-style: none;
    position: relative;
}

.timeline:before {
    background-color: black;
    content: '';
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 2px;
    height: 100%;
}

.timeline-event {
    position: relative;
}

.timeline-event:hover .timeline-event-icon {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #425BB5;
}

.timeline-event:hover .timeline-event-thumbnail {
    box-shadow: inset 40em 0 0 0 #425BB5;
}

.timeline-event-copy {
    padding: 2em;
    position: relative;
    top: -1.875em;
    left: 4em;
    width: 100%;
}

.timeline-event-copy h3 {
    font-size: 1.75em;
}

.timeline-event-copy h4 {
    font-size: 1.2em;
    margin-bottom: 1.2em;
    font-size: 20px; /* or any size you prefer */
    color: #23e8e8; /* if you want to also change color */
    letter-spacing: 2.2px;
}

.timeline-event-copy strong {
    font-weight: 700;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
    padding-bottom: 1.2em;
}

.timeline-event-icon {
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #425BB5;
    outline: 10px solid #f3f3f3;
    display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: 2em;
    width: 1em;
    height: 1em;
}

.timeline-event-thumbnail {
    -moz-transition: box-shadow 0.5s ease-in 0.1s;
    -o-transition: box-shadow 0.5s ease-in 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in;
    -webkit-transition-delay: 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in 0.1s;
    transition: box-shadow 0.5s ease-in 0.1s;
    color: white;
    font-size: 12px;
    font-weight: bold;
    background-color: black;
    box-shadow: inset 0 0 0 0em #425BB5;
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 0.25em 1em 0.2em 1em;
}

.experience-img {
    width: 45%; /* Adjust the width as per your layout */
    height: auto;
    margin: 20px 2.5%; /* Adds some spacing between images */
    border-radius: 8px; /* Optional: gives images a rounded corner */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow */
}

/* Flexbox container to align images side by side */
.research-images {
    display: flex;
    justify-content: space-between; /* Optional: Adds space between the images */
    gap: 20px; /* Optional: Controls the gap between images */
}

.research-images a {
    flex: 1; /* Ensures images stay responsive */
}

.research-images img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.research-images img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
    cursor: pointer;
}


#experience h3 {
    margin-bottom: 15px; /* Adjust as needed for space */
}

#experience h5 {
    margin-bottom: 20px; /* Adjust for desired spacing between h3 and h5 */
}

#experience p {
    margin-bottom: 20px; /* Adjust spacing after paragraph */
}

.experience-img {
    width: 45%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Styling for the Read More button */
.read-more-button {
    display: inline-block;
    margin-top: 1px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background-color: #007bff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more-button:hover {
    background-color: #0056b3;
    color: #7e7e7e;
}



/* projects section
==================================================*/

#projects {
    padding: 100px 0;
}

.portfolio .categories-grid span {
    font-size: 30px;
    margin-bottom: 30px;
    display: inline-block;
}

.portfolio .categories-grid .categories ul li {
    list-style: none;
    margin: 20px 0;
}

.portfolio .categories-grid .categories ul li a {
    display: inline-block;
    color: #60606e;
    padding: 0 10px;
    margin: 0 14px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
    text-decoration: none;
}

.portfolio .categories-grid .categories ul li a.active {
    background-color: #425BB5;
    padding: 0px 20px;
    color: white;
    text-decoration: none;
}

.portfolio_filter {
    padding-left: 0;
}

.portfolio_item {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 30px;
}

.portfolio_item .portfolio_item_hover {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: #425BB5;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    color: #333;
}

.portfolio_item .portfolio_item_hover .item_info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    font-weight: bold;
}

.portfolio_item .portfolio_item_hover .item_info span {
    display: block;
    color: #fff;
    font-size: 18px;
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
}

.portfolio_item .portfolio_item_hover .item_info em {
    font-style: normal;
    display: inline-block;
    background-color: #425BB5;
    padding: 5px 20px;
    color: #fff;
    margin-top: 10px;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
    font-size: 10px;
    letter-spacing: 2px;
}

.portfolio_item:hover .portfolio_item_hover {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio .categories-grid .categories ul li {
    float: left;
}

.portfolio .categories-grid .categories ul li a {
    padding: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio_filter {
    padding-left: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

/*.portfolio_item img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}*/

.portfolio-padding {
    padding: 50px 0;
}

.portfolio-inner {
    padding-bottom: 0 !important;
    padding-top: 55px;
}

.modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
    border: none;
}

.popup-modal {
    background: #fff;
}

.popup-modal .modal-content {
    width: 90%; /* Adjust as needed */
    max-width: 1200px; /* Maximum width */
    margin: 20px auto; /* Center horizontally */
    padding: 0; /* Remove padding for full-width content */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Optional: add a shadow */
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text within content */
}

.popup-modal .modal-content > * {
    margin: 0; /* Remove margin from child elements */
    padding: 20px; /* Optional: add padding for spacing */
    width: 150%; /* Make child elements take full width */
    box-sizing: border-box; /* Ensure padding is included in width */
}



/*.close-popup-modal {
    float: right;
    margin: 20px;
    font-size: 22px;
    opacity: 1 !important;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
    position: sticky;
    z-index: 100000;
    right: 14px;
}*/

.close-popup-modal {
    float: right;
    position: sticky;  /* Use sticky positioning */
    top: 20px;         /* Stick to the top */
    right: 14px;       /* Align to the right */
    margin: 20px;
    font-size: 22px;
    opacity: 1 !important;
    cursor: pointer;
    z-index: 100000;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
}

/* Media query for mobile screens */
@media (max-width: 768px) { /* Adjust as needed */
    .popup-modal .modal-content {
        width: 90%; /* Full width on mobile */
        padding: 10px; /* Add padding for mobile */
        max-height: 90vh; /* Limit height on mobile */
        overflow-y: auto; /* Enable vertical scrolling */
    }

    .popup-modal .modal-content > * {
        width: 100%; /* Ensure children take full width */
        padding: 10px; /* Adjust padding for mobile */
    }

    .close-popup-modal {
        top: 10px; /* Adjust positioning for mobile */
    }
}

.animatedModal-on .close-popup-modal {
    opacity: 1;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 50px;
}

.pdf-container {
    padding-bottom: 20px; /* Adjust the padding as needed */
    background-color: #2e2e2e;
}

.pdf-container iframe,
.pdf-container embed {
    width: 100%;
    height: 90vh; /* 90% of the viewport height */
    border: none;
    overflow: auto; /* Enable scrolling if needed */
}

embed {
    width: 100%; /* Make sure the PDF fills the container */
    height: 100%; /* Ensure height is also appropriate */
}

/* Style for hover effect */
.hover-effect {
    display: block;
    width: 70%;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

.hover-effect:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    opacity: 0.8; /* Optional: Slight fade */
}

/* To ensure images are aligned */
.image-grid .row {
    margin-bottom: 15px;
}

.collapsible {
    background-color: #777;
    color: rgb(0, 0, 0);
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.active, .collapsible:hover {
    background-color: #ffffff;
    color: black;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.gallery {
    display: flex;
    flex-direction: column;
}

figcaption {
    text-align: center;
    margin-top: 5px;
}

/*==*/

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 15px;
}

.content {
    padding: 10px;
    display: none;
    overflow: hidden;
}

.gallery {
    width: 100%;
    margin-top: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px; /* Adjust the gap between images */
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

figcaption {
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
}

.image-wrapper {
    display: flex;
    gap: 20px; /* Adjust the space between the two images */
}

.image-large {
    flex: 70%; /* 70% of the width for the first image */
}

.image-small {
    flex: 30%; /* 30% of the width for the second image */
}

.image-large img, .image-small img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: Adds rounded corners to the images */
}

.sun-button {
    display: inline-block;
    padding: 20px 30px;
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    background-color: #7811f5ef;
    border: none;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 5px rgb(93, 0, 255); /* Initial glow effect */
    font-family: 'Playfair Display', serif; /* Apply the font here */
    letter-spacing: 0.7px; /* Adjust the spacing between letters */
  }

  .sun-button-container {
    margin-left: 20px; /* Optional: add space between logo and button */
  }

  .sun-button:hover {
    background-color: #a200fa;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 0, 47, 0.922); /* Enhanced glow effect on hover */
    transform: scale(1.05); /* Slight zoom-out effect */
  }


/*===================================== Awards and Honors Section */

.section {
    padding: 50px 0;
}

.section-title {
    font-family: 'Garamond', serif;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
}

.award-box {
    background-color: #f7f7f7;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
    font-family: 'Garamond', serif;
}

.award-box:hover {
    transform: scale(1.05);
}

.award-link {
    font-size: 20px;
    color: #333;
    text-decoration: none;
}

.award-description {
    font-size: 16px;
    color: #666;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    overflow: auto; /* Allow scrolling if the content exceeds the height */
}

/* Modal content box */
.modal-content {
    position: relative;
    margin: 5% auto; /* Centered modal with top spacing */
    padding: 20px;
    background-color: #fff; /* White background */
    border-radius: 8px;
    width: 80%; /* Set width */
    max-width: 1200px; /* Limit the width for larger screens */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    align-items: center;
}

/* Image styles */
.modal-body img {
    max-width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the image */
    margin: 0 auto; /* Center the image */
}

/* Increase font size in modal body */
.modal-body p {
    font-size: 20px; /* Adjust this value as needed */
    color: #333; /* Optional: Change text color */
    line-height: 1.5; /* Optional: Adjust line height for better readability */
}


/* Header inside each modal */
.modal-header h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
    text-align: center;
}

/* Close button */
.close-awardModal {
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

.close-awardModal:hover {
    color: #000;
}

/* Additional styling for award titles */
.award-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.award-details {
    font-size: 16px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

body {
    font-family: 'Roboto', sans-serif; /* Default font for the body */
}

.section-title {
    font-family: 'Roboto', sans-serif; /* Using Roboto for titles */
}

.award-link {
    font-family: 'Roboto', sans-serif; /* Using Roboto for award links */
}

/* Add the font-family wherever you want to apply it */

.award-box {
    padding: 20px;
    border: 2px solid #000000; /* Keeps the rounded border */
    border-radius: 12px; /* Round corners */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Changes the cursor to pointer */
}

.award-link {
    text-decoration: none;
    color: inherit; /* Keeps the text color unchanged */
}

.award-box:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0px 10px 20px rgba(12, 151, 215, 0.67); /* Adds shadow on hover */
}


/* extracurricular
==================================================*/

.section {
    padding: 50px 0;
}

.section-title {
    font-family: 'Garamond', serif;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
}

.extracurricular-box {
    position: relative;
    height: 300px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Garamond', serif; /* Garamond font for the text */
}

.extracurricular-box:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0px 10px 20px rgb(255, 23, 23); /* Cyan shadow around the entire box */
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent; /* Slightly transparent black overlay */
    color: #ffffff; /* White text */
    padding: 20px;
    text-align: center;
    transition: background 0.3s ease;
    font-size: 24px; /* Adjust font size as needed */
}



/* Title font styling */
.extracurricular-title {
    font-family: 'Garamond', serif; /* Garamond font */
    font-size: 24px; /* Adjust the font size as per your preference */
    color: #fff; /* White text color */
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.905); /*Optional text shadow for readability */
}


/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    overflow: auto; /* Allow scrolling if the content exceeds the height */
}

/* Modal content box */
.modal-content {
    position: relative;
    margin: 5% auto; /* Centered modal with top spacing */
    padding: 20px;
    background-color: #fff; /* White background */
    border-radius: 8px;
    width: 80%; /* Set width */
    max-width: 1200px; /* Limit the width for larger screens */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    align-items: center;
}

/* Image styles */
.modal-body img {
    max-width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the image */
    margin: 0 auto; /* Center the image */
}

/* Increase font size in modal body */
.modal-body p {
    font-size: 20px; /* Adjust this value as needed */
    color: #333; /* Optional: Change text color */
    line-height: 1.5; /* Optional: Adjust line height for better readability */
}

/* Header inside each modal */
.modal-header h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
    text-align: center;
}

/* Close button */
.close-extracurricularModal {
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

.close-extracurricularModal:hover {
    color: #000;
}



body {
    font-family: 'Roboto', sans-serif; /* Default font for the body */
}

.section-title {
    font-family: 'Roboto', sans-serif; /* Using Roboto for titles */
}

.extracurricular-link {
    font-family: 'Roboto', sans-serif; /* Using Roboto for extracurricular links */
}






/* contact
==================================================*/

#contact {
    padding: 100px 0;
    background: #eef3f7;
    text-align: center; /* Centering all text content */
}

#contact h4 {
    text-align: left; /* Aligns the number on the left */
}

#contact h1 {
    text-align: left; /* Aligns the title on the left */
    margin-bottom: 0px; /* Retain this margin for spacing */
}

.social-icons {
    display: flex;
    justify-content: flex-start; /* Align icons to the left */
    gap: 20px; /* Space between icons */
    margin-top: 10px;
}

.social-icons a {
    color: #333; /* Icon color */
    font-size: 35px; /* Icon size */
    transition: transform 0.3s, color 0.3s; /* Smooth transform and color transition */
}

.social-icons a:hover {
    color: #425BB5; /* Change color on hover */
    transform: scale(1.2); /* Slightly increase size on hover */
}

.footer-note {
    margin-top: 40px;
    text-align: left; /* Left align the footer note */
}

.footer-note p {
    font-size: 14px; /* Smaller text size */
    color: #555; /* Light gray color */
}


/* Responsive media queries
==================================================*/

@media (max-width: 991px) {
    .portfolio .categories-grid .categories ul li a {
        padding: 0 2px;
    }
}

@media (max-width: 768px) {
    .timeline-event-copy {
        width: 90%;
        left: 2em;
    }
}

@media (max-width: 500px) {
    h1 {
        font-family: 'Playfair Display', serif;
        font-size: 50px;
        line-height: 50px;
    }
    #home,
    .disply-table {
        height: 600px;
    }
    .about-border {
        width: 265px;
    }
    .portfolio .categories-grid .categories ul li {
        list-style: none;
        margin: 10px 0;
    }
}

@media (max-width: 420px) {
    nav li {
        margin: 6px;
    }
    nav li a {
        font-size: 10px;
    }
}