/* Common Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Styles specific to the Placements section */
.placement-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.placements-content h1, .placements-content h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 1;
}

.placements-content ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.placements-content ul li {
    background: #fff;
    padding: 15px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 10px;
    font-size: 1.1em;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start with a slight offset */
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(0.2s * var(--i)); /* Delays based on index */
}

.placements-content ul li:hover {
    background: #e0ffe0;
    cursor: pointer;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

/* Animation Styles for the Placements section */
.placements-content .fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.placements-content .slide-in-left {
    opacity: 0;
    animation: slideInLeft 1.2s ease-out forwards;
}

.placements-content .slide-in-right {
    opacity: 0;
    animation: slideInRight 1.2s ease-out forwards;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .placement-wrapper {
        padding: 15px;
    }

    .placements-content h1 {
        font-size: 1.8em;
    }

    .placements-content ul li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .placements-content h1 {
        font-size: 1.5em;
    }

    .placements-content ul li {
        font-size: 0.9em;
        padding: 10px;
    }
}

.placements-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.placements-heading {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #007BFF; /* Accent color */
}

.placements-description {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Card styles */
.placements-card {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 15px;
    position: relative; /* For positioning pseudo-element */
    transition: transform 0.3s, box-shadow 0.3s; /* Hover effects */
}

.card1{
    background-color: #4ac8d7;;
}

.card2{
    background-color: #4e1a3e;
}

.card3{
    background-color: #ff8110;
}

.placements-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

.card-icon {
    font-size: 2em; /* Increase icon size */
    position: absolute;
    top: 15px;
    left: 15px;
}

.card-title {
    font-size: 1.5em;
    margin-top: 0px; /* Add space for the icon */
    margin-bottom: 10px;
    color: #007BFF; /* Accent color */
}

.card-list {
    list-style-type: disc;
    padding-left: 20px;
}

.card-text {
    margin: 10px 0;
}

/* Contact info styling */
.contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.2em;
}

.contact-title {
    font-weight: bold;
}

.contact-number {
    color: #28a745; /* Green color for contact info */
}

/* Animation for cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to cards */
.placements-card {
    animation: fadeIn 0.5s ease-in-out; /* Animation for appearance */
}

/* Responsive design */
@media (max-width: 768px) {
    .placements-section {
        padding: 10px;
    }
    
    .placements-heading {
        font-size: 2em;
    }

    .card-title {
        font-size: 1.2em;
    }

    .contact-title {
        font-size: 1.1em;
    }
}