/* Placements Hero Section */
.placements-hero {
    position: relative;
    padding: 120px 0 100px;
    background-image: url('../images/placements-bg.png'); /* Using generated png */
    background-color: #0b1120;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.placements-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.85); /* Dark slate overlay to match image */
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.placements-tag {
    display: inline-flex;
    align-items: center;
    background-color: rgba(245, 158, 11, 0.1); /* Very faint orange */
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b; /* Orange/Gold color */
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
}

.diamond-icon {
    margin-right: 6px;
    font-size: 10px;
}

.placements-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: 900px;
    letter-spacing: -0.5px;
}

.placements-desc {
    font-size: 17px;
    line-height: 1.6;
    color: #94a3b8; /* Light slate color matching screenshot */
    max-width: 750px;
    margin: 0;
}

@media (max-width: 768px) {
    .placements-title {
        font-size: 26px; /* Significantly reduced for better mobile wrap */
        line-height: 1.2;
    }
    
    .placements-desc {
        font-size: 13px; /* Reduced to fit neatly */
        text-align: justify; /* Consistent with other text blocks */
    }
    
    .placements-hero {
        padding: 60px 0 40px; /* Reduced padding */
    }
}

/* Stats Section */
.placements-stats {
    background-color: #f59e0b;
    padding: 50px 0 10px 0; /* Significantly more padding on top to push text further down */
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Separator to prevent visual merging with footer banner */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item h2 {
    font-size: 36px; /* Further reduced size */
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 2px 0; /* Reduced space below number */
    line-height: 1;
}

.stat-item h3 {
    font-size: 13px; /* Reduced size */
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0; /* Reduced space below heading */
}

.stat-item p {
    font-size: 11px; /* Reduced size */
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px; /* Row gap 25px, column gap 15px */
    }

    .stat-item h2 {
        font-size: 28px; /* Smaller number */
    }

    .stat-item h3 {
        font-size: 11px; /* Smaller heading */
    }

    .stat-item p {
        font-size: 10px; /* Smaller subtitle */
    }
}


/* Process Section */
.placement-process {
    background-color: #f8fafc; /* Very light slate background matching screenshot */
    padding: 100px 0;
}

.process-header {
    margin-bottom: 70px;
}

.process-tag {
    display: block;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.process-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.process-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
}

/* Timeline */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 40px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 0 0 6px #ffffff, 0 4px 15px rgba(245, 158, 11, 0.2); /* Creates the outer white ring and soft shadow seen in the screenshot */
    z-index: 2;
    flex-shrink: 0;
}

