/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3f51b5;
    color: #fff;
}

.btn-primary:hover {
    background-color: #303f9f;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

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

/* Header */
.top-bar {
    background-color: #1a237e;
    color: #fff;
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: 50px;
}

.logo div h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a237e;
}

.logo div p {
    font-size: 0.875rem;
    color: #666;
}

.desktop-nav {
    display: none;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: #3f51b5;
}

.menu-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #eee;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.mobile-menu.active {
    display: flex;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(to right, #1a237e, #3f51b5);
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 48px;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 0.8fr;
    }
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text .highlight {
    color: #80deea;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-cards {
    display: grid;
    gap: 24px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
}

.hero-card i {
    font-size: 32px;
    color: #80deea;
    margin-bottom: 16px;
}

.hero-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-card p {
    color: #e0e0e0;
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 48px;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3f51b5;
}

.stat-label {
    color: #666;
}

.about-values {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.about-values h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-item i {
    font-size: 24px;
    margin-top: 4px;
}
.value-item .fa-heart { color: #e91e63; }
.value-item .fa-shield-alt { color: #2196f3; }
.value-item .fa-star { color: #ffc107; }
.value-item .fa-bullseye { color: #4caf50; }

.value-item h5 {
    font-weight: 600;
    margin-bottom: 4px;
}

/* Courses Section */
.courses {
    background-color: #fff;
}

.course-card {
    background: linear-gradient(to bottom right, #e8eaf6, #e0f2f1);
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    padding: 32px;
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.course-card-header h3 {
    font-size: 2rem;
    font-weight: 700;
}

.course-card-header i {
    font-size: 40px;
    color: #3f51b5;
}

.course-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}

.course-detail-item {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
}

.course-detail-item i {
    font-size: 32px;
    margin-bottom: 12px;
}
.course-detail-item .fa-clock { color: #3f51b5; }
.course-detail-item .fa-users { color: #4caf50; }
.course-detail-item .fa-book-open { color: #9c27b0; }

.course-detail-item h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

.course-highlights {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.highlights-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.highlights-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlights-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlights-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #3f51b5;
    border-radius: 50%;
    flex-shrink: 0;
}

.career-opportunities {
    background: #3f51b5;
    color: #fff;
    padding: 24px;
    border-radius: 12px;
}

.career-opportunities h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tags span {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.875rem;
}

/* Faculty & Students Common Styles */
.faculty, .students {
    background-color: #f8f9fa;
}

.faculty-grid, .students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.faculty-card, .student-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover, .student-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.faculty-card img, .student-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.faculty-info, .student-info {
    padding: 24px;
}

.faculty-info h3, .student-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.faculty-info .position, .student-info .year {
    color: #3f51b5;
    font-weight: 500;
    margin-bottom: 12px;
}

.faculty-info .details, .student-info .details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
    color: #666;
}

.faculty-info .details p, .student-info .details p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.faculty-info .details i, .student-info .details i {
    color: #888;
}

.faculty-footer {
    margin-top: 64px;
    background: #3f51b5;
    color: #fff;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
}

.faculty-footer h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.faculty-footer .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

/* Students Section Specific */
.testimonial {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-style: italic;
}

.testimonial .stars {
    color: #ffc107;
    margin-bottom: 8px;
}

.achievements {
    margin-top: 64px;
    background: #fff;
    padding: 32px;
    border-radius: 16px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    text-align: center;
}

.achievement-card {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.achievement-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.achievement-card:nth-child(1) .number { color: #3f51b5; }
.achievement-card:nth-child(2) .number { color: #4caf50; }
.achievement-card:nth-child(3) .number { color: #9c27b0; }
.achievement-card:nth-child(4) .number { color: #ff9800; }

/* Admissions Section */
.admissions {
    background-color: #fff;
}

.admissions-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.admission-process {
    background: linear-gradient(to bottom right, #e8eaf6, #e0f2f1);
    padding: 32px;
    border-radius: 16px;
}

.admission-process h3, .eligibility h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    background-color: #3f51b5;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-title i {
    color: #3f51b5;
}

.eligibility {
    border: 1px solid #ddd;
    padding: 32px;
    border-radius: 16px;
}

.eligibility ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eligibility li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.eligibility li::before {
    content: '\f058';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #4caf50;
    margin-top: 4px;
}

.important-dates {
    background: linear-gradient(to right, #3f51b5, #1a237e);
    color: #fff;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 64px;
    text-align: center;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.date-card i {
    font-size: 32px;
    margin-bottom: 8px;
}

.fee-structure {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 64px;
}

.fee-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.fee-header {
    background: #3f51b5;
    color: #fff;
    padding: 16px 24px;
}

.fee-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.fee-item span:last-child {
    font-weight: 600;
}

.fee-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
}

.fee-total span:last-child {
    color: #3f51b5;
}

.note {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
}

.cta {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Placements Section */
.placements {
    background-color: #fff;
    overflow: hidden; /* Hide overflow for the continuous slider */
}

.recruiter-slider {
    white-space: nowrap;
    position: relative;
}

.slide-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.logo-item {
    display: inline-block;
    margin: 0 30px; /* Adjust spacing between logos */
    vertical-align: middle;
}

.logo-item img {
    max-width: 150px; /* Adjust logo size */
    height: 80px; /* Fixed height for consistency */
    object-fit: contain; /* Ensures the entire image is visible within the bounds */
    transition: all 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

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

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-info-card, .map-card, .contact-form-container {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.contact-info-card h3, .map-card h3, .contact-form-container h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item i {
    font-size: 20px;
    color: #3f51b5;
    margin-top: 4px;
}

.map-placeholder {
    background: #e0e0e0;
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-form-container label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.contact-form-container input,
.contact-form-container select,
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: #3f51b5;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-about .footer-logo {
    margin-bottom: 16px;
}

.footer-about p {
    color: #aaa;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    color: #fff;
    background: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #3f51b5;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact .info-item {
    margin-bottom: 16px;
}

.footer-contact .info-item p {
    color: #aaa;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
    color: #aaa;
}

.legal-links {
    margin-top: 8px;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #fff;
}

/* Form Validation Styles */
input.error, select.error, textarea.error {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2) !important;
}

/* Scroll Animation Styles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 24px;
    }
    .menu-button {
        display: none;
    }
    .hero-content {
        grid-template-columns: 1fr 0.8fr;
    }
    .highlights-list, .fee-body, .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .course-details {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-content, .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-about {
        grid-column: span 2;
    }
    .footer-bottom {
        display: flex;
        justify-content: space-between;
    }
    .legal-links {
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    .contact-content {
        grid-template-columns: 1.2fr 1fr;
    }
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer-about {
        grid-column: auto;
    }
}