/* Freshers Section */
.freshers-section {
    margin-top: 100px;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    color: navy;
    margin-bottom: 40px;
    font-size: 32px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007BFF, navy);
    margin: 10px auto;
    border-radius: 2px;
}

.freshers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.freshers-left {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.freshers-left img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Slider Container - OPTIMIZED HEIGHT */
.freshers-right {
    position: relative;
    width: 600px;
    height: 480px; /* Reduced height since content is removed */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #fff;
}

.freshers-right .slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}

/* Card Styles - REMOVED CARD CONTENT */
.freshers-right .card {
    min-width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #fff;
    height: 100%;
    box-sizing: border-box;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    gap: 20px;
}

/* MAXIMUM IMAGE HEIGHT */
.freshers-right .card img {
    width: 100%;
    height: 350px; /* MAXIMUM HEIGHT - More space available */
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
}

.freshers-right .badge {
    display: inline-block;
    background: linear-gradient(to right, navy, #007BFF);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.freshers-right .badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    background: linear-gradient(to right, #007BFF, navy);
}

/* Apply Now Button - LARGER */
.apply-btn {
    display: block;
    width: 200px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.apply-btn:hover {
    background: linear-gradient(135deg, #019985 0%, #85b536 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Indicators */
.freshers-right .indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
}

.freshers-right .indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.freshers-right .indicator.active {
    background: navy;
    transform: scale(1.2);
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.freshers-right .indicator:hover {
    background: #007BFF;
    transform: scale(1.1);
}

/* Learning Section */
.learning-section {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.learning-section h4 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.learning-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.learning-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.learning-point i {
    font-size: 24px;
    color: #ffd700;
    margin-top: 5px;
}

.learning-point div {
    flex: 1;
}

.learning-point h5 {
    margin-bottom: 8px;
    font-size: 16px;
}

.learning-point p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Internship Section Styles */
.careers-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.career-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.career-img {
    height: 100%;
    overflow: hidden;
}

.career-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.career-img img:hover {
    transform: scale(1.05);
}

.career-content {
    padding: 40px;
}

.career-content h3 {
    font-size: 28px;
    color: #007BFF;
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 10px;
}

.career-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: navy;
}

.internship-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.role-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.role-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #007BFF;
}

.role-card h4 {
    color: navy;
    margin-bottom: 10px;
    font-size: 18px;
}

.role-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    .freshers-container {
        flex-direction: column;
        align-items: center;
    }

    .freshers-left, .freshers-right {
        width: 100%;
        max-width: 600px;
    }
    
    .freshers-right {
        height: 450px; /* Adjusted for tablet */
    }
    
    .freshers-right .card img {
        height: 300px; /* Adjusted for tablet */
    }
    
    .career-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .career-img img {
        height: 300px;
    }
    
    .career-content {
        padding: 30px 20px;
    }

    .internship-roles {
        grid-template-columns: 1fr;
    }

    .learning-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .freshers-right {
        height: 420px; /* Adjusted for mobile */
    }
    
    .freshers-right .card img {
        height: 260px; /* Adjusted for mobile */
    }
    
    .freshers-right .badge {
        font-size: 18px;
        padding: 10px 20px;
    }
    
    .career-content h3 {
        font-size: 24px;
    }

    .learning-point {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .learning-point i {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .freshers-right {
        height: 380px; /* Adjusted for small mobile */
    }
    
    .freshers-right .card img {
        height: 220px; /* Adjusted for small mobile */
    }
    
    .freshers-right .badge {
        font-size: 16px;
        padding: 8px 16px;
    }

    .apply-btn {
        width: 180px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .learning-section {
        padding: 20px 15px;
    }

    .learning-point {
        padding: 10px;
    }
}