/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* cursor: url(/images/icons8-arrow-27.png), auto; */
}

*::selection {
  background-color: var(--dark);
  color: #d19a52;
}

:root {
  --primary: #8b4513;
  --secondary: #d19a52;
  --accent: #ff6b35;
  --dark: #2b2b2b;
  --light: #f5f5f5;
  --text: #333;
  --text-light: #f5f5f5;
  --border: #d2b48c;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-hover: linear-gradient(135deg, var(--secondary), var(--accent));
}

[data-theme="dark"] {
  --primary: #ff8c42;
  --secondary: #d19a52;
  --accent: #ff6b35;
  --dark: #121212;
  --light: #1e1e1e;
  --text: #e0e0e0;
  --text-light: #ffffff;
  --border: #636363;
  --shadow: rgba(255, 255, 255, 0.1);
  --shadow-dark: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] h1 {
  color: var(--text-light);
}

[data-theme="dark"] .skill-tag {
  color: var(--dark);
  /* Ensure contrast for skill tags in dark mode */
}

body {
  font-family: "Montserrat", sans-serif;
  /* Modern, clean font */
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  transition: var(--transition);
}

/* Global safeguards to prevent overflow on very small screens */
img,
picture,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent long words/strings from creating horizontal scroll */
p,
h1,
h2,
h3,
h4,
h5,
.project-title,
.project-desc,
.cta-btn {
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ensure nav links don't push past the viewport on tiny devices */
.nav-links a:last-child {
  margin-right: 0;
}

/* Particle background removed */

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-hover);
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(3%, 5vw, 5%);
  /* Responsive padding */
  background: rgba(44, 62, 80, 0.9);
  /* Dark Slate Blue, slightly opaque */
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(12px);
  /* Stronger blur */
  color: var(--text-light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 2px solid var(--border);
  transition: var(--transition);
  max-height: 85px;
}

.navbar.scrolled {
  padding: 0.7rem 5%;
  box-shadow: 0 6px 25px var(--shadow-dark);
  /* Enhanced shadow */
}

.logo {
  font-family: Montserrat;
  /* Keep Bebas Neue for logo */
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 2px;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  margin-left: -30px;
}

.logo:hover {
  transform: scale(1.05);
  /* Zoom effect on hover */
}

.logo a {
  text-decoration: none;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.logo strong {
  color: var(--text-light);
  transition: var(--transition);
}

.logo:hover a,
.logo:hover strong {
  color: #ffd700;
  /* Gold color on hover */
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
  /* Gold glow */
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  /* Increased gap */
}

.theme-toggle {
  background: none;
  border: 2px solid var(--border);
  color: var(--text-light);
  padding: clamp(0.5rem, 1vw, 0.6rem);
  /* Responsive padding */
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  /* Responsive icon size */
  width: clamp(40px, 6vw, 50px);
  /* Responsive size */
  height: clamp(40px, 6vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--shadow);
}

.theme-toggle:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: rotate(360deg) scale(1.1);
  /* Full rotation and slight scale */
  box-shadow: 0 5px 15px var(--shadow-dark);
}

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  /* Responsive gap */
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  /* Bolder font */
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: var(--transition);
  padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(0.4rem, 1vw, 0.5rem);
  /* Responsive padding */
  position: relative;
  border-radius: 12px;
  /* More rounded corners */
  overflow: hidden;
}

.nav-links a:last-child {
  margin-right: -50px;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transition: var(--transition);
  z-index: -1;
  transform: skewX(-20deg);
  /* Skew effect */
  transform-origin: bottom left;
}

.nav-links a:hover::before {
  left: 0;
  transform: skewX(0deg);
  /* Straighten on hover */
}

.nav-links a:hover {
  color: white;
  transform: translateY(-3px);
  /* More pronounced lift */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 7px;
  /* Increased gap */
  z-index: 1001;
  padding: 0.5rem;
}

.hamburger div {
  width: 35px;
  /* Wider bars */
  height: 4px;
  /* Thicker bars */
  background-color: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active div:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  /* Adjusted transform */
  background-color: var(--secondary);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  /* Adjusted transform */
  background-color: var(--secondary);
}

