@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;700&display=swap');

:root {
  --primary-color: #8D5B4C; /* Terracota Brown */
  --secondary-color: #1a3b5c; /* Dark Navy */
  --accent-color: #b38600; /* Gold */
  --background-color: #fdfaf6; /* Light Cream */
  --text-color: #2c2c2c; /* Dark Charcoal */
}

/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f7f9;
  color: #333d47;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Profile */
.header {
  padding: 40px 0;
  background: white;
  border-bottom: 1px solid #e0e0e0;
}

.profile-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 30, 80, 0.1);
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 5px solid #0052cc;
}

.profile-header {
  background-color: #0052cc;
  color: #ffffff;
  padding: 30px;
  text-align: center;
}

.profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
  object-fit: cover;
}

.profile-header h1 {
  font-family: 'Lato', sans-serif;
  font-size: 2.2rem;
  margin: 10px 0 5px;
  font-weight: 700;
}

.profile-header p {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
  opacity: 0.9;
}

.profile-body {
  padding: 30px 40px;
}

.profile-body h2 {
  font-family: 'Lato', sans-serif;
  font-size: 1.6rem;
  color: #0052cc;
  border-bottom: 2px solid #dde5f1;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-weight: 700;
}

.profile-body p {
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 20px;
}

.profile-body ul {
  list-style-type: none;
  padding-left: 0;
}

.profile-body ul li {
  background-color: #f8f9fa;
  border-left: 4px solid #0052cc;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 0 5px 5px 0;
  line-height: 1.6;
}

.profile-body ul li strong {
  font-weight: 700;
  color: #333d47;
}

.profile-footer {
  background-color: #f4f7f9;
  text-align: center;
  padding: 25px 20px;
  border-top: 1px solid #e1e8f2;
}

.profile-footer p {
  margin: 0 0 15px;
  font-size: 1rem;
  color: #505d6a;
}

.contact-link, .profile-body a {
  color: #0052cc;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-link:hover, .profile-body a:hover {
  color: #003380;
  text-decoration: underline;
}

/* Main Content */
.main {
  padding: 40px 0;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.section p, .section ul {
  font-size: 1rem;
  text-align: justify;
}

/* Experience Section */
.experience {
  margin-bottom: 30px;
}

.experience-header {
  margin-bottom: 15px;
}

.job-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.company-info {
  display: flex;
  justify-content: space-between;
  font-style: italic;
  color: var(--primary-color);
  margin-top: 5px;
}

.responsibilities {
  list-style-position: inside;
  padding-left: 5px;
}

.responsibilities li {
  margin-bottom: 10px;
}

/* Skills Section */
.skills {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills li {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Education Section */
.education {
  border-left: 3px solid var(--accent-color);
  padding-left: 20px;
  margin-bottom: 20px;
}

.education h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.institution {
  font-style: italic;
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

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

.footer .social-links a {
  color: white;
  transition: color 0.3s ease;
}

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

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

