@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import './reset.css';

:root {
    --primary-color: #ff6600;
}

.cat{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

/* Body Style */
body {
  margin: 0;
  font-family: 'montserrat', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Nav */

main {
    padding-top: 100px;
}
header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 1.5rem;
  color: #ff6600;
}

.links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.links a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.links a:hover,
.links a.active {
  color: #ff6600;
}

/* Hero  */
.hero {
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: #ff6600;
}

.hero p {
  max-width: 600px;
  margin: 1rem auto;
}

.hero img{
border-radius: 20px;
box-shadow: 10px 9px 8px 0px rgba(3, 0, 127, 0.28);
width: 250px;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #e05500;
}

/* Skills (Table) */
.skills {
  padding: 4rem 2rem;
  background: #fafafa;
  text-align: center;
}

.skills h2 {
  font-size: 2rem;
  color: #ff6600;
  margin-bottom: 2rem;
}

.skills-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  margin-bottom: 1rem;
  color: #333;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

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

/* Contact form */
.contact {
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea, button {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

button {
  background: #ff6600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #e05500;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid #eee;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #777;
}