/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Nunito Sans", sans-serif;
    background-color: #fafafa;
    color: #abb8c3;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 80px;
    align-items: center;
    justify-content: center;
}

/* Left Column Styles */
.left-column {
    flex: 1;
    max-width: 600px;
}

.name-section {
    margin-bottom: 30px;
}

.first-name, .last-name {
    font-family: "Playfair", serif;
    font-size: 95px;
    font-weight: 600;
    letter-spacing: 6.4px;
    text-shadow: 0px 0px 50px rgba(0, 0, 0, 0.11);
    color: #8ACD00;
}

.last-name {
    margin-top: -60px;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid #8BC34A;
    font-weight: 400;
}

.quote-author {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

.content {
    margin-top: 40px;
}

.content p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.7;
}

.welcome-text {
    font-style: italic;
    font-weight: 900;
    color: #8BC34A;
}

/* Right Column Styles */
.right-column {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    margin-bottom: 60px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 320px;
}

/* Twinkling Stars */
.star {
    position: absolute;
    color: #8ACD00;
    animation: sparkle 2s infinite;
    z-index: 10;
}

.star svg {
    width: 100%;
    height: 100%;
}

.star-1 {
    top: 2px;
    right: -2px;
    width: 32px;
    height: 32px;
    animation-delay: 0s;
}

.star-2 {
    top: 100px;
    left: -24px;
    width: 24px;
    height: 24px;
    animation-delay: 0.5s;
}

.star-3 {
    bottom: -24px;
    right: 64px;
    width: 28px;
    height: 28px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
    75% {
        opacity: 0.8;
        transform: scale(1.1) rotate(270deg);
    }
}

.profile-image {
    width: 320px;
    height: 400px;
    object-fit: cover;
    object-position: center 20%;
    border: 3px solid #8BC34A;
    border-radius: 50%;
    display: block;
}

.resume-section {
    margin-bottom: 20px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    width: 320px;
}

.resume-link {
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 17px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(138, 205, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    border: none;
    cursor: pointer;
}

.resume-link:hover {
    background: linear-gradient(135deg, #7AB33A 0%, #6BA32A 100%);
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(138, 205, 0, 0.4);
}

.resume-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.resume-icon {
    font-size: 18px;
    animation: bounce 2s infinite;
}

/* Resume Button Folder Animation */
.folderContainer {
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    margin-right: 3px;
}

.fileBack {
    z-index: 1;
    width: 100%;
    height: auto;
}

.filePage {
    width: 60%;
    height: auto;
    position: absolute;
    z-index: 2;
    transition: all 0.3s ease-out;
    bottom: 0;
}

.fileFront {
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 3;
    opacity: 0.95;
    transform-origin: bottom;
    transition: all 0.3s ease-out;
    bottom: 0;
}

.resume-link:hover .filePage {
    transform: translateY(-5px);
}

.resume-link:hover .fileFront {
    transform: rotateX(30deg);
}

/* Earth rotation animation for domain icon */
.domain-icon {
    transition: transform 0.6s ease-in-out;
    filter: hue-rotate(120deg) saturate(1.5) brightness(1.2);
}

.domain-icon:hover,
.domain:hover .domain-icon {
    animation: slowRotate 3s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

/* Page turning animation for information icon */
.page-icon {
    transition: transform 0.4s ease-in-out;
    transform-origin: left center;
}

.page-icon:hover,
.info:hover .page-icon {
    animation: pageTurn 0.8s ease-in-out;
}

.paper-icon {
    transition: transform 0.4s ease-in-out;
    transform-origin: left center;
}

.paper-icon:hover,
.info:hover .paper-icon {
    animation: pageTurn 0.8s ease-in-out;
}

@keyframes pageTurn {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(80deg) scaleX(0.8);
    }
    100% {
        transform: rotateY(0deg);
    }
}

/* Musical Journey Certificate Gallery */
.certificate-gallery {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    min-height:fit-content;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 20px;
    align-items: center;
    justify-content: center;
    place-content: center;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.certificate-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* top-left corner */

.certificate-item::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border: 4px solid #8ACD00;
    z-index: 2;
}

/* top-left */
.certificate-item::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* bottom-right */
.certificate-item::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 205, 0, 0.2);
}

