/* Extended styles for specific pages */

/* Home Page Styles */
.hero-section {
    position: relative;
    color: #fff;
    padding: 4rem 1rem;
    overflow: hidden;
    background-color: #0d0f0e;
    height: 700px;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    max-width: 48rem;
    margin: 0 auto;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.stat-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #071461;
    transform: scale(1.05);
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

.quick-link-card {
    display: block;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.quick-link-card:hover {
    border-color: #071461;
    transform: scale(1.05);
}

.quick-link-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #fff;
    transition: transform 0.3s;
}

.quick-link-card:hover .quick-link-icon {
    transform: scale(1.1);
}

.quick-link-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

.quick-link-desc {
    color: #64748b;
}

.events-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    max-width: 100%;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    touch-action: pan-y pinch-zoom;
    will-change: transform;
}

.event-card {
    flex: 0 0 100%;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.event-card:hover {
    border-color: #071461;
}

/* ✅ Larger images for desktop */
.event-img {
    width: 100%;
    height: 25rem; /* Increased for desktop */
    object-fit: cover;
    display: block;
}

.event-content {
    padding: 1.75rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

.event-date {
    color: #071461;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.event-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    border-color: #071461;
    background-color: #071461;
    color: #fff;
    box-shadow: 0 4px 12px rgba(7, 20, 97, 0.2);
}

.slider-btn-prev {
    left: 1rem;
}

.slider-btn-next {
    right: 1rem;
}

/* ✅ Responsive for smaller screens */
@media (max-width: 1024px) {
    .event-img {
        height: 20rem;
    }
}

@media (max-width: 767px) {
    .slider-btn {
        display: none;
    }
    .event-img {
        height: 12rem;
    }
    .event-content {
        padding: 1.25rem;
    }
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: #071461;
    width: 2rem;
}


/* About Page */
.message-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.message-card:hover {
    border-color: #071461;
    transform: scale(1.05);
}

.message-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.message-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.message-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #071461;
}

.message-badge {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%);
    padding: 0.5rem;
    border-radius: 9999px;
    color: #fff;
}

.message-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 0.25rem;
}

.message-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1rem;
}

.message-text {
    color: #64748b;
    line-height: 1.75;
    font-size: 0.875rem;
}

.vision-mission-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.vision-mission-card:hover {
    border-color: #071461;
    transform: scale(1.05);
}

.vision-mission-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.vision-mission-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
}

.vision-mission-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d0d0d;
}

.vision-mission-content {
    color: #64748b;
    line-height: 1.75;
}

/* Community Page */
.faculty-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s;
}

.faculty-card:hover {
    border-color: #071461;
}

.faculty-header {
    text-align: center;
    margin-bottom: 1rem;
}

.faculty-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #071461;
    margin-bottom: 0.75rem;
}

.faculty-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 0.25rem;
}

.faculty-designation {
    color: #071461;
    font-weight: 500;
    font-size: 0.875rem;
}

.faculty-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faculty-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.faculty-detail-item svg {
    min-width: 1rem;
    color: #071461;
    margin-top: 0.125rem;
}

.faculty-email:hover,
.faculty-scholar:hover {
    color: #071461;
}

.office-bearer-year {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.office-bearer-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background-color: #0d0d0d;
    color: #fff;
    border: none;
    cursor: pointer;
}

.office-bearer-year-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.office-bearer-toggle .chevron.rotate {
    transform: rotate(180deg);
}

.office-bearer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.office-bearer-content.open {
    max-height: 5000px;
    padding: 1.25rem;
}

.office-bearer-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s;
}

.office-bearer-card:hover {
    border-color: #071461;
    transform: scale(1.05);
}

.office-bearer-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #071461;
    margin-bottom: 0.5rem;
}

.office-bearer-name {
    font-weight: 600;
    color: #0d0d0d;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.office-bearer-role {
    color: #071461;
    font-weight: 500;
    font-size: 0.75rem;
}

.office-bearer-year-label {
    color: #64748b;
    font-size: 0.75rem;
}

/* Gallery Page */
.gallery-year {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.gallery-year-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #f3f4f6;
    border: none;
    cursor: pointer;
}

.gallery-year-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d0d0d;
}

.gallery-year-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.gallery-year-content.open {
    max-height: 5000px;
    padding: 1.5rem;
}

.gallery-album-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.gallery-album-card:hover {
    border-color: #071461;
    transform: scale(1.05);
}

