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

/* Ensure images are responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

:root {
  --color-primary: #191d2b;
  --color-primary-light: #FFFFFF;
  --color-secondary: #27AE60;
  --color-accent: #6366f1;
  --color-white: #FFFFFF;
  --color-black: #000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #dbe1e8;
  --color-grey-2: #b2becd;
  --color-grey-3: #6c7983;
  --color-grey-4: #454e56;
  --color-grey-5: #2a2e35;
  --color-grey-6: #12181b;
  --color-grey-light: #a0aec0;
  --color-text-light: #2d3748;
  --br-sm-2: 14px;
  --box-shadow-1: 0 3px 15px rgba(0, 0, 0, .3);
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.light-mode {
  --color-primary: #f8f9fa;
  --color-primary-light: #1a1a1a;
  --color-secondary: #6366f1;
  --color-accent: #a855f7;
  --color-white: #1a1a1a;
  --color-black: #000;
  --color-grey0: #ffffff;
  --color-grey-1: #2d3748;
  --color-grey-2: #4a5568;
  --color-grey-3: #718096;
  --color-grey-4: #cbd5e0;
  --color-grey-5: #e2e8f0;
  --color-grey-6: #f7fafc;
  --color-grey-light: #a0aec0;
  --color-text-light: #2d3748;
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.2);
}

body {
  background: var(--color-primary);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--color-white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.light-mode ::-webkit-scrollbar-track {
  background: var(--color-grey-5);
}

/* Animated background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.light-mode body::before {
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Improve touch targets for mobile */
button, 
.main-btn,
.control,
.theme-btn,
.contact-icon a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Smooth scrolling for all devices */
html {
  scroll-behavior: smooth;
}

header {
  min-height: 100vh;
  color: var(--color-white);
  overflow: hidden;
  padding: 0 !important;
}

section {
  min-height: 100vh;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 3rem 8rem;
}

.container {
  display: none;
  transform: translateY(-100%) scale(0);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background-color: var(--color-primary);
}

.active {
  display: block;
  animation: slideIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateY(0) scaleY(1);
}