.certificate-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.certificate-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.certificate-item:hover .certificate-image {
    transform: scale(1.05);
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.certificate-item:hover .certificate-overlay {
    opacity: 1;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.enlarge-btn {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
}

.pdf-btn {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    color: white;
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.enlarge-btn:hover {
    background: linear-gradient(135deg, #7AB33A, #6BA32A);
}

.pdf-btn:hover {
    background: linear-gradient(135deg, #FF5252, #E53935);
}

/* Image Enlargement Modal */
.image-enlargement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.enlarged-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-enlarged {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.close-enlarged:hover {
    background: #8ACD00;
    border-color: #8ACD00;
    transform: scale(1.1);
}

.enlarged-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    background: white;
    padding: 30px;
}

.enlarged-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    border-top: 8px solid #8ACD00;
    border-left: 8px solid #8ACD00;
    border-radius: 8px;
    z-index: 2;
}

.enlarged-image::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-bottom: 8px solid #8ACD00;
    border-right: 8px solid #8ACD00;
    border-radius: 8px;
    z-index: 2;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    height: 400%;
}

.certificate-slide {
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 15px;
}

.certificate-slide:hover {
    transform: scale(1.02);
}

.certificate-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 35px rgba(138, 205, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    border: 3px solid #8ACD00;
    transition: all 0.3s ease;
}

.certificate-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8ACD00, #7AB33A, #8ACD00, #6BA32A);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.7;
}

.certificate-frame::after {
    content: '🎵';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.certificate-frame iframe {
    border-radius: 17px;
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certificate-slide:hover .certificate-frame {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 45px rgba(138, 205, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.certificate-slide:hover .certificate-frame::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.02) rotate(1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: #8ACD00;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-btn:hover {
    background: #8ACD00;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(138, 205, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #8ACD00;
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(138, 205, 0, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.decorative-elements {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.decorative-image {
    max-width: 200px;
    height: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .container {
        flex-direction: column;
        gap: 30px;
        padding: 10px 15px;
        align-items: center;
    }
    
    .name-section {
        margin-bottom: 20px;
    }
    
    .left-column {
        max-width: 100%;
        text-align: center;
    }
    
    .right-column {
        max-width: 100%;
        align-items: center;
        width: 100%;
    }
    
    .first-name, .last-name {
        font-size: 4rem;
    }
    
    .last-name {
        margin-top: -20px;
    }
    
    .image-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .profile-image {
        width: 250px;
        height: 300px;
        margin: 0 auto;
    }
    
    .decorative-elements {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .first-name, .last-name {
        font-size: 3rem;
    }
    
    .last-name {
        margin-top: -15px;
    }
    
    .quote {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    .image-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .profile-image {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }
}

.journey-section {
    background-color: #F8F8F8;
    position: relative;
    margin-top: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.journey-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.journey-container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}


.journey-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #66CC00;
    text-align: center;
    margin: 20px 0;
    font-weight: 400;
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0px 0px 50px rgba(0, 0, 0, 0.11);
    color: #8ACD00;
}

.journey-description {
    font-size: 17px;
    color: #4A4A4A;
    text-align: center;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.journey-decorative {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.decorative-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.decorative-lines .line {
    height: 2px;
    background-color: #66CC00;
    transform-origin: left center;
}

.decorative-lines .line-1 {
    width: 40px;
    transform: rotate(15deg);
}

.decorative-lines .line-2 {
    width: 50px;
    transform: rotate(15deg);
}

.decorative-lines .line-3 {
    width: 35px;
    transform: rotate(15deg);
}

.decorative-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: 20px;
}

.decorative-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #66CC00;
    border-radius: 50%;
}

.decorative-dots .dot-1 {
    margin-bottom: 10px;
}

/* Journey Cards */
.journey-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.journey-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.journey-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.journey-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(138, 205, 0, 0.1) 0%, rgba(138, 205, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.journey-card:hover::before {
    opacity: 1;
}

.journey-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* border-color: rgba(138, 205, 0, 0.3); */
    /* background: #e8f5e8; */
}

/* Override for explore-more-section to move up by 2px only */
.explore-more-section .journey-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(138, 205, 0, 0.3) !important;
}

.card-image {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.journey-card:hover .card-image {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(138, 205, 0, 0.3);
    background: #eaeaea;
}

.journey-card:hover .card-image img {
    transform: scale(1.05);
}

.journey-card h3 {
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.journey-card:hover h3 {
    color: #8ACD00;
}

.journey-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8ACD00 0%, #7AB33A 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.journey-card:hover::after {
    transform: scaleX(1);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.card-link:hover {
    color: inherit;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2% 0 15px;
    margin-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.footer-left {
    flex: 1;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #8ACD00;
    margin-bottom: 10px;
    font-weight: 600;
}


.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 10px;
    height: 60px;
    padding-bottom: 20px;
    font-family: "Poppins", sans-serif;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.footer-link {
    position: relative;
    background: #fff;
    border-radius: 50%;
    margin: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    color: #333;
    font-size: 20px;
}

.footer-link .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #fff;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-link .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #fff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-link:hover {
    top: -5px;
}

.footer-link:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.footer-link.email:hover,
.footer-link.email:hover .tooltip,
.footer-link.email:hover .tooltip::before {
    background: #8ACD00;
    color: #fff;
}

.footer-link.linkedin:hover,
.footer-link.linkedin:hover .tooltip,
.footer-link.linkedin:hover .tooltip::before {
    background: #0077b5;
    color: #fff;
}

.footer-link.github:hover,
.footer-link.github:hover .tooltip,
.footer-link.github:hover .tooltip::before {
    background: #333;
    color: #fff;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 10px;
    }
    
    .footer-name {
        font-size: 1.8rem;
    }
    .footer-right{
        justify-content: end;
    }
    
    .footer-links {
        gap: 15px;
        height: 50px;
        padding-top: 15px;
        margin-bottom: 30px;
    }
    
    .footer-link {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
    .footer-copyright{
        visibility: hidden; 
        position: relative;
    }
    .footer-copyright::after{
        content: "\00a9 2025 Anahita Gupta. \A All rights reserved."; /* The new text */
        visibility: visible; 
        position: absolute;
        top: 0;
        right: 0;
        text-align: right;
        white-space: pre-line;
    }
    
}

/* Responsive Design for Journey Section */
@media (max-width: 1024px) {
    .journey-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .journey-section {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .journey-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .journey-decorative {
        position: static;
        align-self: flex-end;
        margin-top: 20px;
    }
    
    .journey-title {
        font-size: 2.5rem;
        margin: 10px 0;
    }
    
    .journey-description {
        margin: 10px 0 20px;
    }
    
    .journey-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 20px auto 0;
        padding: 0 15px;
    }
    
    .journey-card {
        padding: 20px;
    }
}

/* Toys for Joy Page Styles */
.page-header {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 3px solid #8ACD00;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    color: #8ACD00;
    margin: 0;
    font-weight: 600;
}

.nav-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-home:hover {
    color: #8ACD00;
    transform: translateY(-1px);
}

.nav-home i {
    font-size: 16px;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-layout {
    display: flex;
    gap: 100px;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 30px;
}

.content-sidebar {
    flex: 0 0 300px;
}

.sidebar-image {
    position: sticky;
    top: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.sidebar-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    background-color: #f8f9fa;
}

.sidebar-image img:hover {
    transform: scale(1.02);
}

.instagram-button-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Achievement Cards */
.achievements-container {
    margin-top: 20px;
}

.achievement-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    border-left: 3px solid #8ACD00;
}

.achievement-card:first-child {
    background: #f0f8e8;
}

.achievement-icon-container {
    width: 32px;
    height: 32px;
    background: #8ACD00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.achievement-icon {
    color: white;
    font-size: 14px;
}

.achievement-text {
    flex: 1;
    font-size: 15px;
    color: #333;
}

/* Sparkly Toys */
.toy {
    position: absolute;
    color: #8ACD00;
    font-size: 18px;
    animation: sparkle 2.5s ease-in-out infinite;
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(138, 205, 0, 0.6));
}

.toys {
    position: absolute;
    color: #8ACD00;
    font-size: 18px;
    animation: sparkles 2.5s ease-in-out infinite;
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(138, 205, 0, 0.6));
}

.toy-1 {
    top: 0px;
    right: -20px;
    animation-delay: 0s;
}

.toy-2 {
    top: 100px;
    left: -25px;
    animation-delay: 0.6s;
}

.toy-3 {
    bottom: 0px;
    right: 5px;
    animation-delay: 1.2s;
}

.toy-4 {
    bottom: 40px;
    left: 50px;
    animation-delay: 1.8s;
}

@keyframes sparkle {
    0%, 100% {
        transform: translateY(0px) rotate(-30deg) scale(1);
        opacity: 0.7;
        filter: drop-shadow(0 0 8px rgba(138, 205, 0, 0.6));
    }
    25% {
        transform: translateX(-8px) rotate(-20deg) scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(138, 205, 0, 0.9));
    }
    50% {
        transform: translateY(0px) rotate(-25deg) scale(1.2);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(138, 205, 0, 1));
    }
    75% {
        transform: translateY(0px) rotate(-30deg) scale(1.1);
        opacity: 0.9;
        filter: drop-shadow(0 0 10px rgba(138, 205, 0, 0.8));
    }
}


.toys-1 {
    top: 0px;
    right: -20px;
    animation-delay: 0s;
}

.toys-2 {
    top: 100px;
    left: -25px;
    animation-delay: 0.6s;
}

.toys-3 {
    bottom: 0px;
    right: 5px;
    animation-delay: 1.2s;
}

.toys-4 {
    bottom: 30px;
    left: 10px;
    animation-delay: 1.8s;
}

@keyframes sparkles {
    0%, 100% {
        transform: translateY(0px) rotate(-30deg) scale(1);
        opacity: 0.7;
        filter: drop-shadow(0 0 8px rgba(138, 205, 0, 0.6));
    }
    25% {
        transform: translateX(-8px) rotate(-20deg) scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(138, 205, 0, 0.9));
    }
    50% {
        transform: translateY(0px) rotate(-25deg) scale(1.2);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(138, 205, 0, 1));
    }
    75% {
        transform: translateY(0px) rotate(-30deg) scale(1.1);
        opacity: 0.9;
        filter: drop-shadow(0 0 10px rgba(138, 205, 0, 0.8));
    }
}


/* Reduced rotation for science page icons */
body.science-page .toy {
    animation: sparkle-light 3s ease-in-out infinite;
}

@keyframes sparkle-light {
    0%, 100% {
        transform: translateY(0px) rotate(-5deg) scale(1);
        opacity: 0.7;
        filter: drop-shadow(0 0 8px rgba(138, 205, 0, 0.6));
    }
    50% {
        transform: translateY(-5px) rotate(-8deg) scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(138, 205, 0, 0.9));
    }
}

.page-content {
    flex: 1;
    line-height: 1.8;
}

.content-section {
    margin-bottom: 40px;
}

.intro-text {
    font-size: 1.3rem;
    color: #8ACD00;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

.description {
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 25px;
    text-align: justify;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: #8ACD00;
    text-align: left;
    margin-bottom: 20px;
    font-weight: 600;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.letters-section {
    margin-bottom: 80px;
}

.letters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.letter-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.letter-item:hover {
    transform: translateY(-5px);
}

.letter-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.letter-item:hover .letter-image {
    transform: scale(1.05);
}

.gallery-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.gallery-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8ACD00;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.subtitle {
    font-size: 1.4rem;
    color: #8ACD00;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

/* Modern Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background: #fafafa;
    border-radius: 20px;
    padding: 40px 20px;
}

.carousel-wrapper {
    position: relative;
    padding: 0 48px;
    margin-bottom: 30px;
}

.carousel-content {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 15px;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 5.33px);
    min-width: 0;
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 4px);
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%;
    }
}

.carousel-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(138, 205, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;

}

.carousel-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-card:hover .carousel-image {
    transform: scale(1.05);
}

.carousel-btn {
    background: white;
    border: 2px solid rgba(138, 205, 0, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ACD00;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
   
}

.carousel-btn.prev-btn {
    left: -5px;
}

.carousel-btn.next-btn {
    right: -5px;
}

.carousel-btn:hover {
    background: #8ACD00;
    color: white;
    border-color: #8ACD00;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(138, 205, 0, 0.3);
}

.carousel-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 17px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(138, 205, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    display: inline-block;
}

.cta-button:hover {
    background: linear-gradient(135deg, #7AB33A 0%, #6BA32A 100%);
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(138, 205, 0, 0.4);
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.button-icon {
    font-size: 18px;
    animation: bounce 2s infinite;
}

.button-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.cta-button:hover .button-glow {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%);
    backdrop-filter: blur(10px);
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(138, 205, 0, 0.3) 0%, rgba(122, 179, 58, 0.3) 100%);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dot::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #8ACD00, #7AB33A, #8ACD00);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    transform: scale(1.4);
    box-shadow: 
        0 4px 15px rgba(138, 205, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.dot.active::before {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

.dot:hover {
    background: linear-gradient(135deg, rgba(138, 205, 0, 0.6) 0%, rgba(122, 179, 58, 0.6) 100%);
    transform: scale(1.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

/* Responsive Design for Toys for Joy Page */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .content-sidebar {
        flex: none;
        order: -1;
    }
    
    .sidebar-image {
        position: static;
    }
    
    .sidebar-image img {
        height: 300px;
    }
    
    .letters-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide {
        padding: 0 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .carousel-slide.prev .carousel-image {
        transform: scale(0.8) translateX(10px);
    }
    
    .carousel-slide.next .carousel-image {
        transform: scale(0.8) translateX(-10px);
    }
}

@media (max-width: 480px) {
    .journey-section {
        padding: 60px 0;
    }
    
    .journey-title {
        font-size: 2rem;
    }
    
    .journey-intro,
    .journey-welcome,
    .journey-description {
        font-size: 1rem;
    }
    
    .journey-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px auto 0;
    }
    
    .journey-card {
        padding: 15px;
    }
    
    .journey-card h3 {
        font-size: 1rem;
    }
}

/* Simple Carousel Styles for Toys for Joy */
.simple-carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.simple-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.simple-carousel-content {
    flex: 1;
    overflow: hidden;
}

.simple-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 15px;
}

.simple-carousel-item {
    flex: 0 0 calc(33.333% - 10px);
    min-width: 0;
}

.simple-carousel-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(138, 205, 0, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.simple-carousel-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.simple-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.simple-carousel-card:hover .simple-carousel-image {
    transform: scale(1.05);
}

.simple-carousel-btn {
    background: white;
    border: 2px solid rgba(138, 205, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ACD00;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.simple-carousel-btn:hover {
    background: #8ACD00;
    color: white;
    border-color: #8ACD00;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(138, 205, 0, 0.3);
}

/* Letters Button Styles */
.letters-cta {
    text-align: center;
    margin-top: 40px;
}

.letters-button {
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 17px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(138, 205, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 300px;
    display: inline-block;
}

.letters-button:hover {
    background: linear-gradient(135deg, #7AB33A 0%, #6BA32A 100%);
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(138, 205, 0, 0.4);
}

.letters-button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.letters-icon {
    font-size: 18px;
    animation: bounce 2s infinite;
}

/* Awards Buttons */
.awards-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.award-button {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: white;
    background-color: #8ACD00;
    padding: 1em 2em;
    border: none;
    border-radius: .6rem;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.award-button span:not(.button-content) {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 30px;
    width: 30px;
    background-color: #6BA32A;
    border-radius: 50%;
    transition: .6s ease;
}

.award-button .button-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.award-button span:nth-child(1) {
    transform: translate(-3.3em, -4em);
}

.award-button span:nth-child(2) {
    transform: translate(-6em, 1.3em);
}

.award-button span:nth-child(3) {
    transform: translate(-.2em, 1.8em);
}

.award-button span:nth-child(4) {
    transform: translate(3.5em, 1.4em);
}

.award-button span:nth-child(5) {
    transform: translate(3.5em, -3.8em);
}

.award-button:hover {
    background-color: #7AB33A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 205, 0, 0.4);
}

.award-button:hover span:not(.button-content) {
    transform: translate(-50%, -50%) scale(8);
    transition: 1.5s ease;
}

.award-button:hover .button-content i {
    transform: scale(1.2);
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0% { transform: scale(1.2) rotate(0deg); }
    25% { transform: scale(1.2) rotate(15deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    75% { transform: scale(1.2) rotate(-15deg); }
    100% { transform: scale(1.2) rotate(0deg); }
}

.award-button:active {
    transform: translateY(0px) scale(0.98);
}

/* Email Dialog */
.email-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.email-dialog-content {
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: dialogSlideIn 0.3s ease-out;
}

@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.email-dialog-header {
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-dialog-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close-dialog {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-dialog:hover {
    background: rgba(255, 255, 255, 0.2);
}

.email-dialog-body {
    padding: 30px;
    text-align: center;
}

.email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.email-icon {
    font-size: 1.5rem;
    color: #8ACD00;
}

.email-address {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    font-family: 'Courier New', monospace;
}

.copy-email-btn {
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.copy-email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 205, 0, 0.3);
}

/* Floating Scroll Button */
.floating-scroll-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(138, 205, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.floating-scroll-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(138, 205, 0, 0.5);
    background: linear-gradient(135deg, #7AB33A 0%, #6BA020 100%);
}

.floating-scroll-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(138, 205, 0, 0.4);
}

/* Folder animation for letters button */
.letters-button .folderContainer {
    width: 40px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    margin-right: 6px;
}

.letters-button .fileBack {
    z-index: 1;
    width: 80%;
    height: auto;
}

.letters-button .filePage {
    width: 50%;
    height: auto;
    position: absolute;
    z-index: 2;
    bottom: 0;
    transition: all 0.3s ease-out;
}

.letters-button .fileFront {
    width: 85%;
    height: auto;
    position: absolute;
    z-index: 3;
    opacity: 0.95;
    transform-origin: bottom;
    transition: all 0.3s ease-out;
    bottom: 0;
}

.letters-button:hover .filePage {
    transform: translateY(-5px);
}

.letters-button:hover .fileFront {
    transform: rotateX(30deg);
}

/* Responsive Design for Simple Carousel */
@media (max-width: 768px) {
    .simple-carousel-item {
        flex: 0 0 calc(50% - 7.5px);
    }
    
    .simple-carousel-wrapper {
        gap: 15px;
    }
    
    .simple-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .simple-carousel-item {
        flex: 0 0 100%;
    }
    
    .simple-carousel-wrapper {
        gap: 10px;
    }
    
    .letters-button {
        min-width: 250px;
        padding: 15px 30px;
        font-size: 14px;
    }
}


/* Academic Page Styles - Beautiful & Cute Design */
.education-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(138, 205, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8ACD00 0%, #7AB33A 100%);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(138, 205, 0, 0.3);
}

.school-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(138, 205, 0, 0.1);
}

.school-header h3 {
    color: #8ACD00;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.duration {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(138, 205, 0, 0.3);
}

.education-details {
    margin-top: 15px;
}

.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-list li {
    color: #333;
    font-size: 1rem;
    margin-bottom: 12px;
    font-family: "Nunito Sans", sans-serif;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #8ACD00;
    transition: all 0.3s ease;
    position: relative;
}

.education-list li:hover {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    transform: translateX(5px);
}

.education-list li::before {
    margin-right: 10px;
    font-size: 1.1rem;
}


.achievement-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(138, 205, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8ACD00 0%, #7AB33A 100%);
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(138, 205, 0, 0.3);
}

.achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(138, 205, 0, 0.1);
}

.achievement-header h3 {
    color: #8ACD00;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.achievement-date {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(138, 205, 0, 0.3);
}

.achievement-details {
    margin-top: 15px;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    color: #333;
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: "Nunito Sans", sans-serif;
    padding: 12px 18px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 4px solid #8ACD00;
    transition: all 0.3s ease;
    position: relative;
}

.achievement-list li:hover {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    transform: translateX(5px);
}

.achievement-list li::before {
    margin-right: 10px;
    font-size: 1.1rem;
}


/* Certificates of Merit Styles */
.certificates-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.certificate-btn {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    border: none;
    color: white;
    padding: 18px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    font-family: "Nunito Sans", sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(138, 205, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.certificate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.certificate-btn:hover::before {
    left: 100%;
}

.certificate-btn:hover {
    background: linear-gradient(135deg, #7AB33A, #6BA32A);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(138, 205, 0, 0.4);
}

.certificate-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(138, 205, 0, 0.3);
}

/* Super Cute Certificate Modal with Floating Music Notes */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 205, 0, 0.15), rgba(122, 179, 58, 0.1));
    backdrop-filter: blur(15px);
    animation: modalFadeIn 0.4s ease-out;
    overflow: hidden;
    overflow-x: hidden;
}

/* Multiple Floating Music Notes - Random Positions */
.certificate-modal::before {
    content: '♪';
    position: absolute;
    top: 100%;
    left: 8%;
    font-size: 1.1rem;
    color: #8ACD00;
    animation: floatUp1 10s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

.certificate-modal::after {
    content: '♫';
    position: absolute;
    top: 100%;
    right: 12%;
    font-size: 0.9rem;
    color: #8ACD00;
    animation: floatUp2 13s linear infinite;
    z-index: 1;
    opacity: 0.25;
}

/* Additional floating notes using pseudo-elements on modal-content */
/* .modal-content::before {
    content: '♪';
    position: absolute;
    top: 100%;
    left: 20%;
    font-size: 1.3rem;
    color: #8ACD00;
    animation: floatUp3 16s linear infinite;
    z-index: 1;
    opacity: 0.2;
}

.modal-content::after {
    content: '♫';
    position: absolute;
    top: 100%;
    right: 20%;
    font-size: 1rem;
    color: #8ACD00;
    animation: floatUp4 12s linear infinite;
    z-index: 1;
    opacity: 0.3;
} */

/* Add more floating notes using certificate-previews */
.certificate-previews::before {
    content: '♪';
    position: absolute;
    top: 100%;
    left: 35%;
    font-size: 0.8rem;
    color: #8ACD00;
    animation: floatUp5 14s linear infinite;
    z-index: 1;
    opacity: 0.25;
}

.certificate-previews::after {
    content: '♫';
    position: absolute;
    top: 100%;
    right: 35%;
    font-size: 1.2rem;
    color: #8ACD00;
    animation: floatUp6 11s linear infinite;
    z-index: 1;
    opacity: 0.2;
}


@keyframes floatUp1 {
    0% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3; 
    }
    50% { 
        transform: translateY(-50vh) rotate(180deg); 
        opacity: 0.6; 
    }
    100% { 
        transform: translateY(-100vh) rotate(360deg); 
        opacity: 0; 
    }
}

@keyframes floatUp2 {
    0% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.25; 
    }
    50% { 
        transform: translateY(-50vh) rotate(-180deg); 
        opacity: 0.5; 
    }
    100% { 
        transform: translateY(-100vh) rotate(-360deg); 
        opacity: 0; 
    }
}

@keyframes floatUp3 {
    0% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.2; 
    }
    50% { 
        transform: translateY(-50vh) rotate(90deg); 
        opacity: 0.4; 
    }
    100% { 
        transform: translateY(-100vh) rotate(180deg); 
        opacity: 0; 
    }
}

@keyframes floatUp4 {
    0% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.3; 
    }
    50% { 
        transform: translateY(-50vh) rotate(-90deg); 
        opacity: 0.5; 
    }
    100% { 
        transform: translateY(-100vh) rotate(-180deg); 
        opacity: 0; 
    }
}

@keyframes floatUp5 {
    0% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.25; 
    }
    50% { 
        transform: translateY(-50vh) rotate(120deg); 
        opacity: 0.4; 
    }
    100% { 
        transform: translateY(-100vh) rotate(240deg); 
        opacity: 0; 
    }
}

@keyframes floatUp6 {
    0% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.2; 
    }
    50% { 
        transform: translateY(-50vh) rotate(-120deg); 
        opacity: 0.4; 
    }
    100% { 
        transform: translateY(-100vh) rotate(-240deg); 
        opacity: 0; 
    }
}


@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(15px);
    }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    margin: 2% auto;
    padding: 0;
    border-radius: 30px;
    width: 90%;
    max-width: 1400px;
    max-height: 90vh;
    box-shadow: 
        0 35px 120px rgba(138, 205, 0, 0.3),
        0 25px 80px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(138, 205, 0, 0.1);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    border: 4px solid transparent;
    background-clip: padding-box;
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

/* Hide scrollbars but keep functionality */
.modal-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #8ACD00, #7AB33A, #8ACD00, #6BA32A, #8ACD00);
    border-radius: 30px;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { 
        opacity: 0.8; 
        filter: hue-rotate(0deg);
    }
    50% { 
        opacity: 1; 
        filter: hue-rotate(10deg);
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-60px) scale(0.85);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #8ACD00;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(138, 205, 0, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(138, 205, 0, 0.2);
}

.close-modal:hover {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
    transform: scale(1.2) rotate(90deg);
    box-shadow: 
        0 15px 40px rgba(138, 205, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Cute Certificate Header with Musical Magic */
.certificate-header {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
    padding: 30px 35px;
    text-align: center;
    position: relative;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

/* .certificate-header::before {
    content: '🎵';
    position: absolute;
    top: 20px;
    left: 35px;
    font-size: 2rem;
    animation: musicalBounce 3s ease-in-out infinite;
    z-index: 2;
}

.certificate-header::after {
    content: '🎶';
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 2rem;
    animation: musicalBounce 3s ease-in-out infinite 1.5s;
    z-index: 2;
} */


@keyframes musicalBounce {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-8px) rotate(5deg) scale(1.1); 
    }
    50% { 
        transform: translateY(-12px) rotate(10deg) scale(1.2); 
    }
    75% { 
        transform: translateY(-8px) rotate(5deg) scale(1.1); 
    }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.header-content {
    position: relative;
    z-index: 2;
}

.certificate-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.certificate-subtitle {
    font-size: 1.1rem;
    margin: 10px 0 0 0;
    opacity: 0.95;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
}

/* Super Cute Tabs */
.cute-tabs-container {
    display: flex;
    gap: 15px;
    padding: 25px 30px 20px;
    justify-content: center;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.cute-tab {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 3px solid rgba(138, 205, 0, 0.2);
    color: #666;
    padding: 15px 25px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: "Nunito Sans", sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.cute-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 205, 0, 0.1), transparent);
    transition: left 0.6s;
}

.cute-tab:hover::before {
    left: 100%;
}

.cute-tab:hover {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
    border-color: #8ACD00;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(138, 205, 0, 0.3);
}

.cute-tab.active {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
    border-color: #8ACD00;
    box-shadow: 0 10px 30px rgba(138, 205, 0, 0.3);
    transform: translateY(-3px);
}

.tab-icon {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.cute-tab:hover .tab-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Certificate Previews with Musical Frame Logic */
.certificate-previews {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    min-height: 500px;
    position: relative;
}

.certificate-previews::before {
    content: '♪';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: #8ACD00;
    animation: floatNote3 5s ease-in-out infinite;
    opacity: 0.6;
    z-index: 1;
}

.certificate-previews::after {
    content: '♫';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: #8ACD00;
    animation: floatNote4 7s ease-in-out infinite reverse;
    opacity: 0.5;
    z-index: 1;
}

@keyframes floatNote3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-10px) rotate(5deg); opacity: 0.8; }
}

@keyframes floatNote4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-15px) rotate(-5deg); opacity: 0.7; }
}

