* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: #f7f7f9;
    color: #222;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.login-container{
    max-width:400px;
    margin:80px auto;
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.login-container h2{
    margin-bottom:20px;
}

.form-group{
    margin-bottom:15px;
}

.form-control{
    width:100%;
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
}

button{
    width:100%;
    padding:10px;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

button:hover{
    background:#1d4ed8;
}
.register-link{
    margin-top:15px;
    text-align:center;
    font-size:14px;
}

.register-link a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.register-link a:hover{
    text-decoration:underline;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #2c3e50;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

.navbar a:hover {
    color: #f1c40f;
}

.home-modern {
    padding: 40px 20px;
}

/* HERO */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border-radius: 12px;
}

.hero-section h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    margin-top: 30px;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: white;
    color: #0f172a;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
}

section {
    margin-top: 60px;
}

.research-grid,
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.research-card,
.link-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
    transition: 0.3s;
}

.research-card:hover,
.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.class-management-section {
    text-align: center;
    padding: 50px 20px;
    background: #f1f5f9;
    border-radius: 12px;
}
.prof-home {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.position {
    color: #666;
    margin-bottom: 20px;
}

.intro {
    line-height: 1.9;
    margin-bottom: 30px;
}

.hero-image img {
    width: 280px;
    border-radius: 16px;
}

/* BUTTONS */
.btn-main {
    background: #1e3a8a;
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    margin-left: 10px;
}

.btn-outline {
    border: 1px solid #1e3a8a;
    color: #1e3a8a;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
}

/* STATS */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: #f5f7fa;
    padding: 30px 0;
    border-radius: 12px;
    margin-bottom: 80px;
}

.stat h3 {
    font-size: 26px;
    margin-bottom: 5px;
}

/* ABOUT */
.about {
    margin-bottom: 80px;
}

.about h2 {
    margin-bottom: 20px;
}

/* RESEARCH */
.research h2 {
    margin-bottom: 30px;
}

.research-cards {
    display: flex;
    gap: 30px;
}

.card {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* CTA */
.cta {
    margin-top: 100px;
    padding: 50px;
    background: #1e3a8a;
    color: white;
    text-align: center;
    border-radius: 16px;
}


/* ===============================
   Faculty Home - New Design
================================= */
.faculty-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 80px 20px;
    font-family: "Vazirmatn", sans-serif;
    color: #222;
}

/* HERO */
.faculty-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.faculty-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.faculty-title {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
}

.faculty-summary {
    line-height: 2;
    font-size: 15px;
    max-width: 600px;
}

.faculty-links {
    margin-top: 30px;
}

.faculty-link {
    margin-left: 20px;
    text-decoration: none;
    color: #1f2937;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
}

.faculty-link:hover {
    border-bottom: 1px solid #000;
}

.faculty-photo img {
    width: 220px;
    border-radius: 4px;
}

/* Divider */
.section-divider {
    margin: 70px 0;
    border: none;
    border-top: 1px solid #e5e5e5;
}

/* Sections */
.faculty-section {
    margin-bottom: 60px;
}

.faculty-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.research-list {
    line-height: 2;
    padding-right: 18px;
}

/* LMS */
.faculty-lms {
    margin-top: 80px;
    text-align: center;
}

.lms-button {
    display: inline-block;
    padding: 10px 28px;
    background: #111827;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.lms-button:hover {
    background: #000;
}
