
/* navbar css start here */
:root {
    --bg-color: #f4f4f4;
    --text-main: #1a1a1a;
    --text-muted: #666;
    --accent: #000;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--bg-color);
    /* Just for preview */
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.navbar-container {
    position: fixed;
    top: 24px;
    /* Offset from top */
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.glass-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    width: 90%;
    max-width: 900px;

    /* The Glassmorphism Effect */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    /* Perfect pill shape */
    box-shadow: var(--shadow);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    color: #ff4d4d;
    /* Subtle pop of color */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* Subtle dot indicator for active link */
.nav-links a.active::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    margin: 4px auto 0;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.03);
}

/* Responsive Hide for Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}
/* navbar css ends here */


/*hero css start from here */ 

/* Layout Strategy */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Space for the floating navbar */
  background-color: var(--bg-color);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Text gets slightly more space */
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  
  align-items: center;
}

/* Text Styling */
.hero-text {
  animation: fadeInUp 1s ease forwards;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--text-main);
  margin: 20px 0;
  letter-spacing: -2px;
}

.hero-text .italic {
  font-family: serif;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}

/* Image Container Styling */
.hero-image-wrapper {
  position: relative;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0; /* Starts hidden for animation */
}

.image-inner {
  position: relative;
  z-index: 2;
  border-radius: 50%; /* Makes it a circle */
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Ensures width and height are equal */
  background: #e0e0e0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 4px solid white; /* Adds a clean "frame" look */
}

.image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.image-inner:hover img {
  transform: scale(1.05); /* Subtle interaction */
}

/* The "Elevated" accent behind the image */
.image-accent {
  position: absolute;
  top: 15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%; /* Matches the circle shape */
  z-index: 1;
}
/* Actions Alignment */
.hero-actions {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-text p {
    margin: 0 auto 40px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* work mockup section css starts from here */

* { box-sizing: border-box; }

.portfolio-section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 0px;
  font-family: Inter, sans-serif;
}

/* PROJECT INFO */
.project-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-desc {
  max-width: 650px;
  color: #555;
  margin-bottom: 30px;
}

/* PROJECT SELECT */
.project-select {
  margin-bottom: 25px;
}

.project-select select {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-weight: 500;
}

/* DEVICE BUTTONS */
.device-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

.device-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
}

.device-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* DEVICE CONTAINER */
.device-container {
  display: flex;
  justify-content: center;
}

.device { display: none; }
.device.active { display: block; }

/* MOBILE */
.mobile-frame {
  width: 320px;
  padding: 16px;
  border-radius: 36px;
  background: #111;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.mobile-screen {
  height: 560px;
  border-radius: 26px;
  overflow-y: auto;
  background: #fff;
}

/* LAPTOP */
.laptop-frame {
  width: 900px;
  background: #111;
  border-radius: 18px;
  padding: 14px 14px 30px;
  box-shadow: 0 40px 90px rgba(0,0,0,.3);
}

.laptop-screen {
  height: 480px;
  border-radius: 10px;
  overflow-y: auto;
  background: #fff;
}

/* DESKTOP */
.desktop-frame {
  width: 1100px;
  background: #111;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,.3);
}

.desktop-screen {
  height: 520px;
  border-radius: 8px;
  overflow-y: auto;
  background: #fff;
}

/* SCROLLBAR */
.mobile-screen::-webkit-scrollbar,
.laptop-screen::-webkit-scrollbar,
.desktop-screen::-webkit-scrollbar {
  width: 4px;
}
.mobile-screen::-webkit-scrollbar-thumb,
.laptop-screen::-webkit-scrollbar-thumb,
.desktop-screen::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.25);
  border-radius: 10px;
}

img {
  width: 100%;
  display: block;
}

@media (max-width: 991px) {
  .laptop-frame,
  .desktop-frame {
    width: 100%;
  }
}
/* work mockup section css ends from here */
/* contact me section css starts from here */

.contact-section {
  max-width: 900px;
  margin: 100px auto;
  font-family: Inter, sans-serif;
}

.contact-section h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.contact-section p {
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.contact-form textarea {
  grid-column: span 2;
  resize: none;
}

.contact-form button {
  grid-column: span 2;
  width: 160px;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.form-status {
  margin-top: 15px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form textarea,
  .contact-form button {
    grid-column: span 1;
  }
}
/*ends here */
/* comment section css starts from here */


.comment-section {
  max-width: 1000px;
  margin: 80px auto;
  font-family: Inter, sans-serif;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* LEFT: Comments List */
.comment-list-container {
  flex: 1 1 450px;
  max-height: 500px;
  overflow-y: auto;
}

.comment-list {
  display: flex;
  flex-direction: column-reverse; /* newest comments on top */
  gap: 12px;
  padding-right: 4px;
}

.comment {
  padding: 16px;
  border-radius: 14px;
  background: #f7f7f7;
}

.comment strong {
  display: block;
  margin-bottom: 6px;
  color: #111;
}

.comment p {
  margin: 0;
  color: #555;
}

/* RIGHT: Comment Form */
.comment-form-container {
  flex: 1 1 400px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.comment-form button {
  width: 120px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: #000;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

/* Scrollbar */
.comment-list::-webkit-scrollbar {
  width: 4px;
}
.comment-list::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}

/* Header */
.comment-section h3 {
  width: 100%;
  font-size: 24px;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .comment-section {
    flex-direction: column;
  }
}

.footer {
  background: #0f0f0f;
  color: #fff;
  padding: 80px 20px 30px;
  font-family: Inter, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

/* TOP AREA */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #aaa;
  max-width: 360px;
  line-height: 1.6;
}

/* LINKS */
.footer-links h4 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #bbb;
}

.footer-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 500;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-social a:hover {
  background: #fff;
  color: #000;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}