.certificate-preview {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(138, 205, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(0deg);
}

.certificate-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #8ACD00, #7AB33A, #8ACD00);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-preview::after {
    content: '🎵';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: #8ACD00;
    opacity: 0;
    transition: all 0.3s ease;
    animation: musicalFloat 4s ease-in-out infinite;
}

@keyframes musicalFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(10deg); }
}

.certificate-preview:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-12px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(138, 205, 0, 0.25),
        0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #8ACD00;
}

.certificate-preview:hover::before {
    opacity: 0.1;
}

.certificate-preview:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.certificate-preview h4 {
    color: #8ACD00;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.certificate-preview h4::before {
    content: '🎼';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    animation: musicalNote 3s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes musicalNote {
    0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
    50% { transform: translateY(-50%) rotate(15deg) scale(1.1); }
}

.certificate-preview p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    line-height: 1.6;
    font-weight: 500;
}

/* Certificate Navigation Tabs */
.certificate-tabs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cert-tab {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Nunito Sans", sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cert-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cert-tab:hover::before {
    left: 100%;
}

.cert-tab:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cert-tab.active {
    background: rgba(255, 255, 255, 0.9);
    color: #8ACD00;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.cert-tab.active i {
    color: #8ACD00;
}

.cert-tab i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cert-tab:hover i {
    transform: scale(1.1);
}

