/* Hero Section Styles - Mobile First */
.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* Department Badge */
.dept-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.dept-logo {
    height: 50px;
    width: auto;
}

.dept-info {
    display: flex;
    flex-direction: column;
}

.dept-info .institute {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.dept-info .university {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Hero Title and Content */
.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.text-primary {
    color: var(--primary-color) !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Key Highlights */
.key-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.highlight-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Code Window */
.code-window {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease forwards;
    animation-delay: 0.3s;
    position: relative;
    z-index: 1;
}

.window-header {
    padding: 0.75rem;
    background: #2d2d2d;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
}

.window-buttons {
    display: flex;
    gap: 0.5rem;
}

.window-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-buttons span:nth-child(1) { background: #ff5f56; }
.window-buttons span:nth-child(2) { background: #ffbd2e; }
.window-buttons span:nth-child(3) { background: #27c93f; }

.window-title {
    color: #abb2bf;
    font-size: 0.875rem;
    margin-left: 1rem;
    font-family: 'Fira Code', monospace;
}

.window-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.window-content pre {
    margin: 0;
}

.window-content code {
    color: #abb2bf;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Tech Circles */
.tech-circles {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(79, 70, 229, 0.1));
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 50px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
}

/* Animations */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .dept-info .institute {
        font-size: 1rem;
    }
    
    .dept-info .university {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
    }

    .code-window {
        margin-top: 0;
        transform: perspective(1000px) rotateY(-10deg);
        animation: slideIn 0.5s ease forwards;
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(-10deg) translateY(0);
    }
}