/* styles.css */
html {
  scroll-behavior: smooth;
}

body {
  padding-top: 70px;
  /* Offset for fixed navbar */
}

.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
}

.bg-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-dark-gradient {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}


/* Hero Section Styling */
#home {
  position: relative;
  background-size: cover;
  height: 100vh;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Dark overlay */
  z-index: 1;
}

.hero-title {
  font-size: 5rem;
  /* Increased font size */
  font-weight: bold;
  letter-spacing: 3px;
  /* Slightly wider letter spacing */
}

.hero-subtitle {
  font-size: 3rem;
  /* Increased font size */
}

.hero-description {
  font-size: 1.5rem;
  /* Increased font size */
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.4rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }
}

section {
  position: relative;
  padding: 80px 0;
}

.navbar {
  z-index: 9999;
}

.sigmar-regular {
  font-family: "Sigmar", serif;
  font-weight: 400;
  font-style: bold;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

#bg-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}



/* Custom CSS for collapsible lists */
#experience ul {
  list-style: none;
  padding-left: 1.5rem;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

#experience ul::before {
  content: '+';
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

#experience ul.active::before {
  content: '-';
}

#experience ul li {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-left: 1rem;
}

#experience ul.active li {
  max-height: 1000px;
  /* Adjust based on your content needs */
}


.bg-dark-gradient {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.bg-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(32, 201, 151, 0.3);
}

.text-gradient {
  background: linear-gradient(45deg, #20c997, #0d6efd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-line {
  width: 50px;
  height: 3px;
  background: #20c997;
}

.highlight {
  color: #20c997;
  font-weight: 500;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  transform: translateY(-2px);
}

.decoration-box {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(32, 201, 151, 0.3);
  transform: rotate(45deg);
  z-index: -1;
}

@media (max-width: 768px) {
  .about-content {
    text-align: center;
  }

  .d-flex {
    justify-content: center;
  }
}

/* Fixed color for each word */
.highlight-text {
  font-weight: bold;
}

.highlight-text.researcher {
  color: #f90000;
  /* Medium Sea Green */
}

/* Define colors for each word */
.highlight-text.engineer {
  color: #009342;
  /* Tomato Red */
}


.highlight-text.developer {
  color: #0f58a1;
  /* Dodger Blue */
}

/* Transparent container with glass effect */
.bg-glass {
  background: rgba(255, 255, 255, 0.1);
  /* Transparent white background */
  backdrop-filter: blur(10px);
  /* Glass blur effect */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  /* Soft shadow for depth */
}

/* Subtle highlight effect for the about section */
.about-content {
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  /* Semi-transparent black background */
  border-radius: 15px;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(90deg, #ff007f, #20c997);
  -webkit-background-clip: text;
  color: transparent;
}

/* Accent line style */
.accent-line {
  width: 50px;
  height: 2px;
  background-color: #20c997;
  margin-right: 10px;
}

/* Highlight text effect */
.highlight {
  color: #20c997;
  font-weight: bold;
}

/* Profile image decoration box */
.profile-container .decoration-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 5px solid rgba(32, 201, 151, 0.5);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(32, 201, 151, 0.3);
  animation: pulse 2s infinite ease-in-out;
}

/* Pulse animation for decoration box */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Icon Colors */
.icon-color-1 {
  color: #ffcc00;
}

.icon-color-2 {
  color: #17a2b8;
}

.icon-color-3 {
  color: #28a745;
}

/* Accordion Item Styling */
.accordion-item {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  border-radius: 12px;
}

.accordion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Accordion Button Styling */
.accordion-button {
    background-color: #343a40 !important;  /* This is Bootstrap's bg-dark color */
    color: white;  /* Ensure text is visible on dark background */
}

.accordion-button:hover {
  background-color: #000000;
  transform: scale(1.05);
}

.accordion-button:not(.collapsed) {
  background-color: #343a40 !important;
  color: white;
}
/* Accordion Body Styling */
.accordion-body {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  font-size: 1rem;
}

/* Title and Text Style */
h6,
.accordion-body p {
  font-weight: 500;
  
}

/* Abstract Bold */
.accordion-body b {
  color: #20c997;
  font-weight: 600;
}

/* Subtle Hover Effects for Titles */
h6:hover {
  color: #20c997;
  cursor: pointer;
}




/* Icon Colors */
.icon-color-1 {
  color: #ffcc00;
}

.icon-color-2 {
  color: #17a2b8;
}

.icon-color-3 {
  color: #28a745;
}

/* Accordion Item Styling */
.accordion-item {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  border-radius: 12px;
}

.accordion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/* Accordion Body Styling */
.accordion-body {
  background-color: #212529;
  border-radius: 8px;
  padding: 20px;
  font-size: 1rem;
}

/* Title and Text Style */
h6,
.accordion-body p {
  font-weight: 500;
}

/* Abstract Bold */
.accordion-body b {
  color: #20c997;
  font-weight: 600;
}

/* Subtle Hover Effects for Titles */
h6:hover {
  color: #20c997;
  cursor: pointer;
}

/* Research Section Styling */
#research h2 {
  font-size: 3rem;
  /* Larger font size for section header */
}

.accordion-button {
  font-size: 1.25rem;
  /* Increase font size of accordion button */
}

.accordion-body {
  font-size: 1.2rem;
  /* Larger font size for body text */
}

.fs-4 {
  font-size: 1.5rem;
  /* Larger title font size */
}

.fs-5 {
  font-size: 1.25rem;
  /* Larger small text font size */
}

/* Add responsive styles for smaller devices */
@media (max-width: 768px) {
  #research h2 {
    font-size: 2.5rem;
    /* Reduce font size slightly for smaller screens */
  }

  .accordion-button {
    font-size: 1.1rem;
    /* Slightly smaller accordion button text */
  }

  .accordion-body {
    font-size: 1.1rem;
    /* Slightly smaller body text */
  }

  .fs-4 {
    font-size: 1.3rem;
    /* Slightly smaller title font size */
  }

  .fs-5 {
    font-size: 1.1rem;
    /* Slightly smaller small text font size */
  }
}

/* Card Hover Effect */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px); /* Move the card upwards */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow for floating effect */
}

/* Optional: Add some padding for the text inside the card */
.card-body {
  padding: 20px;
}

/* Hover Effect for Social Icons */
.social-icon a {
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.social-icon a:hover {
  transform: scale(1.2); /* Increase size */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow effect */
  color: #fff; /* Change icon color when hovered */
}

/* Optional: Smooth hover effect for the text */
.social-icon p {
  transition: color 0.3s ease;
}

.social-icon a:hover + p {
  color: #fff; /* Change text color on hover */
}

h4 {
  border-bottom: 2px solid #4CAF50;
  display: inline-block;
  padding-bottom: 5px;
  align-items: center;
}