:root {
  --primary-color: #7f75f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-lighter: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-dark: #111827;
  --bg-darker:#000;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #fbbf24);
  --border-radius: 0.75rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Icon-Styles */


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Texts */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}


/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--bg-dark);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Container */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* Navigation Bar */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-text{
  color: var(--bg-dark);
  text-decoration: none;
}

.accent {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #faf8fc 0%, #d0c5da 100%);

}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.greeting {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-title {
  margin-bottom: 1rem;
}

.name-highlight {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(-135deg, var(--text-secondary),var(--primary-light) );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  height: 50px;
}

.typing-text {
  width: 12ch;
  white-space: nowrap;
  overflow: hidden;
  /* border-right: 3px solid; */
  font-size: 2rem;
  font-weight: bold;
  animation: typing 2s steps(22), blink .5s step-end infinite alternate;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link svg{
  transition: var(--transition);
  fill: var(--text-secondary);
}

svg{
  width: 20px;
  display: block;
  text-align: center;
  margin: auto;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: white;
  color: var(--text-secondary);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.social-link:hover svg{
  fill: var(--text-lighter);

}

.social-link:hover{
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image {
  position: relative;
  width: 400px;
  height: 400px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-xl);
  border: 8px solid white;
}


.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.floating-element svg{
  width: 2rem;
}

.element-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 20%;
  left: -10%;
  animation-delay: 0.5s;
}

.element-3 {
  bottom: 30%;
  right: -5%;
  animation-delay: 1s;
}

.element-4 {
  bottom: 10%;
  left: 5%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Section styles */

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  padding: 0 5rem;
  margin-bottom: 4rem;
}

.section-tag , .section-tag-dark {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--text-lighter);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
}

.section-tag-dark{
  background: none;
  border: 2px solid var(--primary-color);
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-title-dark
{
  color: var(--text-lighter);
}

.section-description {
  font-size: 1.125rem;
  max-width: 400px;
  color: var(--text-secondary);
  margin: 0 auto;
}

/* Projects Section */

.projects {
  background: var(--bg-darker);
}

.projects svg{
  width: 20px;
  transition: var(--transition);
  fill: var(--primary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 20px 20px 22px rgba(0, 0, 0, 0.2);
}


.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);

}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 7, 12, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.project-card:hover .project-overlay {
  opacity: 1;
  transform: scale(1.1);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.project-link:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.project-link:hover svg{
  fill: var(--text-lighter);
  transition: var(--transition);
}

.project-content {
  padding: 2rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: var(--bg-dark);
  color: var(--primary-color);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}


/* Why Choose Me Section */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.feature-icon svg{
  width: 3rem;
  fill: var(--text-lighter);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
}


/* Skills Section */


.skills {
  background: var(--bg-darker);
  color: white;
}

.section-tag-dark {
  border: 2px solid var(--primary-color);
  background: none;
}

.skills-content {
  display: grid;
  align-items: flex-start;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.skills-list {
  gap: 5rem;
  display: flex;
  width: 100%;
  padding-top: 2rem;
  flex-direction: column;
}

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

.skill-header{
  grid-column: span 2;
}

.skill-header h2{
  margin: 15px 0 0 0;
}

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 1.5rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.skill-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
}

.skill-name {
  font-weight: 500;
  font-size: 1.125rem;
}

.skill-percentage {
  font-weight: 600;
  color: var(--primary-light);
}

.skill-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  width: var(--progress);
  animation: fillSkill 2s ease-out;
}

.skills svg{
  width: 24px;
  fill: var(--primary-color);
}

/* .doodles img{
  width: 100%;
  height: 300px;
} */

@keyframes fillSkill {
  from { width: 0; }
}

.skills-visual {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.skills-image .floating-element{
  color: var(--primary-color);
}

.skills-image{
  padding: 2rem;
}

.skills-image .floating-element{
  border-radius: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


.skills-image .element-1{
  top: -5%;
}

.skills-image .element-2{
  top: 20%;
}

.skills-image img {
  width: 350px;
  object-fit: cover;
}

.skills-description {
  font-size: 1.125rem;
  line-height: 1.7;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}


/* Contact Section */

.contact {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-visual img {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.contact-icon svg{
  width: 26px;
  fill: var(--text-lighter);
}

.contact-text h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-text p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.form-header h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer-Section */

.footer {
  background: var(--bg-darker);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
}

.footer-logo .logo-text{
    color: var(--text-lighter);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social .social-link {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.footer-social .social-link:hover {
  background: var(--primary-color);
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  cursor: pointer;
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
    padding: 0 3rem;
  }
  
  .nav-container {
    max-width: 1400px;
    padding: 0 3rem;
  }
  
  .hero-container {
    max-width: 1400px;
    padding: 0 3rem;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .hero-content {
    gap: 3rem;
  }
  
  .hero-image {
    width: 350px;
    height: 350px;
  }
  
  .skills-content {
    gap: 3rem;
  }
  
  .contact-content {
    gap: 3rem;
  }
}

/* Tablet */
@media (max-width: 968px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-image {
    width: 300px;
    height: 300px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .skills-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .skills-visual {
    order: -1;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  section {
    padding: 80px 0;
  }
}

/* Mobile Large */
@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }
  
  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
    width: 250px;
    padding: 1.5rem;
  }
  
  .hero {
    padding: 90px 0 50px;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .hero-image {
    width: 250px;
    height: 250px;
  }
  
  .floating-element {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-image {
    height: 200px;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .skills-list {
    gap: 1.5rem;
  }
  
  .skill-grid{
    gap: 1rem;
  }

  .skill-item {
    padding: 1.25rem;
  }
  
  .skills-image img {
    width: 250px;
  }

  .skills-description{
    padding: 1.3rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .nav-container {
    padding: 0 0.75rem;
  }
  
  .hero-container {
    padding: 0 0.75rem;
  }
  
  .hero-image {
    width: 200px;
    height: 200px;
  }
  
  .floating-element {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .project-content {
    padding: 1.25rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .contact-item {
    padding: 1.25rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  section {
    padding: 50px 0;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .nav-menu {
    width: 200px;
    padding: 1rem;
  }
  
  .hero-buttons {
    gap: 0.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .projects-grid {
    gap: 1rem;
  }
  
  .features-grid {
    gap: 1rem;
  }
  
  .skills-list {
    gap: 1rem;
  }
  
  .contact-details {
    gap: 1rem;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .hero-image {
    width: 200px;
    height: 200px;
  }
  
  .nav-menu {
    height: calc(100vh - 60px);
    top: 60px;
  }
  
  .nav-container {
    height: 60px;
  }
  
  section {
    padding: 40px 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hamburger,
  .hero-buttons,
  .social-links,
  .contact-form,
  .footer-social {
    display: none;
  }
  
  .hero {
    padding: 2rem 0;
    background: white;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .project-overlay,
  .project-links {
    display: none;
  }
  
  * {
    box-shadow: none !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .typing-text {
    animation: none;
    border-right: none;
  }
  
  .floating-element {
    animation: none;
  }
}

/* Focus Styles */
.btn:focus,
.social-link:focus,
.project-link:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
