:root {
  --primary-color: #0d6efd; /* Blue for better light theme contrast */
  --bg-main: #f8f9fa; /* Light gray */
  --bg-card: #ffffff; /* White */
  --text-main: #212529; /* Dark gray/black */
  --text-muted: #6c757d;
  --border-color: #dee2e6;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  color: var(--text-main);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main) !important;
}

.navbar-brand span {
  color: var(--primary-color);
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-img-container {
  position: relative;
  display: inline-block;
}

.hero-img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--bg-card);
  box-shadow: 0 0 30px rgba(13, 110, 253, 0.2);
  transition: transform 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.02);
}

.btn-custom {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Cards General */
.custom-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Timeline / Experiences */
.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 30px;
  border-left: 2px solid var(--primary-color);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid var(--bg-card);
}

/* Projects */
.project-img {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Testimonials */
.testimonial-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
}

/* Contact Section */
.form-control {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px;
}

.form-control:focus {
  background-color: var(--bg-card);
  border-color: var(--primary-color);
  color: var(--text-main);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 1.2rem;
  margin-right: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--bg-card);
  padding: 40px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}
.logo-wrapper {
  height: fit-content;
}