/* Section Styles */
section {
  padding: 100px 5%;
  /* More vertical padding */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}

section:nth-child(odd) {
  background-color: var(--light);
}

section:nth-child(even) {
  background: linear-gradient(
    135deg,
    var(--light) 0%,
    rgba(179, 125, 56, 0.1) 100%
  );
  /* Adjusted based on new primary */
}

h1 {
  font-family: "Playfair Display", serif;
  /* Keep Playfair Display */
  font-size: clamp(2rem, 6vw, 3.2rem);
  /* Responsive font size */
  color: var(--dark);
  margin-bottom: 35px;
  /* More margin */
  position: relative;
  display: inline-block;
  overflow: hidden;
}

h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  /* Lower position */
  height: 4px;
  /* Thicker line */
  width: 0;
  background: var(--gradient);
  transition: var(--transition-slow);
  transform: translateX(-50%);
}

h1.animate::after {
  width: 100px;
  /* Longer line */
}

p {
  font-family: "Roboto", sans-serif;
  /* Use Roboto for body text */
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  /* Responsive font size */
  color: var(--text);
  line-height: 1.8;
  max-width: clamp(300px, 90vw, 800px);
  margin: 0 auto 25px;
  /* More margin */
}

/* Home Section - Centered with more dynamic background */
#home {
  background: linear-gradient(
      rgba(236, 240, 241, 0.85),
      rgba(236, 240, 241, 0.85)
    ),
    url("/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
}

[data-theme="dark"] #home {
  background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)),
    url("/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.intro-text {
  max-width: 900px;
  animation: fadeInScale 1s ease-out;
  /* New animation */
  z-index: 2;
  position: relative;
  margin: 0 auto;
  margin-top: 70px;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.intro-text h1 {
  font-size: clamp(2.5rem, 8vw, 4.4rem);
  /* Responsive font size */
  margin: 0 0 15px 0;
  font-family: "Poppins", sans-serif;
  /* Poppins for headings */
  background: linear-gradient(to bottom, #8b4513, #d19a52);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.intro-text p {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  /* Responsive paragraph text */
  margin-bottom: 40px;
  opacity: 0;
  max-width: 750px;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  line-height: 1.5;
}

#high-light {
  font-family: cinzel;
  font-weight: bold;
  font-style: italic;
  background: linear-gradient(to bottom, var(--primary), #ff6b35);
  /* Updated highlight gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] #high-light {
  background: linear-gradient(to right, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Shining CTA Button */
.cta-btn {
  display: inline-flex;
  /* Use flex for icon alignment */
  align-items: center;
  gap: clamp(8px, 2vw, 10px);
  padding: clamp(14px, 3vw, 18px) clamp(30px, 6vw, 40px);
  /* Responsive padding */
  background: rgba(255, 255, 255, 0.2);
  /* More transparent glass */
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  /* Stronger blur */
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* Stronger border */
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  /* Bolder text */
  transition: var(--transition);
  border-radius: 30px;
  /* More rounded */
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  /* Enhanced shadow */
  text-transform: uppercase;
  /* Uppercase text */
  letter-spacing: 1px;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  /* Start further left */
  width: 50%;
  /* Smaller shine width */
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  /* Brighter shine */
  transition: none;
  /* No transition for this, will use animation */
  z-index: -1;
  transform: skewX(-30deg);
  /* More pronounced skew */
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -2;
  border-radius: 30px;
}

.cta-btn:hover::before {
  animation: shine 0.7s forwards;
  /* Faster shine on hover */
}

.cta-btn:hover::after {
  opacity: 0.9;
  /* More opaque background on hover */
}

.cta-btn:hover {
  transform: translateY(-7px) scale(1.02);
  /* More lift and slight scale */
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--text-light);
  /* Text color changes on hover */
}

@keyframes shine {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

/* Education Section - Simple Cards */
.edu-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: clamp(300px, 90vw, 900px);
  width: 100%;
  margin: 0 auto;
}

.edu-box {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  padding: clamp(20px, 4vw, 30px);
  border-left: 5px solid var(--primary);
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.edu-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-dark);
  border-left-color: var(--accent);
}

.edu-box h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 600;
}

