@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&display=swap');

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.bubble:nth-child(1) { width: 100px; height: 100px; top: 10%; left: 20%; }
.bubble:nth-child(2) { width: 80px; height: 80px; top: 30%; left: 40%; }
.bubble:nth-child(3) { width: 120px; height: 120px; top: 60%; left: 40%; }
.bubble:nth-child(4) { width: 60px; height: 60px; top: 35%; left: 40%; }
.bubble:nth-child(5) { width: 100px; height: 90px; top: 10%; right: 70%; }


h1{
    font-size: 156px;
}
.profile-card {
     background: linear-gradient(to bottom, #1e3a8a, #60a5fa);
     width: 100%;
     height: 685px;
    display: flex;
     align-items: center;
     justify-content: center;
      
}
  .profile{
    background: #ffffff;
    border-radius: 12px;
  
    box-shadow: 0 4px 6px rgba(213, 123, 213, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8%;
    width: 85%;
    height: 500px;
    justify-content: center;
}



.profile-image {
    width: 342px;
    height: 375px;
    border-radius: 8px;
    object-fit: cover;
}

.profile-text {
    text-align: center;
    align-items: center;
    justify-content: center;
}




.profile-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    justify-self: center;
}

.profile-text p {
    font-size: 14px;
    color: #4b5563;
    margin-top: 8px;
    justify-content: center;
    align-items: center;
}

.button-group {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}



.primary-btn {
    background: #ec4899;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.primary-btn:hover {
    background: #db2777;
}

.secondary-btn {
    background: transparent;
    color: #374151;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: background 0.3s ease;
}

.secondary-btn:hover {
    background: #f3f4f6;
}

.quote-section {
    text-align: center;
    margin-top: 32px;
    background-color: white;
     box-shadow: 200px 240px 256px rgba(231, 96, 206, 0.05);
}

.quote-section h2 {
    font-size: 36px;
    font-weight: 600;
   font-family: "Josefin Slab", serif;
    color: #1f2937;
    justify-content: center;
    align-items: center;
    display: flex;
    width:100%;
      
}

.description-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    
    box-shadow: rgba(227, 130, 214, 0.4) 0px 30px 90px;
   margin: 4%;
    
    
}

.description-card img{
    width: 60px;
    height: 60px;
}



.section {
    margin-bottom: 40px;
    margin: 3%;
    
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: right;
    font-family: "Josefin Slab", serif;
    padding-right: 3%;
}

#card-i,#card2-i{
  font-size: 45px;
  color: #ea4c89;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card {
   background: #ffffff;
   border-radius: 12px;
   padding: 24px;
   box-shadow: rgba(227, 130, 214, 0.4) 0px 30px 90px;
   text-align: center;
   transition: transform 0.3s ease;
   
}

.card:hover {
    transform: translateY(-5px);
   
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}



.section2 {
    margin-bottom: 40px;
    margin: 3%;
    
}

.section2-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: left;
    font-family: "Josefin Slab", serif;
    padding: 3%;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card2 {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(227, 130, 214, 0.4) 0px 30px 90px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    width: 28%;
    height: 70%;
    justify-content: center;
    align-items: center;
    gap:25px;
}

.card2:hover {
    transform: translateY(-5px);
}
.first{
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    margin: 3%;
    
    
}
.second{
    display: flex;
    justify-content:space-evenly;
    margin: 6%;
    align-items: center;
}



.tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: center;
}

.tab {
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 8px;
}

.tab.active {
    background: #ec4899;
    color: #ffffff;
    border-radius: 8px;
}

.tab:hover {
    background: #ec4899;
    color: white;
}

.publications {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 3%;
}

.hor{
  height: 4px;
    background-color: black;
    width: 100%;
    margin-top: 8px;
   
}
.publication h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.journal-info {
    font-size: 14px;
    font-style: italic;
    color: #4b5563;
    margin: 4px 0;
}

.authors {
    font-size: 14px;
    color: #4b5563;
    margin: 4px 0;
}

.publication hr {
    border: 0;
    border-top: 1px solid #d1d5db;
    margin: 16px 0 0 0;
}






/* Mobile view for screens up to 768px (tablets and smaller) */
@media (max-width: 768px) {
    /* Adjust profile card and profile container */
    .container-about{
        margin-top: 77px;

    }
    .profile-card {
        height: auto;
        padding: 20px 0;
    }

    .profile {
        flex-direction: column;
        width: 90%;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .profile-image {
        width: 200px;
        height: 280px;
    }

    .profile-text h1 {
        font-size: 36px;
    }

    .profile-text p {
        font-size: 12px;
    }

    .button-group {
        flex-direction: column;
        gap: 12px;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        text-align: center;
    }

    /* Quote section */
    .quote-section h2 {
        font-size: 28px;
        
    }

    /* Description card */
    .description-card {
        margin: 5%;
        padding: 16px;
    }

    .description-card img {
        width: 50px;
        height: 50px;
    }

    /* Section grids */
    .grid, .grid2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card, .card2 {
        padding: 16px;
    }

    .card2 {
        width: 100%;
        height: auto;
    }

    /* Section titles */
    .section-title, .section2-title {
        font-size: 24px;
        text-align: center;
        padding: 0;
    }

    /* First and second flex containers */
    .first, .second {
        flex-direction: column;
        gap: 20px;
    }

    /* Tabs */
    .tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tab {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* Publications */
    .publication h3 {
        font-size: 14px;
    }

    .journal-info, .authors {
        font-size: 12px;
    }

    /* Bubbles (reduce size for mobile) */
    .bubble:nth-child(1) { width: 60px; height: 60px; }
    .bubble:nth-child(2) { width: 50px; height: 50px; }
    .bubble:nth-child(3) { width: 70px; height: 70px; }
    .bubble:nth-child(4) { width: 40px; height: 40px; }
    .bubble:nth-child(5) { width: 60px; height: 60px; }
}

/* Smaller mobile view for screens up to 480px (phones) */
@media (max-width: 480px) {
    /* Further reduce font sizes and padding */
    .profile-image {
        width: 150px;
        height: 210px;
    }

    .profile-text h1 {
        font-size: 28px;
    }

    .profile-text p {
        font-size: 10px;
    }

    .quote-section h2 {
        font-size: 24px;
    }

    .section-title, .section2-title {
        font-size: 20px;
    }

    .description-card {
        padding: 12px;
    }

    .description-card img {
        width: 40px;
        height: 40px;
    }

    .card, .card2 {
        padding: 12px;
    }

    .tab {
        font-size: 12px;
        padding: 4px 8px;
    }

    i {
        font-size: 30px;
    }

    h3 {
        font-size: 16px;
    }

    /* Adjust horizontal line */
    .hor {
        height: 8px;
    }
}