/* General Styles */
body {
    font-family: 'Merriweather', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff; /* Light creamy background */
    color: #333; /* Standard text color */
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fullscreen loader */
.loader {
    position: fixed; /* Full-screen overlay */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('images/background.jpeg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack content vertically */
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5); /* Add a soft shadow */
    z-index: 1000; /* Ensure it's above all other elements */
    overflow: hidden; /* Prevents scrolling while loader is active */
}

.loader h1 {
    font-family: 'Waterfall', static; /* Replace with your chosen font */
    font-size: 8rem; /* Adjust size as needed */
    font-weight: normal;
    color: #003366; /* Text color */
    animation: fadeInOut 2s ease-in-out;
}

/* Arrow styling */
.arrow-down {
    position: absolute;
    bottom: 20px; /* Adjust as needed */
    width: 40px;
    height: 40px;
    border-left: 4px solid #003366;
    border-bottom: 4px solid #003366;
    transform: rotate(-45deg);
    animation: bounce 2s infinite; /* Add a bouncing animation */
}

/* Arrow bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    50% {
        transform: translateY(10px) rotate(-45deg);
    }
}

/* Fade-in and fade-out effect for initials */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.5); /* Start smaller */
    }
    50% {
        opacity: 1;
        transform: scale(1.1); /* Slight zoom effect */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Settle to normal size */
    }
}

/* Hide the loader after animation */
.loader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: auto; /* Ensures scrolling is enabled */
}

header {
    position: relative;
    height: auto;
    min-height: 300px;
    background: url('images/background.jpeg') no-repeat center center;
    background-size: cover;
    color: #003366; /* Darker text for contrast */
    text-align: center;
    padding: 50px 20px;
    overflow: hidden;
}

header h1 {
    font-family: 'Waterfall', cursive; /* Stylish font for the header */
    font-size: 8rem; /* Adjusts the size of the main heading */
    margin: 0; /* Removes extra margin */
    font-weight: normal; /* Ensures the text is not bold */
}

header p {
    font-size: 1.5rem;
    margin-top: 10px 0 0;
    font-family: 'Merriweather', serif;
    animation: fadeInSubtitle 4s ease-in-out;/* Links the fade-in animation */
}

header {
    overflow: hidden; /* Prevents content from spilling out */
    word-wrap: break-word; /* Wraps long text to the next line */
}

header h1, header p {
    white-space: normal; /* Allows wrapping of text */
}

@media (max-width: 375px) {
    header h1 {
        font-size: 2.5rem; /* Make the main heading smaller */
    }

    header p {
        font-size: 1rem; /* Adjust subtitle font size */
        margin: 5px 0; /* Adjust spacing */
    }
    
    header {
        padding: 20px 10px; /* Reduce padding to make room */
        height: auto; /* Let the height adjust dynamically */
    }
}


@keyframes fadeInSubtitle {
    0% {
        opacity: 0;/* The text starts fully transparent */
        transform: translateY(40px);/* The text starts 40px lower */
    }
    100% {
        opacity: 1;/* The text becomes fully opaque */
        transform: translateY(0);/* The text returns to its original position */
    }
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    background: #0d2b58; /* Slightly deeper blue for the nav */
    margin: 0;
    overflow-x: auto; /* Enable horizontal scrolling if items don't fit */
    white-space: nowrap; /* Prevent items from wrapping to the next line */
}

nav ul li {
    margin: 0 15px;
    flex-shrink: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Mobile Navigation Styling */
@media (max-width: 768px) {
    nav ul {
        justify-content: flex-start; /* Align items to the left */
        padding: 10px; /* Add padding for better spacing */
        gap: 10px; /* Add spacing between items */
    }

    nav ul li a {
        font-size: 0.9rem; /* Adjust font size for mobile */
    }
}

/* Section Styling */
.section {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background: #ffffff; /* White background for contrast */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Recent Innovations Section */
#publications .heading-container {
    display: inline-flex; /* Align heading and GIF horizontally */
    justify-content: center; /* Center the block */
    align-items: center; /* Vertically align the heading and GIF */
    gap: 10px; /* Add spacing between heading and GIF */
    width: 100%; /* Take full width of the section */
    text-align: center; /* Ensure alignment is centered */
}

/* GIF styling */
.innovation-gif {
    width: 80px; /* Adjust the width of the GIF */
    height: auto; /* Maintain aspect ratio */
}

#publications h2 {
    color: #023261; /* A deeper pastel blue for the heading */
    font-family: 'Castoro Titling', static; /* Elegant serif font for the heading */
    font-size: 2rem;
    margin: 0;
}

#publications ul {
    list-style-type: disc; /* Adds a bullet point before each link */
    padding-left: 30px; /* Indents the list slightly */
}

#publications ul li {
    margin-bottom: 10px; /* Adds space between each item */
}