.edu-box p {
  color: var(--text);
  opacity: 0.8;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Dark mode adjustments */
[data-theme="dark"] .edu-box {
  background: rgba(30, 30, 30, 0.95);
  border-color: var(--primary);
}

[data-theme="dark"] .edu-box h3 {
  color: var(--text-light);
}

[data-theme="dark"] .edu-box p {
  color: var(--text-light);
  opacity: 0.9;
}

/* About Me Section */
.about-me-container {
  max-width: clamp(320px, 95vw, 1200px);
  margin: 0 auto;
}

.about-content {
  width: 100%;
  text-align: center;
}

.about-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 1000px;
  color: var(--text);
}

.about-image {
  flex-shrink: 0;
  order: 2;
}

.about-image img {
  width: clamp(250px, 40vw, 400px);
  height: clamp(250px, 40vw, 400px);
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 10px 40px var(--shadow-dark);
  border: 5px solid var(--border);
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-image img:hover {
  transform: scale(1.05) rotateY(15deg) rotateX(5deg);
  box-shadow: 0 20px 60px var(--shadow-dark), 0 0 30px rgba(139, 69, 19, 0.3);
}

.stats-container {
  margin-top: clamp(30px, 5vw, 50px);
  max-width: clamp(320px, 95vw, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-box {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px var(--shadow);
  transition: var(--transition);
  border: 2px solid var(--border);
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-width: 200px;
}

.stat-box.long {
  flex: 2;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-dark);
  border-color: var(--primary);
}

.stat-box h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 10px;
  color: var(--dark);
  font-weight: 700;
}

.stat-box p {
  color: var(--text);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.6;
}

/* Dark mode adjustments for About Me section */
[data-theme="dark"] .about-content p {
  color: var(--text-light);
}

[data-theme="dark"] .stat-box {
  background: rgba(30, 30, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-box h1 {
  color: var(--text-light);
}

[data-theme="dark"] .stat-box p {
  color: var(--text-light);
}

/* What I Do Section */
.what-i-do-container {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 3vw, 20px);
  max-width: clamp(300px, 95vw, 100%);
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 20px);
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: clamp(25px, 5vw, 40px) clamp(20px, 4vw, 30px);
  text-align: center;
  transition: var(--transition);
  border: 3px solid var(--border);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  background-size: 400% 400%;
  border-radius: 15px;
  z-index: -1;
  animation: borderGlow 3s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 10px 25px var(--shadow);
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.service-card h1 {
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

/* Dark mode adjustments for What I Do section */
[data-theme="dark"] .service-card {
  background: rgba(30, 30, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .service-card h1 {
  color: var(--text-light);
}

/* Skills Section */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(15px, 3vw, 20px);
  /* Responsive gap */
  max-width: clamp(300px, 95vw, 1000px);
  /* Responsive container */
  justify-content: center;
}

.skill-tag {
  padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 28px);
  /* Responsive padding */
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border);
  /* Softer border */
  border-radius: 30px;
  /* More rounded */
  transition: var(--transition);
  cursor: default;
  font-weight: 600;
  /* Bolder font */
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 10px);
  /* Responsive gap */
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  /* Subtle shadow */
}

.skill-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transition: var(--transition);
  z-index: -1;
}

.skill-tag:hover::before {
  left: 0;
}

.skill-tag i,
.skill-tag img {
  /* Apply to img too for consistency */
  color: var(--primary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  /* Responsive icon size */
  transition: var(--transition);
}

.skill-tag:hover {
  transform: translateY(-10px) scale(1.05);
  /* More pronounced lift and scale */
  box-shadow: 0 15px 30px var(--shadow-dark);
  /* Stronger shadow */
  color: white;
  /* Text color on hover */
  border-color: transparent;
  /* No border on hover */
}

.skill-tag:hover i,
.skill-tag:hover img {
  color: white;
  transform: rotate(360deg);
}

/* Projects Section */
.projects-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(clamp(320px, 30vw, 380px), 1fr)
  );
  /* Responsive min width for cards */
  gap: clamp(20px, 3vw, 35px);
  /* Responsive gap */
  width: 100%;
  max-width: clamp(320px, 95vw, 1200px);
}

