/* ================== GLOBAL STYLES ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", "Poppins", sans-serif;
}

:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --primary-light: #33e0ff;
  --secondary: #ff006e;
  --accent: #8338ec;
  --text-light: #ffffff;
  --text-dark: #1a1a2e;
  --text-secondary: #b0b0b0;
  --bg-dark: #0a0e27;
  --bg-darker: #050812;
  --glass-bg: rgba(15, 20, 45, 0.7);
  --glass-border: rgba(0, 212, 255, 0.15);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  --glow: 0 0 30px rgba(0, 212, 255, 0.3);
}

body.light-theme {
  --text-dark: #1a1a2e;
  --text-secondary: #555;
}

/* Theme Toggle */
.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-light);
  position: relative;
  z-index: 1002;
}

body.light-theme .theme-toggle {
  background: rgba(0, 150, 200, 0.1);
  border-color: rgba(0, 150, 200, 0.3);
  color: #0066aa;
}

body.light-theme .theme-toggle:hover {
  background: rgba(0, 150, 200, 0.2);
  border-color: #0099cc;
  color: #0066aa;
}

.theme-toggle:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: scale(1.1);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.theme-toggle i {
  font-size: 1.2rem;
  transition: transform 0.5s ease;
}

/* Light theme variables */
body.light-theme {
  --bg-dark: #f8f9fa;
  --bg-darker: #e8ecf1;
  --text-light: #1a1a2e;
  --text-secondary: #555;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(0, 100, 150, 0.3);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --glow: 0 0 30px rgba(0, 150, 200, 0.3);
}

body.light-theme {
  background: linear-gradient(135deg, #e8ecf1 0%, #f8f9fa 50%, #ffffff 100%);
}

body.light-theme header {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(0, 100, 150, 0.1);
  border-bottom-color: rgba(0, 150, 200, 0.2);
}

body.light-theme .hero {
  background: linear-gradient(135deg, #e8ecf1 0%, #f8f9fa 50%, #ffffff 100%);
}

body.light-theme .hero::before {
  background: radial-gradient(circle, rgba(0, 150, 200, 0.25) 0%, transparent 70%);
}

body.light-theme .hero::after {
  background: radial-gradient(circle, rgba(100, 100, 200, 0.15) 0%, transparent 70%);
}

body.light-theme .scroll-text {
  background: linear-gradient(135deg, rgba(200, 220, 240, 0.5) 0%, rgba(220, 230, 245, 0.5) 100%);
  border-top-color: rgba(0, 100, 150, 0.2);
  border-bottom-color: rgba(0, 100, 150, 0.2);
}

body.light-theme .scroll-item {
  background: linear-gradient(135deg, #0099cc 0%, #0066aa 50%, #004488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-theme .scroll-divider {
  color: #0066aa;
  opacity: 0.6;
}

body.light-theme .about-card,
body.light-theme .contact-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 150, 200, 0.25);
  box-shadow: 0 20px 60px rgba(0, 100, 150, 0.1);
}

body.light-theme .about-card:hover,
body.light-theme .contact-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 150, 200, 0.35);
  box-shadow: 0 30px 80px rgba(0, 100, 150, 0.15);
}

body.light-theme .skill-card,
body.light-theme .project-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 100, 150, 0.15);
}

body.light-theme .skill-card:hover,
body.light-theme .project-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 150, 200, 0.3);
  box-shadow: 0 25px 60px rgba(0, 100, 150, 0.12);
}

body.light-theme .nav-menu {
  background: rgba(255, 255, 255, 0.98);
  border-left-color: rgba(0, 100, 150, 0.2);
}

body.light-theme .nav-menu a {
  color: #1a1a2e;
  border-bottom-color: rgba(0, 100, 150, 0.1);
}

body.light-theme .nav-menu a:hover {
  background: rgba(0, 150, 200, 0.08);
  border-radius: 10px;
}

body.light-theme .highlight-item,
body.light-theme .contact-item,
body.light-theme .social-link {
  background: rgba(0, 150, 200, 0.08);
  border-color: rgba(0, 100, 150, 0.2);
}

body.light-theme .highlight-item:hover,
body.light-theme .contact-item:hover,
body.light-theme .social-link:hover {
  background: rgba(0, 150, 200, 0.15);
  border-color: rgba(0, 150, 200, 0.3);
  box-shadow: 0 15px 40px rgba(0, 100, 150, 0.15);
}

body.light-theme .tech-tags span {
  background: rgba(0, 150, 200, 0.12);
  border-color: rgba(0, 100, 150, 0.25);
  color: #0066aa;
}

