/* Hero Placement Section */
.hero-placement {
    background: url("https://pearlwebsitecdn-prod-d8bgbfaqbgcghcfw.a01.azurefd.net/drupal-files/2024-08/placements.webp") no-repeat center center/cover;
    position: relative;
    height: 80vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 50, 0.65);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeDown 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeUp 1.2s ease-out;
}

.hero-btn {
    background-color: #ffd700;
    color: #003366;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.hero-btn:hover {
    background-color: #ffcc00;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* Keyframe Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Highlight Section */
.highlight-section {
    background: #f0f8ff;
    padding: 80px 20px;
    text-align: center;
}

.highlight-title {
    font-size: 2.5rem;
    color: #002244;
    margin-bottom: 50px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background-color: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.highlight-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.highlight-card:hover img {
    transform: scale(1.1);
}

.highlight-card h3 {
    color: #003366;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .highlight-title {
        font-size: 2rem;
    }
}


/* Recruiters */
.recruiters-section {
    background-color: #f8faff;
    padding: 60px 20px;
    text-align: center;
}

.recruiters-section .section-title {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 10px;
}

.recruiters-section .section-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
}

.recruiter-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.logo-card {
    background: transparent;
    padding: 0.1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.logo-card:hover {
    transform: scale(1.05);
}

.logo-card img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

/* Placement Process */
.placement-timeline {
    background: #f9fbff;
    padding: 70px 20px;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #003366;
}

.timeline-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: #555;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0074cc;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item .timeline-icon {
    position: absolute;
    top: 25px;
    right: -35px;
    width: 50px;
    height: 50px;
    background: #0074cc;
    color: white;
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.timeline-item.right .timeline-icon {
    left: -35px;
    right: auto;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.timeline-content h3 {
    color: #005099;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        margin-bottom: 40px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item .timeline-icon {
        left: 0;
        right: auto;
    }
}



/* Student Success Stories */
.student-success {
    padding: 70px 20px;
    background: #f0f8ff;
    text-align: center;
}

.success-title {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 10px;
}

.success-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.success-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.success-card:hover {
    transform: translateY(-8px);
}

.success-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.success-info {
    padding: 20px;
    text-align: left;
}

.success-info h3 {
    font-size: 1.3rem;
    color: #0050b3;
    margin-bottom: 5px;
}

.success-info p {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 10px;
}

.success-info blockquote {
    font-style: italic;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 3px solid #0074cc;
    padding-left: 10px;
}



/* broucher-section */
.brochure-section {
    background-color: #f0f8ff;
    padding: 70px 20px;
    text-align: center;
}

.brochure-title {
    font-size: 2.4rem;
    color: #003366;
    margin-bottom: 10px;
}

.brochure-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
}

.brochure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.brochure-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    text-align: center;
}

.brochure-card:hover {
    transform: translateY(-5px);
}

.brochure-card i {
    font-size: 2.5rem;
    color: #e63946;
    margin-bottom: 15px;
}

.brochure-card h3 {
    color: #003366;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.brochure-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.download-btn {
    display: inline-block;
    background-color: #0050b3;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #003366;
}

/* Responsive */
@media (max-width: 768px) {
    .brochure-title {
        font-size: 2rem;
    }

    .download-btn {
        width: 100%;
        padding: 10px;
    }
}

/* Alumni */
.alumni-section {
    padding: 70px 20px;
    background-color: #f5faff;
    text-align: center;
}

.alumni-title {
    font-size: 2.4rem;
    color: #003366;
    margin-bottom: 10px;
}

.alumni-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.alumni-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.alumni-card:hover {
    transform: translateY(-8px);
}

.alumni-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.alumni-info {
    padding: 20px;
}

.alumni-info h3 {
    color: #003366;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.alumni-info p {
    font-weight: 900;
    color: #0074cc;
    margin-bottom: 10px;
}

.alumni-info blockquote {
    font-style: italic;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .alumni-title {
        font-size: 2rem;
    }

    .alumni-card {
        max-width: 100%;
    }
}

