body {
    font-family: Inter, sans-serif;
}

.hero {
    background: url('https://source.unsplash.com/1600x900/?cybersecurity,technology') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: -1;
}
.project-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.project-card h3 {
    color: #007bff;
}

#projects {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
}

footer {
    margin-top: 30px;
}

/* About Me Section */
#about ul {
    list-style-type: none;
    padding: 0;
}

#about ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

#about a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#about a:hover {
    color: #0056b3;
    text-decoration: underline;
}

#about .btn {
    margin-top: 10px;
}

/* Button Hover Effect */
.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border-radius: 30px; 
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ff7f50;
}


/* Link Hover Effect */
a:hover {
    color: #0056b3;
    text-decoration: underline;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
html {
  scroll-behavior: smooth;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}
#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  background-color: #007bff;
  color: white;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

#topBtn:hover {
  background-color: #0056b3;
}