body.light-theme .tech-tags span:hover {
  background: rgba(0, 150, 200, 0.2);
  border-color: rgba(0, 100, 150, 0.35);
}

body.light-theme .tech-tags span.active {
  background: linear-gradient(135deg, #0099cc, #0066aa);
  color: #ffffff;
}

/* Bubbles visibility in light theme */
body.light-theme .bubbles span {
  background: linear-gradient(135deg, rgba(0, 150, 200, 0.4), rgba(100, 150, 200, 0.3));
  box-shadow: 0 0 20px rgba(0, 100, 150, 0.4);
}

/* Horizontal scroll container light theme */
body.light-theme .horizontal-scroll-container {
  background: linear-gradient(135deg, rgba(200, 220, 240, 0.3) 0%, rgba(220, 230, 245, 0.3) 100%);
  border-top-color: rgba(0, 100, 150, 0.15);
  border-bottom-color: rgba(0, 100, 150, 0.15);
}

body.light-theme .scroll-text {
  background: transparent;
}

body.light-theme .scroll-item {
  background: linear-gradient(135deg, #0099cc 0%, #0066aa 50%, #004488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-theme .scroll-item::before {
  background: linear-gradient(135deg, rgba(0, 150, 200, 0.08) 0%, rgba(0, 100, 150, 0.08) 100%);
}

body.light-theme .scroll-item:hover {
  filter: drop-shadow(0 0 15px rgba(0, 100, 150, 0.6));
}

body.light-theme .scroll-divider {
  color: #0066aa;
  opacity: 0.6;
}

/* Section titles and text visibility */
body.light-theme .section-title {
  color: #0066aa;
}

body.light-theme .hero-title {
  color: #0066aa;
}

body.light-theme .hero-subtitle {
  color: #555;
}

body.light-theme .portfolio-label {
  color: #0099cc;
  border-color: rgba(0, 100, 150, 0.3);
  background: rgba(0, 150, 200, 0.08);
}

body.light-theme .btn {
  background: linear-gradient(135deg, #0099cc 0%, #0077aa 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 100, 150, 0.2);
}

body.light-theme .btn:hover {
  box-shadow: 0 20px 50px rgba(0, 100, 150, 0.3);
}

body.light-theme .btn.secondary {
  background: transparent;
  color: #0099cc;
  border-color: #0099cc;
  box-shadow: 0 0 20px rgba(0, 100, 150, 0.15);
}

body.light-theme .btn.secondary:hover {
  background: rgba(0, 150, 200, 0.1);
  box-shadow: 0 0 40px rgba(0, 100, 150, 0.25);
}

body.light-theme .about-content > p {
  color: #555;
}

body.light-theme .highlight-item h4,
body.light-theme .contact-item h4,
body.light-theme .social-section h3 {
  color: #0099cc;
}

body.light-theme .skill-card h3,
body.light-theme .project-card h3 {
  color: #0099cc;
}

body.light-theme .skill-card ul,
body.light-theme .project-card p {
  color: #555;
}

body.light-theme .contact-link {
  color: #666;
}

body.light-theme .contact-link:hover {
  color: #0099cc;
  border-bottom-color: #0099cc;
  text-shadow: 0 0 15px rgba(0, 150, 200, 0.2);
}

body.light-theme .skill-icon,
body.light-theme .contact-item i {
  background: linear-gradient(135deg, #0099cc, #0066aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-theme footer {
  background: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(0, 100, 150, 0.15);
  color: #666;
}

body.light-theme footer p {
  background: linear-gradient(135deg, #666, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================== BODY ================== */
body {
  background: linear-gradient(135deg, var(--bg-darker) 0%, #1a1f3a 50%, var(--bg-dark) 100%);
  background-attachment: fixed;
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ================== HEADER ================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header:hover {
  background: rgba(10, 14, 39, 0.95);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  position: relative;
}

.logo::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.logo:hover {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(131, 56, 236, 0.3);
}

.logo:hover::before {
  opacity: 0.3;
}

header h1 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header h1:hover {
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  transform: translateX(5px);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  transition: left 0.4s ease;
  z-index: -1;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-menu a:hover::before {
  left: 100%;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary);
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.2) rotate(90deg);
  color: var(--primary-light);
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* ================== HERO ================== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8rem 5% 5rem;
  min-height: 100vh;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 8s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(131, 56, 236, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 10s ease-in-out infinite reverse;
  z-index: 0;
}

.hero-left {
  flex: 1;
  max-width: 600px;
  text-align: left;
  position: relative;
  z-index: 1;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 30px;
  background: rgba(0, 212, 255, 0.05);
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}

.hero-title {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -1px;
  min-height: 4.5rem;
}

.typing-container {
  display: inline-block;
  min-width: 300px;
  position: relative;
  height: 1.2em;
}

.typing-text {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  color: #ffffff !important;
  animation: typing-cycle 9s infinite;
  white-space: nowrap;
  font-weight: 700;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: none !important;
  background-clip: none !important;
}

body.light-theme .typing-text {
  color: #0066aa !important;
  -webkit-text-fill-color: #0066aa !important;
}

.typing-text:nth-child(1) {
  animation-delay: 0s;
}

.typing-text:nth-child(2) {
  animation-delay: 3s;
}

.typing-text:nth-child(3) {
  animation-delay: 6s;
}

.typing-text::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  width: 3px;
  height: 1em;
  background: var(--primary);
  animation: cursor-blink 0.6s infinite;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg-dark);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.5);
}

.btn:active {
  transform: translateY(-2px) scale(0.98);
}

.btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn.secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
  animation: floatImage 4s ease-in-out infinite, zoomIn 8s ease-in-out infinite;
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: transform 0.3s ease;
}

.image-container:hover .profile-img {
  transform: scale(1.05);
}

/* ================== IMAGE CONTAINER ================== */
.horizontal-scroll-container {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 100, 150, 0.05) 0%, rgba(0, 80, 130, 0.05) 100%);
  border-top: 1px solid rgba(0, 100, 150, 0.1);
  border-bottom: 1px solid rgba(0, 100, 150, 0.1);
  padding: 2rem 0;
  position: relative;
  z-index: 5;
  margin: 3rem 0;
}

.scroll-text {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
  padding: 0 5%;
}

.scroll-item {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  animation: glow-text 3s ease-in-out infinite;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.scroll-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  right: -20px;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(131, 56, 236, 0.03) 100%);
  border-radius: 15px;
  z-index: -1;
}

.scroll-item:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

.scroll-divider {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.6;
  animation: pulse-divider 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes glow-text {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 30px rgba(131, 56, 236, 0.4);
  }
}

@keyframes pulse-divider {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ================== SECTIONS ================== */
.section {
  padding: 6rem 5%;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-content {
  text-align: center;
}

/* ================== ABOUT SECTION ================== */
.about-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem;
  border-radius: 25px;
  background: rgba(15, 20, 45, 0.6);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  transition: all 0.4s ease;
}

.about-card:hover {
  background: rgba(15, 20, 45, 0.8);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 30px 80px rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
}

.about-content {
  text-align: left;
}

.about-content > p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-item {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(131, 56, 236, 0.05) 100%);
  border-left: 4px solid var(--primary);
  border-radius: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.highlight-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.highlight-item:hover::before {
  left: 100%;
}

.highlight-item:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(131, 56, 236, 0.1) 100%);
  transform: translateX(8px) translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.highlight-item h4 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.highlight-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ================== SKILLS & PROJECTS ================== */
.skills-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 0 auto;
  padding: 0 5%;
}

