/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Catamaran', sans-serif;
  color: #333;
}

/* Navigation */
nav, header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #2F4F4F;
  z-index: 1000;
  padding: 20px 40px;
  box-shadow: 0 2px 5px rgba(119, 40, 40, 0.1);
  display: flex;
  justify-content: flex-end;
  
}

.navbar-list {
  list-style: none;
  display: flex;
  gap: 2rem;
    cursor: pointer;
  font-size: 2.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;
  margin-bottom: 10px;
  color: whitesmoke;
  
}

.navbar-list li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 2rem;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.navbar-list li a:hover,
.navbar-list li a.active {
  color: whitesmoke;
  background-color: #00bcd4;
  border-radius: 6px;
}

/* Sections */
section {
  padding: 100px 20px;
  min-height: 100vh;
}

#home {
  background: linear-gradient(135deg, 
  #B2BEB5 0%,     /* Light top-left */
  #F5F5F5 40%,    /* Dark center starts */
  #2F4F4F 80%,    /* Dark center ends */
  #F5F5F5 100%    /* Light bottom-right */
);
}

#about {
  background: #F7F7F7;
}

#contact {
  background: #F0FFF0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  position: relative;
  min-height: 100vh;
  padding: 100px 20px 40px; /* Adjust bottom padding */
}

#contact::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 0;
  border: 10px solid #2F4F4F;
  pointer-events: none;
  z-index: 0;
}

/* Home Layout */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  padding: 0 10%;
  gap: 50px;
}

.home-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-box img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.img-box img:hover {
  transform: scale(1.05);
}

.home-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.home-info h1 {
  font-size: 7rem;
  font-family: 'Courier New', Courier, monospace;
  margin-bottom: 20px;
  color: #2A3439
}

.home-info h2 {
  font-size: 3rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;
  color: whitesmoke; 
  min-height: 48px;
}

/* Typewriter Cursor */
#typewriter::after {
  content: '|';
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: #eee;
  font-size: 0.9rem;
}

/* Bento Layout */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  padding: 40px;
  width: 75vw;
  margin: 0 auto;
  height: calc(100vh - 100px);
}

.bento-item {
  background: #4D5D53;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  transition: transform 0.3s ease;
  position: relative;
}


.bento-item:hover {
  transform: translateY(-5px);
}

.bento-item p,
.bento-item li {
  font-size: 1.4rem;
  font-family: 'Catamaran', sans-serif;
  line-height: 1.6;
  color: whitesmoke;
}

.bento-item li {
  margin-left: 20px;
  list-style-type: disc;
}

.bento-item h1 {
  font-size: 4rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  margin-bottom: 15px;
  color: whitesmoke;
}
.bento-item h2 {
  font-size: 2.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 800;
  margin-bottom: 10px;
  color: whitesmoke;
}


.intro {
  grid-column: span 2;
  background-color: #2F4F4F;
  color: white;
}

