
/* Import the Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
    
/* Loading Screen Styles */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #071b3d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.loading-content {
    color: white;
    text-align: center;
    font-family: 'Oleo Script', sans-serif;
    padding: 0 20px; /* Add padding to avoid text cutting off */
    max-width: 90%; /* Ensure content stays within viewport on small screens */
}

.loading-content h1 {
    font-size: 3.75rem; /* Equivalent to 60px */
    margin-bottom: 10px;
    font-weight: bold;
}

.loading-content p {
    font-size: 1.5rem; /* Equivalent to 24px */
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loading-content h1 {
        font-size: 2rem;
    }
    
    .loading-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .loading-content h1 {
        font-size: 1.5rem;
    }
    
    .loading-content p {
        font-size: 0.875rem;
    }
}

    /* Transparent Navbar */
    .navbar {
        position: absolute;
        background-color: #071b3d;  
        padding: 5px 0;
        transition: background-color 0.3s ease, border-radius 0.3s ease;  
        top: 0;  
        width: 100%;
        z-index: 1000;  
    }

    .sticky-navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: #071b3d; 
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Logo Styling */
    .navbar-brand img {
        height: 70px;
        margin-right: 10px;
    }
    .navbar-brand h1 {
        display: inline;
        font-size: 1.5rem;
        color: #fef5e6;
        margin: 0;
        font-family: 'Oleo Script', cursive;
    }

    /* Navbar Link Styling */
    .navbar-nav .nav-link {
        color: #fef5e6; 
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        color: #ff73a2;
    }
    .navbar-nav .nav-link.active {
        color: #fef5e6;
    }

    /* Dropdown Menu Customization */
    .dropdown-menu {
        background-color: #ff73a2; 
        border: none;
    }
    .dropdown-item {
        color: #fff; 
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    .dropdown-item:hover {
        background-color: #ffffff; 
        color: #ff73a2; 
    }

    @media (max-width: 768px) {
        .navbar-brand img {
            height: 50px;
        }
        .navbar-brand h1 {
            font-size: 1.2rem;
        }
    }
    
    
    
/* Custom styling for the section container */
.section-container {
    background-color: #1e1e1e;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
}

/* Styling for the profile image */
.profile-img {
    width: 100%;
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #ff73a2; /* Optional border */
}

/* Custom styling for the section container */
.section-container {
    background-color: transparent; /* Set background to transparent */
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
}

/* Styling for the profile image */
.profile-img {
    width: 100%;
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: none;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .profile-img {
        max-width: 200px;
    }
}

/* Larger desktops */
@media (min-width: 992px) {
    .profile-img {
        max-width: 250px;
    }
}

/* Extra large screens */
@media (min-width: 1200px) {
    .profile-img {
        max-width: 300px;
    }
}



.display-4 {
    font-size: 40px;
    margin-top: 50px;
    font-family: 'Poppins', sans-serif;
    color: #ff73a2;
    font-weight: 800;
    font-family: 'Oleo Script', cursive;
}

.aboutmi {
    color: #f7a923;
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
}


.mt-3 {
    font-size: small;
    margin: auto;
    font-family: 'Poppins', sans-serif;
}

.soft-skills {
    color: #f7a923;
    margin-top: 30px;
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
}

.hard-skills {
    color: #f7a923;
    margin-top: 30px;
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
}

.img-softskill {
    width: 90%;
}

.img-hardskill {
    width: 90%;
}

/* Styling for experience headers */
.experience-header {
    background: linear-gradient(135deg, #f7a923, #ffc65b);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f7a923;
    color: #fcf3e4;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: bolder;
    text-align: center;
    display: inline-block;
    margin-top: 50px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif
}


.timeline {
    position: relative;
    margin-top: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-content {
    padding-top: 3px; /* Adjust if necessary to align with the icon */
    font-family: 'Poppins', sans-serif
}

.education-item {
    margin-top: 30px;
}

.experience-year {
    display: block;
    font-size: 0.9em;
    color: #f7a923;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif
}

.experience-item {
    color: #ffffff;
    margin-top: 20px;
}


.small-text {
    color: #ffffff;
    font-size: small; /* Smaller font size */
    line-height: 1.4; /* Adjust line-height if needed */
}

/* Keyframes animation for sliding in from the right */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%); /* Start off-screen to the right */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End at its natural position */
    }
}

/* Apply the animation to experience items */
.experience-item.animated-from-right {
    animation: slideInFromRight 3s ease-in-out forwards; /* Animation applied */
    opacity: 0; /* Start as invisible */
}

/* Optional: Apply the same to the header for consistency */
.experience-header {
    animation: slideInFromRight 3s ease-in-out forwards;
    opacity: 0; /* Start as invisible */
}

/* Optional: For Education Header with the same animation */
.education-header {
    animation: slideInFromRight 3s ease-in-out forwards;
    opacity: 0;
}


/* Animation for elements sliding in from the left */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%); /* Start off-screen to the left */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End at its natural position */
    }
}

/* Apply the animation to each section of the left column */
.profile, .soft-skills, .hard-skills {
    animation: slideInFromLeft 3s ease-in-out forwards;
    opacity: 0; /* Make items initially invisible */
}

/* Add delay to each section to stagger the animation */
.profile {
    animation-delay: 0.1s;
}

.soft-skills {
    animation-delay: 0.3s;
}

.hard-skills {
    animation-delay: 0.5s;
}


/* Styling for the back-to-home button */
.back-to-home-btn {
    margin-top: 50px;
    margin: 20px 0;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #ff73a2;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

/* Pulsing animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hover effect */
.back-to-home-btn:hover {
    background-color: #ff4c80;
    color: white;
    transform: translateY(-3px) scale(1.08); /* Lift and slight scale on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

/* Click effect */
.back-to-home-btn:active {
    transform: scale(0.98); /* Press effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Reduced shadow on click */
}

/* Glossy highlight effect */
.back-to-home-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

/* Highlight effect on hover */
.back-to-home-btn:hover::before {
    transform: scale(1.2); /* Glow effect */
    opacity: 0.6;
}

/* Optional: Focus effect for accessibility */
.back-to-home-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 76, 128, 0.5); /* Pink focus ring */
}

/* Contact Section Styling */
.contact {
    background-color: #ff73a2;
    padding: 15px 0;
    border-radius: 30px 30px 0 0;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
}

.contact h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact p {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Flexbox Layout */
.contact .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-text {
    text-align: left;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    display: inline-block;
}

.icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: scale(1.1);
}

/* Optional: Additional hover effect for the icon containers */
.social-icon:hover .icon {
    opacity: 0.8;
}

/* Copyright Styling */
.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #ffffff;
    margin-top: 0px;
    opacity: 0.8;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .contact .row {
        flex-direction: column;
        align-items: center;
    }

    .contact-text {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact h3 {
        font-size: 1.75rem; /* Adjusted font size for small screens */
    }

    .contact p {
        font-size: 0.9rem;
    }

    .social-icons {
        gap: 10px;
    }

    .icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .contact h3 {
        font-size: 1.5rem;
    }

    .contact p {
        font-size: 0.85rem;
    }

    .icon {
        width: 30px;
        height: 30px;
    }
}