#publications ul li a {
    text-decoration: none; /* Removes underline from links */
    color: #244c69; /* Bold pastel blue color for links */
    font-style: italic; /* Italic font for emphasis */
    font-family: 'Merriweather', serif; /* Clear, readable font for links */
    font-size: 1rem;
}

#publications ul li a:hover {
    color: #73a3d3; /* Slightly brighter blue on hover */
    text-decoration: underline; /* Adds underline on hover for interactivity */
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 1rem;
    background: #0d2b58; /* Light pastel blue for footer */
    color: white;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}


#about {
    background-color: #ffffff;  /* Soft pastel blue background */
    padding: 30px;
    margin: 40px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Softer shadow */
}

#about h2 {
    color: #023261;  /* Blue heading */
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Castoro Titling', static; /* Elegant serif font */
    text-align: left;
}

.about-container {
    display: flex;
    align-items: center;  /* Align text and image vertically */
    justify-content: space-between; /* Space between the text and image */
    text-align: left;
}

.about-text {
    flex: 2;  /* Allow the text to take the remaining space */
    margin-right: 20px; /* Add some space between text and image */
}

.about-photo-float {
    float: right;
    width: 350px;
    margin-left: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.about-photo-float img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-text {
    text-align: justify;
}

#about p {
    font-size: 1rem;
    line-height: 1.8;
    color: #000000;
    font-family: 'Merriweather', serif;
}


@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stack text and image vertically */
        text-align: center; /* Center-align content */
    }
  
@media (max-width: 768px) {
    .about-text p {
        text-align: justify; /* Justify text for better readability */
        padding: 0 10px; /* Add padding for spacing on smaller screens */
    }
}
    
.about-photo {
    margin: 20px 0; /* Add spacing between text and photo */
    width: 100%; /* Full-width for smaller screens */
}

.about-text {
    margin: 0 auto; /* Center-align text block */
    padding: 0 10px; /* Add padding for better readability */
}
}

a {
    color: #244c69; /* Default link color */
    text-decoration: none; /* Remove underline */
    font-style: italic; /* Make the link bold */
    transition: color 0.3s ease; /* Smooth color transition */
}

a:hover {
    color: #73a3d3; /* Change color on hover */
    text-decoration: underline; /* Add underline on hover */
}

/* Resume section within the about section */
.resume-section {
    margin-top: 20px; /* Adds spacing from the above paragraph */
    text-align: left; /* Center aligns the text and button */
}

.resume-section p {
    font-size: 1rem;
    margin-bottom: 10px; /* Adds spacing between text and button */
    color: #333; /* Standard text color */
    text-align: left;
}

.resume-section .btn {
    background-color: #023261; /* Button background */
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.resume-section .btn:hover {
    transform: scale(1.1); /* Enlarges the button slightly */
    background-color: #73a3d3; /* Darkens the button */
}

button, .btn {
    background-color: #0078d7;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover, .btn:hover {
    transform: scale(1.1); /* Slightly enlarges the button */
    background-color: #005bb5; /* Darkens the button */
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-audio-section p {
  font-size: 1.2rem;
  font-weight: normal;
  color: #2c2c2c;
  margin-bottom: 12px;
}

#inked h2 {
    color: #023261;
    font-family: 'Castoro Titling', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.sub-heading {
    font-size: 1.2rem; /* Optional: adjust size */
    color: #023261;     /* Optional: match theme */
    font-family: 'Merriweather', serif;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.work-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: mowrap;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Left: Book description */
.book-description {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    text-align: left;
    font-family: 'Merriweather', serif;
    line-height: 1.7;
    padding: 20px; /* Optional: adds spacing inside */
}

.book-item {
    flex: 0 0 60%; /* Fixed 60% width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.work-title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

.buy-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #023261;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.buy-button:hover {
    background-color: #19875b;
    transform: translateY(-2px);
}

.buy-button-container {
    display: flex;
    justify-content: flex-start; /* aligns within left side */
    margin-top: 10px;
}


.buy-now-dropdown {
    margin-top: 15px;
    font-family: 'Merriweather', sans-serif;
}

  .purchase-options {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .purchase-options a {
    background-color: #f1f1f1;
    padding: 2px;
    border-radius: 1px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    transition: background-color 0.2s ease;
  }

  .purchase-options a:hover {
    background-color: #e0e0e0;
  }

  details[open] .buy-button {
    background-color: #0056b3;
  }

.book-cover {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: scale(1.05);
}

.book-title {
    margin-top: 10px;
    font-size: 1rem;
    color: #003366;
    font-style: italic;
    font-family: 'Merriweather', serif;
}

/* Responsive design */
@media (max-width: 768px) {
    #inked .work-content {
        flex-direction: column;
        align-items: center;
    }

    .book-description, .book-item {
        text-align: center;
    }

    .buy-button-container {
        justify-content: center;
    }
}

/* My Work Section */
#my-work {
    background-color: #f9f9f9; /* Light gray background */
    padding: 40px 20px;
    text-align: center;
    margin: 20px auto;
}

.sectionbg {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background: #ffffff; /* White background for contrast */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

#IASA {
    background: beige;
    background-size: cover;
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    padding: 40px 40px;
    text-align: center;
    margin: 20px auto;
    display: inline
}

/* Text Container */
#text {
    width: 50%;  /* Takes half of the section */
}

/* Image Container */
#image {
    width: 50%;  /* Takes half of the section */
    display: flex;
    justify-content: center; /* Centers the image inside its container */
}

