@import url('https://fonts.googleapis.com/css2?family=Product+Sans&family=Roboto:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Dark Theme */
  --color-primary: #0f172a;
  --color-secondary: #38bdf8;
  --color-white: #ffffff;
  --color-black: #0a0f2c;
  --color-grey0: #f8f8f8;
  --color-grey-1: #cbd5e1;
  --color-grey-2: #94a3b8;
  --color-grey-3: #64748b;
  --color-grey-4: #475569;
  --color-grey-5: #334155;
  --color-grey-6: #1e293b;

  /* Glassmorphism */
  --glass-bg: rgba(15, 23, 42, 0.5);
  --glass-border: rgba(255, 255, 255, 0.1);
  --blur: 12px;

  /* Gradient Background */
  --bg1: #0a0f2c;
  --bg2: #102a43;
  --bg3: #1b3b6f;
}

.light-mode {
  /* Light Theme */
  --color-primary: #f0f9ff;
  --color-secondary: #2563eb;
  --color-white: #1e293b;
  --color-black: #000;
  --color-grey0: #f0f9ff;
  --color-grey-1: #64748b;
  --color-grey-2: #475569;
  --color-grey-3: #334155;
  --color-grey-4: #cbd5e1;
  --color-grey-5: #e2e8f0;
  --color-grey-6: #f1f5f9;

  /* Glassmorphism */
  --glass-bg: rgba(224, 242, 254, 0.55);
  --glass-border: rgba(30, 64, 175, 0.2);
  --blur: 10px;

  /* Light Theme Background */
  --bg1: #e0f2fe;
  --bg2: #bae6fd;
  --bg3: #dbeafe;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--color-white);
  background: linear-gradient(-45deg, var(--bg1), var(--bg2), var(--bg3), var(--bg1));
  background-size: 300% 300%;
  animation: gradientFlow 10s infinite alternate ease-in-out;
  transition: all 0.4s ease-in-out;
}

/* Background Animation */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Glassmorphism container */
.container {
  display: none;
  transform: translateY(-100%) scale(0);
  transition: all 0.4s ease-in-out;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--blur));
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(255, 0, 255, 0.2);
  padding: 2rem;
}

/* Remove border / box for HOME (keep everything centred & clean) */
.header.container {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Active section */
.active {
  display: block;
  animation: appear 0.8s ease-in-out;
  transform: translateY(0) scaleY(1);
}

@keyframes appear {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Section layout */
section {
  min-height: 100vh;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 3rem 18rem;
  background: var(--glass-bg);
  border-radius: 15px;
  backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  box-shadow: 0 3px 20px rgba(255, 0, 255, 0.1);
}

/* Controls */
.controls {
  position: fixed;
  z-index: 10;
  top: 50%;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.controls .control {
  padding: 1rem;
  cursor: pointer;
  background: var(--glass-bg);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.7rem 0;
  border: 1px solid var(--glass-border);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(var(--blur));
  transition: all 0.3s ease-in-out;
}

.controls .control:hover {
  transform: scale(1.1);
}

.controls .control i {
  font-size: 1.2rem;
  color: var(--color-grey-2);
  pointer-events: none;
}

.controls .active-btn {
  background: var(--color-secondary);
  transition: all 0.4s ease-in-out;
}

.controls .active-btn i {
  color: var(--color-white);
}

/* Theme Button */
.theme-btn {
  top: 5%;
  right: 3%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--glass-bg);
  cursor: pointer;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(var(--blur));
  transition: all 0.1s ease-in-out;
  z-index: 20;
}

.theme-btn:active {
  transform: translateY(-3px);
}

.theme-btn i {
  font-size: 1.4rem;
  color: var(--color-grey-2);
  pointer-events: none;
}

/* Header */
.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

/* Particle Background */
.particle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #0a0f2c;
}

/* Header content - PURE CENTRED LAYOUT */
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
  padding: 2rem 3rem;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

/* Left header */
.left-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo-wrapper {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-secondary);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile photo size */
@media screen and (max-width: 768px) {
  .profile-photo-wrapper {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
  }
}

/* Right header text */
.right-header {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.right-header .name {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-white);
}

.name-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-top: 0.3rem;
}

.hero-text {
  margin: 1rem 0;
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--color-grey-1);
}

/* Buttons */
.btn-con {
  margin-top: 1.5rem;
  display: flex;
  align-self: flex-start;
}

.main-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 30px;
  font-weight: 600;
  border: 1px solid var(--color-secondary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.main-btn .btn-text {
  padding: 0 2rem;
}

.main-btn .btn-icon {
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 1rem;
  margin-left: 10px;
}

.main-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: all 0.4s ease-out;
  z-index: -1;
}

.main-btn:hover {
  background: var(--color-primary);
}

.main-btn:hover::before {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  transform: translateX(0);
}

/* ABOUT SECTION */
.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.about-container .right-about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}

.about-container .right-about .about-item {
  border: 1px solid var(--color-grey-5);
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
  box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.1);
}