.project-card {
  background: rgba(255, 255, 255, 0.98);
  /* Almost opaque */
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  /* Stronger blur */
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow);
  /* Enhanced shadow */
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  /* More rounded */
  position: relative;
  border: 1px solid var(--border);
  /* Add a border */
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
  border-radius: 25px;
}

.project-card:hover::before {
  opacity: 0.15;
  /* More visible gradient overlay */
}

.project-card:hover {
  transform: translateY(-18px) rotateX(3deg);
  /* More lift and rotation */
  box-shadow: 0 30px 60px var(--shadow-dark);
  /* Much stronger shadow */
  border-color: var(--primary);
  /* Highlight border */
}

.project-img {
  width: 100%;
  height: clamp(180px, 25vw, 250px);
  /* Responsive image height */
  position: relative;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover .project-img img {
  transform: scale(1.2) rotate(3deg);
  /* More zoom and rotation */
}

.project-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--primary), transparent 70%);
  /* Stronger gradient overlay */
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-img::after {
  opacity: 0.4;
  /* More visible overlay */
}

.project-content {
  padding: clamp(20px, 4vw, 30px);
  /* Responsive padding */
  flex-grow: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  /* Responsive title */
  margin-bottom: 12px;
  color: var(--dark);
  font-weight: 700;
  /* Bolder */
  font-family: "Lora", serif;
  transition: var(--transition);
}

.project-card:hover .project-title {
  color: var(--primary);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 10px);
  /* Responsive gap */
  margin-bottom: 20px;
}

.tech-tag {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  /* Responsive font size */
  padding: clamp(4px, 1vw, 6px) clamp(10px, 2vw, 14px);
  /* Responsive padding */
  background: var(--gradient);
  color: white;
  border-radius: 6px;
  /* Slightly more rounded */
  transition: var(--transition);
  font-weight: 500;
}

.project-card:hover .tech-tag {
  transform: translateY(-2px) scale(1.05);
  /* Lift and scale */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-desc {
  font-size: clamp(0.9rem, 2vw, 1rem);
  /* Responsive description */
  color: #555;
  /* Slightly darker for readability */
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 2vw, 10px);
  padding: clamp(12px, 3vw, 14px) clamp(20px, 5vw, 28px);
  /* Responsive padding */
  background: var(--gradient);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  border-radius: 30px;
  /* More rounded */
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-dark);
  /* Initial shadow */
}

.project-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-hover);
  transition: var(--transition);
  z-index: -1;
}

.project-link:hover::before {
  left: 0;
}

.project-link:hover {
  transform: translateY(-5px);
  /* More lift */
  box-shadow: 0 12px 25px var(--shadow-dark);
  /* Stronger shadow */
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 50px);
  /* Responsive gap */
  max-width: clamp(300px, 90vw, 900px);
  width: 100%;
}

.social-links {
  display: flex;
  gap: clamp(15px, 4vw, 25px);
  /* Responsive gap */
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(55px, 8vw, 75px);
  /* Responsive size */
  height: clamp(55px, 8vw, 75px);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: var(--dark);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  /* Responsive icon size */
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 20px var(--shadow);
  border: 1px solid var(--border);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transform: scale(0);
  transition: var(--transition);
  border-radius: 50%;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover {
  transform: translateY(-12px) rotate(360deg) scale(1.05);
  /* More lift, rotation and scale */
  color: white;
  box-shadow: 0 20px 40px var(--shadow-dark);
  border-color: transparent;
}

.social-link i {
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 50px 5%;
  /* More padding */
  text-align: center;
  border-top: 3px solid var(--border);
  /* Thicker border */
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vw, 30px);
  /* Responsive gap */
}