/* Styling for the image */
.brochure {
    width: 100%;  /* Image takes 80% of the section width */
    max-width: 800px;  /* Ensures the image doesn’t get too large */
    height: auto;  /* Maintains aspect ratio */
    display: block; /* Removes extra spacing */
    margin: 20px auto; /* Centers the image */
    border-radius: 10px; /* Adds soft corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}
.brochure:hover {
    transform: scale(3.0);  /* Enlarges the image by 20% */
    transition: 0.3s ease-in-out;  /* Smooth animation */
}

#my-work h2 {
    font-size: 2rem;
    color: #023261;
    margin-bottom: 0;
    font-family: 'Castoro Titling', serif;
    text-transform: uppercase; /* All caps */
    letter-spacing: 2px; /* Add spacing for aesthetic */
}

.sub-heading {
    font-size: 1.7rem;
    color: #023261; /* Subtle gray for subheading */
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

.work-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* gap: 20px; */
    max-width: 800px; /* Limit the width for better layout */
    margin: 0 auto; /* Center align the content */
    margin-top: -10px; /* Moves the entire text block up */
}

.work-description {
    font-size: 1rem;
    color: #000000;
    font-family: 'Merriweather', serif;
    line-height: 2;
    flex: 1; /* Ensure it takes equal space */
    text-align: left; /* Align text to the left */
}

.work-description p {
    margin-top: -20px; /* Adjust value as needed */
}

audio {
    display: block;
    margin-top: 10px;
    width: 100%;
    max-width: 300px; /* Restrict width */
    display: flex;
}

.brochure {
    width: 100%; /* Ensure the image fits the container */
    max-width: 200px; /* Limit the size of the image */
    height: auto;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive Styling for Small Screens */
@media (max-width: 768px) {
    .work-content {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align items */
    }

    .work-description {
        text-align: center; /* Center align text for smaller screens */
    }
}

#journey {
    background-color: #f9f9f9; /* Light gray background */
    padding: 40px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#journey h2 {
    color: #023261;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Castoro Titling', static;
    text-align: center;
}

.company-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between boxes */
    margin-bottom: 30px;
    flex-wrap: nowrap; /* Allow wrapping for smaller screens */
}

.journey-category {
    margin-bottom: 40px;/* Space between sections */
}

.journey h3 {
    color: #023261;
    font-size: 1.7rem;
    margin-bottom: 5px;
    font-family: 'Merriweather', serif;
}

/* Experience Box */
.journey-box {
    background: #fff;
    border: 2px solid #003366;
    border-radius: 5%;
    width: 90%; /* Adjust for uniform size */
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    text-align: center;
    margin: 10px auto;
    overflow: hidden;
}

.company-logo {
    width: 100px; /* Adjust as needed */
    height: 125px;
    object-fit: contain; /* Keep the image aspect ratio */
    display: block;
    margin: 0 auto; /* Center-align the logo */
    margin-bottom: 10px;
}

.company-name {
    word-wrap: break-word;
    margin: 0;
    padding: 0;
    font-size: 1.2rem; /* Adjust size for the company name */
    font-weight: bold; /* Make the name stand out */
}

.location {
    margin: 0; /* Remove extra margin */
    padding: 0; /* Remove extra padding */
    font-size: 1rem; /* Optional: Set a slightly smaller font */
    color: #666; /* Optional: Subtle color for location */
}

.designation {
    margin-top: 10px; /* Adds space between location and designation */
    font-size: 1rem;
    font-weight: bold;
}

.time-period {
    margin-top: 5px; /* Adds space between designation and time period */
    font-size: 0.9rem; /* Adjust size as needed */
    color: #666; /* Optional: Make it visually distinct */
}

.journey-box p {
    margin: 10px 0;/* Add consistent spacing */
    text-align: center; /* Center-align all text */
    word-wrap: break-word;
}

.journey-box .company-name {
    font-size: 1.2rem; /* Company name size */
    font-weight: bold;
    margin: 0; /* Space around */
}

.journey-box .location {
    font-size: 1rem; /* Location size */
    color: #666; /* Subtle color for location */
    margin: 5px 0 10px 0; /* Space around */
}

