:root {
  --primary-color: #1a1a2e;
  --secondary-color: #0f4c81;
  --accent-color: #3a86ff;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #333;
  --text-light: #6c757d;
  --border-color: #dee2e6;
  --section-bg: #f8f9fa;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

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

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-light);
}

/* Navbar */
.navbar {
  background-color: #fff;
  padding: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  margin: 0 15px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Hero Section */
#hero {
  width: 100%;
  height: 100vh;
  /* background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), url('https://source.unsplash.com/random/1920x1080/?workspace') center center; */
  background-size: cover;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
}

#hero .container {
  text-align: center;
  color: white;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #000000;
}

#hero h2 {
  color: rgb(0, 0, 0);
  margin: 10px 0 30px 0;
  font-size: 24px;
  font-weight: 400;
}

#hero .btn-get-started {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  background: var(--secondary-color);
  border: none;
}

#hero .btn-get-started:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.about-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.8;
}

.education-item {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.education-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.education-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.education-item h5 {
  font-size: 16px;
  color: var(--secondary-color);
}

.education-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* Resume Button */
.resume-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
}

.resume-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: white;
}

.resume-btn i {
  margin-right: 10px;
  font-size: 18px;
}

/* Skills Section */
.skills-content {
  margin-top: 30px;
}

.skill-category {
  margin-bottom: 25px;
}

.skill-category h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.skill-category h3::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  bottom: -5px;
  left: 0;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-item {
  background: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  font-size: 14px;
}

.skill-item:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.skill-item i {
  margin-right: 8px;
  font-size: 14px;
}

.skill-level {
  height: 8px;
  background-color: var(--light-color);
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 15px;
  position: relative;
}

.skill-level-bar {
  height: 100%;
  border-radius: 4px;
  background-color: var(--secondary-color);
  position: absolute;
  top: 0;
  left: 0;
}

/* Projects Section */
.projects-section {
  background-color: var(--section-bg);
}

.project-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-color);
}

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

.project-img {
  position: relative;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-content p {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 15px;
}

.project-tech {
  margin-bottom: 15px;
}

.tech-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--light-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color);
  margin-right: 5px;
  margin-bottom: 5px;
}

.project-links {
  display: flex;
  gap: 10px;
}

.project-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background-color: var(--accent-color);
  color: white;
}

.project-link.outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.project-link.outline:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Experience Section */
.experience-section {
  background-color: #fff;
}

.experience-card {
  background: #fff;
  border-radius: 4px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.experience-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.experience-card h4 {
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.experience-card .date {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
  display: inline-block;
  padding: 3px 10px;
  background-color: var(--light-color);
  border-radius: 20px;
}

.experience-card h5 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.experience-card ul {
  padding-left: 20px;
}

.experience-card ul li {
  margin-bottom: 8px;
  color: var(--text-color);
}

/* Contact Section */
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: white;
  font-size: 20px;
}

.contact-info-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-info-text p {
  font-size: 16px;
  color: var(--text-color);
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--light-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--dark-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

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

.contact-form .form-control {
  height: 50px;
  border-radius: 4px;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: none;
}

.contact-form textarea.form-control {
  height: auto;
  min-height: 150px;
}

.contact-form .btn-primary {
  background-color: var(--secondary-color);
  border: none;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer .footer-links {
  margin-bottom: 20px;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 15px;
  transition: all 0.3s ease;
  font-size: 15px;
}

footer .footer-links a:hover {
  color: white;
}

footer .copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 991px) {
  .section {
    padding: 60px 0;
  }

  #hero h1 {
    font-size: 36px;
    line-height: 42px;
  }

  #hero h2 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .about-img {
    margin-bottom: 30px;
  }

  .experience-card {
    padding: 20px;
  }
}

@media (max-width: 575px) {
  #hero {
    height: 100vh;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .contact-info-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-info-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Subtle Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

#recommendations .carousel-inner {
  transition: all 0.6s ease-in-out;
}

#recommendations .card {
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

#recommendations .card:hover {
  transform: translateY(-5px);
}

.carousel-indicators {
  bottom: -20px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  background-color: #6c757d;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #0d6efd;
}

/* Add your custom styles here */

.loading-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loading-spinner {
  width: 4rem;
  height: 4rem;
}

.loading-text {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #333;
  margin-top: 20px;
}
.certification-card {
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.certification-img {
  position: relative;
  overflow: hidden;
}

.certification-image {
  transition: transform 0.3s ease;
}

.certification-image:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .certification-image {
      height: 150px;
  }
}