/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cinzel', serif;
}

/* Full height flex layout */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cinzel', serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  padding: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  padding: 10px;
  background: rgba(0,0,0,0.4);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: rgba(0,0,0,0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 14px 10px rgba(0,0,0,0.3);
}

.navbar .logo {
  font-family: 'Roboto Slab', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #add6ff;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.navbar ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #add6ff;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(100px);
}

.hero img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid #add6ff;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.hero h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #add6ff;
  text-shadow: 0 1px 20px rgba(0, 255, 0, 1.8); /* green glow */
}

.hero h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #f1f1f1;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

.hero .btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #add6ff;
  color: #1e3c72;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.hero .btn:hover {
  background-color: #268313;
  color: #000;
  box-shadow: 0 1px 60px rgba(0, 255, 0, 0.8); /* green glow */
  transform: translateY(-3px);
}

/* Skills Section */
.skills {
  padding: 80px 120px;
  text-align: center;
}

.skills h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  margin-bottom: 80px;
  color: #f1f1f1;
  text-shadow: 2px 12px 8px rgba(0,0,0,0.5);
  text-align: left;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  min-height: 80px; /* or any height you want */
  gap: 20px;
  font-size: 24px;
  color: #000;
}

.card {
  font-size: 16px;
  background: #add6ff;
  border-radius: 20px;
  padding: 10px;
  border: 4px solid #ddd;
  border-color: green;
  text-align: middle-center;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 16px 120px rgba(0,0,0,0.4);
}

.card img {
  margin-bottom: 10px;
}

.card:hover {
  transform: translateY(-5px);
  background: #105ead;
  box-shadow: 0 1px 60px rgba(0, 255, 0, 0.8); /* green glow */
}

.card-text {
  font-size: 36px;
  font-weight: 600;
  color: #000;
}

/* Contact Section */
section.contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  max-width: 540px;
  max-height: 620px;
  margin: auto;
  background: rgba(0,0,0,0.2);
  border-radius: 215px;
  box-shadow: 0 1px 60px rgba(0, 255, 0, 0.8); /* green glow */
  text-align: center;
}

section.contact h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #00FF00;
}

section.contact p {
  font-size: 18px;
  margin-bottom: 80px;
}

section.contact ul {
  list-style: none;
  padding: 0;
  font-size: 20px;
}

section.contact a {
  color: #00FF00;
  text-decoration: none;
  font-size: 20px;
  font-weight: normal;
}

section.contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  padding: 25px 20px;
  text-align: center;
  background-color: rgba(0,0,0,0.6);
  color: #ffffffaa;
  font-size: 0.9rem;
  box-shadow: 0 -4px 10px rgba(10,0,0,0.3);
}

/* Contact links override */
.contact a {
  color: #add6ff;
  font-weight: 600;
  transition: 0.3s;
}

.contact a:hover {
  color: #49fc03;
  text-decoration: underline;
}