/* Responsive Design for Academic Page */
@media (max-width: 768px) {
    .school-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .achievement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .education-item, .achievement-item {
        padding: 20px;
    }
    
    .education-list li, .achievement-list li {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .certificates-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .certificate-btn {
        width: 100%;
        text-align: center;
    }
    
    .certificate-list {
        grid-template-columns: 1fr;
    }
}

/* Scientific Explorations Page Styles */
.research-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(138, 205, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.research-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8ACD00 0%, #7AB33A 100%);
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(138, 205, 0, 0.15);
    border-color: rgba(138, 205, 0, 0.3);
}

.research-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(138, 205, 0, 0.2);
}

.research-header h3 {
    color: #8ACD00;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.research-date {
    background: linear-gradient(135deg, #8ACD00, #7AB33A);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(138, 205, 0, 0.3);
}

.project-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
}

.research-details {
    position: relative;
}

.research-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.research-list li {
    padding: 4px 0;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.research-link {
    color: #8ACD00;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    word-break: break-all;
}

.research-link:hover {
    color: #7AB33A;
    text-decoration: underline;
}

/* Certificate Button with Decorative Elements */
.certificate-button {
    --width: 120px;
    --height: 40px;
    --tooltip-height: 35px;
    --tooltip-width: 100px;
    --gap-between-tooltip-to-button: 18px;
    --button-color: #8ACD00;
    --tooltip-color: #fff;
    width: var(--width);
    height: var(--height);
    background: #8ACD00;
    position: relative;
    text-align: center;
    border-radius: 8px;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin: 8px 0;
    margin-top: 15px;
    cursor: pointer;
    box-shadow: 
        0 2px 8px rgba(138, 205, 0, 0.3),
        15px -7px 0 0 rgba(138, 205, 0, 0.3),
        -15px 7px 0 0 rgba(138, 205, 0, 0.2);
        /* 20px 10px 0 0 rgba(138, 205, 0, 0.1); */
    border: none;
    overflow: visible;
}

/* Shimmer effect */
.certificate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
    z-index: 1;
}

