@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  font-family: "Be Vietnam Pro", sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  padding-top: 80px;
}

#wrapper {
  min-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #ffffff;
}

/* ---------------- NAVBAR ---------------- */

.container {
  width: 100%;
  margin: 0 auto;
}

/* navbar (instead of header) */
/* ---------------- NAVBAR NEW STYLE ---------------- */

/* ---------------- NAVBAR ---------------- */

.navbar {
  width: 100%;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* LEFT: Image + Name */
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4e45d5;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
}

.brand-role {
  font-size: 14px;
  color: #6b6b6b;
  font-weight: 500;
}

/* RIGHT: Menu items */
.nav-items {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-items a {
  text-decoration: none;
  font-size: 18px;
  color: #242424;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-items a:hover {
  color: #4e45d5;
  transform: scale(1.05);
}

/* Hamburger button (hidden by default) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #242424;
  cursor: pointer;
}

/* ---------- Medium devices (tablets / iPad etc.) ---------- */
@media (max-width: 1024px) {
  .navbar {
    padding: 0.8rem 1.5rem;
  }

  .nav-items a {
    font-size: 19px; /* slightly larger text */
  }

  .brand-name {
    font-size: 20px;
  }
}

/* ---------- Small devices (phones) ---------- */
@media (max-width: 768px) {
  .navbar {
    padding: 0.7rem 1.2rem;
  }

  .nav-left {
    gap: 0.6rem;
  }

  .profile-img {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-role {
    font-size: 13px;
  }

  /* Show hamburger, hide menu initially */
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-items {
    display: none; /* hidden until menu open */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #ffffff;
    padding: 0.75rem 1.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .nav-items a {
    font-size: 18px; /* larger on small devices as you asked */
    padding: 0.4rem 0;
    width: 100%;
    text-align: left;
  }

  /* When navbar has nav-open class -> show menu */
  .navbar.nav-open .nav-items {
    display: flex;
  }
}

/* Extra small phones */
@media (max-width: 450px) {
  .navbar {
    padding: 0.6rem 1rem;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-items a {
    font-size: 17px;
  }
}

/* ---------------- HERO SECTION ---------------- */

.hero-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  margin: 3rem auto 6rem auto;
  padding: 0 1.5rem;
  max-width: 1200px;

  /* ensure first view only shows hero on most screens */
  min-height: calc(100vh - 80px);
}

.hero-section-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

/* big faded background name */
.faded-text {
  user-select: none;
  font-size: 5.5rem;
  color: #e7e7e7;
  bottom: -16%;
  left: 0;
  font-weight: bold;
  position: absolute;
  white-space: nowrap;
}

/* Welcome line */
.hero-welcome-text {
  font-size: 26px;
  font-weight: 700;
  color: #444;
}

/* Main heading: "Hi! I am Subrata Jana" */
.hero-section-heading {
  font-size: 40px;
  font-weight: 700;
  color: #343d68;
  line-height: 1.2;
}

/* Role text line: "I am a <role>" */
.hero-section-sub-heading {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-section-sub-heading .role {
  color: #4e45d5;
  font-weight: 800;
}

/* Description paragraph */
.hero-section-description {
  font-size: 20px;
  margin-top: 1rem;
  max-width: 80%;
  font-weight: 500;
  color: #555;
}

/* Social Icon Row */
.hero-socials {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.social-icon {
  font-size: 28px;
  color: #343d68;
  transition: 0.3s;
  cursor: pointer;
}

.social-icon:hover {
  color: #e84949;
  transform: scale(1.2);
}

/* Button (used in hero and other sections) */
.btn {
  background-color: #e84949;
  width: fit-content;
  color: #ffffff;
  padding: 0.8rem 2.3rem;
  box-shadow: 5px 5px 7px 0px #0000003f;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.5s;
  font-weight: 500;
  border: solid 3px transparent;
  position: relative;
  z-index: 1;
  border-radius: 4px;
}

.btn::before {
  content: "";
  position: absolute;
  background-color: #ffffff;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.8s;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:hover {
  border: solid 3px #e84949;
  color: #000000;
}

/* Right side hero image */

.hero-section-right {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

/* user image box */
.user-image {
  padding: 2.5rem;
  transition: all 1s;
  animation: scaleImage 5s linear infinite;
  width: 320px;
  height: 360px;
}

@keyframes scaleImage {
  0% {
    scale: 1;
    filter: grayscale(1);
  }
  50% {
    filter: grayscale(0);
    box-shadow: 3px 3px 10px black;
    scale: 0.92;
  }
  100% {
    scale: 1;
    filter: grayscale(1);
  }
}

.user-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* hero floating icons */

.icons {
  position: absolute;
  z-index: 9;
}

/* slightly pulled away from the image */
.icons-dots {
  bottom: -1rem;
  right: -0.5rem;
  animation: dotsAnimation 5s linear infinite;
}

@keyframes dotsAnimation {
  50% {
    transform: translateY(-15px);
  }
}

.icons-zigzag {
  top: 0.5em;
  left: -1.5em;
  animation: zigzagAnimation 5s infinite;
}

@keyframes zigzagAnimation {
  50% {
    left: 5%;
    top: 3%;
  }
}

.icons-cube {
  top: -1.2em;
  right: -0.5em;
  animation-name: cubeRotate;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes cubeRotate {
  0% {
    transform: rotateY(0deg) translateY(0px);
  }
  50% {
    transform: rotateY(180deg) translateY(-12px);
  }
  100% {
    transform: rotateY(360deg) translateY(0px);
  }
}

.icons-circle {
  left: -0.8rem;
  bottom: -0.5rem;
  animation-name: shakeEffect;
  animation-duration: 6s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes shakeEffect {
  50% {
    left: 5%;
    bottom: 10%;
  }
}

.icon-plus {
  top: -1rem;
  left: 55%;
  animation: shakeEffectPlus 5s ease-in infinite;
}

@keyframes shakeEffectPlus {
  50% {
    top: 2%;
    left: 48%;
  }
}

/* ---------- RESPONSIVE HERO RULES ---------- */

@media (max-width: 1024px) {
  .hero-section-heading {
    font-size: 35px;
  }

  .hero-section-sub-heading {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
    margin: 2rem auto 4rem auto;
  }

  .faded-text {
    position: static;
    font-size: 2.8rem;
    margin-top: 1.5rem;
  }

  .hero-section-heading {
    font-size: 30px;
  }

  .hero-section-sub-heading {
    font-size: 34px;
  }

  .heo-section-description {
    max-width: 100%;
  }

  .hero-socials {
    justify-content: center;
  }

  /* Hide floating icons on smaller screens */
  .icons {
    display: none;
  }

  .user-image {
    width: 260px;
    height: 300px;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-welcome-text {
    font-size: 18px;
  }

  .hero-section-heading {
    font-size: 24px;
  }

  .hero-section-sub-heading {
    font-size: 28px;
  }

  .btn {
    font-size: 14px;
    padding: 0.6rem 1.5rem;
  }
}
/* --------- iPad / mid-width hero fix: 750px - 1200px --------- */
@media (min-width: 750px) and (max-width: 1200px) {
  .hero-section {
    min-height: auto; /* remove forced full-screen height */
    margin: 2.5rem auto 3rem auto; /* less vertical space */
    padding: 0 1.5rem;
    gap: 3rem; /* smaller gap between text & image */
  }

  .hero-section-left {
    gap: 1.2rem;
  }

  .hero-section-heading {
    font-size: 34px;
  }

  .hero-section-sub-heading {
    font-size: 38px;
  }

  .hero-section-description {
    max-width: 80%;
  }

  .user-image {
    width: 280px;
    height: 320px;
    padding: 2rem;
  }

  .faded-text {
    font-size: 4.2rem;
    bottom: -10%;
  }
}

/* ---------------- PROJECTS SECTION ---------------- */
.project-section {
  margin-top: 10px;
  width: 100%;
  background-color: #f3f3f3;
  padding: 7rem 0 5rem 0;
}

.page-header {
  color: #e84949;
  font-size: 3.5rem;
  line-height: 1;
  padding-bottom: 2rem;
  text-align: center;
}

.project-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.project-card {
  width: 80%;
  min-height: 550px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  box-shadow: 0px 0px 40px #1f1f1f;
  margin: 2rem auto;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
}

#project1 {
  background-image: url(./Images/projects/Project1.png);
  right: 5%;
}
#project2 {
  background-image: url(./Images/projects/Project2.png);
  left: 5%;
}
#project3 {
  background-image: url(./Images/projects/Project3.png);
  right: 5%;
}
#project4 {
  background-image: url(./Images/projects/Project4.png);
  left: 5%;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(45deg, #343d68, #343d68be, #343d687c);
  z-index: 1;
  transition: 0.5s all;
  transform-origin: left;
  transform: scaleX(0);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #1f1f1f9a;
  z-index: 0;
}

.project-number {
  position: absolute;
  font-size: 100px;
  font-weight: 600;
  color: #ffffff;
  display: none;
  z-index: 10;
  transition: 0.8s;
}

.rightNumber {
  top: -20px;
  right: 10px;
}

.leftNumber {
  top: -20px;
  left: 10px;
}

.project-card:hover .project-number {
  display: block;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  padding: 2em;
  bottom: 20%;
  position: absolute;
  z-index: 5;
  transition: all 0.4s;
}

.project-content-left {
  left: 5%;
}

.project-content-right {
  right: 5%;
}

.project-skills-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 60%;
  gap: 1em;
}

.project-skill {
  width: 40px;
}

.project-heading {
 
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.project-subHeading {
 
  font-size: 16px;
  font-style: italic;
  width: 70%;
}

.project-card:hover .project-content {
  padding-left: 60px;
  transform: scale(1.1);
}

.btn-grp {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.btn-project {
  border: none;
  outline: none;
}

.icon {
  cursor: pointer;
  color: white;
  font-size: 32px;
  transition: all 0.4s;
}

.icon:hover {
  color: #e84949;
}

/* ---------------- RESPONSIVE STYLES ---------------- */

@media (max-width: 1024px) {
  .hero-section {
    gap: 3rem;
  }

  .faded-text {
    font-size: 4rem;
  }

  .project-card {
    width: 90%;
    min-height: 480px;
  }

  .project-heading {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    padding-inline: 1rem;
  }

  .logo-text {
    font-size: 22px;
  }

  .nav-items {
    gap: 1rem;
    font-size: 14px;
  }

  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2.5rem;
    margin-top: 2rem;
    min-height: auto;
  }

  .faded-text {
    position: static;
    font-size: 2.8rem;
    margin-top: 1.5rem;
  }

  .hero-section-left {
    align-items: center;
  }

  .heo-section-description {
    max-width: 100%;
  }

  .user-image {
    width: 260px;
    height: 300px;
    padding: 1.5rem;
  }

  .icons-dots {
    bottom: -0.5rem;
    right: 5%;
  }
  .icons-zigzag {
    top: 0;
    left: 5%;
  }
  .icons-cube {
    top: -0.5rem;
    right: 5%;
  }
  .icons-circle {
    left: 5%;
    bottom: -0.5rem;
  }
  .icon-plus {
    top: 0;
    left: 60%;
  }

  .project-section {
    padding: 3rem 0;
  }

  .page-header {
    font-size: 2.4rem;
  }

  .project-container {
    gap: 60px;
  }

  .project-card {
    width: 100%;
    min-height: auto;
    margin: 1.5rem 0;
    border-radius: 0;
  }

  .project-number {
    display: none !important;
  }

  .project-content {
    position: static;
    transform: none !important;
  }

  .project-subHeading {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.6rem 0.8rem;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero-section-heading {
    font-size: 26px;
  }

  .hero-section-sub-heading {
    font-size: 30px;
  }

  .btn {
    font-size: 16px;
    padding: 0.7rem 1.8rem;
  }

  .page-header {
    font-size: 2rem;
  }
}

/* Skills */
/* Skill Section Start  */

.skills-container {
  position: relative;
  display: flex;
  padding-top: 6rem;
  padding-left: 4rem;
  margin: 10rem auto;
  gap: 30px;
}

.skill-container-left {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.skill-heading {
  color: #e84949;
  font-weight: bold;
  font-size: 45px;
  line-height: 45px;
}

.caps {
  font-size: 80px;
}

.skill-subHeading {
  margin-top: 1rem;
  width: 85%;
  text-align: justify;
  font-size: 20px;
}
.skill-subHeading p {
  margin: 15px 0;
  /* font-size: 10px; */
}

.skill-container-right {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  width: 50%;
  position: relative; /* needed for blob to stay behind icons */
  justify-content: center;
  z-index: 1; /* ensures icons stay above blob */
}

.blob-style {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgb(231, 231, 231);
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: blobAnimation 3s linear infinite;
}

@keyframes blobAnimation {
  50% {
    top: 54%;
    left: 46%;
  }
}

.skills-logo {
  width: 70px;
  transition: all 0.5s;
}

.skills-logo:hover {
  transform: scale(1.2);
}

.skill-fade-text {
  position: absolute;
  font-size: 10em;
  right: 20%;
  bottom: -27%;
  user-select: none;
  color: rgb(231, 231, 231);
  font-weight: bold;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

/* responsive  skills section*/
/* -------------------- RESPONSIVE DESIGN -------------------- */

/* Tablet Screens */
@media (max-width: 1024px) {
  .skills-container {
    padding: 2rem;
    margin: 6rem auto;
    gap: 20px;
  }

  .skill-heading {
    font-size: 40px;
  }

  .caps {
    font-size: 65px;
  }

  .skills-logo {
    width: 60px;
  }

  .skill-subHeading {
    width: 95%;
  }

  .skill-fade-text {
    font-size: 8em;
    right: 10%;
  }
}

/* Mobile Large Screens (600px - 768px) */
@media (max-width: 768px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 5rem auto;
  }

  .skill-container-left,
  .skill-container-right {
    width: 100%;
  }

  .skill-heading {
    font-size: 35px;
  }

  .caps {
    font-size: 55px;
  }

  .skills-logo {
    width: 55px;
  }

  .skill-subHeading {
    width: 90%;
    text-align: center;
  }

  .skill-fade-text {
    font-size: 6em;
    right: 50%;
    transform: translateX(50%);
  }
}

/* Small Mobile (Under 480px) */
@media (max-width: 480px) {
  .skills-container {
    flex-direction: column;
    gap: 15px;
    margin: 3rem auto;
    padding: 1.5rem;
  }

  .skill-heading {
    font-size: 28px;
    line-height: 32px;
  }

  .caps {
    font-size: 45px;
  }

  .skills-logo {
    width: 45px;
  }

  .skill-fade-text {
    font-size: 4em;
    bottom: -10%;
    opacity: 0.3;
  }
}

/* Extra Small Phones (Under 360px) */
@media (max-width: 360px) {
  .skill-heading {
    font-size: 24px;
  }

  .caps {
    font-size: 38px;
  }

  .skills-logo {
    width: 40px;
  }

  .skill-fade-text {
    font-size: 3em;
  }
}
/* Hide faded text on devices where it may overlap */

/* Large tablets / small laptops where layout starts to compress */
@media (max-width: 1024px) {
  .skill-fade-text {
    font-size: 7em;
    right: 5%;
    bottom: -18%;
  }
}

/* iPad Mini / Portrait Tablets */
@media (max-width: 820px) {
  .skill-fade-text {
    font-size: 5em;
    right: 50%;
    bottom: -10%;
    transform: translateX(50%);
  }
}

/* Mobile and narrow screens — hide completely */
@media (max-width: 650px) {
  .skill-fade-text {
    display: none;
  }
}

/* Extra small devices (<= 480px) */
@media (max-width: 480px) {
  .skill-fade-text {
    display: none !important;
  }
}

/* ====================================== Contact section ================================ */
/* ========== CONTACT SECTION START ========== */

.contactus-form-container {
  width: 100%;
  background-color: #f3f3f3;
  min-height: 100vh; /* full screen height */
  display: flex;
  align-items: center; /* center vertically */
  padding-bottom: 5rem;
}

/* scroll offset for sticky navbar (adjust 80px to your navbar height if needed) */
#contactme {
  scroll-margin-top: 80px;
}

.contactus-form-container .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* no extra top padding */
}

.contactus-heading {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
  color: #e84949;
}

.contactus-sub-heading {
  font-size: 1.6rem;
  color: #343d68aa;
  text-transform: capitalize;
  max-width: 650px;
}

.contact-form-container {
  display: flex;
  margin-top: 2rem;
  justify-content: center;
  align-items: center;
}

.formfield-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.formfield {
  width: 100%;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  box-shadow: 2px 2px 10px rgba(31, 31, 31, 0.15);
  background: #ffffff;
  font-weight: 500;
}

.formfield:focus {
  outline: 2px solid #e84949;
}

.formfield-textarea {
  height: auto;
  min-height: 130px;
  padding-top: 1rem;
  resize: vertical;
}

/* if you want the same .btn styles as other sections, keep your global .btn;
   this just adjusts spacing when used in contact section */
#submit-btn {
  margin-top: 1.5rem;
}

/* ========== RESPONSIVE CONTACT SECTION ========== */

/* Tablets / small laptops */
@media (max-width: 1024px) {
  .contactus-heading {
    font-size: 2.8rem;
  }

  .contactus-sub-heading {
    font-size: 1.4rem;
  }

  .contactus-form-container {
    padding: 2.5rem 0;
  }
}

/* Tablets & large phones (portrait) */
@media (max-width: 768px) {
  .contactus-form-container {
    min-height: 100vh;
    padding: 2.5rem 0;
  }

  .contactus-heading {
    font-size: 2.4rem;
    text-align: left;
  }

  .contactus-sub-heading {
    font-size: 1.2rem;
    max-width: 100%;
  }

  .contactus-form-container .container {
    padding: 0 1.2rem;
  }

  .contact-form-container {
    margin-top: 1.8rem;
  }

  .formfield {
    font-size: 15px;
    padding: 0 1.2rem;
    height: 44px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .contactus-form-container {
    padding: 2rem 0;
  }

  .contactus-heading {
    font-size: 2rem;
  }

  .contactus-sub-heading {
    font-size: 1.05rem;
  }

  .formfield {
    font-size: 14px;
    padding: 0 1rem;
    height: 42px;
  }

  .formfield-textarea {
    min-height: 110px;
  }

  #submit-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ================== FOOTER BASE ================== */

footer {
  background: #343d68;
  position: relative;
  padding: 1.4rem 1.5rem;
  color: #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-wrapper {
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.footer-faded-text {
  font-size: 2rem;
  position: absolute;
  left: 18rem;
  bottom: -0.4rem;
  color: #535c87;
  user-select: none;
}

.footer-left {
  max-width: 280px; /* keeps text around ~3 lines */
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #d4d7ff;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-end;
}

.link-wrapper {
  display: flex;
  gap: 0.8em;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.link-wrapper div a {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.link-wrapper div a:hover {
  color: #e84949;
}

.icon-wrapper {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.icon-wrapper .icon {
  font-size: 1.2rem;
}

/* ================== RESPONSIVE FOOTER ================== */

/* Tablets / small laptops */
@media (max-width: 1024px) {
  .footer-faded-text {
    left: 12rem; /* pull closer for medium screens */
  }

  .footer-left {
    max-width: 260px;
  }
}

/* Tablets + large phones (portrait) */
@media (max-width: 768px) {
  footer {
    padding: 1.2rem 1.2rem;
  }

  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  /* hide faded big text on small screens */
  .footer-faded-text {
    display: none;
  }
}

/* --------- iPad Mini / Tablet Portrait Fix (700px–880px) --------- */
@media (min-width: 700px) and (max-width: 880px) {
  footer {
    padding: 1.3rem 1.5rem;
  }

  .footer-wrapper {
    flex-direction: row; /* keep side-by-side layout */
    justify-content: space-between;
    align-items: center;
  }

  .footer-left {
    max-width: 260px;
  }

  .footer-desc {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .footer-right {
    align-items: flex-end;
    gap: 0.8rem;
  }

  /* Hide faded background text for cleaner layout */
  .footer-faded-text {
    display: none;
  }

  .icon-wrapper .icon {
    font-size: 1.1rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  footer {
    padding: 1rem 1rem;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-title {
    font-size: 1.15rem;
  }

  .footer-desc {
    font-size: 0.8rem;
  }

  .link-wrapper {
    gap: 0.6rem;
  }

  .icon-wrapper .icon {
    font-size: 1.1rem;
  }
}

@media (min-width: 700px) and (max-width: 880px) {
  .link-wrapper {
    gap: 1rem;
  }
}
