html {
    scroll-behavior: smooth;
    }
    body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('./images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; 
    background-attachment: fixed; 
    min-height: 100vh; 
}
.cv-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}
    p, li {
    line-height: 1.6;
    }

.user-photo {
    display: block;
    margin: auto;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 5px solid #5D737E; 
}

.user-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.personal-info {
    text-align: center;
    margin: 20px 0;
}

.personal-info h1 {
    margin: 10px 0;
    transition: color 0.3s;
}

.personal-info h1:hover {
    color: #007BFF;
}

.personal-info p {
    margin: 5px 0;
}

.goal-section {
    margin: 40px 0;
    text-align: center;
}

.goal-section h2 {
    margin-bottom: 10px;
}

.goal-section p {
    margin: 0 20px;
}

.academic-section {
    margin: 20px 0;
    border: 2px solid #d3d3d3;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  
    padding: 10px;
    border-radius: 10px;
}

.academic-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.academic-section table {
    width: 100%;
    border-collapse: collapse;
}

.academic-section th, .academic-section td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.info-column {
    flex: 1;
    padding: 10px;
}

.info-column h2 {
    text-align: center;
    margin-bottom: 20px;
}

.info-column ul {
    list-style-type: none;
    padding: 0;
}

.info-column li {
    margin-bottom: 10px;
}

.map-wrapper {
    text-align: center;
    margin: 20px 0;
}

.map-wrapper iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.sections-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.section-box {
    width: 48%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px;
}
.conference-section, .project-section {
    margin-top: 20px;
    background-color: #f9f9f9;
}

.conference-section h3, .project-section h3 {
    text-align: center;
    margin-bottom: 10px;
}

.conference-section ul, .project-section ul {
    list-style-type: none;
    padding: 0;
}

.conference-section li, .project-section li {
    margin-bottom: 10px;
}

.professional-body-registration {
    margin-top: 40px; 
    padding: 20px;    
    /* background-color: #f9f9f9;  */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
}

.professional-body-registration h3 {
    text-align: center;
    margin-bottom: 10px;
}

.professional-body-registration ul {
    list-style-type: none;
    padding: 0;
}

.professional-body-registration li {
    margin-bottom: 10px;
}
.academic-section tr:nth-child(even) {
    background-color: #f9f9f9;
}
.academic-section tr:hover {
    background-color: #f1f1f1;
}
a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #0056b3;
    text-decoration: underline;
}
.sections-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Common styles for both sections */
.section-box {
    width: 48%; /* Slightly less than 50% to account for spacing */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.conference-section {
    border-left: 5px solid #ff5733; /* Orange accent */
}
/* Unique styles for Project Work section */
.project-section {
    border-left: 5px solid #8e44ad; /* Purple accent */
}

.experience-section {
    border-left: 5px solid #007BFF; 
}


.publications-section {
    border-left: 5px solid #28a745;
}
/* Unique styles for Fellowship & Awards section */
.fellowship-awards {
    border-left: 5px solid #e67e22; /* Orange accent */
}

/* Unique styles for Field of Specialization section */
.field-specialization {
    border-left: 5px solid #9b59b6; /* Purple accent */
}
/* Add this to your existing CSS */
#moveToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    z-index: 1000; /* Ensure it's above other elements */
    background-color: #007BFF; /* Button background color */
    color: white; /* Button text color */
    border: none; /* Remove border */
    border-radius: 50%; /* Circular button */
    width: 50px; /* Button width */
    height: 50px; /* Button height */
    font-size: 24px; /* Arrow size */
    cursor: pointer; /* Pointer cursor on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transitions */
}

#moveToTopBtn:hover {
    background-color: #0056b3; /* Darker background on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}
/* Position the button at the top right */
#downloadPdfBtn {
  position: fixed;
  top: 20px; /* Distance from the top */
  right: 20px; /* Distance from the right */
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#downloadPdfBtn:hover {
  background-color: #0056b3;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .cv-container {
        padding: 10px;
    }

    .info-row {
        flex-direction: column;
    }

    .sections-wrapper {
        flex-direction: column;
    }

    .section-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .user-photo {
        width: 150px;
        height: 150px;
    }

    .goal-section p {
        margin: 0 10px;
    }

    .academic-section table th, .academic-section table td {
        padding: 8px;
    }
    .sections-wrapper {
        flex-direction: column;
    }
    .section-box {
        width: 100%;
        margin-bottom: 20px;
    }
    .sections-wrapper {
        flex-direction: column;
    }
    .section-box {
        width: 100%;
        margin-bottom: 20px;
    }
    
}

/* Smaller screens */
@media (max-width: 480px) {
    .user-photo {
        width: 120px;
        height: 120px;
    }
    
    .goal-section p {
        margin: 0 5px;
    }

    .info-column ul li {
        font-size: 14px;
    }
    .section-box {
        padding: 15px; 
    }
    .section-box h3 {
        font-size: 18px;
    }
    .section-box ul li {
        font-size: 14px; 
    }
    .user-photo {
        width: 120px;
        height: 120px; 
    }
    .goal-section p {
        margin: 0 5px;
    }
}
