/* ----------------for font ------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}







/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #18567f;
    --accent-color: #0f7a5d;
    --text-color: #333;
    --light-color: #fff;
    --dark-color: #222;
    --gray-color: #f5f5f5;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0d5b9e;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cont_nav{
    display: flex;
    justify-content: center;
}

.logo{
    padding-top: 20px;
}

.logo h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo h1 span {
    color: var(--secondary-color);
}

.logo p {
    font-size: 0.7rem;
    color: var(--text-color);
    margin-top: -10px;
}

.navbar {
    padding-left: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Mobile Menu Button Styles */
.menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.menu-btn .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 1000px) {
    .menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 0;
        transition: all 0.5s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    /* Hamburger to X animation */
    .menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Overlay when menu is open */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    
    .overlay.active {
        display: block;
    }
}


/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, rgba(16, 110, 190, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-image {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.profile-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.gear-icon {
    position: absolute;
    color: var(--secondary-color);
    font-size: 3rem;
    animation: rotate 10s linear infinite;
    z-index: 0;
}

.gear-1 {
    top: -20px;
    left: -20px;
}

.gear-2 {
    bottom: -20px;
    right: -20px;
    animation-direction: reverse;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Stats Section */
.stats {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 50px 0;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-box h3 {
    font-size: 3rem;
    margin-bottom: 5px;
    color:white;
}

.stat-box p {
    font-size: 1.2rem;
}

/* Qualifications Section - Flip Cards */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.qualification-card {
    background-color: transparent;
    height: 350px;
    perspective: 1000px;
}

.qualification-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.qualification-card:hover .qualification-card-inner {
    transform: rotateY(180deg);
}

.qualification-card-front,
.qualification-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 15px;
    color: var(--primary-color);
}

.qualification-card-front {
    background: linear-gradient(135deg, white, #9dcbf0);
}

.qualification-card-back {
    background: linear-gradient(135deg, #0a4a7d, var(--primary-color));
    transform: rotateY(180deg);
    text-align: center;
    color: white;
}

.qualification-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.qualification-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.qualification-card p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.qualification-card-back h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    color: white;
}

.qualification-card-back p {
    margin-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
    color: white;
}


.qualification-card-back ul {
    text-align: left;
    padding-left: 20px;
    color: white;
}

.qualification-card-back ul li {
    margin-bottom: 10px;
    position: relative;
    color: white;
}

.qualification-card-back ul li::before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--secondary-color);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .qualification-card {
        height: 300px;
    }
    
    .qualification-card h3 {
        font-size: 1.3rem;
    }
    
    .qualification-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .qualifications-grid {
        grid-template-columns: 1fr;
    }
    
    .qualification-card {
        height: 280px;
    }
}

/* Research-profile  Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.research-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.research-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.research-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.research-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.research-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Professional Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--secondary-color);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-date {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-content {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--light-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}


/* Academic & Professional Achievements Section */

#accordion {
    margin: 100px auto;
    max-width: 800px;
}


#accordion li{
    list-style: none;
    width: 100%;
    margin-bottom: 10px;
    background: var(--primary-color);
    padding: 10px;
    border: 4px;
    border-radius: 15px;
    transition: all 0.3s;
}

#accordion li .acheivement-content{
    background-color: white;
    border-radius: 15px;
    padding: 15px;
}

#accordion li .acheivement-content .acheivement-content{
    background-color: #3a4f63;
    color: white;
    font-size: 12px;
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s;
}

#accordion li .acheivement-content .acheivement-content:hover{
    font-size: 16px;
}

#accordion li label{
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: #ffffff;
}

#accordion li label span{
    transform: rotate(90deg);
    font-size: 15px;
    color: #ffffff;
    font-weight: 450;
}

#accordion label + input[type = checkbox]{
    display: none;
}

#accordion .content {
    padding: 0, 10px;
    line-height: 26px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}

#accordion label + input[type="checkbox"]:checked + .content {
    max-height: 1000000px;
}

#accordion input[type="checkbox"]:checked + label span {
    transform: rotate(270deg); 
}

#accordion li:hover{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transform: translate(-10px);
}

.table-container {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    transition: all 0.3s;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    transition: all 0.3s;
}

th {
    background-color: #3a4f63;
    color: white;
    transition: all 0.3s;
}

tr:hover {
    background-color: #f1f1f1;
}

.content a {
  color: #007acc;
  text-decoration: none;
  font-weight: bold;
}

.content a:hover {
  text-decoration: underline;
}

.publication-list{
    color: white;
    font-size: 12px;
}

.publication-list ul li:hover{
    font-size: 15px;
}

.publication-list h3{
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 1000
}

/* --for research section  */
.image-section {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: white;
    border-radius: 10px;
}

.image-section h2{
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    font-family: "Poppins",sans-serif;
}

.image-heading {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #ffffff;
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.read-more-btn {
    display: block;
    margin: 15px auto 0;
    padding: 10px 20px;
    background-color: #394f66;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background-color: #1a252f;
    transform: translateY(-3px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.4);
}

.read-more-btn:active{
    transform: translateY(-2px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.overlay2 {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay2.active {
    display: flex;
}

.overlay-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: #555;
}

.overlay-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.overlay-description {
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.author {
    font-style: italic;
    text-align: right;
    color: #555;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}                 


/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(15, 252, 190, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: #297fb9;
    margin-bottom: 20px;
}

.footer-links h3 {
    color: #297fb9;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2792da;
}

.footer-social h3 {
    color: #297fb9;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.quick-links a{
    font-size: 16px;
    font-weight: 500;
}

.quick-links a:hover{
    color: #2792da;
    text-decoration: none;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links h5 {
    font-size: 10px;
    font-weight: 200;
    text-align: center;
    padding-top: 5px;
    max-width: 40px;
}

.social-links a:hover {
    background-color: #2792da;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-right: 0;
        padding-left: 70px;
        text-align: left;
    }
    
    .timeline-item::after {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 20px;
    }
}

/* Mobile Navigation Styles */
.nav-links {
    display: flex;
    transition: all 0.5s ease-in-out;
}

@media (max-width: 1000px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
}