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

body {
  margin: 0;
  background-color: black !important;
  color: white !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ensure black background on all elements */
html, body {
  background-color: black !important;
}

/* Override Bootstrap background */
.bg-white, .bg-light {
  background-color: black !important;
}

/* Navigation */
.navbar {
 
  display: block !important;
  position: sticky !important;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.no-decoration-link {
  text-decoration: none;
  color: white;
}

.nav-logo img{
  max-width: 75px;
}

.nav-logo a {
  transition: all 0.3s;
  text-decoration: none;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 10px;

}

.nav-logo a:hover {
  transform: scale(1.1);
  color: #28a728;
}
.logo-text{
  font-size:36px;
  color: #32cd32;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  gap: 30px;
  font-size: 24px;
}

.nav-link {
  color: #32cd32 !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #32cd32;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #32cd32;
  transition: width 0.3s;
}

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

/* Hamburger Menu */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #32cd32;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 30px;
  padding: 20px;
}

.mobile-nav-link {
  color: #32cd32 !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.5rem;
  transition: all 0.3s;
  position: relative;
  padding: 15px 30px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
}

.mobile-nav-link:hover {
  background: rgba(50, 205, 50, 0.1);
  color: #32cd32;
  transform: scale(1.05);
}

.mobile-language-switcher {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mobile-language-switcher .lang-btn {
  background: none;
  border: 1px solid #32cd32;
  color: #32cd32;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.mobile-language-switcher .lang-btn:hover,
.mobile-language-switcher .lang-btn.active {
  background-color: #32cd32;
  color: black;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 10px;
}

.lang-btn {
  background: none;
  border: 1px solid #32cd32;
  color: #32cd32;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.lang-btn:hover,
.lang-btn.active {
  background-color: #32cd32;
  color: black;
}

.lang-btn i {
  margin-right: 5px;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.hero-section {
  margin-bottom: 50px;
}

.hero-title {
  color: #32cd32;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-subtitle {
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* Container and Boxes */
.container {
  display: grid;
  grid-template-columns: repeat(2, 200px);
  grid-gap: 30px;
  justify-content: center;
  align-items: center;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.box-top-left,
.box-top-right,
.box-bottom-left,
.box-bottom-right {
  width: 200px;
  height: 150px;
  border: 3px solid;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.experience-skills{
  padding-bottom: 20px;
}
 .skills-tags{
  display: flex;
  flex-wrap: wrap;

  gap:8px;
}

/* Transform origins for center animation */
.box-top-left {
  transform-origin: center;
}

.box-top-right {
  transform-origin: center;
}

.box-bottom-left {
  transform-origin: center;
}

.box-bottom-right {
  transform-origin: center;
}

.box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  position: relative;
}

.box-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.box span {
  display: block;
  z-index: 2;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Colors */
.red {
  border-color: darkred;
  background: linear-gradient(45deg, rgba(139, 0, 0, 0.1), rgba(139, 0, 0, 0.2));
}
.red span {
  color: yellow;
}
.red .box-icon {
  color: yellow;
}

.green {
  border-color: limegreen;
  background: linear-gradient(45deg, rgba(50, 205, 50, 0.1), rgba(50, 205, 50, 0.2));
}
.green span {
  color: deepskyblue;
}
.green .box-icon {
  color: deepskyblue;
}

.blue {
  border-color: deepskyblue;
  background: linear-gradient(45deg, rgba(0, 191, 255, 0.1), rgba(0, 191, 255, 0.2));
}
.blue span {
  color: limegreen;
}
.blue .box-icon {
  color: limegreen;
}

.yellow {
  border-color: yellow;
  background: linear-gradient(45deg, rgba(255, 255, 0, 0.1), rgba(255, 255, 0, 0.2));
}
.yellow span {
  color: darkred;
}
.yellow .box-icon {
  color: darkred;
}

/* Enhanced Hover Effects */
.box-top-left:hover,
.box-top-right:hover,
.box-bottom-left:hover,
.box-bottom-right:hover {
  transform: scale(1.05) translateY(-5px);
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(50, 205, 50, 0.4);
  border-width: 4px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: none;
}

.box-top-left:hover .box-icon,
.box-top-right:hover .box-icon,
.box-bottom-left:hover .box-icon,
.box-bottom-right:hover .box-icon {
  transform: scale(1.15) rotateY(10deg);
  animation: iconFloat 0.8s ease-in-out;
  filter: drop-shadow(0 0 10px rgba(50, 205, 50, 0.6));
}

.box-top-left:hover span,
.box-top-right:hover span,
.box-bottom-left:hover span,
.box-bottom-right:hover span {
  animation: textGlow 0.6s ease-in-out;
  transform: translateY(-2px);
}

/* Enhanced animations */
@keyframes iconFloat {
  0% { 
    transform: scale(1) rotateY(0deg);
    filter: drop-shadow(0 0 0px rgba(50, 205, 50, 0));
  }
  50% { 
    transform: scale(1.25) rotateY(15deg);
    filter: drop-shadow(0 0 15px rgba(50, 205, 50, 0.8));
  }
  100% { 
    transform: scale(1.15) rotateY(10deg);
    filter: drop-shadow(0 0 10px rgba(50, 205, 50, 0.6));
  }
}

@keyframes textGlow {
  0% { 
    text-shadow: 0 0 0px rgba(255, 255, 255, 0);
    transform: translateY(0);
  }
  50% { 
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
  }
  100% { 
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
  }
}

/* Cursor interaction animation */
.box-top-left,
.box-top-right,
.box-bottom-left,
.box-bottom-right {
  position: relative;
  overflow: hidden;
}

.box-top-left::before,
.box-top-right::before,
.box-bottom-left::before,
.box-bottom-right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(50, 205, 50, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: -1;
}

.box-top-left:hover::before,
.box-top-right:hover::before,
.box-bottom-left:hover::before,
.box-bottom-right:hover::before {
  width: 300px;
  height: 300px;
}

/* Smooth entrance animation for boxes - Desktop only */
@media (min-width: 769px) {
  .box-top-left,
  .box-top-right,
  .box-bottom-left,
  .box-bottom-right {
    animation: boxEntrance 1.5s ease-out;
  }

  .box-top-left { animation-delay: 0.1s; }
  .box-top-right { animation-delay: 0.2s; }
  .box-bottom-left { animation-delay: 0.3s; }
  .box-bottom-right { animation-delay: 0.4s; }
}

/* Mobile animation - intensive pulse */
@media (max-width: 768px) {
  .box-top-left,
  .box-top-right,
  .box-bottom-left,
  .box-bottom-right {
    animation: subtlePulse 2.5s ease-in-out infinite 0.8s;
  }
}

@keyframes boxEntrance {
  0% {
    opacity: 0;
    transform: scale(0) translate(-50%, -50%);
  }
  25% {
    opacity: 0.3;
    transform: scale(0.2) translate(-50%, -50%);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.5) translate(-50%, -50%);
  }
  75% {
    opacity: 0.8;
    transform: scale(0.8) translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
}

/* Intensive idle animation for boxes - only when not hovering */
@media (min-width: 769px) {
  .box-top-left:not(:hover),
  .box-top-right:not(:hover),
  .box-bottom-left:not(:hover),
  .box-bottom-right:not(:hover) {
    animation: subtlePulse 2.5s ease-in-out infinite 1.5s;
  }
}

@keyframes subtlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  }
}

/* Page specific styles */
.page-header {
  margin-top: 100px;
  margin-bottom: 50px;
  text-align: center;
}

.page-title {
  color: #32cd32;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.page-subtitle {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  margin-top: 80px;
}

.section {
  margin-bottom: 60px;
  text-align: left;
}

.section-title {
  color: #32cd32;
  font-size: 1.8rem;
  margin-bottom: 30px;
  border-bottom: 2px solid #32cd32;
  padding-bottom: 10px;
}

.back-btn {
  position: fixed;
  top: 90px;
  left: 20px;
  background-color: #32cd32;
  color: black;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  z-index: 999;
}

.back-btn:hover {
  background-color: #28a728;
  transform: translateX(-5px);
}

/* About Page Styles */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.approach-item {
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s;
}

.approach-item:hover {
  transform: translateY(-5px);
}

.approach-item i {
  font-size: 2.5rem;
  color: #32cd32;
  margin-bottom: 20px;
}

.approach-item h3 {
  color: #32cd32;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.skill-category {
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
  padding: 25px;
}

.skill-category h3 {
  color: #32cd32;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.skill-category ul {
  list-style: none;
  padding: 0;
}

.skill-category li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category li:last-child {
  border-bottom: none;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  border: 2px solid;
}

.cta-btn.primary {
  background-color: #32cd32;
  color: black;
  border-color: #32cd32;
}

.cta-btn.primary:hover {
  background-color: transparent;
  color: #32cd32;
}

.cta-btn.secondary {
  background-color: transparent;
  color: #32cd32;
  border-color: #32cd32;
}

.cta-btn.secondary:hover {
  background-color: #32cd32;
  color: black;
}

/* Resume Page Styles */
.resume-actions {
  margin-top: 20px;
}

.download-btn {
  background-color: #32cd32;
  color: black;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.download-btn:hover {
  background-color: #28a728;
  transform: translateY(-2px);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(50, 205, 50, 0.05);
  border-radius: 8px;
}

.contact-item i {
  color: #32cd32;
  font-size: 1.2rem;
}

.experience-item {
  margin-bottom: 40px;
  padding: 25px;
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
}

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

.experience-header h3 {
  color: #32cd32;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.company {
  color: #ccc;
  font-weight: 500;
  margin-right: 15px;
}

.period {
  color: #888;
  font-size: 0.9rem;
}

.experience-item ul {
  list-style: none;
  padding-left: 0;
}

.experience-item li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 20px;
}

.experience-item li:before {
  content: '▸';
  color: #32cd32;
  position: absolute;
  left: 0;
}

.experience-item li:last-child {
  border-bottom: none;
}

.education-item {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
}

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

.education-header h3 {
  color: #32cd32;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.institution {
  color: #ccc;
  font-weight: 500;
  margin-right: 15px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.skill-group h3 {
  color: #32cd32;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(50, 205, 50, 0.1);
  border: 1px solid rgba(50, 205, 50, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #32cd32;
}

.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.certification-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
}

.certification-item i {
  color: #32cd32;
  font-size: 1.5rem;
}

.certification-item h4 {
  color: #32cd32;
  margin-bottom: 5px;
}

.certification-item span {
  color: #ccc;
  font-size: 0.9rem;
}

.languages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.language-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 8px;
}

.language-name {
  font-weight: 500;
}

.language-level {
  color: #32cd32;
  font-size: 0.9rem;
}

/* Portfolio Page Styles */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 30px;
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 15px;
  padding: 30px;
}

.project-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, rgba(50, 205, 50, 0.1), rgba(50, 205, 50, 0.2));
  border: 2px dashed rgba(50, 205, 50, 0.3);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #32cd32;
}

.project-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
}

.project-details h3 {
  color: #32cd32;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.project-details p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tech-tag {
  background: rgba(50, 205, 50, 0.1);
  border: 1px solid rgba(50, 205, 50, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #32cd32;
}

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

.project-link {
  padding: 8px 20px;
  background: #32cd32;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.project-link:hover {
  background: #28a728;
  transform: translateY(-2px);
}

.project-link.small {
  padding: 6px 15px;
  font-size: 0.9rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-item {
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid #32cd32;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.project-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(50, 205, 50, 0.15);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.project-icon {
  width: 50px;
  height: 50px;
  background: #32cd32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 1.2rem;
}

.project-header h3 {
  color: #32cd32;
  margin: 0;
  font-size: 1.3rem;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

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

.opensource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.opensource-item {
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
  padding: 20px;
}

.opensource-item h4 {
  color: #32cd32;
  margin-bottom: 10px;
}

.opensource-item p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.contribution-type {
  background: rgba(50, 205, 50, 0.1);
  color: #32cd32;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Contact Page Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;

}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(50, 205, 50, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #32cd32;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #32cd32;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contact-details p {
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-details span {
  color: #888;
  font-size: 0.9rem;
}

.social-links h3 {
  color: #32cd32;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  background: rgba(50, 205, 50, 0.1);
  border: 1px solid rgba(50, 205, 50, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #32cd32;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: #32cd32;
  color: black;
  transform: translateY(-3px);
}

.contact-form {
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 15px;
  padding: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #32cd32;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.3);
  border-radius: 5px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group select option {
  background-color: #1a1a1a;
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #32cd32;
  background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: #32cd32;
  color: black;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  background: #28a728;
  transform: translateY(-2px);
}

/* Alert Messages */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-weight: 500;
}

.alert-success {
  background-color: rgba(50, 205, 50, 0.1);
  border: 1px solid rgba(50, 205, 50, 0.3);
  color: #32cd32;
}

.alert-error {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

/* Message Process Section */
.message-info-section {
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
}

.message-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(50, 205, 50, 0.2);
}

.step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(50, 205, 50, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #32cd32;
  font-size: 1.2rem;
}

.step-content h3 {
  color: #32cd32;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step-content p {
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

.privacy-note {
  margin-top: 30px;
  padding: 20px;
  background: rgba(50, 205, 50, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(50, 205, 50, 0.3);
}

.privacy-note h3 {
  color: #32cd32;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.privacy-note p {
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

/* FAQ Styles */
.faq-container {
  margin-top: 30px;
}

.faq-item {
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background: rgba(50, 205, 50, 0.1);
}

.faq-question h3 {
  color: #32cd32;
  font-size: 1.1rem;
  margin: 0;
}

.faq-question i {
  color: #32cd32;
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Project Badges */
.project-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.project-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid;
}

.featured-badge {
  background: linear-gradient(135deg, #32cd32, #28a728);
  color: black;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.badge-demo {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border-color: #007bff;
}

.badge-live {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border-color: #28a745;
}

.badge-progress {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border-color: #ffc107;
}

.featured-project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .featured-project-header,
  .project-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .project-badges {
    justify-content: flex-start;
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: rgba(50, 205, 50, 0.05);
  border: 1px solid rgba(50, 205, 50, 0.2);
  border-radius: 15px;
  padding: 40px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.cta-section h2 {
  color: #32cd32;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer Styles */
.footer {
  background-color: rgba(0, 0, 0, 0.95);
  border-top: 1px solid #333;
  padding: 40px 0 20px;
  margin-top: auto;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 10px;
  align-items: start;
}

.footer-content > .footer-section:first-child {
  justify-self: start;
}

.footer-content > .footer-section:nth-child(2) {
  justify-self: center;
}

.footer-content > .footer-section:last-child {
  justify-self: end;
}

.footer-section h3 {
  color: #32cd32;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-section .social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.footer-section .social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: color 0.3s;
}

.footer-section .social-link:hover {
  color: #32cd32;
}

.footer-section .social-link i {
  font-size: 1.3rem;
  width: 22px;
  color: #32cd32;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: #32cd32;
}

.footer-links a i {
  color: #32cd32;
  width: 16px;
  font-size: 1.1rem;
}

.footer-section .contact-info p {
  color: #ccc;
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section .contact-info a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section .contact-info a:hover {
  color: #32cd32;
}

.footer-section .contact-info i {
  color: #32cd32;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 5px;
}

.footer-bottom i {
  color: #ff6b6b;
  margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .hamburger-btn {
    display: flex;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .desktop-lang {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .nav-container {
    flex-direction: row;
    height: 70px;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    justify-items: center;
  }

  .footer-content > .footer-section:first-child,
  .footer-content > .footer-section:nth-child(2),
  .footer-content > .footer-section:last-child {
    justify-self: center;
  }
  
  .main-content {
    margin-top: 90px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .container {
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding: 0 20px;
    justify-items: center;
  }
  
  .box-top-left,
  .box-top-right,
  .box-bottom-left,
  .box-bottom-right {
    width: 220px;
    height: 180px;
    justify-self: center;
    margin-bottom:30px;
  }

  .box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .box-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  .back-btn {
    position: static;
    margin: 20px;
    display: inline-block;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .featured-project {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .approach-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .certifications {
    grid-template-columns: 1fr;
  }

  .languages {
    grid-template-columns: 1fr;
  }

  .opensource-grid {
    grid-template-columns: 1fr;
  }

  .footer-section {
    width: 100%;
    max-width: 300px;
  }

  .footer-section .social-links {
    align-items: center;
  }

  .footer-section .contact-info p {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links a {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .page-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Footer responsive styles for mobile */
  .footer {
    padding: 30px 0 15px;
  }

  .footer-content {
    gap: 25px;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-content > .footer-section:first-child,
  .footer-content > .footer-section:nth-child(2),
  .footer-content > .footer-section:last-child {
    justify-self: center;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .footer-links {
    width: 100%;
    text-align: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-bottom {
    padding-top: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 250px;
  }

  .social-icons {
    justify-content: center;
  }
  
  .box-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }

  /* Footer responsive styles for mobile */
  .footer {
    padding: 30px 0 15px;
  }

  .footer-content {
    gap: 25px;
  }

  .footer-section h3 {
    font-size: 1.1rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

.modal-content {
  background-color: black !important;
  color: white !important;
}

.modal-title {
  color: #32cd32 !important;
}

.view-experience-btn {
  background: #32cd32 !important;
  color: black !important;
  border: 1px solid #32cd32 !important;
  font-weight: bold;
  transition: all 0.3s;
}

.view-experience-btn:hover {
  background: #28a728 !important;
  color: white !important;
  border: 1px solid #28a728 !important;
}

@media print {
  .no-print {
    display: none !important;
  }
  body, .main-content, .section, .education-item, .experience-item, .skills-container, .skill-group, .certification-item, .language-item {
    font-size: 12px !important;
    margin: 0 !important;
    padding: 4px !important;
  }
  .contact-info, .contact-item, .contact-info span, .contact-info i {
    font-size: 12px !important;
    margin: 0 !important;
    padding: 2px !important;
  }
  .section-title, .education-header h3, .experience-title {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
  }
  .education-item, .experience-item, .certification-item, .language-item {
    padding: 8px !important;
    margin-bottom: 10px !important;
    border-radius: 5px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .skills-container {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    gap: 0 !important;
    margin-top: 10px !important;
  }
  .skill-group {
    display: table-cell !important;
    vertical-align: top !important;
    width: 25% !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
  }
  .skill-tag, .tech-tag {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }
  .page-header, .resume-actions, .back-btn {
    display: none !important;
  }
  .main-content {
    margin-top: 0 !important;
    min-height: unset !important;
  }
  .print-header h1 {
    font-size: 1.5rem !important;
    color: #32cd32 !important;
    margin-bottom: 8px !important;
  }
}

@page {
  margin: 0;
}
body {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

/* Featured Projects Grid */
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.featured-project-card {
  background: rgba(50, 205, 50, 0.1);
  border: 2px solid #32cd32;
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.featured-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(50, 205, 50, 0.2);
}

.featured-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #32cd32, #28a728);
}

.featured-project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.featured-project-title {
  color: #32cd32;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.featured-badge {
  background: #32cd32;
  color: black;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.featured-project-description {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.featured-project-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.featured-project-gallery {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.gallery-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-thumbnail:hover {
  border-color: #32cd32;
  transform: scale(1.05);
}

.featured-project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  background: rgba(50, 205, 50, 0.2);
  color: #32cd32;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid #32cd32;
}

.featured-project-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link.primary {
  background: #32cd32;
  color: black;
}

.project-link.primary:hover {
  background: #28a728;
  transform: translateY(-2px);
}

.project-link.secondary {
  background: transparent;
  color: #32cd32;
  border: 2px solid #32cd32;
}

.project-link.secondary:hover {
  background: #32cd32;
  color: black;
}

.gallery-btn {
  background: rgba(50, 205, 50, 0.2);
  color: #32cd32;
  border: 1px solid #32cd32;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.gallery-btn:hover {
  background: #32cd32;
  color: black;
}

/* Gallery Modal Styles */
.modal-content {
  background: #1a1a1a;
  border: 1px solid #333;
  color: white;
}

.modal-header {
  border-bottom: 1px solid #333;
}

.modal-title {
  color: #32cd32;
}

.btn-close {
  filter: invert(1);
}

.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
  background: rgba(50, 205, 50, 0.3) !important;
  border-radius: 44% !important;
  width: 120px !important;
  height: 50px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 1 !important;
  position: absolute !important;
}

.carousel-control-prev {
  left: 10px !important;
}

.carousel-control-next {
  right: 10px !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(50, 205, 50, 0.5) !important;
  opacity: 1 !important;
}

/* Override Bootstrap default carousel control styles */
.carousel-control-prev:focus,
.carousel-control-next:focus {
  opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none !important;
}

.carousel-control-prev-icon:before {
  content: '‹' !important;
  font-size: 24px !important;
  color: white !important;
  font-weight: bold !important;
}

  .carousel-control-next-icon:before {
    content: '›' !important;
    font-size: 24px !important;
    color: white !important;
    font-weight: bold !important;
  }

  /* Ensure carousel has proper positioning for controls */
  .carousel {
    position: relative !important;
  }

  .carousel-inner {
    position: relative !important;
    overflow: hidden !important;
  }

/* Responsive Design */
@media (max-width: 768px) {
  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .featured-project-card {
    padding: 20px;
  }
  
  .featured-project-title {
    font-size: 1.3rem;
  }
  
  .featured-project-image {
    height: 150px;
  }
  
  .gallery-thumbnail {
    width: 60px;
    height: 45px;
  }
  
  .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .featured-project-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .featured-project-links {
    flex-direction: column;
  }
  
  .project-link {
    justify-content: center;
  }
  
  .carousel-item img {
    height: 250px;
  }
}

/* Loading and Error States */
.loading-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: #ccc;
}

.loading-placeholder i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #32cd32;
}

.no-featured-projects,
.no-projects {
  text-align: center;
  padding: 40px 20px;
  color: #ccc;
}

.no-featured-projects i,
.no-projects i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #666;
}

.error-message {
  text-align: center;
  padding: 40px 20px;
  color: #ff6b6b;
}

.error-message i {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-item {
    padding: 15px;
  }
  
  .project-header h3 {
    font-size: 1.1rem;
  }
  
  .project-image {
    height: 150px;
  }
}

/* New Portfolio Styles */
.featured-projects-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.featured-project-row {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  gap: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.featured-project-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(50, 205, 50, 0.1) 0%, rgba(50, 205, 50, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.featured-project-row:hover::before {
  opacity: 1;
}

.featured-project-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(50, 205, 50, 0.2);
}

.featured-project-image-container {
  flex: 0 0 400px;
  position: relative;
}

.featured-project-image {
  width:300px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.featured-project-row:hover .featured-project-image {
  transform: scale(1.05);
}

.featured-project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.featured-project-title {
  font-size: 2rem;
  font-weight: 600;
  color: #32cd32;
  margin: 0;
}

.featured-badge {
  background: linear-gradient(135deg, #32cd32, #28a728);
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-project-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1.5rem;
  flex: 1;
}

.featured-project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.featured-project-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.featured-project-buttons .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.featured-project-buttons .btn-primary {
  background: linear-gradient(135deg, #32cd32, #28a728);
  color: black;
}

.featured-project-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #28a728, #1e7e1e);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(50, 205, 50, 0.3);
}

.featured-project-buttons .btn-success {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}

.featured-project-buttons .btn-success:hover {
  background: linear-gradient(135deg, #1e7e34, #155724);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.featured-project-buttons .btn-dark {
  background: linear-gradient(135deg, #343a40, #212529);
  color: white;
}

.featured-project-buttons .btn-dark:hover {
  background: linear-gradient(135deg, #212529, #0d1117);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 58, 64, 0.3);
}

/* Projects Grid Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(50, 205, 50, 0.1) 0%, rgba(50, 205, 50, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

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

.project-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #32cd32;
  margin-bottom: 1rem;
  text-align: left;
}

.project-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

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

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1rem;
  text-align: left;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-buttons .btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.project-buttons .btn-primary {
  background: linear-gradient(135deg, #32cd32, #28a728);
  color: black;
}

.project-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #28a728, #1e7e1e);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(50, 205, 50, 0.3);
}

.project-buttons .btn-success {
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: white;
}

.project-buttons .btn-success:hover {
  background: linear-gradient(135deg, #1e7e34, #155724);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.project-buttons .btn-dark {
  background: linear-gradient(135deg, #343a40, #212529);
  color: white;
}

.project-buttons .btn-dark:hover {
  background: linear-gradient(135deg, #212529, #0d1117);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 58, 64, 0.3);
}

/* Modal Styles */
.modal-content {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.modal-title {
  color: #32cd32;
  font-size: 1.5rem;
  font-weight: 600;
}

.btn-close {
  filter: invert(1);
}

.modal-body {
  padding: 1.5rem;
}

.carousel-item img {
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-item img:hover {
  transform: scale(1.02);
}

.project-details-content {
  margin-top: 2rem;
}

.project-long-description {
  margin-bottom: 2rem;
}

.project-long-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  text-align: left;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .featured-project-row {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .featured-project-image-container {
    flex: none;
    width: 100%;
  }
  
  .featured-project-image {
    height: 250px;
  }
  
  .featured-project-title {
    font-size: 1.5rem;
  }
  
  .featured-project-buttons {
    justify-content: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    padding: 1rem;
  }
  
  .project-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .featured-project-row {
    padding: 1rem;
  }
  
  .featured-project-image {
    height: 200px;
  }
  
  .featured-project-title {
    font-size: 1.25rem;
  }
  
  .featured-project-description {
    font-size: 1rem;
  }
  
  .featured-project-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .project-title {
    font-size: 1.25rem;
  }
  
  .project-buttons .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}
