:root {
  --primary-color: #00e5ff;
  --secondary-color: #7c4dff;
  --bg-color: #0b0c10;
  --surface-color: #1f2833;
  --text-main: #ffffff;
  --text-muted: #c5c6c7;
  --accent-color: #45a29e;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--secondary-color);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 2px 0;
  transition: 0.4s;
}

/* Hero Section */
.hero {
  height: 60vh;
  min-height: 400px;
  background-image: linear-gradient(to right, rgba(11, 12, 16, 0.9), rgba(11, 12, 16, 0.4)), url('images/home/banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding: 0 5%;
  margin-top: 70px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  animation: fadeInDown 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Faculty Profile Section */
.profile-section {
  padding: 5rem 5%;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-image-container {
  flex: 1;
  position: relative;
}

.profile-image-container::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  z-index: -1;
  transition: all 0.5s ease;
}

.profile-image-container:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.profile-image {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.profile-image-container:hover .profile-image {
  transform: translateY(-10px);
}

.profile-details {
  flex: 1;
}

.profile-details h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.profile-description {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.education-list {
  list-style: none;
}

.education-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
}

.education-list li::before {
  content: '🎓';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.2rem;
}

/* Experience & Skills Section */
.experience-skills {
  padding: 5rem 5%;
  background-color: var(--surface-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--primary-color);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(11, 12, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.1);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.card ul {
  list-style: none;
  color: var(--text-muted);
}

.card ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.card ul li::before {
  content: '▹';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.skill-tag {
  background: rgba(0, 229, 255, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

/* Footer */
footer {
  background-color: #060709;
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  bottom: -5px;
  left: 0;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--primary-color);
}

.newsletter p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  padding: 0.8rem;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-radius: 5px 0 0 5px;
  outline: none;
  flex: 1;
}

.newsletter-form button {
  padding: 0.8rem 1.2rem;
  border: none;
  background: var(--primary-color);
  color: var(--bg-color);
  font-weight: bold;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .profile-image-container::before {
    display: none;
  }
  
  .education-list li {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .education-list li::before {
    position: static;
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    flex-direction: column;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}