.step-line {
    width: 2px;
    background-color: #e2e8f0;
    flex-grow: 1;
    position: absolute;
    top: 60px;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hide-line {
    display: none;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.step-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

@media (max-width: 768px) {
    .placement-process {
        padding: 50px 0; /* Reduced padding on mobile */
    }

    .process-header {
        margin-bottom: 40px; /* Reduced gap below header */
        text-align: left !important; /* Left align for mobile view */
    }

    .process-title {
        font-size: 22px; /* Even smaller title size */
        margin-bottom: 12px;
    }

    .process-desc {
        font-size: 13px; /* Reduced description size */
        padding: 0; /* Removed padding to align left properly */
        text-align: justify; /* Justify text */
    }
    
    .step-indicator {
        margin-right: 20px;
    }
    
    .step-content h3 {
        font-size: 18px; /* Smaller heading for mobile */
        margin: 0 0 8px 0;
    }

    .step-content p {
        font-size: 14px;
        text-align: justify;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
        box-shadow: 0 0 0 4px #ffffff, 0 4px 10px rgba(245, 158, 11, 0.2);
    }
    
    .see-more-btn {
        margin-top: 15px;
    }
    
    .step-line {
        top: 45px;
    }
}

/* Placement Support Section */
.placement-support {
    background-color: #0b1120;
    padding: 0 0 100px 0;
}

.support-box {
    background-color: #1e293b;
    border-radius: 20px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.support-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #f59e0b;
    margin: 0 auto 25px auto;
}

.support-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.support-desc {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.support-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.support-feature i {
    color: #f59e0b;
    font-size: 18px;
    margin-top: 3px;
}

.support-feature span {
    color: #f1f5f9;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .support-box {
        padding: 35px 20px;
        text-align: left; /* Left align everything inside */
    }
    
    .support-icon {
        margin: 0 0 20px 0; /* Align icon to left */
    }
    
    .support-title {
        font-size: 22px; /* Smaller title */
        line-height: 1.3;
    }
    
    .support-desc {
        font-size: 13px; /* Smaller description */
        text-align: justify; /* Consistent alignment */
    }
    
    .support-features {
        grid-template-columns: 1fr;
        gap: 15px; /* Tighter gap */
    }
    
    .support-feature span {
        font-size: 13px; /* Smaller list text */
    }
}

/* Destinations Section */
.placement-destinations {
    background-color: #0b1120; /* Dark background matching the image */
    padding: 100px 0;
    color: white;
}

.destinations-header {
    margin-bottom: 60px;
}

.destinations-tag {
    display: block;
    color: #f59e0b; /* Orange */
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.destinations-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.destinations-desc {
    font-size: 16px;
    color: #94a3b8; /* Light slate */
    max-width: 600px;
    margin: 0 auto;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.destination-card {
    background-color: #1e293b; /* Slightly lighter dark card */
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced gap between icon and text */
    margin-bottom: 30px; /* Reduced bottom margin */
    position: relative;
    z-index: 2;
}

.card-header i {
    color: #f59e0b;
    font-size: 16px; /* Smaller icon size */
}

.card-header h3 {
    font-size: 18px; /* Smaller, more compact header text */
    font-weight: 700; /* Bold but slightly less heavy */
    color: #ffffff;
    margin: 0;
}

.destination-list {
    position: relative;
    z-index: 2;
}

.destination-row {
    display: flex;
    padding: 15px 0; /* Reduced padding since there are no borders */
}

.destination-row:last-child {
    padding-bottom: 0;
}

.loc-name {
    font-weight: 700;
    font-size: 15px; /* Slightly smaller to fit more rows elegantly */
    color: #ffffff;
    width: 35%; /* Fixed width for consistent alignment */
    flex-shrink: 0;
}

.loc-desc {
    font-size: 14px;
    color: #94a3b8;
    flex-grow: 1;
    text-align: left; /* Ensure it is strictly left-aligned */
}

@media (max-width: 992px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .destinations-header,
    .testimonials-header {
        text-align: left !important;
        margin-bottom: 40px; /* Reduced gap */
    }

    .destinations-title {
        font-size: 22px; /* Even smaller title size */
        margin-bottom: 12px;
    }
    
    .destinations-desc {
        font-size: 13px; /* Reduced description size */
    }

    .destination-card {
        padding: 30px 20px;
        margin: 0 -20px; /* Edge to edge */
        border-radius: 0; /* Remove rounded corners */
    }
    
    .loc-name {
        font-size: 14px; /* Reduced size */
        width: 100%;
    }
    
    .loc-desc {
        font-size: 13px; /* Reduced size */
        width: 100%;
    }
    
    .destination-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* Success Stories Section */
.placement-testimonials {
    background-color: #0b1120; /* Same dark background */
    padding: 0 0 100px 0; /* Only bottom padding since it follows Destinations */
    color: white;
}

.testimonials-header {
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #1e293b;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes the author info to the very bottom of the card */
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    margin: 0 0 4px 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.author-info span {
    color: #94a3b8;
    font-size: 13px;
}

.author-batch {
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
    align-self: flex-end; /* Align to the bottom relative to avatar/name */
    margin-bottom: 4px; /* Slight bump to perfectly match the baseline of subtitle */
}

.testimonial-card .stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-card .highlight-text {
    color: #f59e0b;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: #cbd5e1; /* slightly lighter than the destinations desc */
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card p.expanded {
    -webkit-line-clamp: unset;
}

.see-more-btn {
    background: none;
    border: none;
    color: #f59e0b;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
}

.see-more-btn:hover {
    text-decoration: underline;
}

.slider-dots {
    display: none;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        margin: 0 -15px; /* Standard container margin */
        padding: 0 15px 20px 15px; /* Match container padding */
        scroll-padding-left: 15px; /* Crucial for snap alignment */
        /* Hide scrollbar for a cleaner look */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        padding: 25px 20px;
        width: calc(100vw - 30px); /* Exactly the container width */
        min-width: calc(100vw - 30px); 
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    .testimonial-card .highlight-text {
        font-size: 14px; /* Reduced text size */
    }
    
    .testimonial-card p {
        font-size: 13px; /* Reduced text size */
    }
    
    .author-avatar {
        width: 38px;
        height: 38px;
        font-size: 16px;
        margin-right: 12px;
    }

    .author-info {
        min-width: 0; /* allows child truncation */
    }
    
    .author-info h4 {
        font-size: 14px; /* Reduced text size */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .author-info span {
        font-size: 11px; /* Reduced text size */
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .author-batch {
        font-size: 11px; /* Reduced text size */
        margin-left: 10px;
    }
    
    .slider-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .slider-dot.active {
        background-color: #f59e0b;
        width: 24px;
        border-radius: 4px;
    }
    
    .slider-arrow {
        background: none;
        border: none;
        color: #94a3b8;
        font-size: 16px;
        cursor: pointer;
        padding: 5px;
        transition: color 0.3s ease;
    }
    
    .slider-arrow:active,
    .slider-arrow:hover {
        color: #f59e0b;
    }
}

/* Placement CTA Section */
.placement-cta {
    background-color: #0b1120;
    padding: 50px 0 100px 0;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-desc {
    color: #cbd5e1;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .placement-cta {
        padding: 40px 20px 60px 20px;
    }
    
    .placement-cta .container {
        text-align: left !important;
    }

    .cta-title {
        font-size: 26px; /* Smaller title */
        line-height: 1.3;
    }
    
    .cta-desc {
        font-size: 13px; /* Smaller description */
        text-align: justify; /* Consistent neat alignment */
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-outline {
        width: 100%;
    }
}
