:root {
  --color-primary: #FF4C61; /* RGB 255, 76, 97 */
}

/* =====================
   Animation Definitions
   ===================== */

/* Blink animation for cursor */
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Consolidated spin animation for rotating elements */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Consolidated float animation with parameters */
@keyframes float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(var(--tx, 0), var(--ty, -10px)); }
  100% { transform: translate(0, 0); }
}

/* Consolidated pulse animation for scaling elements */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(var(--scale, 1.1)); }
  100% { transform: scale(1); }
}

/* Single ripple animation for all ripple effects */
@keyframes ripple {
  to {
    transform: scale(var(--ripple-scale, 4));
    opacity: 0;
  }
}

/* Special animation for shadow pulse */
@keyframes shadowPulse {
  0% { box-shadow: 0 0 0 0 var(--pulse-color, rgba(68, 215, 182, 0.7)); }
  70% { box-shadow: 0 0 0 10px var(--pulse-end-color, rgba(68, 215, 182, 0)); }
  100% { box-shadow: 0 0 0 0 var(--pulse-end-color, rgba(68, 215, 182, 0)); }
}

/* =====================
   Globe Styling
   ===================== */

/* Globe loading indicator */
.globe-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(249, 249, 255, 0.7);
  z-index: 10;
}

.globe-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-primary);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 10px;
}

.globe-loading .loading-text {
  color: var(--color-primary);
  font-size: 14px;
}

/* Globe container styling */
#globe-container {
  position: relative;
  border-radius: 0;
  overflow: visible;
  background-color: transparent;
  box-shadow: none;
  transition: all 0.3s ease;
  margin: 0 auto;
}

#globe-container:hover {
  transform: none;
  box-shadow: none;
}

#location-info {
  color: var(--color-primary);
  font-weight: 500;
}

#animate-message {
  transition: all 0.3s ease;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

#animate-message:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.location-btn {
  transition: all 0.3s ease;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
  font-size: 14px;
  padding: 5px 12px;
  margin: 0 5px;
}

.location-btn:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.location-btn i {
  margin-right: 5px;
}

/* =====================
   Parallax Icons
   ===================== */

.parallax-icon {
  position: absolute;
  z-index: 1;
  transition: transform 0.5s ease;
  overflow: visible;
}

/* Simplified app icon style with subtle shading */
.app-icon-parallax {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.5s ease;
  position: relative;
  overflow: visible;
  font-size: 44px; /* Increased icon size */
  aspect-ratio: 1 / 1; /* Ensure perfect circle */
}

/* Increase icon size within bubbles */
.app-icon-parallax i {
  font-size: inherit;
  transform: scale(1);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

/* Optional text labels for bubbles */
.app-icon-parallax .icon-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.app-icon-parallax:hover .icon-label {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle gradient overlay - ensures perfect circular appearance */
.app-icon-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.05) 100%);
  border-radius: 50%;
  z-index: 1;
}

/* Outer glow ring for better bubble effect */
.app-icon-parallax::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
  z-index: 0;
  opacity: 0.5;
}

/* Simplified hover effect */
.app-icon-parallax:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Icon positions and animations - Elliptical arrangement centered on avatar */
/* Positions are controlled by elliptical-bubble-layout.js */
/* Define bubble sizes only - positions calculated programmatically */
.icon1 .app-icon-parallax {
  width: 120px; height: 120px;
  transition: transform 0.3s ease;
}

.icon2 .app-icon-parallax {
  width: 90px; height: 90px;
  transition: transform 0.3s ease;
}

.icon3 .app-icon-parallax {
  width: 110px; height: 110px;
  transition: transform 0.3s ease;
}

.icon4 .app-icon-parallax {
  width: 100px; height: 100px;
  transition: transform 0.3s ease;
}

.icon5 .app-icon-parallax {
  width: 108px; height: 108px;
  transition: transform 0.3s ease;
}

.icon6 .app-icon-parallax {
  width: 95px; height: 95px;
  transition: transform 0.3s ease;
}

.icon7 .app-icon-parallax {
  width: 125px; height: 125px;
  transition: transform 0.3s ease;
}

.icon8 .app-icon-parallax {
  width: 93px; height: 93px;
  transition: transform 0.3s ease;
}

.icon9 .app-icon-parallax {
  width: 104px; height: 104px;
  transition: transform 0.3s ease;
}

.icon10 .app-icon-parallax {
  width: 97px; height: 97px;
  transition: transform 0.3s ease;
}

.icon11 .app-icon-parallax {
  width: 116px; height: 116px;
  transition: transform 0.3s ease;
}

.icon12 .app-icon-parallax {
  width: 92px; height: 92px;
  transition: transform 0.3s ease;
}

.icon13 .app-icon-parallax {
  width: 110px; height: 110px;
  transition: transform 0.3s ease;
}

