:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --primary-color: #3a86ff;
  --text-color: #f8f9fa;
  --secondary-text: #dee2e6;
  --section-spacing: 2rem;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #121212, #2d3748);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glass Effect Elements */
header, section, footer, .card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: var(--section-spacing);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  padding: 3rem 2rem;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary-color), #8338ec);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

header p {
  font-size: 1.2rem;
  color: var(--secondary-text);
}

main {
  padding: 2rem 0;
}

h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
  padding: 0; /* Remove padding from card itself */
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.card-content p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

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

.about-section {
  text-align: left;
}

.about-image {
  width: 100%;
  border-radius: 10px;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  min-height: 180px;
}

.logo-text {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.logo-main {
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 0.2rem;
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 3px;
  text-transform: uppercase;
  border-top: 2px solid var(--primary-color);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--secondary-text);
  font-size: 0.9rem;
}

.contact-info {
  margin-top: 1.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-info i {
  margin-right: 1rem;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #8338ec;
  text-decoration: underline;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }
  
  .projects-grid, .about-section {
    grid-template-columns: 1fr;
  }
}