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

body {
font-family: Arial, sans-serif;
line-height: 1.6;
background: #f4f4f4;
color: #333;
}

/* Header and Navbar */
header {
background: #222;
color: #fff;
padding: 10px 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ddd;
}

/* Hero Section */
.hero {
background: linear-gradient(135deg, #6a11cb, #2575fc);
color: #fff;
text-align: center;
padding: 100px 20px;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 20px;
}
.hero p {
font-size: 1.2rem;
max-width: 600px;
margin: 0 auto;
}

/* Portfolio/Content Section */
section {
padding: 60px 20px;
text-align: center;
}
section h2 {
font-size: 2.5rem;
margin-bottom: 20px;
color: #222;
}
section p {
font-size: 1.1rem;
max-width: 800px;
margin: 0 auto 40px;
}

/* Footer */
footer {
background: #222;
color: #fff;
text-align: center;
padding: 20px 0;
}
  
  
  
/* Container for project cards */
.projects-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
grid-gap: 20px;
max-width: 1200px;
margin: 0 auto;
}

/* Project card styles */
.project-card {
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
display: flex;
flex-direction: column;
}

.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
  
  
.project-card:hover .project-image::after {
opacity: 1;
}

/* Project card content */
.project-info {
padding: 16px;
flex-grow: 1;
background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.project-info h3 {
margin: 0 0 10px;
font-size: 1.5rem;
color: #fff;
}
  
.project-info p {
font-size: 1rem;
color: #fff;
margin-bottom: 16px;
}

.project-info a {
text-decoration: none;
color: #fff;
font-weight: bold;
transition: color 0.3s ease;
}

.project-info a:hover {
color: #232323;
}
  
/* Tooltip style if you want to display messages on hover (optional) */
.tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translate(-50%, -10px);
background: rgba(0, 0, 0, 0.8);
color: #fff;
padding: 6px 10px;
border-radius: 4px;
font-size: 0.9rem;
white-space: nowrap;
opacity: 0;
transition: opacity 0.3s ease, transform 0.3s ease;
pointer-events: none;
}

.project-card:hover .tooltip {
opacity: 1;
transform: translate(-50%, 0);
}
  
/* Responsive Styles */
@media (max-width: 768px) {
.hero h1 {
    font-size: 2.5rem;
}
nav ul {
    flex-direction: column;
    gap: 10px;
}
}