.gallery-album-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.gallery-album-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 0.75rem;
}

.gallery-album-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.gallery-album-desc {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.gallery-album-link {
    color: #071461;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Achievements Page */

/* ============================================
   LOGO SLIDER - INFINITE SEAMLESS LOOP
   ============================================ */
   .logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

/* Duplicate logos to create seamless loop */
.logo-track::after {
    content: '';
    display: flex;
}

@keyframes scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 1.5rem;
}

.recruiter-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

/* ============================================
   ACHIEVEMENT STATS GRID
   ============================================ */
.achievements-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .achievements-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .achievements-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.achievement-stat-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.achievement-stat-card:hover {
    transform: scale(1.05);
}

.achievement-stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
}

.achievement-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0d0d0d;
    margin-bottom: 0.5rem;
}

.achievement-stat-label {
    color: #64748b;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE TABLE WITH FIXED HEADER
   ============================================ */
.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
}

.placement-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.placement-table thead {
    background-color: #0d0d0d;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.placement-table thead::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
}

.placement-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    background-color: #0d0d0d;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.placement-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
}

.placement-table tbody tr:hover {
    background-color: #f9fafb;
}

.placement-table tbody tr:hover td {
    background-color: #f9fafb;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .table-responsive {
        max-height: 500px;
        border-radius: 0.5rem;
    }
    
    .placement-table {
        min-width: 500px;
        font-size: 0.875rem;
    }
    
    .placement-table th,
    .placement-table td {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .placement-table {
        min-width: 400px;
        font-size: 0.8125rem;
    }
    
    .placement-table th,
    .placement-table td {
        padding: 0.625rem 0.75rem;
    }
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-wrapper {
    display: flex;
    align-items: center;
    min-width: 120px;
}

.progress-bar {
    width: 3rem;
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 9999px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #071461, #008B8B);
    border-radius: 9999px;
}

.progress-text {
    font-weight: 500;
    color: #071461;
    white-space: nowrap;
}

/* ============================================
   COMPANY TAGS
   ============================================ */
.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.company-tag {
    padding: 0.25rem 0.5rem;
    background-color: rgba(7, 20, 97, 0.1);
    color: #071461;
    font-size: 0.75rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.company-tag-more {
    padding: 0.25rem 0.5rem;
    background-color: #f3f4f6;
    color: #64748b;
    font-size: 0.75rem;
    border-radius: 9999px;
    white-space: nowrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-download {
    margin-top: 1rem;
    background-color: #071461;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.btn-download:hover {
    background-color: #0d0d0d;
}

.placement-contact {
    margin-top: 3rem;
    text-align: center;
}

.placement-contact-text {
    color: #64748b;
    margin-bottom: 1rem;
}

.btn-contact-placement {
    background-color: #0d0d0d;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s;
    text-decoration: none;
}

.btn-contact-placement:hover {
    background-color: #071461;
}


/* Course Hub Page */
.course-hub-header {
    background-color: #0d0d0d;
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: -80px;
}

.course-hub-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.course-hub-subtitle {
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto;
    color: #d1d5db;
}

.course-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.course-hub-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: border-color 0.3s;
}

.course-hub-card:hover {
    border-color: #071461;
}

.course-hub-card-clickable {
    cursor: pointer;
}

.course-hub-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.course-hub-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
}

.course-hub-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d0d0d;
}

.course-hub-card-desc {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.course-hub-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #0d0d0d;
    text-align: left;
}

.accordion-toggle .chevron {
    transition: transform 0.3s;
}

.accordion-toggle .chevron.rotate {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.open {
    max-height: 2000px;
    padding: 0 1rem 1rem;
}

.accordion-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.accordion-link:hover {
    color: #071461;
    background-color: #f9fafb;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.newsletter-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #071461;
}

.newsletter-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #071461;
    font-weight: 500;
    transition: color 0.3s;
}

.course-hub-card-clickable:hover .newsletter-cta {
    color: #0d0d0d;
}

.help-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s;
}

.help-card:hover {
    border-color: #071461;
}

.help-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 1rem;
}

.help-text {
    color: #64748b;
    margin-bottom: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.help-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background-color: #071461;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0d0d0d;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #fff;
    color: #071461;
    border: 1px solid #071461;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #071461;
    color: #fff;
}

@media (min-width: 640px) {
    .help-actions {
        flex-direction: row;
    }
    
    .achievements-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .course-hub-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


.hero-section {
    margin-top: -80px;
    
}