.certificate-button:hover::before {
    left: 100%;
}

.certificate-button:active {
    transform: translateY(0px);
    transition: all 0.1s ease;
}

/* Tooltip removed */

/* Arrow removed */

.certificate-button::after,.certificate-button::before {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-wrapper,.text,.icon {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: #fff;
}

.text {
    top: 0
}

.text,.icon {
    transition: top 0.5s;
}

.icon {
    color: #fff;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-icon {
    width: 25px;
    height: 25px;
}

.certificate-button:hover {
    background: #9fe251;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 205, 0, 0.4);
}

.certificate-button:hover .text {
    top: -100%;
}

.certificate-button:hover .icon {
    top: 0;
}

/* Tooltip hover effects removed */

/* A World of Words Page Styles */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin: 40px 0;
}

.text-column {
    padding-right: 20px;
}

.writing-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.writing-content p {
    margin-bottom: 20px;
}

.certificates-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8ACD00;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.certificates-link:hover {
    color: #7AB33A;
}

.book-column {
    display: flex;
    justify-content: center;
}

.text-and-book-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin: 20px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.text-content {
    padding-right: 0;
}

.book-card-section {
    display: flex;
    justify-content: center;
    margin: 0;
}

.book-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #8ACD00;
    text-align: center;
    max-width: 350px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8ACD00, #7AB33A);
    z-index: 1;
}

