:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-color: #f4f4f4;
  --dark-color: #222;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo h1 {
  color: #fff;
  font-size: 1.8rem;
}

nav ul {
  display: flex;
  list-style: none;
  margin-top: 10px;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #2980b9;
}

/* Section Styles */
section {
  padding: 60px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
}

.about-summary, .contact-summary {
  text-align: center;
  background-color: var(--light-color);
}

.about-summary p, .contact-summary p {
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.expertise-item {
  text-align: center;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.expertise-item:hover {
  transform: translateY(-10px);
}

.expertise-item i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.expertise-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
}

.timeline-date {
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* About Page */
.page-header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 50px;
}

.about-image {
  flex: 1;
  min-width: 250px;
}

.profile-placeholder {
  background-color: #eee;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.profile-placeholder i {
  font-size: 100px;
  color: #ccc;
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.sub-title {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.career-item, .education-item {
  display: flex;
  margin-bottom: 40px;
}

.career-year {
  flex: 1;
  font-weight: bold;
  color: var(--secondary-color);
  max-width: 150px;
}

.career-details {
  flex: 3;
}

.position {
  color: var(--secondary-color);
  font-style: italic;
  margin-bottom: 10px;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.skill-item {
  background-color: var(--light-color);
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

/* Expertise Page */
.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.expertise-block {
  display: flex;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 30px;
}

.expertise-icon {
  flex: 0 0 100px;
  text-align: center;
}

.expertise-icon i {
  font-size: 4rem;
  color: var(--secondary-color);
}

.expertise-info {
  flex: 1;
  min-width: 300px;
}

.expertise-info h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.expertise-info ul {
  margin-left: 20px;
  margin-top: 10px;
}

.expertise-info li {
  margin-bottom: 8px;
}

/* CTA Section */
.cta {
  text-align: center;
  background-color: var(--primary-color);
  color: #fff;
}

.cta h2 {
  color: #fff;
}

/* Contact Page */
.contact-details .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 15px;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: var(--light-color);
  border-radius: 5px;
  text-decoration: none;
  color: var(--text-color);
  transition: background-color 0.3s;
}

.social-btn:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.social-btn i {
  margin-right: 10px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.success {
  color: green;
  margin-top: 20px;
}

.error {
  color: red;
  margin-top: 20px;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  margin-left: 15px;
  transition: color 0.3s;
}

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

.copyright {
  text-align: center;
  margin-top: 20px;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin-bottom: 10px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .about-content, .career-item {
    flex-direction: column;
  }
  
  .career-year {
    margin-bottom: 10px;
  }
}