/* Flip Card */
.flip-container {
  perspective: 1000px;
  width: 100%;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.flipper {
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  position: relative;
}

.auto-flip {
  animation: flipAnimation 8s linear infinite;
}

.auto-flip:hover {
  animation-play-state: paused;
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.front {
  transform: rotateY(0deg);
}

.back {
  transform: rotateY(180deg);
  background-color: white;
}

.front img,
.back img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

@keyframes flipAnimation {
  0% { transform: rotateY(0deg); }
  45%, 55% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

/* Arrow */
.bento-arrow {
  position: absolute;
  bottom: 15px;
  right: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.bento-arrow:hover {
  transform: translateX(5px);
}

/* Section styling */


.contact-container {
  display: flex;
  justify-content: space-between; /* space between left and right */
  align-items: flex-start;
  max-width: 1500px;
  margin: 0 auto; /* center container horizontally */
  gap: 40px;
  min-height: 100vh; /* optional: fill viewport height */
  padding-top: 100px; /* to offset fixed nav */
  box-sizing: border-box;
}

/* Left side container for sticky notes */

.contact-left {
  flex: 1;
}


/* Right side: the form */
.contact-right {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

/* Contact form itself */
.contact-form {
  background-color: #2F4F4F;
  padding: 30px;
  border-radius: 12px;
  width: 1000px;
  box-sizing: border-box;
  color: white;
  max-width: 2000px;
  margin-right: 98px;
  margin-top: 198px;
}


.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form button {
  padding: 12px 24px;
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0097a7;
}

/* Contact buttons (left) */
.contact-button {
  padding: 12px;
  background-color: #00bcd4;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #0097a7;
}

.download-btn {
  margin-top: 10px;
  display: inline-block;
  text-align: center;
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  text-decoration: none;
  border-radius: 6px;
}

.download-btn:hover {
  background-color: #45a049;
}

/* Responsive */
@media (max-width: 768px) {
  .home {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  .img-box img {
    width: 250px;
    height: 250px;
  }

  .home-info h1 {
    font-size: 2.5rem;
  }

  .home-info h2 {
    font-size: 1.3rem;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .intro {
    grid-column: auto;
  }


}
.bento-item.Techstack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ensures content starts from the top */
  grid-column: span 1;
}

.contact-icons {
  position: absolute;
  bottom: 300px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
  z-index: 1;
}

.contact-icons a {
  position: relative;
  background-color: white;
  color: #2F4F4F;
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 64px;
  height: 64px;
  font-size: 2rem;
}

/* Hover effect */
.contact-icons a:hover {
  transform: scale(1.15);
  background-color: #00bcd4;
  color: white;
}

/* Tooltip text */
.contact-icons a::after {
  content: attr(data-label);
  position: absolute;
  bottom: -55px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2F4F4F;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show text on hover */
.contact-icons a:hover::after {
  opacity: 1;
}

.navbar-list a.active {
  color: gold;
  border-bottom: 2px solid gold;
}

@media (max-width: 768px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .home {
    flex-direction: column;
    padding-top: 120px;
  }
  .img-box img {
    width: 300px;
    height: 300px;
  }
}
.quote-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100vw;          /* Full screen width */
  height: 100vh;         /* Optional: full screen height */
  padding: 0;
  margin: 0;
}

.quote-text {
  margin-top: -4in;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 7rem;
  line-height: 1.2;
  color: #111;
  padding-left: 440px;     /* Adjust if needed */
  max-width: 1200px;       /* Keep it readable */
}

.footer {
  background-color: #2F4F4F;
  color: #eee;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;

}

.footer-content {
  max-width: 1200px;
  margin: auto;
}
/* Container to hold both buttons, right‑aligned */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;            /* space between buttons */
  margin-top: 30px;      /* spacing above buttons */
}

/* Style your submit button */
.submit-btn {
  padding: 16px 32px;    /* larger clickable area */
  font-size: 1.1rem;     /* slightly larger text */
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #0097a7;
}

/* Style your new download‑CV link as a button */
.download-cv-btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1.1rem;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.download-cv-btn:hover {
  background-color: #45a049;
}
.contact-form {
  position: relative;          /* needed for absolutely positioned child */
  padding: 60px 30px 30px;     /* extra top padding for tape */
  /* ... your existing styles ... */
}

/* Slanted “tape” header */
.form-header {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-10%, -50%) rotate(-7deg);
  background: #00bcd4;
  color: white;
  font-family: 'Patrick Hand', cursive;
  font-size: 1.6rem;
  padding: 8px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  border-radius: 4px;
  z-index: 2;
}

/* Optionally add a little “tape edge” effect */
.form-header::before,
.form-header::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  top: 50%;
  transform: translateY(-50%);
}
.form-header::before {
  left: -6px;
  transform: translate(-100%, -50%) rotate(20deg);
}
.form-header::after {
  right: -6px;
  transform: translate(100%, -50%) rotate(-20deg);
}

/* Inline status message */
.form-status {
  margin-top: 20px;
  font-size: 1.1rem;
  font-family: 'Catamaran', sans-serif;
}
.form-status .success {
  color: #4CAF50;
}
.form-status .error {
  color: #E53935;
}

/* (Ensure your existing .contact-form,
/* .form-header, .form-actions, .submit-btn, .download-cv-btn rules */
/* remain as you have them above.) */