.book-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #8ACD00, #7AB33A);
    z-index: 1;
}

.book-image {
    margin: 0;
    padding: 20px 20px 0 20px;
}

.book-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 300px;
    object-fit: cover;
}

.book-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 3px 0 10px 0;
    padding: 0 20px;
}

.book-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 25px 0;
    padding: 0 20px 0px 20px;
    text-align: center;
}

/* Action Buttons Section */
.action-buttons-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.action-buttons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9500, #FF7A00, #8ACD00, #7AB33A);
}

.action-buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0;
}

.amazon-button-wrapper,
.read-book-button-wrapper {
    position: relative;
}

.action-button {
    width: 60px;
    height: 50px;
    border-radius: 50%;
    background-color: #E8F5E8;
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 20px rgba(138, 205, 0, 0.2);
    cursor: pointer;
    transition-duration: .3s;
    overflow: hidden;
    position: relative;
}

.amazon-action-button {
    background-color: #E8F5E8;
}

.read-book-action-button {
    background-color: #E8F5E8;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    /* left: -100%; */
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        rgba(255, 255, 255, 0.6), 
        rgba(255, 255, 255, 0.4), 
        transparent);
    /* transition: left 0.6s ease-in-out; */
    z-index: 1;
}

/* .action-button:hover::before {
    left: 100%;
}

.action-button:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
} */