.skill-card,
.project-card {
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(15, 20, 45, 0.6);
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 212, 255, 0.1);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card::before,
.project-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 0;
}

.skill-card:hover::before,
.project-card:hover::before {
  top: -20%;
  right: -20%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
}

.skill-card:hover,
.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(15, 20, 45, 0.9);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2);
}

.skill-icon {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.skill-card:hover .skill-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
}

.skill-card h3,
.project-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.skill-card ul {
  list-style: none;
  position: relative;
  z-index: 1;
}

.skill-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.skill-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.skill-card:hover li {
  color: var(--text-light);
  transform: translateX(5px);
}

.project-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-tags span {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(131, 56, 236, 0.1));
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-weight: 500;
}

.tech-tags span:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(131, 56, 236, 0.2));
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.4);
}

.tech-tags span.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg-dark);
  transform: scale(1.25) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
  border-color: var(--primary);
}

/* ================== CONTACT ================== */
.contact-card {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
  padding: 4.5rem 3.5rem;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(15, 20, 45, 0.7) 0%, rgba(20, 25, 50, 0.7) 100%);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 70px rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 8s ease-in-out infinite;
  z-index: 0;
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -30%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(131, 56, 236, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 10s ease-in-out infinite reverse;
  z-index: 0;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 90px rgba(0, 212, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.4);
  background: linear-gradient(135deg, rgba(15, 20, 45, 0.9) 0%, rgba(20, 25, 50, 0.9) 100%);
}

.contact-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  min-width: 220px;
  padding: 2.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(131, 56, 236, 0.08) 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateY(-12px) scale(1.08);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(131, 56, 236, 0.12) 100%);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