.icon14 .app-icon-parallax {
  width: 98px; height: 98px;
  transition: transform 0.3s ease;
}

.icon15 .app-icon-parallax {
  width: 118px; height: 118px;
  transition: transform 0.3s ease;
}

.icon16 .app-icon-parallax {
  width: 102px; height: 102px;
  transition: transform 0.3s ease;
}

.icon17 .app-icon-parallax {
  width: 114px; height: 114px;
  transition: transform 0.3s ease;
}

/* Create a special class for icons that should rotate */
.rotating-icon {
  animation: spin 15s linear infinite !important;
  transform-origin: center center;
}

/* Icon styles with subtle gradients */
.brain-style { background: linear-gradient(135deg, #7979E8 0%, #6C6CE5 100%); }
.code-style { background: linear-gradient(135deg, #FF5E70 0%, #FF4C60 100%); }
.network-style { background: linear-gradient(135deg, #50E0C0 0%, #44D7B6 100%); }
.microchip-style { background: linear-gradient(135deg, #FFDA6A 0%, #FFD15C 100%); }
.robot-style { background: linear-gradient(135deg, #8585F0 0%, #7979E8 100%); }
.server-style { background: linear-gradient(135deg, #FF6B7D 0%, #FF5E70 100%); }
.stats-style { background: linear-gradient(135deg, #5CECCC 0%, #50E0C0 100%); }
.find-style { background: linear-gradient(135deg, #FFE176 0%, #FFDA6A 100%); }
.email-style { background: linear-gradient(135deg, #7979E8 0%, #6C6CE5 100%); }
.photos-style { background: linear-gradient(135deg, #FF5E70 0%, #FF4C60 100%); }
.contact-style { background: linear-gradient(135deg, #50E0C0 0%, #44D7B6 100%); }
.confetti-style { background: linear-gradient(135deg, #FFDA6A 0%, #FFD15C 100%); }
.algorithm-style { background: linear-gradient(135deg, #8585F0 0%, #7979E8 100%); }
.gpu-style { background: linear-gradient(135deg, #FF6B7D 0%, #FF5E70 100%); }
.math-style { background: linear-gradient(135deg, #5CECCC 0%, #50E0C0 100%); }
.cpu-style { background: linear-gradient(135deg, #FFE176 0%, #FFDA6A 100%); }
.edge-style { background: linear-gradient(135deg, #50E0C0 0%, #44D7B6 100%); }
.analytics-style { background: linear-gradient(135deg, #7979E8 0%, #6C6CE5 100%); }
.database-style { background: linear-gradient(135deg, #FF5E70 0%, #FF4C60 100%); }
.neural-style { background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%); }
.cloud-style { background: linear-gradient(135deg, #00BCD4 0%, #00ACC1 100%); }
.infinity-style { background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%); }
.vector-style { background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%); }
.cube-style { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }

/* =====================
   Parallax Container
   ===================== */

/* Add styles for scroll-based parallax effects */
.parallax-icon {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

.parallax-icon.in-view {
  animation-play-state: running;
}

/* Adjust the home section to properly contain the parallax elements */
#home {
  overflow: visible; /* Allow bubbles to be visible */
  position: relative;
  min-height: 100vh;
}

/* Ensure intro content appears above bubbles */
#home .intro {
  position: relative;
  z-index: 2; /* Above parallax but not too high */
}

/* Container should not restrict bubbles */
#home .container {
  position: relative;
  z-index: 2;
}

/* Ensure the parallax container has proper positioning */
.parallax {
  position: fixed;
  top: 0;
  left: 260px; /* Account for sidebar */
  right: 0;
  bottom: 0;
  width: calc(100% - 260px);
  height: 100vh;
  pointer-events: none;
  overflow: visible; /* Allow bubbles to be visible */
  z-index: 0; /* Behind content */
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* Mobile - full width */
@media (max-width: 991px) {
  .parallax {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    overflow: visible !important;
  }
}

/* Bubbles positioned relative to home section for elliptical layout */
@media (min-width: 992px) {
  .parallax {
    /* Let JavaScript handle positioning relative to avatar */
  }
}

/* Make the icons respond to pointer events */
.parallax-icon {
  pointer-events: auto;
}

/* =====================
   iOS-like Form Styling
   ===================== */

.ios-contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ios-contact-form:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: none;
}

.ios-form-group {
  margin-bottom: 20px;
  position: relative;
  will-change: transform;
}

.ios-form-control {
  display: block;
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: rgba(255, 255, 255, 0.7);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.ios-form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #0066cc;  /* Blue border for focus state */
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);  /* Subtle blue glow */
}

.ios-form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

.ios-form-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  color: var(--color-primary);
  font-size: 18px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.ios-form-control-with-icon {
  padding-left: 45px;
}

.ios-form-control:focus + .ios-form-icon {
  color: #0066cc;  /* Blue icon on focus to match border */
}

.ios-textarea {
  min-height: 120px;
  resize: none;
}

.ios-textarea-icon {
  top: 20px;
}

/* Additional iOS-like form styles */
.ios-form-group.active {
  transform: translateY(-2px);
}

.ios-form-control.is-valid {
  border-color: #44D7B6;
  background-color: rgba(68, 215, 182, 0.05);
}

.ios-form-control.is-invalid {
  border-color: #FF4C60;
  background-color: rgba(255, 76, 96, 0.05);
}

/* Animation for filled form fields */
.ios-form-control:not(:placeholder-shown) {
  border-color: #e8eaed;  /* Neutral gray border instead of red */
  background-color: rgba(248, 249, 250, 0.5);  /* Very light gray background */
  transition: all 0.3s ease;
}

.ios-form-control:not(:placeholder-shown) + .ios-form-icon {
  color: #6c757d;  /* Neutral gray color for icon */
}

/* =====================
   Buttons Styling
   ===================== */

/* Contact me button */
.btn-contact-me {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(255, 76, 97, 0.3);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  text-decoration: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

.btn-contact-me:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(255, 76, 97, 0.4);
  color: #fff;
  text-decoration: none;
}

.btn-contact-me:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 76, 97, 0.3);
  color: #fff;
  text-decoration: none;
}

/* Button ripple effect for Contact me button */
.btn-contact-me:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-contact-me:focus:not(:active)::after {
  animation: ripple 1s ease-out;
  --ripple-scale: 4;
}

/* iOS-like button ripple effect */
.ios-button-ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: none;
  pointer-events: none;
  width: 100px;
  height: 100px;
}

/* iOS-like Send Button with contact bubble design */
.ios-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #FF6B7D 0%, #FF4C60 100%);
  border-radius: 22px;
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 76, 97, 0.3),
              inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transform-style: preserve-3d;
  perspective: 1000px;
  letter-spacing: 0.2px;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  vertical-align: middle;
}

.ios-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FF5E70 0%, #FF3A50 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.ios-button:hover::before,
.ios-button:focus::before {
  opacity: 1;
}

.ios-button:hover,
.ios-button:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 76, 97, 0.5),
              inset 0 1px 2px rgba(255, 255, 255, 0.4);
  color: #fff;
  text-decoration: none;
}

.ios-button:active {
  transform: translateY(-1px) rotateX(2deg);
  box-shadow: 0 3px 10px rgba(255, 76, 97, 0.3),
              inset 0 1px 1px rgba(255, 255, 255, 0.3);
  color: #fff;
}

.ios-button i {
  margin-right: 8px;
  font-size: 18px;
  position: relative;
  z-index: 2;
  color: #fff !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.ios-button span {
  position: relative;
  z-index: 2;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

.ios-button:hover span:not(.emoji-container) {
  transform: scale(1.02);
}

.ios-button .emoji-container {
  margin-left: 10px;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform-origin: center right;
  animation: wave 2.5s ease-in-out infinite;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.ios-button:hover .emoji-container {
  animation: waveEnhanced 0.8s ease-in-out infinite;
}

/* Button ripple effect */
.ios-button .button-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  z-index: 1;
  border-radius: 50%;
}

.ios-button:hover .button-ripple {
  transform: scale(2);
  opacity: 1;
}

.ios-button:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.ios-button:focus:not(:active)::after {
  animation: rippleEnhanced 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes rippleEnhanced {
  0% {
    transform: scale(0, 0);
    opacity: 0.8;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: scale(50, 50);
  }
}

/* Wave animations for emoji */
@keyframes wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

@keyframes waveEnhanced {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(20deg) scale(1.1); }
  50% { transform: rotate(-15deg) scale(1.05); }
  75% { transform: rotate(15deg) scale(1.08); }
  100% { transform: rotate(0deg) scale(1); }
}

/* Button states */
.ios-button.sending {
  background: linear-gradient(135deg, #FFD15C 0%, #FFDA6A 100%);
  pointer-events: none;
}

.ios-button.sent {
  background: linear-gradient(135deg, #44D7B6 0%, #50E0C0 100%);
  pointer-events: none;
  animation: shadowPulse 1.5s ease-out;
  --pulse-color: rgba(68, 215, 182, 0.7);
}

/* Floating label effect */
.ios-form-label {
  position: absolute;
  top: 0;
  left: 15px;
  font-size: 12px;
  color: var(--color-primary);
  background-color: white;
  padding: 0 5px;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.ios-form-control:focus ~ .ios-form-label,
.ios-form-control:not(:placeholder-shown) ~ .ios-form-label {
  opacity: 1;
}

/* Form focus animation */
.ios-form-group.active .ios-form-control {
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);  /* Blue shadow to match focus state */
}

/* =====================
   Responsive Styles
   ===================== */

/* Staggered entrance animations for collaborator cards in light mode */
.collaborator-item {
  animation: fadeInScale 0.6s ease backwards;
}

.collaborator-item:nth-child(1) { animation-delay: 0.1s; }
.collaborator-item:nth-child(2) { animation-delay: 0.2s; }
.collaborator-item:nth-child(3) { animation-delay: 0.3s; }
.collaborator-item:nth-child(4) { animation-delay: 0.4s; }
.collaborator-item:nth-child(5) { animation-delay: 0.5s; }
.collaborator-item:nth-child(6) { animation-delay: 0.6s; }
.collaborator-item:nth-child(7) { animation-delay: 0.7s; }
.collaborator-item:nth-child(8) { animation-delay: 0.8s; }
.collaborator-item:nth-child(9) { animation-delay: 0.9s; }
.collaborator-item:nth-child(10) { animation-delay: 1.0s; }
.collaborator-item:nth-child(11) { animation-delay: 1.1s; }
.collaborator-item:nth-child(12) { animation-delay: 1.2s; }

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive adjustments for parallax icons */
@media (max-width: 768px) {
  .app-icon-parallax {
    font-size: 18px;
  }
  
  .icon1 .app-icon-parallax, .icon7 .app-icon-parallax { width: 65px; height: 65px; }
  .icon3 .app-icon-parallax, .icon5 .app-icon-parallax, .icon11 .app-icon-parallax { width: 55px; height: 55px; }
  .icon9 .app-icon-parallax { width: 50px; height: 50px; }
  .icon2 .app-icon-parallax, .icon8 .app-icon-parallax { width: 45px; height: 45px; }
  .icon4 .app-icon-parallax, .icon6 .app-icon-parallax, .icon10 .app-icon-parallax, 
  .icon12 .app-icon-parallax { width: 40px; height: 40px; }
  
  /* Adjust font sizes for tablet */
  .icon1 .app-icon-parallax i, 
  .icon7 .app-icon-parallax i, 
  .icon11 .app-icon-parallax i { 
    font-size: 26px; 
  }
  
  .icon3 .app-icon-parallax i,
  .icon5 .app-icon-parallax i,
  .icon9 .app-icon-parallax i { 
    font-size: 22px; 
  }
  
  /* Reduce parallax intensity on mobile */
  .parallax-icon {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .parallax {
    position: absolute;
  }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 480px) {
  .app-icon-parallax {
    font-size: 16px;
  }
  
  .icon1 .app-icon-parallax, .icon7 .app-icon-parallax { width: 55px; height: 55px; }
  .icon3 .app-icon-parallax, .icon5 .app-icon-parallax, .icon11 .app-icon-parallax { width: 48px; height: 48px; }
  .icon9 .app-icon-parallax { width: 45px; height: 45px; }
  .icon2 .app-icon-parallax, .icon8 .app-icon-parallax { width: 40px; height: 40px; }
  .icon4 .app-icon-parallax, .icon6 .app-icon-parallax, .icon10 .app-icon-parallax, 
  .icon12 .app-icon-parallax { width: 38px; height: 38px; }
  
  /* Adjust font sizes for mobile */
  .icon1 .app-icon-parallax i, 
  .icon7 .app-icon-parallax i, 
  .icon11 .app-icon-parallax i { 
    font-size: 22px; 
  }
  
  .icon3 .app-icon-parallax i,
  .icon5 .app-icon-parallax i,
  .icon9 .app-icon-parallax i { 
    font-size: 20px; 
  }
  
  /* Adjust animation for better performance on mobile */
  .app-icon-parallax {
    animation-duration: 10s !important;
  }
}

/* Responsive globe adjustments */
@media (max-width: 576px) {
  #globe-container {
    max-width: 240px;
  }
}

@media (max-width: 400px) {
  #globe-container {
    max-width: 200px;
  }
}

/* =====================
   Terminal and Cursor
   ===================== */

/* Fix for overlapping terminal title */
.Terminal__Toolbar::after {
  content: none !important;
}

.cursor {
  display: inline-block;
  width: 10px;
  background-color: #ffffff;
  margin-left: 2px;
  animation: blink 0.7s steps(1) infinite;
}

#2nd_description_trans {
  display: inline;
  white-space: pre;
}

/* Responsive adjustments for iOS button */
@media (max-width: 768px) {
  .ios-button {
    padding: 12px 25px;
    font-size: 15px;
  }
  
  .ios-button .emoji-container {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .ios-button {
    padding: 10px 22px;
    font-size: 14px;
  }
  
  .ios-button .emoji-container {
    font-size: 16px;
  }
} 