.text {
    display: flex;
    align-items: center;
    justify-content: center;
}


.button-wrapper,.text,.icon {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: #fff;
}

.text {
    top: 0
}

.text,.icon {
    transition: top 0.5s;
}

.icon {
    color: #fff;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon {
    width: 40px;
    transition-duration: .3s;
}

.action-button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: .3s;
    background-color: #8ACD00;
    align-items: center;
}

.amazon-action-button:hover {
    width: 200px;
    border-radius: 50px;
    transition-duration: .3s;
    background-color: #8ACD00;
    align-items: center;
}

.read-book-action-button:hover {
    width: 200px;
    border-radius: 50px;
    transition-duration: .3s;
    background-color: #8ACD00;
    align-items: center;
}

.action-button:hover .action-icon {
    width: 40px;
    transition-duration: .3s;
    /* bottom: -20px; */
    z-index: 100;
    transform: translateY(60%);
}

.action-button::before {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    content: "Delete";
    color: white;
    transition-duration: .3s;
    font-size: 0px;
    opacity: 0;
    white-space: nowrap;
    z-index: 10;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 600;
    background: #8ACD00;
    padding: 5px 10px;
    border-radius: 5px;
}

.amazon-action-button::before {
    content: "Amazon 🔗";
}

.read-book-action-button::before {
    content: "View Book";
}

