/* Global Styles */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

/* Global Styles */
body {
  scroll-behavior: smooth;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Modernized Header (Navbar) */
.modern-header {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  transition: background 1s ease, box-shadow 1s ease;
  z-index: 999;
}

.modern-header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
  position: relative;
  /* Dynamic background with gradient overlay */
  background: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url("background-image.jpg") no-repeat center center/cover;
  min-height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Fade In Up Animations */
.hero-section h1,
.hero-section p.lead {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero-section h1 {
  animation-delay: 0.3s;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-section p.lead {
  animation-delay: 0.5s;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: bounce 2s infinite;
  color: #fff;
  z-index: 2;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Spacing */
section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Timeline for Experience */
.timeline {
  border-left: 3px solid #ddd;
  padding-left: 20px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  width: 14px;
  height: 14px;
  background: #0d6efd;
  border-radius: 50%;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: #0d6efd;
  border-radius: 50%;
}

.timeline-date {
  font-weight: bold;
  color: #0d6efd;
  display: block;
  margin-bottom: 0.25rem;
}

/* Modern styling for contact links */
#contact a {
  color: inherit; /* Inherit the parent's text color */
  text-decoration: none;
  border-bottom: 2px solid transparent; /* Subtle bottom border */
  transition: border-color 0.3s ease, color 0.3s ease;
}

#contact a:hover,
#contact a:focus {
  color: #5290ec; /* Slightly lighter shade on hover */
  border-bottom-color: currentColor; /* Underline appears using the current text color */
}



/* Card Height */
.card.h-100 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Footer Social Icons */
footer .social-links a {
  font-size: 1.5rem;
  margin: 0 10px;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p.lead {
    font-size: 1.2rem;
  }
}

/* Override the Google Scheduling button to match Bootstrap's "btn-primary" style */
.calendar-scheduling-button-container .calendar-scheduling-button {
  /* Bootstrap primary button background/foreground */
  background-color: #0d6efd !important; 
  color: #fff !important;
  
  /* Adjust padding, border, radius, font, etc. as desired */
  padding: 0.5rem 1rem !important;
  border: none !important;
  border-radius: 0.25rem !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
}

.calendar-scheduling-button-container .calendar-scheduling-button:hover {
  background-color: #0b5ed7 !important; /* typical Bootstrap hover shade */
}

/* Projects Section */
.projects-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.project-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: 200px;
  object-fit: cover;
}

.project-card-body {
  padding: 20px;
  text-align: center;
}

.project-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-card-text {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 20px;
}

.project-card a {
  text-decoration: none;
  color: #0d6efd;
  font-weight: bold;
  transition: color 0.3s ease;
}

.project-card a:hover {
  color: #0056b3;
}