/* Placement Cell Section */
.placement-cell-section {
    background-color: #f8fbff;
    padding: 70px 20px;
    text-align: center;
}

.placement-title {
    font-size: 2.4rem;
    color: #003366;
    margin-bottom: 10px;
}

.placement-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
}

.placement-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 50px;
    text-align: left;
}

.placement-feature {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.placement-feature:hover {
    transform: translateY(-8px);
}

.placement-feature i {
    font-size: 2rem;
    color: #0074cc;
    margin-bottom: 15px;
}

.placement-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #002244;
}

.placement-feature p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

.placement-image img {
    width: 100%;
    max-width: 1100px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .placement-title {
        font-size: 2rem;
    }

    .placement-content-grid {
        grid-template-columns: 1fr;
    }

    .placement-feature {
        text-align: center;
    }
}



/* FAQ Section */
.faq-section {
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-answer.open {
    opacity: 1;
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.faq-answer.open {
    opacity: 1;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 24px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-section h2 {
        font-size: 20px;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-answer p {
        font-size: 13px;
    }
}





/* ===============================
   PLACEMENT ACHIEVEMENT POSTERS
================================ */

.placement-posters-section {
    padding: 70px 20px;
    background: #f5faff;
    text-align: center;
}

.placement-poster-title {
    font-size: 2.4rem;
    color: #003366;
    margin-bottom: 10px;
}

.placement-poster-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Grid */
.placement-poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Poster Card */
.placement-poster-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.placement-poster-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.placement-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .placement-poster-title {
        font-size: 2rem;
    }

    .placement-poster-subtitle {
        font-size: 1rem;
    }
}

/* ===============================
   YEAR FILTER BUTTONS
================================ */

.year-filter {
    margin-bottom: 30px;
    text-align: center;
}

.year-filter button {
    background: #0074cc;
    color: #fff;
    border: none;
    padding: 8px 18px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.year-filter button:hover,
.year-filter button.active {
    background: #003366;
}





/* Placement Table */
.placement-table-section {
    padding: 70px 20px;
    background: #ffffff;
}

.placement-table-title {
    text-align: center;
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 10px;
}

.placement-table-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.table-responsive {
    overflow-x: auto;
}

.placement-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.placement-table th,
.placement-table td {
    border: 1px solid #ddd;
    padding: 12px 10px;
    text-align: left;
    font-size: 0.95rem;
}

.placement-table th {
    background: #003366;
    color: #fff;
}

.placement-table tr:nth-child(even) {
    background: #f5faff;
}

.placement-table tr:hover {
    background: #eef4ff;
}

/* Mobile */
@media (max-width: 768px) {
    .placement-table {
        font-size: 0.9rem;
    }
}



/* ===============================
   PLACEMENT CONTROLS
================================ */

.placement-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.placement-controls input,
.placement-controls select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    min-width: 220px;
}

.placement-controls input:focus,
.placement-controls select:focus {
    outline: none;
    border-color: #0074cc;
}

/* ===============================
   TABLE IMAGE
================================ */

.table-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

/* ===============================
   PAGINATION
================================ */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination button {
    border: none;
    padding: 8px 14px;
    background: #0074cc;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.pagination button:hover {
    background: #003366;
}

.pagination button.active {
    background: #003366;
}

/* ===============================
   MOBILE CARD VIEW
================================ */

.placement-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.placement-card {
    background: #f9fbff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: transform 0.3s ease;
}

.placement-card:hover {
    transform: translateY(-6px);
}

.placement-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid #0074cc;
}

.placement-card h3 {
    font-size: 1.2rem;
    color: #003366;
    margin-bottom: 6px;
}

.placement-card p {
    font-size: 0.95rem;
    color: #444;
    margin: 4px 0;
}

/* ===============================
   RESPONSIVE SWITCH
================================ */

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .placement-controls {
        flex-direction: column;
        align-items: center;
    }

    .placement-controls input,
    .placement-controls select {
        width: 100%;
        max-width: 320px;
    }
}