body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #191970;
}
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}
header {
    text-align: center;
    padding: 50px 0;
    background-color: #191970;
    color: #D3D3D3;
}
header h1 {
    margin: 0;
    font-size: 3em;
    text-transform: uppercase;
}
header p {
    margin: 10px 0 0;
}

/* Skillset Section with Icons */
.skills {
    text-align: center;
    margin-bottom: 40px;
}
.skills h2 {
    border-bottom: 2px solid #191970;
    padding-bottom: 10px;
    font-size: 2em;
    text-transform: uppercase;
}
.skills-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.skills-icons i {
    font-size: 4em;
    color: #008080;
}

/* Horizontal Slider for Work Experience */
.experience {
    text-align: center;
    margin-bottom: 40px;
}
.experience h2 {
    border-bottom: 2px solid #191970;
    padding-bottom: 10px;
    font-size: 2em;
    text-transform: uppercase;
}

.carousel-container {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    background-color: white;
    border-radius: 10px;
}

.carousel-item {
    flex: 0 0 60%; /* Set width */
    background-color: #fff;
    border: 1px solid #191970;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    align-items: center;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.carousel-item img {
    align-items: center;
    float: left;
    margin-right: 20px;
}

.carousel-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.carousel-item ul {
    list-style: none;
    padding-left: 0;
}

.carousel-item {
    display: flex;
    align-items: start; /* Center vertically */
    flex: 0 0 60%;
    background-color: #fff;
    border: 1px solid #191970;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Icon container on the left */
.icon-container {
    width: 20%; /* Adjust the width to fit your design */
    height: 100%;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* Text container on the right */
.text-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center;
}

/* Container for the heading */
.text-container h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #191970;
}

/* Container for the body text */
.text-container ul {
    list-style: none;
    padding-left: 0;
    color: #555;
}


/* Hide scrollbar in webkit-based browsers (Chrome, Safari) */
.carousel-container::-webkit-scrollbar {
    display: none;
}

/* General scrollbar for non-webkit browsers */
.carousel-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Certifications Section */
.certifications {
    text-align: center;
    margin-bottom: 40px;
}
.certifications h2 {
    border-bottom: 2px solid #191970;
    padding-bottom: 10px;
    font-size: 2em;
    text-transform: uppercase;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.certification-card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.certification-card .image-container {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.certification-card img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}
.card-content {
    padding: 15px;
    text-align: center;
}
.card-content h3 {
    margin: 0;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.card-content p {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 10px;
}
.resume a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #191970; /* Match the header background */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.resume a:hover {
    background-color: #008080; /* Darker shade on hover */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #191970;
    color: white;
}

/* Chatbot Container */
#chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #f4f4f9; /* Light background color for subtlety */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    font-family: Arial, sans-serif;
}

/* Chatbot Header */
#chatbot h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-align: center;
}

/* Chatbot Input Field */
#chat-input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    outline: none;
    box-sizing: border-box;
}

/* Chatbot Send Button */
#chat-submit {
    width: 100%;
    padding: 8px;
    background-color: #191970; /* Same blue color as the download button */
    color: white;
    border: none;
    border-radius: 4px; /* Rectangular with slight rounding */
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
    transition: background-color 0.3s;
}

/* Hover Effect for Chatbot Submit Button */
#chat-submit:hover {
    background-color: #008080; /* Darker blue for hover */
}


/* Chat Output */
#chat-output {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    height: 120px;
    overflow-y: auto;
    font-size: 14px;
    color: #333;
}

/* Placeholder Styling */
#chat-input::placeholder {
    color: #888;
}

/* Chatbot Animation on Load */
#chatbot {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    .container {
        width: 95%;
    }
    .skills-icons i {
        font-size: 3em;
    }
    .carousel-item {
        flex: 0 0 80%;
    }
}