.about-container .right-about .about-item:hover {
  cursor: default;
  transform: translateY(-5px);
  border: 1px solid var(--color-secondary);
  box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.32);
}

.about-container .right-about .about-item .abt-text {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.about-container .right-about .about-item .abt-text .large-text {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.about-container .right-about .about-item .abt-text .small-text {
  padding-left: 3rem;
  position: relative;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--color-grey-1);
  letter-spacing: 2px;
}

.about-container .right-about .about-item .abt-text .small-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 2rem;
  height: 2px;
  background-color: var(--color-grey-5);
}

.about-container .left-about {
  padding-right: 5rem;
}

.about-container .left-about p {
  line-height: 2rem;
  padding: 1rem;
  color: var(--color-grey-1);
}

.about-container .left-about h4 {
  font-size: 2rem;
  text-transform: uppercase;
}

/* Skills */
.about-stats {
  padding-bottom: 4rem;
}

.about-stats .progress-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}

.about-stats .progress-bars .progress-bar {
  display: flex;
  flex-direction: column;
}

.about-stats .progress-bars .progress-bar .prog-title {
  text-transform: uppercase;
  font-weight: 500;
}

.about-stats .progress-bars .progress-bar .progress-con {
  display: flex;
  align-items: center;
}

.about-stats .progress-bars .progress-bar .progress-con .prog-text {
  color: var(--color-grey-2);
}

.about-stats .progress-bars .progress-bar .progress-con .progress {
  width: 100%;
  height: 0.45rem;
  background-color: var(--color-grey-4);
  margin-left: 1rem;
  position: relative;
}

.about-stats .progress-bars .progress-bar .progress-con .progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-secondary);
  transition: all 0.4s ease-in-out;
  width: 60%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .html { width: 80%; }
.about-stats .progress-bars .progress-bar .progress-con .progress .css { width: 95%; }
.about-stats .progress-bars .progress-bar .progress-con .progress .js { width: 75%; }
.about-stats .progress-bars .progress-bar .progress-con .progress .react { width: 60%; }
.about-stats .progress-bars .progress-bar .progress-con .progress .node { width: 87%; }
.about-stats .progress-bars .progress-bar .progress-con .progress .python { width: 70%; }

.stat-title {
  text-transform: uppercase;
  font-size: 1.4rem;
  text-align: center;
  padding: 3.5rem 0;
  position: relative;
}

.stat-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 40%;
  height: 1px;
  background-color: var(--color-grey-5);
  transform: translateX(-50%);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  padding-bottom: 3rem;
}

.timeline .timeline-item {
  position: relative;
  padding-left: 3rem;
  border-left: 1px solid var(--color-grey-5);
}