.footer-logo {
  font-weight: bold;
  font-style: italic;
  font-family: "Dancing Script", cursive;
  /* Keep Dancing Script */
  font-size: clamp(2rem, 5vw, 5.8rem);
  /* Responsive font */
  color: var(--secondary);
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.1);
  /* More pronounced scale */
  text-shadow: 0 0 25px var(--secondary);
}

.footer-logo strong {
  color: var(--text-light);
  font-weight: lighter;
}

.footer-links {
  display: flex;
  gap: clamp(20px, 4vw, 30px);
  /* Responsive gap */
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
  /* Responsive padding */
  border-radius: 12px;
  position: relative;
  font-weight: 500;
}

.footer-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  border-radius: 12px;
  z-index: -1;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-links a:hover {
  color: white;
  transform: translateY(-3px);
  /* More lift */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.copyright {
  margin-top: 25px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  /* Responsive copyright */
  color: #bbb;
  /* Lighter color */
  opacity: 0.9;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: clamp(20px, 4vw, 40px);
  /* Responsive position */
  right: clamp(20px, 4vw, 40px);
  /* Responsive position */
  width: clamp(50px, 6vw, 65px);
  /* Responsive size */
  height: clamp(50px, 6vw, 65px);
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  /* Responsive icon size */
  box-shadow: 0 8px 20px var(--shadow-dark);
  /* Stronger shadow */
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: all ease-in-out 0.5s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-8px) scale(1.15);
  /* More lift and scale */
  box-shadow: 0 15px 30px var(--shadow-dark);
  animation: rotate 0.6s ease-in-out 1;
  /* Slower rotation */
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  /* Thicker bar */
  background: var(--gradient);
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
  /* Glow effect */
}

