.projects-section {
    text-align: center;
    padding: 0px 20px;
    margin: 0 auto;
    max-width: 1300px;
}
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #00003170;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

.logo p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 1000;
  color: #ffffff;
  margin-left: 10px;
  margin-right: 10.5;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.logo p:hover {
  transform: scale(1.05);
  color: #ffffff;
}



.logo img {
    width: 90px;      
    height: 90px;      
    border-radius: 50%;
    display: block;    
    padding-left: 15%;
    align-items: center;
    padding: 1%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Desktop default */
    gap: 40px;
    padding-top: 30px;
}

.project-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: #f2f2f2;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.project-overlay {
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

/* Section Title */
h2.section-title {
    font-size: 48px;
    font-family: 'Poppins', sans-serif;
    color: #251d1d;
    margin-bottom: 30px;
    position: relative;
}

h2.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #4CAF50;
    margin: 10px auto 0;
    border-radius: 2px;
}
.btn-center {
    
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}


.btn-center:focus {
    outline: none;
}
.more-p-btn {
  padding: 20px 40px;
  border-radius: 45px;
  background-color: #000031;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  border: none;
}

.more-p-btn:hover {
  background-color: #1e90ff;
  box-shadow: 0 0 15px 5px #1e90ff;
}


/* 🌐 RESPONSIVE LAYOUT */
@media screen and (max-width: 1224px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    h2.section-title {
        font-size: 32px;
    }
}