/* Global Styles */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #e0e0e0, #f4f4f4);
  color: #333;
  line-height: 1.6;
}

/* Anchor styles with underline hover effect */
a {
  text-decoration: none;
  color: inherit;
  position: relative;
}
a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffeb3b;
  left: 0;
  bottom: -2px;
  transition: width 0.3s ease-in-out;
}


/* Header & Navigation */
.site-header {
  background: linear-gradient(135deg, #1a237e, #283593);
  color: #fff;
  padding-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

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

.logo {
  font-size: 28px;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links li a:hover {
  color: #ffeb3b;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,235,59,0.15), transparent 70%);
  transform: rotate(45deg);
  z-index: -1;
}

.hero-title {
  font-size: 48px;
  margin: 0;
  animation: fadeInDown 1s ease-in-out;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 24px;
  margin: 20px 0;
  animation: fadeInUp 1s ease-in-out;
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background: #ffeb3b;
  color: #333;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s, transform 0.3s;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-cta:hover {
  background: #f9a825;
  transform: scale(1.05);
}

/* Keyframes for Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Portfolio Section */
.portfolio-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.portfolio-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.portfolio-section h2::after {
  content: "";
  width: 50%;
  height: 3px;
  background: #f9a825;
  position: absolute;
  left: 25%;
  bottom: -10px;
  border-radius: 3px;
}

/* Individual Project Styles */
.portfolio-section .project {
  margin-bottom: 60px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}
.portfolio-section .project h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.portfolio-section .project p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* About & Contact Sections */
.about-section, .contact-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-section h2, .contact-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.about-text {
  font-size: 18px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #283593, #1a237e);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .navbar {
    flex-direction: column;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

/* Achievements Section */
.achievements-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.achievements-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.achievements-section h2::after {
  content: "";
  width: 50%;
  height: 3px;
  background: #f9a825;
  position: absolute;
  left: 25%;
  bottom: -10px;
  border-radius: 3px;
}
.achievements-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.achievement-card {
  background: #fff;
  border: 2px solid #333;
  border-radius: 8px;
  width: 260px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.achievement-card:hover {
  transform: scale(1.05);
}
.achievement-card svg {
  margin-bottom: 15px;
}
.achievement-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.achievement-card p {
  font-size: 16px;
  margin: 0;
}


.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: 10px;
}

.carousel-caption h5, 
.carousel-caption p {
  color: white;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  filter: invert(100%);
}