/* Fast AOS-style Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
    /* More pronounced movement */
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-70px);
    /* More pronounced movement */
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(70px);
    /* More pronounced movement */
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* Slower transition */
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-left.active {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  section {
    padding: 90px 5%;
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 992px) {
  section {
    padding: 70px 5%;
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Adjust for smaller screens */
    gap: 25px;
  }

  .intro-text h1 {
    font-size: 3.5rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .stats-row {
    justify-content: center;
  }

  .stat-box {
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    /* Wider mobile menu */
    height: 100vh;
    background: rgba(44, 62, 80, 0.95);
    /* Darker, more opaque */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    /* Stronger blur */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;
    padding: 3rem;
    /* More padding */
    gap: 2.5rem;
  }

  .about-me-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-content {
    order: 2;
  }

  .about-image {
    order: 1;
  }

  .about-image img {
    width: 250px;
    height: 250px;
  }

  .about-image img:hover {
    transform: scale(1.05) rotateY(10deg) rotateX(3deg);
  }

  .nav-links.active {
    right: 0;
    box-shadow: -8px 0 35px var(--shadow-dark);
    /* Stronger shadow */
  }

  .hamburger {
    display: flex;
  }

  .nav-controls {
    order: -1;
  }

  section {
    padding: 70px 5%;
  }

  h1 {
    font-size: 2.5rem;
  }

  .intro-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    /* Tighter line height */
  }

  .intro-text p {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .social-links {
    gap: 20px;
  }

  .social-link {
    width: 65px;
    /* Slightly smaller */
    height: 65px;
    font-size: 1.6rem;
  }

  .skills-container {
    gap: 15px;
  }

  .skill-tag {
    padding: 12px 22px;
    font-size: 0.95rem;
  }

  .stats-row {
    flex-direction: column;
    gap: 15px;
  }

  .stat-box {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 2.2rem;
    margin-right: 15px;
    margin-top: 0px;
  }

  section {
    padding: 60px 4%;
    /* More padding adjustment */
  }

  h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .intro-text h1 {
    margin-bottom: 15px;
    font-size: 2.5rem;
    text-align: left;
    /* Center align for small screens */
    line-height: 1.2;
  }

  .intro-text p {
    font-size: 1.1rem;
    text-align: left;
    /* Center align for small screens */
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .cta-btn {
    padding: 15px 30px;
    font-size: 0.95rem;
  }

  .about-me-container {
    gap: 20px;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }

  .stats-container {
    margin-top: 30px;
  }

  .stats-row {
    flex-direction: column;
    gap: 15px;
  }

  .stat-box {
    padding: 20px;
    min-height: 120px;
  }

  .stat-box h1 {
    font-size: 1.8rem;
  }

  .stat-box p {
    font-size: 1rem;
  }

  .stat-box.long {
    flex: none;
    min-height: 140px;
    width: 100%;
  }

  .edu-box {
    padding: 25px;
    border-left-width: 4px;
  }

  .edu-box h3 {
    font-size: 1.3rem;
  }

  .edu-box p {
    font-size: 1rem;
  }

  .social-link {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .back-to-top {
    width: 55px;
    height: 55px;
    bottom: 30px;
    right: 30px;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-card {
    margin: 0;
    border-radius: 20px;
  }

  .project-img {
    height: 200px;
    /* Shorter image area */
  }

  .project-content {
    padding: 20px;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .project-desc {
    font-size: 0.9rem;
  }

  .project-link {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Education Section Responsive */
  .edu-box {
    padding: 25px 20px;
  }

  .edu-box h3 {
    font-size: 1.2rem;
  }

  /* What I Do Section Responsive */
  .what-i-do-container {
    gap: 15px;
    padding: 0 10px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 360px) {
  .nav-links {
    font-size: 0.9rem;
    width: 95%;
    gap: 2rem;
  }

  .cta-btn {
    padding: 12px 26px;
    font-size: 0.85rem;
  }

  .intro-text p {
    font-size: 0.95rem;
  }

  .about-me-container {
    gap: 15px;
  }

  .about-image img {
    width: 180px;
    height: 180px;
  }

  .stats-container {
    margin-top: 20px;
  }

  .stats-row {
    gap: 12px;
  }

  .stat-box {
    padding: 15px;
    min-height: 100px;
  }

  .stat-box h1 {
    font-size: 1.5rem;
  }

  .stat-box p {
    font-size: 0.9rem;
  }

  .stat-box.long {
    min-height: 120px;
  }

  .skill-tag {
    padding: 10px 18px;
    font-size: 0.8rem;
  }

  section {
    padding: 50px 3%;
  }

  h1 {
    font-size: 2rem;
  }

  .intro-text h1 {
    font-size: 2.2rem;
  }

  .footer-logo {
    font-size: 2.5rem;
  }

  .footer-links {
    font-size: 0.9rem;
    gap: 20px;
  }

  .cinzel-h1 h1 {
    font-size: 40px;
  }

  /* Education Section Responsive for Small Screens */
  .edu-box {
    padding: 20px 15px;
  }

  .edu-box h3 {
    font-size: 1.1rem;
  }

  .edu-box p {
    font-size: 0.9rem;
  }

  /* What I Do Section Responsive for Small Screens */
  .what-i-do-container {
    gap: 12px;
    padding: 0 5px;
  }

  .service-card {
    padding: 25px 15px;
  }

  .service-card h1 {
    font-size: 2rem;
  }
}

/* Extra small screens: <= 320px */
@media (max-width: 320px) {
  html,
  body {
    font-size: 14px;
  }

  .navbar {
    padding: 0.6rem 0.8rem;
  }

  .logo {
    font-size: 1.9rem;
    margin-left: 0;
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  section {
    padding: 40px 3%;
  }

  .intro-text h1 {
    font-size: 1.9rem;
  }

  .intro-text p {
    font-size: 0.9rem;
  }

  .about-me-container {
    gap: 10px;
  }

  .about-image img {
    width: 150px;
    height: 150px;
  }

  .stats-container {
    margin-top: 15px;
  }

  .stats-row {
    gap: 10px;
  }

  .stat-box {
    padding: 12px;
    min-height: 80px;
  }

  .stat-box h1 {
    font-size: 1.3rem;
  }

  .stat-box p {
    font-size: 0.8rem;
  }

  .stat-box.long {
    min-height: 100px;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-img {
    height: 160px;
  }

  .skill-tag {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  /* Hide large floating/cursor decorations that can push layout */
  .cursor,
  .floating-element {
    display: none !important;
  }
}

/* Ultra tiny screens: <= 280px */
@media (max-width: 280px) {
  html,
  body {
    font-size: 13px;
  }

  .navbar {
    padding: 0.5rem 0.5rem;
  }

  .logo {
    font-size: 1.7rem;
  }

  .nav-controls,
  .nav-links {
    gap: 0.6rem;
  }

  .intro-text h1 {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .intro-text p {
    font-size: 0.85rem;
  }

  .about-me-container {
    gap: 8px;
  }

  .about-image img {
    width: 120px;
    height: 120px;
  }

  .stats-container {
    margin-top: 10px;
  }

  .stat-box {
    padding: 10px;
    min-height: 70px;
  }

  .stat-box.long {
    min-height: 90px;
  }

  .cta-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  footer {
    padding: 30px 4%;
  }
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 25px;
  /* Larger cursor */
  height: 25px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
  /* Smoother transition */
  opacity: 0;
  box-shadow: 0 0 10px var(--primary);
  /* Glow effect */
}

.cursor.active {
  opacity: 0.8;
  /* More visible */
}

.cursor.hover {
  transform: scale(2);
  /* Larger scale on hover */
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  /* Glow effect on hover */
}

@media (max-width: 768px) {
  .cursor {
    display: none;
  }
}

@media (min-width: 1440px) {
  .intro-text h1 {
    font-size: 4.5rem;
  }

  section {
    padding: 120px 10%;
  }

  h1 {
    font-size: 3.5rem;
  }

  .project-card {
    max-width: 450px;
    /* Max width for larger screens */
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}

/* Media query for 1920px screens (Full HD) */
@media (min-width: 1920px) {
  .intro-text h1 {
    font-size: 5rem;
  }

  section {
    padding: 140px 12%;
  }

  h1 {
    font-size: 4rem;
  }

  .project-card {
    max-width: 500px;
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  }

  .about-image img {
    width: 450px;
    height: 450px;
  }

  .stat-box h1 {
    font-size: 2.2rem;
  }

  .social-link {
    width: 85px;
    height: 85px;
    font-size: 2rem;
  }

  .skill-tag {
    padding: 16px 32px;
    font-size: 1.1rem;
  }
}

/* Media query for 2560px screens (QHD) */
@media (min-width: 2560px) {
  .intro-text h1 {
    font-size: 5.5rem;
  }

  section {
    padding: 160px 14%;
  }

  h1 {
    font-size: 4.5rem;
  }

  .project-card {
    max-width: 550px;
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  }

  .about-image img {
    width: 500px;
    height: 500px;
  }

  .stat-box h1 {
    font-size: 2.4rem;
  }

  .social-link {
    width: 95px;
    height: 95px;
    font-size: 2.2rem;
  }

  .skill-tag {
    padding: 18px 36px;
    font-size: 1.2rem;
  }

  .navbar {
    padding: 1.5rem 6%;
  }

  .logo {
    font-size: 2.5rem;
  }
}

/* Media query for 3840px screens (4K) */
@media (min-width: 3840px) {
  .intro-text h1 {
    font-size: 6rem;
  }

  section {
    padding: 180px 16%;
  }

  h1 {
    font-size: 5rem;
  }

  .project-card {
    max-width: 600px;
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
  }

  .about-image img {
    width: 550px;
    height: 550px;
  }

  .stat-box h1 {
    font-size: 2.6rem;
  }

  .social-link {
    width: 105px;
    height: 105px;
    font-size: 2.4rem;
  }

  .skill-tag {
    padding: 20px 40px;
    font-size: 1.3rem;
  }

  .navbar {
    padding: 2rem 8%;
  }

  .logo {
    font-size: 2.8rem;
  }

  .back-to-top {
    width: 75px;
    height: 75px;
    font-size: 1.5rem;
  }
}

/* Media query for tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  section {
    padding: 80px 6%;
  }

  .intro-text h1 {
    font-size: clamp(3rem, 6vw, 4rem);
  }

  .intro-text p {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  }

  h1 {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    max-width: clamp(320px, 90vw, 1000px);
  }

  .project-card {
    max-width: 100%;
  }

  .about-me-container {
    gap: 35px;
  }

  .about-image img {
    width: clamp(300px, 40vw, 400px);
    height: clamp(300px, 40vw, 400px);
  }

  .stats-row {
    gap: 18px;
  }

  .stat-box {
    min-width: 180px;
    padding: 22px;
  }

  .stat-box h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
  }

  .stat-box p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  }

  .skills-container {
    gap: 18px;
  }

  .skill-tag {
    padding: 12px 24px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
  }

  .social-links {
    gap: 22px;
  }

  .social-link {
    width: clamp(60px, 8vw, 75px);
    height: clamp(60px, 8vw, 75px);
    font-size: clamp(1.5rem, 2vw, 1.8rem);
  }

  .edu-container {
    max-width: clamp(700px, 85vw, 900px);
  }

  .edu-box {
    padding: 28px;
  }

  .edu-box h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
  }

  .edu-box p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
  }

  .what-i-do-container {
    gap: 18px;
  }

  .service-card {
    padding: 35px 25px;
  }

  .service-card h1 {
    font-size: clamp(3.5rem, 7vw, 4.5rem);
  }

  .contact-container {
    gap: 45px;
    max-width: clamp(700px, 85vw, 900px);
  }

  .footer-content {
    gap: 28px;
  }

  .footer-logo {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
  }

  .footer-links {
    gap: 28px;
  }

  .back-to-top {
    width: clamp(60px, 6vw, 65px);
    height: clamp(60px, 6vw, 65px);
    font-size: clamp(1.2rem, 1.5vw, 1.3rem);
  }
}

/* Media query for 1080px screens (1080px to 1199px) */
@media (min-width: 1080px) and (max-width: 1199px) {
  section {
    padding: 95px 7%;
  }

  .intro-text h1 {
    font-size: clamp(3.5rem, 7vw, 4.5rem);
  }

  .intro-text p {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  }

  h1 {
    font-size: clamp(2.8rem, 4.5vw, 3.5rem);
  }

  .projects-container {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: clamp(350px, 95vw, 1150px);
  }

  .project-card {
    max-width: 100%;
  }

  .about-me-container {
    gap: 38px;
    max-width: clamp(1000px, 90vw, 1200px);
  }

  .about-image img {
    width: clamp(350px, 35vw, 420px);
    height: clamp(350px, 35vw, 420px);
  }

  .stats-row {
    gap: 20px;
  }

  .stat-box {
    min-width: 190px;
    padding: 24px;
  }

  .stat-box h1 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
  }

  .stat-box p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
  }

  .skills-container {
    gap: 20px;
    max-width: clamp(900px, 90vw, 1000px);
  }

  .skill-tag {
    padding: 14px 28px;
    font-size: clamp(1rem, 1.8vw, 1.1rem);
  }

  .social-links {
    gap: 24px;
  }

  .social-link {
    width: clamp(70px, 7vw, 80px);
    height: clamp(70px, 7vw, 80px);
    font-size: clamp(1.7rem, 2.2vw, 2rem);
  }

  .edu-container {
    max-width: clamp(800px, 88vw, 950px);
  }

  .edu-box {
    padding: 32px;
  }

  .edu-box h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  }

  .edu-box p {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
  }

  .what-i-do-container {
    gap: 20px;
    max-width: clamp(100%, 95vw, 100%);
  }

  .service-card {
    padding: 42px 32px;
  }

  .service-card h1 {
    font-size: clamp(4rem, 8vw, 5rem);
  }

  .contact-container {
    gap: 48px;
    max-width: clamp(800px, 88vw, 950px);
  }

  .footer-content {
    gap: 32px;
  }

  .footer-logo {
    font-size: clamp(2.5rem, 4.5vw, 3rem);
  }

  .footer-links {
    gap: 32px;
  }

  .back-to-top {
    width: clamp(65px, 6vw, 70px);
    height: clamp(65px, 6vw, 70px);
    font-size: clamp(1.3rem, 1.8vw, 1.4rem);
  }
}

.accent {
  color: #ff6b35;
}