.action-button:hover::before {
    font-size: 16px;
    opacity: 1;
    transition-duration: .3s;
}

.book-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.book-link {
    color: #007bff;
    text-decoration: underline;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.book-link:hover {
    color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-and-book-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .text-content {
        padding-right: 0;
    }
    
    .book-card {
        max-width: 100%;
    }
    
    .book-links {
        flex-direction: column;
        gap: 15px;
    }
}

.book-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.book-quote {
    margin-bottom: 30px;
}

.book-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #2c3e50;
    margin: 0;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #8ACD00;
}

.book-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.book-button, .amazon-button {
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(138, 205, 0, 0.3);
}

.amazon-button {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.book-button:hover, .amazon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 205, 0, 0.4);
}

.amazon-button:hover {
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.certificate-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #8ACD00;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.certificate-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.certificate-item p {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

/* Musical Journey Page Styles */
.musical-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.musical-content p {
    margin-bottom: 20px;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-item {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    box-shadow: none;
    border: none;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-8px);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 8px;
    border: 2px dashed #8ACD00;
}

.video-placeholder i {
    font-size: 3rem;
    color: #8ACD00;
}

.video-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.video-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(138, 205, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, #8ACD00 0%, #7AB33A 100%);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.video-container:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(138, 205, 0, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.musical-video {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-overlay {
    display: none;
}

.video-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    text-align: center;
}

.video-description {
    font-size: 1rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
}

/* Musical Journey Certificates */
.certificates-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.certificate-button-wrapper {
    position: relative;
}

.Documents-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    min-width: 240px;
    height: 45px;
    /* border: 2px solid #8ACD00; */
    border: none;
    padding: 0px 20px;
    border-radius: 5px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 
        0 2px 8px rgba(138, 205, 0, 0.3),
        15px -7px 0 0 rgba(138, 205, 0, 0.3),
        -15px 7px 0 0 rgba(138, 205, 0, 0.2);
    overflow: visible;
}

.folderContainer {
    width: 40px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.fileBack {
    z-index: 1;
    width: 80%;
    height: auto;
}

.filePage {
    width: 50%;
    height: auto;
    position: absolute;
    z-index: 2;
    transition: all 0.3s ease-out;
}

.fileFront {
    width: 85%;
    height: auto;
    position: absolute;
    z-index: 3;
    opacity: 0.95;
    transform-origin: bottom;
    transition: all 0.3s ease-out;
}

.Documents-btn .text_btn {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

.Documents-btn:hover {
    transform: scale(1.05);
    box-shadow: none;
    border: 2px solid #8ACD00;
       background: linear-gradient(135deg, #7AB33A 0%, #6BA32A 100%);
    /* transform: scale(1.05); */
    /* box-shadow: 0 12px 35px rgba(138, 205, 0, 0.4); */
    /* background: linear-gradient(135deg, #9cd822 0%, #8bbc52 100%); */
}

.Documents-btn:hover .filePage {
    transform: translateY(-5px);
}

.Documents-btn:hover .text_btn {
    color: black;
}

.Documents-btn:active {
    transform: scale(0.95);
}

.Documents-btn:hover .fileFront {
    transform: rotateX(30deg);
}

/* Print styles */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .resume-link {
        color: #333;
    }
}