.contact-item h4 {
  color: var(--primary);
  font-size: 1.2rem;
  margin: 0;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.contact-item i {
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.contact-item:hover i {
  transform: scale(1.3) rotate(15deg);
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
}

.contact-link {
  font-size: 1rem;
  margin: 0;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid transparent;
}

.contact-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.social-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  position: relative;
  z-index: 1;
}

.social-section h3 {
  color: var(--primary);
  margin-bottom: 2.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  font-size: 2rem;
  border-radius: 50%;
  color: var(--primary);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(131, 56, 236, 0.1));
  border: 2px solid var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-link:hover {
  transform: scale(1.25) rotate(15deg);
  color: var(--bg-dark);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
  border-color: var(--accent);
}

/* ================== BUBBLES ================== */
.bubbles {
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.bubbles span {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(131, 56, 236, 0.2));
  animation: bubble 4s linear infinite;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ================== ANIMATIONS ================== */
@keyframes bubble {
  0% {
    transform: translateY(0) translateX(0) scale(0.2);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh) translateX(100px) scale(1);
    opacity: 0;
  }
}

@keyframes floatBlob {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(30px, -50px);
  }
  66% {
    transform: translate(-20px, 30px);
  }
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes zoomIn {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 50px rgba(131, 56, 236, 0.4);
  }
  100% {
    transform: rotate(360deg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kinetic-blink {
  0%, 49%, 100% {
    opacity: 1;
  }
  50%, 99% {
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes typing-cycle {
  0% {
    opacity: 1;
    visibility: visible;
  }
  32% {
    opacity: 1;
    visibility: visible;
  }
  33% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes cursor-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* ================== FOOTER ================== */
footer {
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

footer:hover {
  background: rgba(10, 14, 39, 0.95);
  border-top-color: rgba(0, 212, 255, 0.3);
}

footer p {
  margin: 0;
  background: linear-gradient(135deg, var(--text-secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media(max-width:1200px){
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 10rem;
  }
  .hero-left, .hero-right { max-width: 100%; }
  .hero-title { 
    font-size: 2.8rem;
    min-height: 3.8rem;
  }
  .hero-subtitle { font-size: 1.2rem; }
  .skills-grid, .projects-grid { grid-template-columns: 1fr; padding:0 2rem; }
  .contact-info { flex-direction: column; gap:1.5rem; align-items:center; }
  .scroll-item {
    font-size: 1.5rem;
  }
  .scroll-divider {
    font-size: 1.5rem;
  }
  .typing-container {
    min-width: 250px;
  }
  .theme-toggle {
    width: 40px;
    height: 40px;
    margin-right: 0.8rem;
  }
  .theme-toggle i {
    font-size: 1rem;
  }
}

@media(max-width:1024px){
  header {
    padding: 1rem 3%;
  }
  .header-right {
    gap: 0.3rem;
  }
  .theme-toggle {
    width: 38px;
    height: 38px;
    margin-right: 0.6rem;
  }
  .theme-toggle i {
    font-size: 0.95rem;
  }
  .nav-menu {
    gap: 1.2rem;
  }
  .nav-menu a {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
  .section {
    padding: 4rem 3%;
  }
  .section-title {
    font-size: 2.3rem;
  }
}

@media(max-width:768px){
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
    margin-right: 0.4rem;
  }
  .theme-toggle i {
    font-size: 0.9rem;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    gap: 1rem;
    overflow-y: auto;
    visibility: hidden;
    border-left: 1px solid rgba(0, 212, 255, 0.2);
  }
  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu a {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    display: block;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
    border-radius: 10px;
  }
  .nav-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    padding-left: 2rem;
    border-radius: 10px;
  }
  header h1 {
    font-size: 1.4rem;
  }
  .logo {
    width: 40px;
    height: 40px;
  }
  .hero {
    padding: 8rem 3% 3rem;
  }
  .hero-title {
    font-size: 2.2rem;
    min-height: 3rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section {
    padding: 3rem 3%;
  }
  .about-card {
    padding: 2.5rem;
  }
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-item {
    min-width: 100%;
  }
  .skill-card,
  .project-card {
    padding: 2rem;
  }
  .scroll-item {
    font-size: 1.3rem;
  }
  .scroll-divider {
    font-size: 1.3rem;
  }
  .horizontal-scroll-container {
    padding: 1.5rem 0;
    margin: 2rem 0;
  }
  .typing-container {
    min-width: 200px;
  }
}

@media(max-width:640px){
  header {
    padding: 0.8rem 3%;
  }
  .header-right {
    gap: 0.2rem;
  }
  .theme-toggle {
    width: 34px;
    height: 34px;
    margin-right: 0.3rem;
  }
  header h1 {
    font-size: 1.2rem;
  }
  .logo {
    width: 35px;
    height: 35px;
  }
  .menu-toggle {
    font-size: 1.3rem;
  }
  .nav-menu a {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
  .hero {
    padding: 7rem 3% 2rem;
    gap: 2rem;
  }
  .portfolio-label {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  .hero-title {
    font-size: 1.8rem;
    min-height: 2.5rem;
  }
  .typing-container {
    min-width: 180px;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    width: 100%;
    max-width: 250px;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .skill-card,
  .project-card {
    padding: 1.5rem;
  }
  .contact-card {
    padding: 2.5rem 1.5rem;
  }
  .contact-info {
    gap: 1.5rem;
  }
  .contact-item {
    min-width: 100%;
    padding: 1.5rem;
  }
  .social-link {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
  }
  .scroll-item {
    font-size: 1.1rem;
  }
  .scroll-divider {
    font-size: 1.1rem;
  }
  .scroll-text {
    gap: 2rem;
  }
  .horizontal-scroll-container {
    padding: 1rem 0;
    margin: 1.5rem 0;
  }
}

@media(max-width:480px){
  header {
    padding: 0.7rem 2%;
  }
  header h1 {
    font-size: 1rem;
  }
  .logo {
    width: 30px;
    height: 30px;
  }
  .menu-toggle {
    font-size: 1.2rem;
  }
  .nav-menu {
    top: 60px;
    padding: 1.5rem;
  }
  .nav-menu a {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }
  .hero {
    padding: 6rem 2% 2rem;
    gap: 1.5rem;
  }
  .portfolio-label {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    letter-spacing: 1px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .typing-container {
    min-width: 150px;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .section {
    padding: 2rem 2%;
  }
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .about-card {
    padding: 1.5rem;
  }
  .about-content > p {
    font-size: 0.95rem;
  }
  .highlight-item {
    padding: 1rem;
  }
  .highlight-item h4 {
    font-size: 1rem;
  }
  .skill-card,
  .project-card {
    padding: 1.2rem;
  }
  .skill-icon {
    font-size: 2.5rem;
  }
  .contact-card {
    padding: 1.5rem 1rem;
    margin: 2rem auto;
  }
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .contact-info {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .contact-item {
    min-width: 100%;
    padding: 1.2rem;
  }
  .contact-item i {
    font-size: 2rem;
  }
  .social-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .social-links {
    gap: 1.5rem;
  }
  .social-link {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
}

@media(max-width:360px){
  header h1 {
    font-size: 0.9rem;
  }
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}


@media(max-width:480px){
  header {
    padding: 0.7rem 2%;
  }
  .header-right {
    gap: 0.1rem;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
    margin-right: 0.2rem;
  }
  header h1 {
    font-size: 1rem;
  }
  .logo {
    width: 30px;
    height: 30px;
  }
  .menu-toggle {
    font-size: 1.2rem;
  }
  .nav-menu {
    top: 60px;
    padding: 1.5rem;
  }
  .nav-menu a {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }
  .hero {
    padding: 6rem 2% 2rem;
    gap: 1.5rem;
  }
  .portfolio-label {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    letter-spacing: 1px;
  }
  .hero-title {
    font-size: 1.5rem;
    min-height: 2rem;
  }
  .typing-container {
    min-width: 140px;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .section {
    padding: 2rem 2%;
  }
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .about-card {
    padding: 1.5rem;
  }
  .about-content > p {
    font-size: 0.95rem;
  }
  .highlight-item {
    padding: 1rem;
  }
  .highlight-item h4 {
    font-size: 1rem;
  }
  .skill-card,
  .project-card {
    padding: 1.2rem;
  }
  .skill-icon {
    font-size: 2.5rem;
  }
  .contact-card {
    padding: 1.5rem 1rem;
    margin: 2rem auto;
  }
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .contact-info {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .contact-item {
    min-width: 100%;
    padding: 1.2rem;
  }
  .contact-item i {
    font-size: 2rem;
  }
  .social-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .social-links {
    gap: 1.5rem;
  }
  .social-link {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
  .scroll-item {
    font-size: 0.9rem;
  }
  .scroll-divider {
    font-size: 0.9rem;
  }
  .scroll-text {
    gap: 1.5rem;
  }
  .horizontal-scroll-container {
    padding: 0.8rem 0;
    margin: 1rem 0;
  }
}

@media(max-width:360px){
  header h1 {
    font-size: 0.9rem;
  }
  .hero-title {
    font-size: 1.3rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}
