/* Global Styles */
:root {
  --primary-color: #111111;
  --secondary-color: #0a53ac;
  --accent-color: #a2b2c4;
  --accent-gradient: linear-gradient(135deg, #a2b2c4 0%, #b6c4d2 50%, #cad7e3 100%);
  --background-color: #FFFFFF;
  --text-color: #222222;
  --light-gray: #F7F7F7;
  --border-color: #DDDDDD;
  --card-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  --transition-speed: 0.3s;
  --font-main: 'Montserrat', sans-serif;
  --font-alt: 'Lexend Giga', sans-serif;
}

:root.dark-mode {
  --primary-color: #FFFFFF;
  --secondary-color: #8b9bac;
  --accent-color: #8fa1b5;
  --accent-gradient: linear-gradient(135deg, #6e7d8e 0%, #7e8d9f 50%, #8fa1b5 100%);
  --background-color: #121212;
  --text-color: #E0E0E0;
  --light-gray: #1E1E1E;
  --border-color: #333333;
  --card-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Dark Mode Background */
:root.dark-mode body {
  background: linear-gradient(135deg, #0d121d 0%, #131b2c 50%, #141c2f 100%);
}

:root.dark-mode body::before {
  background-image: 
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 60% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 70% 90%, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 80% 15%, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 45% 10%, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 75% 60%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Dark mode gradient orbs */
:root.dark-mode .gradient-orb-1 {
  background: radial-gradient(circle, rgba(121, 144, 255, 00.05) 0%, rgba(114, 137, 218, 0.2) 60%, rgba(114, 137, 218, 0) 100%);
  filter: blur(40px);
  display: block;
}

:root.dark-mode .gradient-orb-2 {
  background: radial-gradient(circle, rgba(149, 76, 233, 0.05) 0%, rgba(138, 108, 255, 0.1) 60%, rgba(138, 108, 255, 0) 100%);
  filter: blur(40px);
  display: block;
}

:root.dark-mode .gradient-orb-3 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(93, 141, 222, 0.1) 70%, rgba(93, 141, 222, 0) 100%);
  filter: blur(40px);
  display: block;
}

:root.dark-mode .gradient-orb-4 {
  background: radial-gradient(circle, rgba(165, 180, 252, 0.05) 0%, rgba(128, 163, 255, 0.1) 65%, rgba(128, 163, 255, 0) 100%);
  filter: blur(40px);
  display: block;
}

/* Dark Mode Header and Navbar */
:root.dark-mode header {
  background-color: rgba(17, 24, 39, 0.8);
}

:root.dark-mode .theme-toggle {
  background-color: rgba(255, 255, 255, 0.05);
  color: #bdbdbd;
}

:root.dark-mode .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
}

:root.dark-mode .connect-button {
  border-color: rgba(255, 255, 255, 0.1);
}

:root.dark-mode .connect-button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f0f0f0;
}

/* Dark Mode ASCII Art */
:root.dark-mode .hero-ascii pre {
  color: var(--primary-color);
}

/* Dark Mode Typing Animation */
:root.dark-mode .hero-welcome .cursor {
  background-color: var(--primary-color);
}

/* Dark Mode Form Elements */
:root.dark-mode .contact-form input,
:root.dark-mode .contact-form textarea {
  background-color: rgba(30, 30, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

:root.dark-mode .contact-form input:focus,
:root.dark-mode .contact-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(125, 108, 188, 0.15);
  background-color: rgba(30, 30, 30, 0.9);
}

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

body {
  background: linear-gradient(135deg, #e5eaf2 0%, #ffffff 50%, #e3eaf2 100%);
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  
}


/* Subtle stars background effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 20% 30%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 50% 50%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 60% 30%, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 70% 90%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 30% 80%, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 80% 15%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 45% 10%, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(1px 1px at 75% 60%, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Remove old pastel blur effect */
/* Pastel Blur Effect - Much more subtle */
body::after {
  display: none;
}

/* Gradient orbs are now visible and animated */

/* Remove additional gradient orbs (KEEPING THEM VISIBLE NOW) */
.gradient-orb-1, .gradient-orb-2 {
  /* Orbs are now visible with new styling */
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
  position: relative;
}

a:hover {
  color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
}

.section-header {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 35px;
  text-align: left;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.section-header:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 0.8rem 0;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.section-header:hover:after {
  width: 80px;
}

.section-header:before {
  content: '';
  position: absolute;
  left: -15px;
  top: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  opacity: 0.1;
  z-index: -1;
}

/* Utility Classes */
.spacer {
  padding-bottom: 60px;
}

.spacer-small {
  padding-bottom: 30px;
}
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  margin: 8px 4px;
  background: linear-gradient(135deg, #667eea, #8ec5fc); /* softened indigo/blue */
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}
.cta-button {
  display: inline-block;   /* make sure it stays inline, not block */
  width: auto;             /* remove forced width if any */
  margin: 8px 4px 0 0;     /* space between buttons, but no large left margin */
  padding: 10px 20px;      /* keep it looking good */
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #5a67d8, #7f9cf5); /* slightly deeper on hover */
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}



/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  background-color: rgba(229, 234, 242, 0.7);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.gradient-overlay {
  display: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  width: 100%;
  transition: all var(--transition-speed) ease;
  max-width: 1600px;
  margin: 0 auto;
}

.home {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  position: relative;
  text-transform: uppercase;
}

.home:after {
  content: '•';
  position: relative;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-left: 4px;
  bottom: 2px;
}

.nav-links {
  display: flex;
  gap: 40px;
  margin: 0 auto;
}

.nav {
  font-weight: 500;
  text-transform: none;
  font-size: 0.9rem;
  padding: 5px 0;
  position: relative;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

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

.nav:after {
  display: none;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Theme Toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.03);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.connect-button {
  padding: 8px 18px;
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 500;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  gap: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.connect-button:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.connect-button:after {
  content: '→';
  font-size: 0.85rem;
  margin-left: 2px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
  text-align: center;
}

.hero::before {
  display: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-welcome {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

/* Typing animation cursor */
.hero-welcome .cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background-color: var(--text-color);
  margin-left: 0;
  margin-right: 5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  49% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-transform: none;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 30px;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 40px;
}

.hero-social {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
}

.hero-social a {
  color: var(--text-color);
  font-size: 1.35rem;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.hero-social a:hover {
  color: var(--accent-color);
  opacity: 1;
}

.hero-btn {
  padding: 10px 25px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: transparent;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 2px;
}

.hero-btn i {
  font-size: 0.8rem;
}

.hero-btn:hover {
  border-color: rgba(0, 0, 0, 0.25);
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

.card-container {
  display: none;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

main.container {
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: transparent;
  margin-top: 60px;
  border-radius: 10px;
  border: none;
}

/* Two-column Layout */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}






/* About Section */
.about-section {
  margin-bottom: 100px;
  padding: 0 20px;
  position: relative;
}

.about-section:before {
  content: '';
  position: absolute;
  top: -15px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
  opacity: 0.3;
  z-index: -1;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-text {
  line-height: 1.8;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0;
  position: relative;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
  padding-left: 10px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text p:first-child {
  font-weight: 500;
}

.about-text p:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  height: 70%;
  width: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

:root.dark-mode .about-content {
  background-color: rgba(30, 30, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Skills Section - Enhanced Style */
.skills-section {
  margin-bottom: 100px;
  padding: 0 20px;
  position: relative;
}

.skills-section:before {
  content: '';
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
  opacity: 0.3;
  z-index: -1;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-category {
  margin-bottom: 20px;
}

.skill-category h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.skill-category h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

:root.dark-mode .skills-container {
  background-color: rgba(30, 30, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-item {
  padding: 8px 16px;
  background-color: var(--light-gray);
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 6px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.skill-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  opacity: 0.8;
}

.skill-item i, 
.skill-item img {
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.skill-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

/* Skill item color variations */
.skill-html {
  color: #E44D26;
}
.skill-html:before {
  background-color: #E44D26;
}

.skill-css {
  color: #264DE4;
}
.skill-css:before {
  background-color: #264DE4;
}

.skill-js {
  color: #F7DF1E;
}
.skill-js:before {
  background-color: #F7DF1E;
}

.skill-python {
  color: #3776AB;
}
.skill-python:before {
  background-color: #3776AB;
}

.skill-cpp {
  color: #00599C;
}
.skill-cpp:before {
  background-color: #00599C;
}

.skill-lua {
  color: #2C2D72;
}
.skill-lua:before {
  background-color: #2C2D72;
}

.skill-java {
  color: #007396;
}
.skill-java:before {
  background-color: #007396;
}

.skill-aws {
  color: #FF9900;
}
.skill-aws:before {
  background-color: #FF9900;
}

.skill-wordpress {
  color: #21759B;
}
.skill-wordpress:before {
  background-color: #21759B;
}

.skill-github {
  color: #181717;
}
.skill-github:before {
  background-color: #181717;
}

.skill-ae {
  color: #9999FF;
}
.skill-ae:before {
  background-color: #9999FF;
}

.skill-chatgpt {
  color: #10A37F;
}
.skill-chatgpt:before {
  background-color: #10A37F;
}

.skill-roblox {
  color: #00A2FF;
}
.skill-roblox:before {
  background-color: #00A2FF;
}

.skill-uiux {
  color: var(--accent-color);
}
.skill-uiux:before {
  background-color: var(--accent-color);
}

.skill-react {
  color: #61DAFB;
}
.skill-react:before {
  background-color: #61DAFB;
}

.skill-node {
  color: #339933;
}
.skill-node:before {
  background-color: #339933;
}

.skill-vue {
  color: #42b883;
}
.skill-vue:before {
  background-color: #42b883;
}

.skill-shopify {
  color: #96bf48;
}
.skill-shopify:before {
  background-color: #96bf48;
}

/* Animation for skills */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.skill-item {
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}

/* Stagger the animations of skill items */
.skill-item:nth-child(1) { animation-delay: 0.1s; }
.skill-item:nth-child(2) { animation-delay: 0.15s; }
.skill-item:nth-child(3) { animation-delay: 0.2s; }
.skill-item:nth-child(4) { animation-delay: 0.25s; }
.skill-item:nth-child(5) { animation-delay: 0.3s; }
.skill-item:nth-child(6) { animation-delay: 0.35s; }
.skill-item:nth-child(7) { animation-delay: 0.4s; }
.skill-item:nth-child(8) { animation-delay: 0.45s; }

/* Certification Section */
.cert-section {
  margin-bottom: 100px;
  padding: 0 20px;
  position: relative;
}

.cert-section:after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
  opacity: 0.2;
  z-index: -1;
}

.certifications {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-direction: column;
}

.cert-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 30px;
  width: 100%;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) cubic-bezier(0.19, 1, 0.22, 1);
  background-color: var(--light-gray);
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.cert-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0.8;
  transition: all var(--transition-speed) ease;
}

.cert-card:hover {
  transform: translateY(-8px) translateX(5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.cert-card:hover:before {
  width: 6px;
}

.cert-image {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
}

.cert-card:hover .cert-image {
  transform: scale(1.05);
}

.cert-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cert-textbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  flex: 1;
}

.cert-textbox h1 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--primary-color);
  position: relative;
}

.cert-textbox p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  font-weight: 400;
  position: relative;
}

:root.dark-mode .cert-card {
  background-color: rgba(30, 30, 30, 0.7);
}

:root.dark-mode .cert-image {
  background-color: rgba(40, 40, 40, 0.9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

:root.dark-mode .cert-textbox p {
  color: #aaa;
}

/* Experience Section */
.experience-section {
  margin-bottom: 100px;
  padding: 0 20px;
}

.work-item {
  margin-bottom: 40px;
}

.work-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.section-title {
  font-size: 1.6rem;
  text-align: left;
  margin-bottom: 30px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.images {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.images img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) cubic-bezier(0.19, 1, 0.22, 1);
  border: none;
}

.images img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.description {
  background-color: var(--light-gray);
  padding: 40px;
  box-shadow: var(--card-shadow);
  border: none;
}

.description h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-transform: none;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.description p {
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
  color: #555;
}

/* Portfolio Section */
.portfolio-section {
  margin-bottom: 100px;
  padding: 0 20px;
}

.portfolio-item {
  margin-bottom: 60px;
}

.portfolio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Contact Section - Updated */
.contact-section {
  margin-bottom: 120px;
  margin-top: 60px;
  transform: translateY(30px);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-section .section-header {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-section p {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .row > * {
  flex: 1;
  min-width: 0; /* Prevents flex items from overflowing */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(140, 137, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
}

.contact-form .row {
  display: flex;
  gap: 20px;
}

.contact-form .row > * {
  flex: 1;
}

button.cta-button {
  align-self: center;
  padding: 14px 30px;
  background: var(--accent-gradient);
  color: white;
  font-weight: 500;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-top: 20px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

button.cta-button:hover {
  background: linear-gradient(135deg, #7b78e8 0%, #9178e8 50%, #a481e8 100%);
  transform: translateY(-3px);
}

:root.dark-mode button.cta-button {
  background: var(--accent-gradient);
}

:root.dark-mode button.cta-button:hover {
  background: linear-gradient(135deg, #5c57a0 0%, #6d5cad 50%, #7a62ba 100%);
}

/* Footer - Gentle Monster inspired */
footer {
  position: relative;
  background-color: white;
  color: #555;
  padding: 20px 0;
  margin-top: 100px;
  font-weight: 400;
  font-size: 0.85rem;
}

footer::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23FFFFFF' d='M0,25 C320,40 480,15 720,25 C960,35 1120,15 1440,25 L1440,50 L0,50 Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-rights {
  font-size: 0.75rem;
  color: #888;
  text-align: right;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .footer-rights {
    text-align: center;
  }
}

:root.dark-mode footer {
  background-color: #1a1a1a;
  color: #888;
}

:root.dark-mode footer::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%231a1a1a' d='M0,25 C320,40 480,15 720,25 C960,35 1120,15 1440,25 L1440,50 L0,50 Z'%3E%3C/path%3E%3C/svg%3E");
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Section animations */
section {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1), transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Active navigation link */
.nav.active {
  color: var(--accent-color);
  font-weight: 500;
}

.nav:hover:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transform: scaleX(0.7);
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav:hover:after {
  transform: scaleX(1);
  opacity: 1;
}

.cert-card:nth-child(odd) {
  animation: slideInLeft 1s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-play-state: paused;
}

.cert-card:nth-child(even) {
  animation: slideInRight 1s cubic-bezier(0.19, 1, 0.22, 1) both;
  animation-play-state: paused;
}

section.visible .cert-card {
  animation-play-state: running;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    padding: 50px 30px;
  }
  
  .front h1 {
    font-size: 4rem;
  }
}

@media (max-width: 992px) {
  .front h1 {
    font-size: 3.5rem;
  }
  
  .two-column-layout, 
  .work-content, 
  .portfolio-content, 
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .cert-card {
    width: 100%;
  }
  
  .nav-links {
    margin-left: 30px;
    gap: 25px;
  }
  
  .navbar {
    padding: 16px 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    margin-left: 0;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    width: 80%;
    height: 100vh;
    padding: 100px 30px;
    gap: 20px;
    transition: right var(--transition-speed) ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    backdrop-filter: blur(10px);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1000;
  }
  
  .connect-button {
    display: none;
  }
  
  .front h1 {
    font-size: 3rem;
  }
  
  .front h3, .back h3 {
    font-size: 1rem;
  }
  
  .section-header {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .home {
    font-size: 1.2rem;
  }
  
  .front h1 {
    font-size: 2.5rem;
  }
  
  .section-header {
    font-size: 1.6rem;
  }
  
  .cert-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .cert-textbox {
    text-align: center;
  }
  
  .skill-list {
    justify-content: center;
  }
  
  .front h3, .back h3, .back h4 {
    font-size: 0.9rem;
  }
  
  .container {
    padding: 40px 20px;
  }
  
  .description, .contact-info {
    padding: 25px;
  }
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
  opacity: 0.7;
  mix-blend-mode: normal;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.3s;
  opacity: 1;
}

.custom-cursor.active {
  width: 60px;
  height: 60px;
  opacity: 0.4;
}

.cursor-dot.active {
  width: 4px;
  height: 4px;
}

.custom-cursor.expand {
  width: 30px;
  height: 30px;
  opacity: 0.4;
  background-color: var(--accent-color);
  border: none;
}

.cursor-dot.expand {
  width: 3px;
  height: 3px;
}

/* Form success message */
.form-success {
  background-color: var(--light-gray);
  padding: 40px;
  text-align: center;
  border: none;
  box-shadow: var(--card-shadow);
  transition: opacity 0.5s ease;
  opacity: 0;
}

.form-success i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  color: var(--primary-color);
}

.form-success p {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .custom-cursor, .cursor-dot {
    display: none;
  }
}

.first-heading {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
  letter-spacing: -1px;
}

/* Connect button hover effect */
.connect-button:hover {
  border-color: rgba(0, 0, 0, 0.15);
  background-color: rgba(0, 0, 0, 0.01);
}

:root.dark-mode .section-header {
  color: var(--dark-primary-color);
}

:root.dark-mode .card .front,
:root.dark-mode .card .back {
  background-color: rgba(30, 30, 30, 0.6);
  border: 1px solid rgba(50, 50, 50, 0.5);
}

:root.dark-mode .card .front h1,
:root.dark-mode .card .back h3 {
  color: var(--dark-primary-color);
}

:root.dark-mode .card .front h3,
:root.dark-mode .card .back h4 {
  color: var(--dark-text-color);
}

:root.dark-mode .social-icons a {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--dark-primary-color);
}

.social-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-list li a i {
  font-size: 1rem;
  width: 20px;
  transition: transform 0.2s ease;
}

.social-list li a:hover i {
  transform: scale(1.2);
}

/* ASCII Art in Hero Section */
.hero-ascii {
  display: flex;
  align-items: center;
  margin-right: 0;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.hero-ascii pre {
  color: var(--primary-color);
  font-family: monospace;
  font-size: 1rem;
  line-height: 1.2;
  white-space: pre;
  letter-spacing: 0;
  user-select: none;
}

.hero-ascii:hover {
  opacity: 1;
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-ascii {
    margin-top: 40px;
    margin-right: 0;
  }
}

.experience-section, .portfolio-section {
  width: 100%;
}

.project-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

.project-showcase {
  flex: 1 1 calc(50% - 30px); /* two per row, leave gap */
  max-width: calc(50% - 30px); /* cap at half row */
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .project-showcase {
      flex: 1 1 100%;
      max-width: 100%;
  }
}




.gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 450px;
  background-color: #f5f5f5;
}

.gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 1rem;
  color: var(--text-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.gallery-nav.prev {
  left: 15px;
}

.gallery-nav.next {
  right: 15px;
}

.gallery-nav:hover {
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.gallery-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 6px 10px;
  border-radius: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: white;
  transform: scale(1.2);
}

.project-info {
  padding: 25px 30px 30px;
  background-color: white;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.project-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color);
}

.project-skills {
  margin-top: 5px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-skills h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
  width: 100%;
}

.project-skills .skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-skills .skill-item {
  padding: 5px 12px;
  font-size: 0.85rem;
}

/* Dark Mode Project Showcase */
:root.dark-mode .project-showcase {
  background-color: rgba(30, 30, 30, 0.7);
  border-color: rgba(255, 255, 255, 0.05);
}

:root.dark-mode .project-info {
  background-color: rgba(25, 25, 25, 0.95);
}

:root.dark-mode .gallery-container {
  background-color: #1e1e1e;
}

:root.dark-mode .gallery-slide img {
  background-color: #1e1e1e;
}

:root.dark-mode .gallery-nav {
  background-color: rgba(50, 50, 50, 0.9);
  color: #f0f0f0;
}

:root.dark-mode .gallery-nav:hover {
  background-color: rgba(60, 60, 60, 0.95);
}

/* Responsive design for project showcases */
@media (max-width: 991px) {
  .gallery-container {
    aspect-ratio: 16 / 10;
    max-height: 400px;
  }
}

@media (max-width: 767px) {
  .gallery-container {
    aspect-ratio: 16 / 12;
    max-height: 350px;
  }
}

/* Gradient orbs for subtle background effect */
.gradient-orb-1, .gradient-orb-2, .gradient-orb-3, .gradient-orb-4 {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  animation: float 7s ease-in-out infinite alternate;
}

.gradient-orb-1 {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, hsla(208, 100%, 92%, 0.6) 0%, rgba(174, 192, 209, 0.2) 60%, rgba(174, 192, 209, 0) 100%);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
  display: block;
}

.gradient-orb-2 {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(217, 243, 255, 0.5) 0%, rgba(162, 178, 196, 0.15) 60%, rgba(162, 178, 196, 0) 100%);
  bottom: -5%;
  left: -5%;
  animation-delay: -5s;
  display: block;
}

.gradient-orb-3 {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(215, 204, 255, 0.45) 0%, rgba(198, 213, 231, 0.12) 70%, rgba(198, 213, 231, 0) 100%);
  bottom: 20%;
  right: 5%;
  animation-delay: -8s;
  animation-duration: 20s;
  display: block;
}

.gradient-orb-4 {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(229, 233, 250, 0.55) 0%, rgba(186, 200, 218, 0.18) 65%, rgba(186, 200, 218, 0) 100%);
  top: 30%;
  left: 10%;
  animation: float2 15s ease-in-out infinite alternate;
  animation-delay: -12s;
  display: block;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(9%, 3%) scale(1.12);
  }
  50% {
    transform: translate(4%, -5%) scale(0.95);
  }
  75% {
    transform: translate(-9%, 4%) scale(1.08);
  }
  100% {
    transform: translate(-4%, -3%) scale(0.9);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) scale(0.9);
  }
  25% {
    transform: translate(-7%, 5%) scale(1.1);
  }
  50% {
    transform: translate(5%, 8%) scale(0.92);
  }
  75% {
    transform: translate(6%, -5%) scale(1.05);
  }
  100% {
    transform: translate(-3%, -6%) scale(0.85);
  }
}

/* Hero Section Mobile Fixes */
@media (max-width: 768px) {

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    padding: 170px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 15px;
    text-align: center;
  }

  .hero-welcome span {
    display: inline-flex;
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .hero-social {
    justify-content: center;
    margin-bottom: 25px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-ascii {
    display: none;
  }
}

@media (min-width: 769px) {
  .hero-ascii {
    display: flex;
    align-items: center;
    margin-right: 0;
    opacity: 0.8;
  }

  .hero-ascii pre {
    color: var(--primary-color);
    font-family: monospace;
    font-size: 1rem;
    line-height: 1.2;
    white-space: pre;
    letter-spacing: 0;
    user-select: none;
  }
}

/* Footer Mobile Fixes */
@media (max-width: 768px) {
  footer {
    padding: 20px;
    margin-top: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-copyright,
  .footer-rights {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
  }

  footer::before {
    height: 15px;
    top: -15px;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-welcome {
    font-size: 0.9rem;
  }

  .hero-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .hero-social a {
    font-size: 1.1rem;
  }

  .hero-ascii pre {
    font-size: 0.6rem;
  }

  .contact-section {
    padding: 30px 15px;
  }

  .contact-section .section-header {
    font-size: 1.8rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1090px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 120px;
    text-align: center;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    max-width: 600px;
    padding-top:160px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-welcome, .hero-social, .hero-actions {
    justify-content: center;
  }

  .hero-ascii {
    display: none;
  }
}

@media (min-width: 1091px) {
  .hero-ascii {
    display: flex;
    align-items: center;
    margin-right: 0;
    opacity: 0.8;
  }
}