:root {
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --primary-color: #5b8def;
  --primary-hover: #4a7de8;
  --accent-color: #7c6aef;
  --text-color: #e8eaed;
  --secondary-text: #b8bcc2;
  --section-spacing: 2rem;
  --dark-bg: #0f1419;
  --dark-surface: #1a1f2e;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: -0.5px;
}

header p {
  font-size: 1.15rem;
  color: var(--secondary-text);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

main {
  padding: 2rem 0;
}

h2 {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.2px;
}

.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, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 0;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(91, 141, 239, 0.3);
}

.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;
  color: var(--secondary-text);
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(91, 141, 239, 0.3);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(91, 141, 239, 0.4);
}

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

.about-section p {
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.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: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 4px;
  text-transform: uppercase;
  border-top: 1px solid var(--glass-border);
  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: var(--accent-color);
  text-decoration: underline;
}

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