.journey-box .designation {
    background-color: #f0f8ff; /* Light blue background for designation */
    font-size: 1rem; /* Adjust as needed */
    font-weight: bold;
    margin: 0; /* Add spacing if needed */
}

.journey-box .time-period {
    font-size: 0.9rem; /* Slightly smaller font */
    color: #666; /* Subtle text color for time */
    margin: 0; /* Add spacing if needed */
}

.journey-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Transparent black background */
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
}

.modal-content h3 {
    font-size: 1.8rem;
    color: #023261;
    margin-bottom: 10px;
}

.modal-details ul {
    padding-left: 20px;
    list-style: disc;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 20px; /* Adjust for right alignment */
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* Ensure Responsiveness for Smaller Screens */
@media (max-width: 768px) {
    .company-row {
        flex-wrap: wrap; /* Allow wrapping on small screens */
        justify-content: center; /* Center-align on wrap */
    }

    .journey-box {
        width: 50%; /* Reduce size to fit more boxes in small screens */
        margin-bottom: 20px; /* Add space between rows when wrapped */
        max-width: 100%;
    }

    .company-logo {
        width: 60px; /* Smaller logo size for mobile */
    }
}

#contact h2 {
    text-align: center;
    color: #023261;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Castoro Titling', static; /* Adjust font if necessary */
}

.contact-container {
    display: flex;
    flex-direction: row; /* Horizontal layout for larger screens */
    justify-content: center;
    align-items: center;
    gap: 40px; /* Add spacing between items */
    flex-wrap: wrap; /* Ensure items wrap if they don't fit */
    padding: 20px;
}

.contact-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Change to flexbox for horizontal layout */
    justify-content: center; /* Center align the items */
    gap: 40px; /* Add spacing between items */
}

.contact-list li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #000000;
}

.contact-list a {
    text-decoration: none;
    color: #000000;
    margin-left: 10px;
}

.contact-gif {
    width: 70px; /* Adjust size as needed */
    height: auto;
    margin-right: 10px;
    border-radius: 50%; /* Optional: Add rounded corners */
    transition: transform 0.3s ease; /* Hover effect */
}

/* Email Section Styling */
.email-section {
    display: flex; /* Keeps the GIF and emails in one row */
    align-items: flex-start; /* Aligns content to the top */
}

.email-list {
    display: flex;
    flex-direction: column; /* Stack emails vertically */
    margin-left: 10px; /* Spacing between GIF and email list */
}

.email-list a {
    margin-bottom: 5px; /* Add spacing between the emails */
}

/* Hover Effects */
.contact-gif:hover {
    transform: scale(1.2); /* Slightly enlarge GIF on hover */
}
.contact-list a:hover {
    text-decoration: underline;
    color: #003366;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Stack items vertically */
        gap: 10px; /* Add spacing between items */
    }
  
     .contact-list {
          flex-direction: column; /* Stack list items vertically */
          align-items: center; /* Center-align the items */
          gap: 15px; /* Add spacing between items */
      }
  
      .contact-list li {
        flex-direction: column; /* Ensure text and GIF are stacked */
        text-align: center;
    }

    .contact-gif {
        margin-right: 0; /* Remove side margin */
        margin-bottom: 10px; /* Add space below the GIF */
    }
}

.heading-container {
    display: inline-flex; /* Align items horizontally */
    justify-content: center; /* Center the content */
    align-items: center; /* Vertically align items */
    gap: 10px; /* Add space between the GIF and the heading */
    width: 100%; /* Take full width of the section */
    text-align: center; /* Center-align the text inside the container */
}

.education-gif {
    width: 80px; /* Adjust size of the GIF */
    height: auto; /* Maintain aspect ratio */
}

#education h2 {
    color: #023261;
    font-size: 2rem;
    margin: 0; /* Center the heading */
    font-family: 'Castoro Titling', static; /* Elegant serif font */
}

.education-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* Flexbox for horizontal layout */
    justify-content: center; /* Center-align the items */
    gap: 50px; /* Spacing between items */
    flex-wrap: wrap; /* Allow items to wrap to the next row if needed */
}

.education-list li {
    text-align: center;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    max-width: 300px; /* Limit width of each box */
}

.education-list strong {
    display: block;
    font-size: 1.2rem;
    color: #023261;
    margin-bottom: 5px;
}

.education-list p {
    margin: 0;
    font-size: 1rem;
    color: #000000;
}

/* Hover Effect */
.education-list li:hover {
    transform: scale(1.05); /* Slight zoom effect */
    transition: transform 0.3s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bounce {
    animation: bounceIn 0.6s ease-out;
}

@media (max-width: 375px) { 
    /* Adjust text size and layout */
    header h1 {
        font-size: 4rem; /* Smaller heading size */
    }

    .contact-container {
        gap: 10px; /* Reduce spacing for compact view */
    }
}