@keyframes slideIn {
  0% {
    transform: translateY(-50px) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.contact-btn {
  background: none;
  color: white;
  border: none;
}

.controls {
  position: fixed;
  z-index: 100;
  top: 50%;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.controls .control {
  padding: 1rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.controls .control::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.controls .control:hover {
  transform: translateX(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.controls .control i {
  font-size: 1.1rem;
  color: var(--color-grey-2);
  pointer-events: none;
  transition: all 0.3s ease;
}

.controls .active-btn {
  background: var(--gradient-1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  transform: scale(1.1);
}

.controls .active-btn::before {
  opacity: 1;
}

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

.theme-btn {
  top: 2rem;
  right: 2rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.theme-btn:hover {
  transform: rotate(180deg) scale(1.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.theme-btn:active {
  transform: rotate(180deg) scale(0.95);
}

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

/*Header-content*/
.header-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 100vh;
  gap: 4rem;
  align-items: center;
  padding: 0 4rem;
}

.header-content .left-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.header-content .left-header .h-shape {
  display: none;
}

.header-content .left-header .image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.header-content .left-header .image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-1);
  opacity: 0.15;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.header-content .left-header .image:hover::before {
  opacity: 0.05;
}

.header-content .left-header .image::after {
  content: "";
  position: absolute;
  inset: -4px;
  background: var(--gradient-1);
  border-radius: 2rem;
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
  transition: all 0.3s ease;
}

.header-content .left-header .image:hover::after {
  opacity: 0.8;
  filter: blur(25px);
}

.header-content .left-header .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.5s ease;
  filter: grayscale(20%);
}

.header-content .left-header .image:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.header-content .right-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header-content .right-header .name {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.header-content .right-header .name span {
  display: block;
  font-size: 2.2rem;
  margin-top: 0.5rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-content .right-header p {
  margin: 1.5rem 0;
  line-height: 1.8;
  color: var(--color-grey-2);
  font-size: 1.05rem;
  max-width: 600px;
}

.header-content .right-header p strong {
  color: var(--color-secondary);
  font-weight: 600;
}
  padding-right: 18rem;
}

.header-content .right-header .name {
  font-size: 3rem;
}

.header-content .right-header .name span {
  color: var(--color-secondary);
}

.header-content .right-header p {
  margin: 1.5rem 0;
  line-height: 2rem;
}

/*About*/
.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding: 2rem 0 3rem;
}

.about-container .left-about {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.about-container .left-about:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-container .left-about h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.about-container .left-about strong {
  color: var(--color-secondary);
  font-weight: 600;
}

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

.about-container .right-about .about-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-container .right-about .about-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-container .right-about .about-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.about-container .right-about .about-item:hover::before {
  transform: scaleX(1);
}

.about-container .right-about .about-item .abt-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-container .right-about .about-item .abt-text .large-text {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.about-container .right-about .about-item .abt-text .small-text {
  font-size: 0.9rem;
  color: var(--color-grey-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

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

/* Skills Section */
.about-stats {
  padding: 3rem 0;
}

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

.about-stats .progress-bars .progress-bar {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.about-stats .progress-bars .progress-bar:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.about-stats .progress-bars .progress-bar .prog-title {
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-white);
  font-size: 0.95rem;
}

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

.about-stats .progress-bars .progress-bar .progress-con .prog-text {
  color: var(--color-secondary);
  font-weight: 600;
  min-width: 40px;
}

.about-stats .progress-bars .progress-bar .progress-con .progress {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.about-stats .progress-bars .progress-bar .progress-con .progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 10px;
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.5); }
  50% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.8); }
}

.about-stats .progress-bars .progress-bar .progress-con .progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 10px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stats .progress-bars .progress-bar .progress-con .progress .testing {
  width: 95%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .cypress {
  width: 90%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .html {
  width: 85%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .css {
  width: 90%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .js {
  width: 88%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .react {
  width: 92%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .node {
  width: 85%;
}

.about-stats .progress-bars .progress-bar .progress-con .progress .python {
  width: 80%;
}

.stat-title {
  font-size: 2rem;
  text-align: center;
  padding: 2rem 0 3rem;
  position: relative;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.light-mode .stat-title {
  -webkit-text-fill-color: unset;
  color: var(--color-secondary);
  background: none;
  background-clip: unset;
}

.stat-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--gradient-1);
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}
  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;
  font-weight: 700;
  color: var(--color-white);
}

.light-mode .stat-title {
  color: var(--color-primary-light);
}

.stat-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/*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: 2px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.light-mode .timeline .timeline-item {
  border-left-color: rgba(99, 102, 241, 0.3);
}

.timeline .timeline-item:hover {
  border-left-color: var(--color-secondary);
}

.timeline .timeline-item .tl-icon {
  position: absolute;
  left: -27px;
  top: 0;
  background: var(--gradient-1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.timeline .timeline-item .tl-icon i {
  font-size: 1.3rem;
  color: var(--color-white);
}

.timeline .timeline-item:hover .tl-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.timeline .timeline-item .tl-duration {
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.5px;
}

.light-mode .timeline .timeline-item .tl-duration {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.timeline .timeline-item h5 {
  padding: 1rem 0;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
}

.light-mode .timeline .timeline-item h5 {
  color: var(--color-primary-light);
}

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

.light-mode .timeline .timeline-item h5 span {
  color: var(--color-text-light);
}

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

.light-mode .timeline .timeline-item p {
  color: var(--color-text-light);
}

.timeline .timeline-item ul {
  list-style: disc;
  margin-top: 0.8rem;
  padding-left: 1.5rem;
  list-style-position: outside;
}

.timeline .timeline-item ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--color-grey-2);
  display: list-item;
}

.light-mode .timeline .timeline-item ul li {
  color: var(--color-text-light);
}

.timeline .timeline-item strong {
  color: var(--color-white);
  font-weight: 700;
}

.light-mode .timeline .timeline-item strong {
  color: var(--color-primary-light);
}

.port-text {
  padding: 2rem 0;
  text-align: center;
}

.portfolios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}

.portfolios .portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.portfolios .portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.4s ease-in-out;
}

.portfolios .portfolio-item .hover-items {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(168, 85, 247, 0.9) 100%);
  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;
  backdrop-filter: blur(5px);
}

.light-mode .portfolios .portfolio-item .hover-items {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(168, 85, 247, 0.95) 100%);
}

.portfolios .portfolio-item .hover-items h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.portfolios .portfolio-item .hover-items .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.portfolios .portfolio-item .hover-items .icons .icon {
  background-color: var(--color-white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.portfolios .portfolio-item .hover-items .icons .icon:hover {
  background: var(--gradient-1);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

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

.blogs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}

.blogs .blog {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

.light-mode .blogs .blog {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.blogs .blog-link {
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.blogs .blog:hover {
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  transition: all 0.4s ease-in-out;
}

.light-mode .blogs .blog:hover {
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.blogs .blog:hover img {
  filter: grayscale(0);
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.blogs .blog img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  filter: grayscale(80%);
  transition: all 0.4s ease-in-out;
}

.blogs .blog .blog-text {
  margin-top: -7px;
  padding: 1.5rem;
  border-top: 5px solid var(--gradient-1);
}

.blogs .blog .blog-text h4 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  color: var(--color-white);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.light-mode .blogs .blog .blog-text h4 {
  -webkit-text-fill-color: unset;
  color: var(--color-secondary);
  background: none;
  background-clip: unset;
}

.blogs .blog .blog-text h4:hover {
  opacity: 0.8;
}

.blogs .blog .blog-text p {
  color: var(--color-grey-2);
  line-height: 1.6;
  padding-bottom: 0.8rem;
  font-size: 0.95rem;
}

.light-mode .blogs .blog .blog-text p {
  color: var(--color-text-light);
}

.contact-content-con {
  display: flex;
  padding-top: 3.5rem;
  gap: 3rem;
}

.contact-content-con .left-contact {
  flex: 1;
}

.contact-content-con .left-contact h4 {
  margin-top: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.contact-content-con .left-contact p {
  margin: 1rem 0;
  line-height: 1.8;
  color: var(--color-grey-2);
}

.contact-content-con .left-contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-content-con .left-contact .contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.light-mode .contact-content-con .left-contact .contact-info .contact-item {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.15);
}

.contact-content-con .left-contact .contact-info .contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.light-mode .contact-content-con .left-contact .contact-info .contact-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.contact-content-con .left-contact .contact-info .contact-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--gradient-1);
  border-radius: 1rem;
  font-size: 1.3rem;
  color: var(--color-white);
}

.contact-content-con .left-contact .contact-info .contact-item .info-text {
  display: flex;
  flex-direction: column;
}

.contact-content-con .left-contact .contact-info .contact-item .info-label {
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.contact-content-con .left-contact .contact-info .contact-item .info-value {
  color: var(--color-grey-2);
  margin: 0.4rem 0 0 0;
  font-size: 0.95rem;
}

.contact-content-con .left-contact .contact-info .contact-item .info-value a {
  color: var(--color-secondary);
  transition: all 0.3s ease;
}

.contact-content-con .left-contact .contact-info .contact-item .info-value a:hover {
  text-decoration: underline;
  color: var(--color-accent);
}

.social-connect {
  margin-top: 2.5rem;
}

.social-connect .social-label {
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-content-con .left-contact .contact-icon {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-content-con .left-contact .contact-icon a {
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-mode .contact-content-con .left-contact .contact-icon a {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--color-secondary);
}

.contact-content-con .left-contact .contact-icon a:hover {
  background: var(--gradient-1);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  color: var(--color-white);
}

.light-mode .contact-content-con .left-contact .contact-icon a:hover {
  color: var(--color-white);
}

.contact-content-con .left-contact .contact-icon a i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-content-con .right-contact {
  flex: 1;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-mode .contact-form-wrapper {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.15);
}

.contact-form-wrapper .form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-mode .contact-form-wrapper .form-title {
  -webkit-text-fill-color: unset;
  color: var(--color-secondary);
  background: none;
  background-clip: unset;
}

.contact-content-con .right-contact .input-control {
  margin: 1.5rem 0;
}

.contact-content-con .right-contact .input-control input,
.contact-content-con .right-contact .input-control textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  resize: none;
  box-sizing: border-box;
}

.light-mode .contact-content-con .right-contact .input-control input,
.light-mode .contact-content-con .right-contact .input-control textarea {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--color-text-light);
}

.contact-content-con .right-contact .input-control input::placeholder,
.contact-content-con .right-contact .input-control textarea::placeholder {
  color: var(--color-grey-3);
}

.light-mode .contact-content-con .right-contact .input-control input::placeholder,
.light-mode .contact-content-con .right-contact .input-control textarea::placeholder {
  color: var(--color-grey-light);
}

.contact-content-con .right-contact .input-control input:focus,
.contact-content-con .right-contact .input-control textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.light-mode .contact-content-con .right-contact .input-control input:focus,
.light-mode .contact-content-con .right-contact .input-control textarea:focus {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-content-con .right-contact .i-c-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-content-con .right-contact .submit-btn {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

/*Independed components*/
.btn-con {
  display: flex;
  align-self: flex-start;
}

.main-btn {
  padding: 0.9rem 2.5rem;
  background: var(--gradient-1);
  color: var(--color-white);
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.main-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.main-btn:hover::before {
  opacity: 1;
}

.main-btn:active {
  transform: translateY(-1px);
}

.main-btn .btn-text {
  position: relative;
  z-index: 1;
}

.main-btn .btn-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn {
  background: none;
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.main-title {
  text-align: center;
}

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

.light-mode .main-title h2 {
  color: var(--color-primary-light);
}

.main-title h2 span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-title h2 .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color-grey-5);
  transition: all 0.4s ease-in-out;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 6.3rem;
  opacity: 0.07;
}

.light-mode .main-title h2 .bg-text {
  color: var(--color-grey-light);
  opacity: 0.15;
}

.about-container .left-about p {
  padding-left: 0;
}

/* Tablet and below - 900px */
@media screen and (max-width: 900px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding: 5rem 3rem !important;
  }

  .header-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 2rem;
    min-height: auto;
  }

  .header-content .left-header .image {
    max-width: 350px;
  }

  .header-content .right-header {
    padding-right: 0 !important;
    text-align: center;
  }

  .header-content .right-header .name {
    font-size: 2.8rem !important;
  }

  .header-content .right-header .name span {
    font-size: 2rem;
  }

  .header-content .right-header p {
    max-width: 100%;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .about-stats .progress-bars {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

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

  .blogs {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

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

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

/* Mobile landscape - 768px */
@media screen and (max-width: 768px) {
  .container {
    padding: 4rem 2rem !important;
  }

  .header-content {
    padding: 0 1.5rem;
  }

  .header-content .right-header .name {
    font-size: 2.5rem !important;
  }

  .header-content .right-header .name span {
    font-size: 1.8rem;
  }

  .about-container .left-about {
    padding: 2rem;
  }

  .about-container .right-about .about-item {
    padding: 1.5rem;
  }

  .timeline-item {
    padding-left: 3rem;
  }

  .timeline-item .tl-icon {
    width: 45px;
    height: 45px;
    left: -22.5px;
  }

  .theme-btn {
    width: 50px;
    height: 50px;
    top: 1.5rem;
    right: 1.5rem;
  }

  .theme-btn i {
    font-size: 1.2rem;
  }
}

/* Mobile portrait - 600px */
@media screen and (max-width: 600px) {
  header {
    padding: 0 !important;
  }

  body {
    font-size: 0.95rem;
  }

  .theme-btn {
    width: 45px;
    height: 45px;
    top: 1rem;
    right: 1rem;
  }

  .theme-btn i {
    font-size: 1.1rem;
  }

  .header-content {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    padding-bottom: 6rem;
    gap: 2rem;
    min-height: calc(100vh - 6rem);
  }

  .left-header .h-shape {
    display: none;
  }

  .right-header {
    grid-row: 1;
    padding-right: 0rem !important;
    width: 100%;
    margin: 0 auto;
  }

  .right-header .name {
    font-size: 2rem !important;
    text-align: center;
    padding-top: 2rem;
    line-height: 1.3;
  }

  .right-header .name span {
    font-size: 1.5rem !important;
    margin-top: 0.5rem;
  }

  .header-content .right-header p {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    margin: 1rem 0;
  }

  .header-content .left-header .image {
    margin: 0 auto;
    width: 100%;
    max-width: 280px;
  }

  .btn-con {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .main-btn {
    font-size: 0.9rem;
    padding: 0.8rem 2rem;
  }

  .controls {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    transform: none;
    background-color: var(--color-grey-5);
    backdrop-filter: blur(10px);
    padding: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .controls .control {
    margin: 0 0.5rem;
    width: 45px;
    height: 45px;
  }

  .controls .control i {
    font-size: 1rem;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-container .right-about {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    gap: 1rem;
  }

  .about-container .left-about {
    padding: 1.5rem;
  }

  .about-container .left-about h4 {
    font-size: 1.5rem;
  }

  .about-container .left-about p {
    padding-left: 0;
    font-size: 0.95rem;
  }

  .about-container .right-about .about-item {
    padding: 1.5rem;
  }

  .about-container .right-about .about-item .abt-text .large-text {
    font-size: 2.5rem;
  }

  .about-container .right-about .about-item .abt-text .small-text {
    font-size: 0.85rem;
  }

  .timeline {
    grid-template-columns: 1fr;
    padding-bottom: 6rem;
  }

  .timeline-item {
    padding-left: 2.5rem;
  }

  .timeline-item .tl-icon {
    width: 40px;
    height: 40px;
    left: -20px;
  }

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

  .timeline-item .tl-duration {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
  }

  .timeline-item h5 {
    font-size: 1.1rem;
  }

  .timeline-item p {
    font-size: 0.9rem;
  }

  .container {
    padding: 3rem 1.5rem !important;
  }

  .about-stats {
    padding: 2rem 0;
  }

  .about-stats .stat-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .about-stats .progress-bars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-stats .progress-bars .progress-bar {
    padding: 1.2rem;
  }

  .about-stats .progress-bars .progress-bar .prog-title {
    font-size: 0.9rem;
  }

  .portfolios {
    grid-template-columns: 1fr;
    padding-bottom: 6rem;
    margin-top: 1rem;
    gap: 1.5rem;
  }

  .portfolio-item .hover-items h3 {
    font-size: 1.3rem;
  }

  .portfolio-item .hover-items p {
    font-size: 0.85rem !important;
  }

  .blogs {
    grid-template-columns: 1fr;
    padding-bottom: 6rem;
    gap: 1.5rem;
  }

  .blog {
    border-radius: 1rem;
  }

  .blog .blog-text h4 {
    font-size: 1.1rem;
  }

  .blog .blog-text p {
    font-size: 0.9rem;
  }

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

  .contact-content-con .left-contact {
    margin-bottom: 2rem;
  }

  .contact-content-con .left-contact h4 {
    font-size: 1.5rem;
  }

  .contact-content-con .left-contact p {
    font-size: 0.95rem;
  }

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

  .contact-content-con .right-contact .form-title {
    font-size: 1.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .contact-item {
    flex-direction: column;
    margin: 1rem 0;
    text-align: center;
  }

  .contact-item .icon {
    margin-bottom: 0.5rem;
  }

  .contact-item p {
    font-size: 0.9rem;
    color: var(--color-grey-2);
  }

  .contact-item span {
    font-size: 0.9rem;
  }

  .contact-icon {
    justify-content: center;
  }

  .contact-icon a {
    width: 45px;
    height: 45px;
  }

  .contact-icon a i {
    font-size: 1.2rem;
  }

  .input-control input,
  .input-control textarea {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .main-title {
    margin-bottom: 2rem;
  }

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

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

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

  .port-text {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
}

/* Small mobile - 480px */
@media screen and (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  .container {
    padding: 2.5rem 1.2rem !important;
  }

  .header-content {
    padding: 0 1.2rem;
    padding-bottom: 5rem;
  }

  .right-header .name {
    font-size: 1.8rem !important;
  }

  .right-header .name span {
    font-size: 1.3rem !important;
  }

  .header-content .right-header p {
    font-size: 0.9rem;
  }

  .header-content .left-header .image {
    max-width: 250px;
  }

  .theme-btn {
    width: 40px;
    height: 40px;
    top: 0.8rem;
    right: 0.8rem;
  }

  .theme-btn i {
    font-size: 1rem;
  }

  .controls {
    padding: 0.6rem;
  }

  .controls .control {
    margin: 0 0.3rem;
    width: 40px;
    height: 40px;
  }

  .controls .control i {
    font-size: 0.95rem;
  }

  .main-btn {
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem;
  }

  .about-container .left-about {
    padding: 1.2rem;
  }

  .about-container .left-about h4 {
    font-size: 1.3rem;
  }

  .about-container .left-about p {
    font-size: 0.9rem;
  }

  .about-container .right-about .about-item {
    padding: 1.2rem;
  }

  .about-container .right-about .about-item .abt-text .large-text {
    font-size: 2.2rem;
  }

  .about-container .right-about .about-item .abt-text .small-text {
    font-size: 0.8rem;
  }

  .about-stats .stat-title {
    font-size: 1.3rem;
  }

  .about-stats .progress-bars .progress-bar {
    padding: 1rem;
  }

  .about-stats .progress-bars .progress-bar .prog-title {
    font-size: 0.85rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-item .tl-icon {
    width: 35px;
    height: 35px;
    left: -17.5px;
  }

  .timeline-item .tl-duration {
    font-size: 0.8rem;
  }

  .timeline-item h5 {
    font-size: 1rem;
  }

  .timeline-item h5 span {
    font-size: 0.9rem;
  }

  .timeline-item p {
    font-size: 0.85rem;
  }

  .timeline-item ul li {
    font-size: 0.85rem;
  }

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

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

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

  .portfolio-item .hover-items h3 {
    font-size: 1.2rem;
  }

  .portfolio-item .hover-items p {
    font-size: 0.8rem !important;
  }

  .blog .blog-text h4 {
    font-size: 1rem;
  }

  .blog .blog-text p {
    font-size: 0.85rem;
  }

  .contact-content-con .left-contact h4,
  .contact-content-con .right-contact .form-title {
    font-size: 1.3rem;
  }

  .contact-item p {
    font-size: 0.85rem;
  }

  .contact-icon a {
    width: 40px;
    height: 40px;
  }

  .contact-icon a i {
    font-size: 1.1rem;
  }

  .input-control input,
  .input-control textarea {
    font-size: 0.9rem;
  }
}

/* Extra small mobile - 375px */
@media screen and (max-width: 375px) {
  .container {
    padding: 2rem 1rem !important;
  }

  .header-content {
    padding: 0 1rem;
    padding-bottom: 4.5rem;
  }

  .right-header .name {
    font-size: 1.6rem !important;
  }

  .right-header .name span {
    font-size: 1.2rem !important;
  }

  .header-content .left-header .image {
    max-width: 220px;
  }

  .main-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

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

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

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

  .about-container .right-about .about-item .abt-text .large-text {
    font-size: 2rem;
  }

  .controls .control {
    width: 38px;
    height: 38px;
  }
}

@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;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

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

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

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

  .header-content .right-header {
    padding-right: 9rem;
  }
}

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

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

@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: 4rem;
  }

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

  .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 {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .left-header .h-shape {
    display: none;
  }

  .left-header .image {
    width: 90% !important;
    margin: 0 auto !important;
  }

  .right-header {
    grid-row: 1;
    padding-right: 0rem !important;
    width: 90%;
    margin: 0 auto;
  }

  .right-header .name {
    font-size: 2.5rem !important;
    text-align: center;
    padding-top: 3rem;
  }
}

@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);
  }

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

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

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

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  margin: 0.5rem 0;
  min-height: 1.2rem;
  color: var(--color-grey-2);
  font-weight: 500;
}

.light-mode .form-status {
  color: var(--color-text-light);
}

.form-status.success {
  color: #27ae60;
  text-shadow: 0 0 10px rgba(39, 174, 96, 0.2);
}

.form-status.error {
  color: #e74c3c;
  text-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

/* ========================================
   Performance Optimizations for Mobile
   ======================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimize for touch devices */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .portfolio-item .hover-items {
    opacity: 1;
    transform: translateY(0);
  }
  
  .portfolio-item {
    margin-bottom: 1rem;
  }
  
  /* Make touch targets larger */
  .controls .control {
    min-width: 44px;
    min-height: 44px;
  }
  
  .theme-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .contact-icon a {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Disable hover animations on touch devices */
  .about-container .left-about:hover,
  .about-container .right-about .about-item:hover,
  .timeline-item:hover {
    transform: none;
  }
}

/* Landscape orientation on mobile */
@media screen and (max-width: 900px) and (orientation: landscape) {
  .header-content {
    min-height: auto;
    padding: 2rem 1.5rem;
  }
  
  section {
    min-height: auto;
  }
  
  .controls {
    padding: 0.4rem;
  }
  
  .controls .control {
    margin: 0 0.2rem;
    width: 40px;
    height: 40px;
  }
}

/* Print styles */
@media print {
  .controls,
  .theme-btn {
    display: none !important;
  }
  
  body::before {
    display: none;
  }
  
  .container {
    display: block !important;
  }
}

/*# sourceMappingURL=styles.css.map */