.timeline .timeline-item .tl-icon {
  position: absolute;
  left: -27px;
  top: 0;
  background-color: var(--color-secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline .timeline-item .tl-icon i { font-size: 1.3rem; }

.timeline .timeline-item .tl-duration {
  padding: 0.2rem 0.6rem;
  background-color: var(--color-grey-5);
  border-radius: 15px;
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
}

.timeline .timeline-item h5 {
  padding: 1rem 0;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 600;
}

.timeline .timeline-item h5 span {
  color: var(--color-grey-2);
  font-weight: 500;
  font-size: 1.2rem;
}

.timeline .timeline-item p {
  color: var(--color-grey-2);
}

/* Portfolio section */
.port-text {
  padding: 2rem 0;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #0f172a;
  background: linear-gradient(90deg, #bae6fd, #dbeafe);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: inline-block;
  max-width: 100%;
  backdrop-filter: blur(4px);
}

.portfolios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
  padding: 0 1rem;
}

.portfolios .portfolio-item {
  position: relative;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease-in-out;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  max-width: 550px;
  margin: 0 auto;
  cursor: pointer;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  min-height: 340px; /* force equal-ish height */
}

/* Image box with equal height for ALL cards */
.portfolio-image-box {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder state (no real image) */
.portfolio-image-box.placeholder {
  background: #e5e7eb;
}

/* Text area */
.portfolios .portfolio-item .portfolio-text {
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
  text-align: center;
  flex: 1;
}

.portfolios .portfolio-item .portfolio-text h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  color: #020617;
}

.portfolios .portfolio-item .portfolio-text h4:hover {
  color: var(--color-secondary);
}

.portfolios .portfolio-item .portfolio-text p {
  color: var(--color-grey-3);
  line-height: 1.6rem;
  font-size: 0.98rem;
  padding-bottom: 0.5rem;
}

/* Card hover */
.portfolios .portfolio-item:hover {
  box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

/* Hover overlay */
.portfolios .portfolio-item .hover-items {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease-in-out;
}

.portfolios .portfolio-item:hover .hover-items {
  opacity: 1;
  transform: scale(1);
}

.portfolios .portfolio-item .hover-items h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.portfolios .portfolio-item .hover-items .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.portfolios .portfolio-item .hover-items .icons .icon {
  background-color: var(--color-primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.6rem;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.portfolios .portfolio-item .hover-items .icons .icon i {
  font-size: 1.5rem;
  color: var(--color-white);
}

.portfolios .portfolio-item .hover-items .icons .icon:hover {
  background-color: var(--color-white);
}

.portfolios .portfolio-item .hover-items .icons .icon:hover i {
  color: var(--color-primary);
}

/* View Project button (inside overlay) */
.view-project-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.7rem 1.4rem;
  background: var(--color-primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.35);
}

.view-project-btn i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.view-project-btn:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.6);
}

/* CONTACT SECTION */
.contact-content-con {
  display: flex;
  flex-wrap: wrap;
  padding-top: 3rem;
  gap: 2rem;
  align-items: center;
}

.contact-content-con .left-contact {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-content-con .right-contact {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.contact-content-con .left-contact h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #e5e7eb;
}

.contact-content-con .left-contact p {
  margin-bottom: 1.5rem;
  line-height: 1.8rem;
  font-size: 1rem;
}

/* contact info grid/cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.1rem;
}

.contact-card-body h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.contact-card-body p {
  font-size: 1rem;
  color: #111827;
  margin: 0;
}

/* “Open to” chips */
.contact-availability {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-availability .pill {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Social icons */
.contact-content-con .contact-icon {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.contact-content-con .contact-icon a {
  background: white;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s ease-in-out;
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.contact-content-con .contact-icon a:hover {
  background: var(--color-secondary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(56,189,248,0.5);
}

/* Form */
.input-control {
  margin-bottom: 1rem;
}

.input-control label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-grey-1);
}

.input-control input,
.input-control textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--color-grey-4);
  border-radius: 8px;
  background: #1f2933;
  color: #e5e7eb;
  font-size: 1rem;
  transition: 0.3s ease-in-out;
}

.input-control input::placeholder,
.input-control textarea::placeholder {
  color: #9ca3af;
}

.input-control input:focus,
.input-control textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}

/* submit button area */
.submit-btn {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.contact-form .main-btn {
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
}

/* Form status text */
.form-status {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

/* Main Title */
.main-title {
  text-align: center;
}

.main-title h2 {
  position: relative;
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 700;
}

.main-title h2 span {
  color: var(--color-secondary);
}

.main-title h2 .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color-grey-5);
  opacity: 0.2;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 6.3rem;
  letter-spacing: 1rem;
  pointer-events: none;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal */
.portfolio-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.portfolio-modal.open {
  display: flex;
}

.portfolio-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.portfolio-modal-content {
  position: relative;
  background: var(--glass-bg);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  padding: 2rem 2.5rem;
  max-width: 600px;
  width: 90%;
  color: var(--color-white);
  backdrop-filter: blur(var(--blur));
  animation: modalIn 0.3s ease-out;
}

.portfolio-modal-content h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: var(--color-secondary);
}

/* AWS image in modal */
.modal-image {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 1.2rem auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.65);
}

.portfolio-modal-content p {
  line-height: 1.7;
  color: var(--color-grey-1);
}

.portfolio-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-grey-6);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-modal-close i {
  pointer-events: none;
}

@keyframes modalIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media screen and (max-width: 1432px) {
  .container {
    padding: 7rem 11rem;
  }

  .contact-content-con {
    flex-direction: column;
  }

  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .main-title h2 .bg-text {
    font-size: 5.5rem;
  }
}

@media screen and (max-width: 1250px) {
  .portfolios {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-content {
    padding: 2rem;
  }
}

@media screen and (max-width: 1070px) {
  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .about-container .right-about {
    padding-top: 2.5rem;
  }

  .main-title h2 {
    font-size: 3.5rem;
  }

  .main-title h2 span {
    font-size: 3.5rem;
  }

  .main-title h2 .bg-text {
    font-size: 4.5rem;
  }
}

@media screen and (max-width: 970px) {
  .container {
    padding: 7rem 6rem;
  }

  .about-container .left-about {
    padding-right: 0rem;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .right-header {
    padding-right: 0rem !important;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .right-header .name {
    font-size: 2.5rem !important;
    padding-top: 1.5rem;
  }

  .btn-con {
    justify-content: center;
  }
}

@media screen and (max-width: 700px) {
  .container {
    padding: 7rem 3rem;
  }

  .about-stats .progress-bars {
    grid-template-columns: repeat(1, 1fr);
  }

  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolios {
    grid-template-columns: repeat(1, 1fr);
  }

  .main-title h2 {
    font-size: 2.6rem;
  }

  .main-title h2 span {
    font-size: 2.6rem;
  }

  .main-title h2 .bg-text {
    font-size: 3.5rem;
  }

  .controls {
    top: auto;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: var(--color-grey-5);
  }

  .controls .control {
    margin: 1rem 0.3rem;
  }
}

/* Light-mode header tweak */
.light-mode .header,
.light-mode #home {
  background: transparent !important;
  border: none;
  box-shadow: none;
}









