/* style.css - Unified Portfolio CSS */
:root{
  --bg:#0f1724;
  --card:#0b1220;
  --muted:#94a3b8;
  --accent:#00bcd4;
  --accent-light:#4fd1ff;
  --glass: rgba(255,255,255,0.04);
  --radius:12px;
  --maxw:1100px;
  --link:#4fd1ff; /* readable links */
  --contact:#00bcd4; /* email, phone, linkedin */
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#e6eef6;
  background:linear-gradient(180deg,#071029 0%,#081226 100%);
  -webkit-font-smoothing:antialiased;
}

a{
  color:var(--link);
  text-decoration:none;
}

a:hover{
  color:var(--accent-light);
}

.container{
  max-width:var(--maxw);
  margin:28px auto;
  padding:20px;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 20px;
  background:transparent;
}

.brand a{
  color:#fff;
  font-weight:700;
  text-decoration:none;
  font-size:1.1rem;
}

/* Navigation links */
.nav-links{
  list-style:none;
  display:flex;
  gap:12px;
  margin:0;
  padding:0;
  flex-wrap: wrap;
}

.nav-links a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:8px;
}

.nav-links a:hover{
  background:var(--glass);
  color:#fff;
}

.hamburger{
  display:none;
  font-size:30px;
  cursor:pointer;
  color:var(--muted);
  padding:10px;
  order: 1; /* Position hamburger to the left */
}

/* Main Hero Section */
.hero{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:20px;
  align-items:start;
  margin-bottom:20px;
}

.hero-left{
  text-align:center;
}

.hero-left h1{
  margin:0;
  font-size:2rem;
  color:#fff;
}

.profile-pic{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  margin:0 auto 1rem;
  border:3px solid var(--accent);
  box-shadow:0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.profile-pic:hover{
  transform:scale(1.1);
}

.subtitle{
  color:var(--accent);
  margin-top:6px;
  font-weight:600;
}

.summary{
  color:var(--muted);
  line-height:1.5;
}

.cta{
  margin-top:14px;
  display: flex;
  justify-content: center; /* Centers buttons horizontally */
  gap: 10px; /* Space between buttons */
}

/* Universal Button Styles */
.btn {
  background: var(--accent);
  color: #021019;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600; /* Ensures bold text */
  display: inline-block;
  text-align: center;
  border: none; /* Removes default border */
  cursor: pointer;
  box-sizing: border-box;
}

/* Hover effect for all buttons */
.btn:hover {
  background: var(--accent-light);
  color: #021019;
}

/* Optional: Adjust for Mobile Screens */
@media (max-width: 900px) {
  .btn {
    padding: 12px 18px;
    font-size: 1.1rem;
  }
}

/* KPI Section */
.kpis{
  display:flex;
  flex-direction:column; /* Make it vertical */
  gap:12px;
  margin-bottom:12px;
  text-align:left;
  width: 100%; /* Ensure full width */
}

.kpi{
  padding:14px;
  border-radius:10px;
  background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);
  width: 100%; /* Take full width of the container */
}

.kpi-value{
  font-size:1.4rem;
  font-weight:700;
}

.kpi-sub{
  font-size:0.7rem;
  margin-left:6px;
  color:var(--muted);
}

/* Card Styles */
.card{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:16px;
  border-radius:var(--radius);
  box-shadow:0 6px 18px rgba(3,7,18,0.6);
}

/* Responsive Layout for Large Screens */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:12px;
  margin-top:12px;
}

.page{
  padding:18px;
}

.skills{
  columns:2;
  -webkit-columns:2;
  color:var(--muted);
}

.project{
  margin-bottom:12px;
}

.canvas{
  width:100%;
}

.small{
  padding:12px;
}

.contact-form label{
  display:block;
  margin-bottom:10px;
  color:var(--muted);
}

.contact-form input,.contact-form textarea{
  width:100%;
  padding:8px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.04);
  background:transparent;
  color:#e6eef6;
}

.contact-info li{
  margin-bottom:6px;
  color:var(--contact);
}

footer.footer{
  max-width:var(--maxw);
  margin:24px auto;
  padding:10px;
  color:var(--muted);
  text-align:center;
}

ul{
  padding-left:20px;
}

/* Media Queries for Mobile Devices */
@media (max-width:900px){
  .hero{
    grid-template-columns:1fr;
  }

  .nav-links{
    display:none; /* Hide nav links by default */
    flex-direction:column;
    gap:12px;
    margin-top:10px;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bg);
    width: 60%;
    height: 100vh;
    padding: 40px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active{
    display:flex; /* Show links when 'active' class is added */
  }

  .container{
    padding:12px;
  }

  .hamburger{
    display:block; /* Show hamburger icon */
    position: absolute;
    right: 20px;
    top: 20px;
  }
}

@media (min-width:600px){
  .kpi{
    max-width:100%; /* On medium screens, ensure KPI cards use full width */
  }
}

@media (min-width:900px){
  .kpi{
    max-width:100%; /* On larger screens, make each KPI card take up full width */
  }
}

h2 {
  color: var(--accent);
}

h3 {
  color: var(--accent-light); /* Main project title color */
}

h5 {
  color: var(--accent-light); /* Main project title color */
}

h4 {
  color: var(--muted); /* Subheading color for project details like timeline */
}

/* LinkedIn Button Styling */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Ensure the icon is centered */
  padding: 0; /* Remove any extra padding */
  cursor: pointer; /* Change cursor to indicate clickable */
}

.linkedin-btn img {
  width: 30px; /* Set the size of the LinkedIn icon */
  height: 30px;
  border-radius: 5px; /* Optional: round the icon edges */
  transition: transform 0.3s ease;
}

.linkedin-btn:hover img {
  transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

footer.footer {
  max-width: var(--maxw);
  margin: 24px auto;
  padding: 10px;
  color: var(--muted);
  text-align: center;
  display: flex;
  justify-content: center; /* Center align both items */
  align-items: center;
  gap: 10px; /* Space between LinkedIn icon and copyright text */
}