/* author: https://codepen.io/yudizsolutions/pen/bGzKbwm (modified) */
* { padding: 0; margin: 0; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }

/* Root Variables - Greenified Color Scheme */
:root { 
  --white: #ffffff;
  --black: #000000;
  --light-t1: #D4FFE4;
  --text-color-1: rgba(212, 255, 228, 0.85);
  --text-color-4: #72F9A1;
  --text-color-5: #4DE97B;
  --text-color-6: #00E15C;
  --dark-blue: rgba(16, 43, 30, 0.9);
  --dark: rgba(8, 22, 15, 0.95);
  --primary: #D4FFE4;
  --cyber-green: #00E15C;
  --cyber-green-dark: #02863a;
  --cyber-green-light: #72F9A1;
  --cyber-green-glow: rgba(0, 225, 92, 0.7);
}

/* Base Styles */
body {
  font-family: 'VALORANT', sans-serif;
  font-size: 14px;
  line-height: 1.6; 
  font-weight: 400; 
  font-style: normal; 
  width: 100%; 
  height: 100%; 
  padding: 0; 
  margin: auto; 
  max-width: 2560px;
  background: #0A1A12;
  color: var(--text-color-1);
  letter-spacing: 0.03em;
}

a { 
  text-decoration: none; 
  outline: none; 
  color: var(--text-color-1); 
  cursor: pointer; 
  transition: color 0.3s ease;
}
a:hover { color: var(--cyber-green-light); }
a, a:active, a:focus { outline: none; text-decoration: none; }
img { 
  border: none; 
  max-width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center center;
}
ul, li { padding: 0; margin: 0; }

.custom-container { padding: 0 32px; margin: 0 auto; }

/* Typography - Improved Readability with Reduced Font Sizes */
h1 { 
  font-family: 'Insomnia', sans-serif; 
  font-size: 76px; /* Reduced from 86px */
  font-style: normal; 
  font-weight: 400; 
  line-height: 1.2; 
  letter-spacing: 4.8px; /* Slightly reduced to match font size */
  background: linear-gradient(180deg, var(--cyber-green) 0%, var(--cyber-green-light) 90%); 
  background-clip: text; 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  text-shadow: 0 0 20px rgba(0, 225, 92, 0.3);
  margin-bottom: 10px;
  

}

h5 { 
  font-size: 16px; /* Reduced from 18px */
  font-style: normal; 
  font-weight: 400; 
  line-height: 1.4; 
  letter-spacing: 9px; /* Adjusted to match font size */
  color: var(--text-color-5); 
  text-transform: uppercase; 
  text-shadow: 0 0 10px rgba(0, 225, 92, 0.2);
  outline-color: var(--black);
  outline-width: 3px;
  outline-style:inherit;
}

h6 {
  font-size: 14px; /* Reduced from 16px */
  font-style: normal; 
  font-weight: 400; 
  line-height: 1.5; 
  letter-spacing: 16px; /* Adjusted for better proportion */
  color: var(--text-color-4); 
  text-shadow: 0 0 8px rgba(0, 225, 92, 0.2);
}

p {
  font-size: 14px; /* Increased from 12px for better readability */
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-color-1);
  text-shadow: 0 0 2px rgba(212, 255, 228, 0.1);
}

/* Custom Cursor */
.cursor { 
  position: fixed; 
  width: 40px; 
  height: 40px; 
  margin-left: -20px; 
  margin-top: -20px; 
  border-radius: 50%; 
  border: 2px solid var(--cyber-green); 
  transition: transform 0.3s ease; 
  transform-origin: center center; 
  pointer-events: none; 
  z-index: 1000; 
  box-shadow: 0 0 15px rgba(0, 225, 92, 0.4);
}

.grow, .grow-small { 
  transform: scale(2); 
  background: rgba(0, 225, 92, 0.15); 
  opacity: 0.5; 
}

/* Header Section */
.header-section-main { 
    position: fixed;
  padding-top: 40px; 
  width: 100%;
  z-index: 99;
}

.header-section-inner {
 position: relative;
  display: flex;
  justify-content: space-between;
}

.header-logo {
    width: 20%; /* Adjusted to fit better in the header */
    
  flex-shrink: 0;
}

.header-logo img {
    margin-top: -40px;
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 8px rgba(0, 225, 92, 0.6));
}

.header-menu {
    position: relative;
  width: 80%; /* Restored to 80% to avoid layout issues */
}

.header-menu ul {
  display: flex;
  gap: 90px;
  justify-content: end;
  list-style: none;
}

.header-menu ul li a { 
  position: relative; 
  
  font-size: 22px; /* Reduced from 26px */
  line-height: 1.2; 
  font-weight: 400; 
  text-transform: uppercase; 
  font-style: normal; 
  color: var(--text-color-1); 
  display: inline-block; 
  transition: 0.3s; 
  text-shadow: 0 0 10px rgba(0, 225, 92, 0.3);
}

.header-menu ul li a:hover,
.header-menu ul li.active a { 
  color: var(--cyber-green-light); 
}

.header-menu ul li a:hover:after,
.header-menu ul li.active a:after { 
  transform: translate(-50%, 0); 
  -webkit-transform: translate(-50%, 0); 
  opacity: 1; 
}

.header-menu ul li a:after { 
  content: ""; 
  position: absolute; 
  bottom: -50px; 
  left: 50%; 
  display: block; 
  background: url("https://www.yudiz.com/codepen/valorant-characters/menu-hover-icon.svg") center center / cover; 
  width: 70px; 
  height: 70px; 
  transform: translate(-50%, 30px); 
  -webkit-transform: translate(-50%, 30px); 
  transition: 0.3s; 
  -webkit-transition: 0.3s; 
  opacity: 0; 
  filter: hue-rotate(210deg) brightness(1.2);
}

/* Header SVG Animation */
.header-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.cyber-grid {
  width: 100%;
  height: 100%;
}

.hex-path {
  fill: none;
  stroke: rgba(0, 225, 92, 0.15);
  stroke-width: 1;
}

.grid-bg {
  opacity: 0.15;
}

.cyber-line {
  fill: none;
  stroke: var(--cyber-green);
  stroke-width: 0.5;
  stroke-dasharray: 10, 15;
  animation: line-dash 20s linear infinite;
  opacity: 0.2;
}

.cyber-line:nth-child(odd) {
  animation-duration: 25s;
  animation-direction: reverse;
}

.cyber-line:nth-child(3n) {
  animation-duration: 30s;
  stroke-dasharray: 15, 20;
}

.data-node {
  fill: var(--cyber-green);
  opacity: 0.4;
  animation: node-pulse 4s infinite alternate;
}

.data-node:nth-child(odd) {
  animation-delay: 1s;
}

.data-node:nth-child(3n) {
  animation-delay: 2s;
}

.data-pulse {
  fill: var(--text-color-6);
  opacity: 0;
  animation: data-travel 8s infinite;
}

.data-pulse:nth-child(2) {
  animation-delay: 3s;
}

.data-pulse:nth-child(3) {
  animation-delay: 6s;
}

/* Header Opacity Bar */
.header-opacity-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(16, 43, 30, 0.45) 0%, rgba(0, 225, 92, 0.25) 50%, rgba(16, 43, 30, 0.45) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
  border-bottom: 1px solid rgba(0, 225, 92, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Banner Section */
.banner-section-main {
  position: relative;
  z-index: 9;
  overflow: hidden;
}

.banner-section-main .banner-section-loop {
  position: relative; 
  padding-top: 42px;
  display: flex;
  align-items: center;
  background: no-repeat top center / 100% 100%; 
  width: 100%;
  height: 100vh;
  gap: 20px;
}

.banner-left-vertical-main { 
  width: calc(7% - 6.66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
} 

.banner-main-img { 
  width: calc(53% - 6.66px); 
  align-self: end;
  max-height: 865px;
} 

.banner-content-main { 
  width: calc(28% - 6.66px); 
  padding-top: 70px;
} 

.banner-left-vertical-main h6 { 
  writing-mode: vertical-rl; 
  text-orientation: mixed;
} 

.banner-content-main h5 { 
  padding-bottom: 12px;
} 

.banner-section-loop .banner-content-main h1 {
  display: inline-flex; 
  padding-bottom: 28px;
}

.controller-box-section { 
  border: 1px solid var(--cyber-green); 
  background: linear-gradient(180deg, rgba(16, 43, 30, 0.30) 0%, rgba(0, 225, 92, 0.15) 100%); 
  padding: 20px; 
  display: flex; 
  gap: 15px; 
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 225, 92, 0.2);
} 

.controller-box-img { 
  width: 50px; 
  height: 50px; 
  flex-shrink: 0; 
  filter: drop-shadow(0 0 5px rgba(0, 225, 92, 0.5));
} 

.banner-content-main .controller-box-content h5 { 
  letter-spacing: normal; 
  padding-bottom: 10px; 
  color: var(--cyber-green-light);
} 

.controller-icons-main { 
  display: flex; 
  gap: 18px; 
  padding-bottom: 45px; 
} 

.controller-icons-inner { 
  border: 1px solid var(--cyber-green); 
  flex: 1;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 225, 92, 0.1);
} 

.controller-icons-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 225, 92, 0.3);
}

.controller-img { 
  padding: 18px; 
  text-align: center;
} 

.controller-img i {
  font-size: 2.5rem;
  color: var(--cyber-green);
  text-shadow: 0 0 15px var(--cyber-green-glow);
  display: block;
  margin: 0 auto;
} 

.controller-icons-inner p { 
  font-size: 14px; 
  line-height: 16px; 
  color: var(--light-t1); 
  text-transform: uppercase; 
  text-align: center; 
  padding: 5px; 
  border-top: 1px solid var(--cyber-green); 
  background: linear-gradient(180deg, rgba(16, 43, 30, 0.30) 0%, rgba(0, 225, 92, 0.15) 100%);
} 

.banner-section-loop .view-contract-btn-main {
  position: relative;
  display: block;
  background: url("https://www.yudiz.com/codepen/valorant-characters/button-bg.svg") no-repeat center center / cover;
  width: 285px;
  height: 65px;
  z-index: 1;
  cursor: pointer;
  filter: hue-rotate(210deg) brightness(1.2);
  transition: all 0.3s ease;
}

.banner-section-loop .view-contract-btn-main:hover {
  transform: translateY(-3px);
  filter: hue-rotate(210deg) brightness(1.4);
}

.banner-section-loop .view-contract-btn-main a {
  font-size: 16px; /* Reduced from 18px */
  line-height: 20px;
  text-transform: uppercase; 
  color: var(--light-t1);
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  display: block;
  text-shadow: 0 0 10px rgba(212, 255, 228, 0.5);
}

/* Email popup styling */
.email-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, var(--dark-blue), var(--dark));
  color: var(--primary);
  border: 1px solid var(--cyber-green);
  border-radius: 5px;
  padding: 10px 15px;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(0, 225, 92, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  z-index: 10;
  font-size: 14px; /* Reduced from 16px */
  font-weight: 500;
}

.email-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: var(--cyber-green) transparent transparent transparent;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 22, 15, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: linear-gradient(145deg, var(--dark-blue), var(--dark));
  border: 2px solid var(--cyber-green);
  border-radius: 10px;
  width: 80%;
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 30px rgba(0, 225, 92, 0.6);
  transform: translateY(30px);
  transition: all 0.4s ease;
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--cyber-green);
  position: sticky;
  top: 0;
  background: rgba(16, 43, 30, 0.95);
  z-index: 2;
}

.modal-header h2 {
  font-family: 'Insomnia', sans-serif;
  font-size: 26px; /* Reduced from 28px */
  margin: 0;
  background: linear-gradient(180deg, var(--cyber-green) 0%, var(--cyber-green-light) 90%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(0, 225, 92, 0.4);
}

.modal-close {
  cursor: pointer;
  font-size: 24px;
  color: var(--cyber-green);
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(0, 225, 92, 0.2);
  transform: rotate(90deg);
  text-shadow: 0 0 10px rgba(0, 225, 92, 0.8);
}

.modal-content {
  padding: 30px 25px;
}

/* Tech Stack Styles */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.cyber-panel {
  background: rgba(16, 43, 30, 0.30);
  border: 1px solid var(--cyber-green);
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 225, 92, 0.2);
  transition: all 0.3s ease;
}

.cyber-panel:hover {
  box-shadow: 0 0 20px rgba(0, 225, 92, 0.4);
  transform: translateY(-5px);
}

.cyber-panel h3 {
  color: var(--cyber-green-light);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px; /* Reduced from 20px */
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 225, 92, 0.4);
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cyber-chip {
  background: linear-gradient(145deg, rgba(16, 43, 30, 0.6), rgba(0, 225, 92, 0.2));
  border: 1px solid var(--cyber-green);
  padding: 7px 12px; /* Slightly reduced padding */
  border-radius: 3px;
  font-size: 14px; /* Reduced from 15px */
  display: inline-block;
  color: var(--light-t1);
  text-transform: uppercase;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(0, 225, 92, 0.1);
}

.cyber-chip:hover {
  background: linear-gradient(145deg, rgba(16, 43, 30, 0.8), rgba(0, 225, 92, 0.3));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 225, 92, 0.3);
}

/* GitHub Stats Styles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.stat-card {
  background: rgba(16, 43, 30, 0.30);
  border: 1px solid var(--cyber-green);
  padding: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 225, 92, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 0 20px rgba(0, 225, 92, 0.4);
  transform: translateY(-5px);
}

.stat-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Improved Background Image Handling */
.banner-section-loop {
  position: relative;
  /* Other properties remain the same */
}

.banner-section-loop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
  filter: brightness(0.7) contrast(1.2);
}

/* Animations */
@keyframes line-dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 500; }
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.3; r: 6; }
  50% { opacity: 0.7; r: 8; }
}

@keyframes data-travel {
  0% { opacity: 0; r: 2; }
  20% { opacity: 1; r: 4; }
  80% { opacity: 1; r: 4; }
  100% { opacity: 0; r: 2; transform: translateX(800px); }
}

@keyframes character-animation {
  0% { transform: scale(0.95) translate(-50%, 10%); }
  50% { transform: scale(1.05) translate(-50%, 5%); }
  100% { transform: scale(1) translate(-50%, 10%); }
}

/* Responsive Styles */
@media only screen and (max-width: 1600px) {
  .header-section-main { padding-top: 35px; }
  .header-menu ul li a:after { bottom: -60px; } 
  
  .banner-left-vertical-main { margin-top: 0; } 
  .banner-left-vertical-main h6 { letter-spacing: 16px; } 
  .banner-content-main h5 { font-size: 16px; line-height: 20px; }
  .banner-section-loop .banner-content-main h1 { 
    font-size: 65px; /* Reduced from 70px */
    line-height: 76px; /* Adjusted line height */
    padding-bottom: 24px; 
  } 
  .controller-box-img { width: 45px; height: 45px; } 
  .controller-box-section { padding: 15px; margin-bottom: 12px; } 
  .controller-img { padding: 14px; }
  .controller-icons-main { gap: 16px; padding-bottom: 35px; } 
  .banner-section-loop .view-contract-btn-main a { font-size: 16px; line-height: 20px; } 
}

@media only screen and (max-width: 1300px) {
  .header-section-main { padding-top: 30px; }
  .header-menu ul li a:after { bottom: -56px; }
  .header-menu ul { gap: 70px; }
  .custom-container { padding: 0 18px; }
  
  .banner-main-img { width: calc(50% - 6.66px); } 
  .banner-content-main { width: calc(30% - 6.66px); }
  .banner-section-loop .banner-content-main h1 { 
    font-size: 50px; /* Reduced from 55px */ 
    line-height: 60px; /* Adjusted line height */
    padding-bottom: 20px; 
  }
  .controller-box-img { width: 40px; height: 40px; }
  .controller-box-section { padding: 12px; margin-bottom: 10px; }
  .banner-content-main h5 { font-size: 14px; line-height: 18px; }
  .controller-img { padding: 12px; }
  .controller-icons-main { gap: 14px; padding-bottom: 30px; }
  .banner-section-loop .view-contract-btn-main { width: 240px; height: 55px; }
  .banner-section-loop .view-contract-btn-main a { font-size: 14px; line-height: 18px; }
}

@media only screen and (max-width: 1200px) {
  /* Adjust padding and margins for better space usage */
  .custom-container { padding: 0 20px; }
  
  h1 { 
    font-size: 60px;
    line-height: 1.1;
  }
  
  .header-menu ul { gap: 40px; }
}

@media only screen and (max-width: 991px) {
  /* Tablet Layout */
  h1 { 
    font-size: 50px;
    line-height: 1.1;
  }
  
  .banner-section-main .banner-section-loop {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
    gap: 10px;
  }
  
  .banner-left-vertical-main {
    width: 100%;
    flex-direction: row;
    margin-top: 0;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .banner-left-vertical-main h6 {
    writing-mode: horizontal-tb;
    letter-spacing: 5px;
  }
  
  .banner-main-img {
    width: 70%;
    align-self: center;
    margin-bottom: 30px;
  }
  
  .banner-content-main {
    width: 90%;
    padding-top: 0;
    text-align: center;
  }
  
  .controller-box-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .controller-box-img {
    margin-bottom: 15px;
  }
  
  .banner-section-loop .view-contract-btn-main {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {
  /* Mobile Layout */
  .header-section-inner {
    position: relative;
  }
  
  .header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 22, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding-top: 100px;
  }
  
  .header-menu.active {
    transform: translateX(0);
  }
  
  .header-menu ul {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  
  .header-menu ul li a {
    font-size: 20px;
  }
  
  .header-menu ul li a:after {
    display: none;
  }
  
  /* Mobile Menu Toggle Button */
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    z-index: 1001;
    cursor: pointer;
  }
  
  .mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--cyber-green);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }
  
  .mobile-menu-toggle span:nth-child(1) {
    top: 10px;
  }
  
  .mobile-menu-toggle span:nth-child(2), .mobile-menu-toggle span:nth-child(3) {
    top: 20px;
  }
  
  .mobile-menu-toggle span:nth-child(4) {
    top: 30px;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    transform: rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
  }
  
  /* Additional mobile adjustments */
  h1 {
    font-size: 40px;
  }
  
  h5 {
    font-size: 14px;
    letter-spacing: 5px;
  }
  
  .banner-main-img {
    width: 85%;
  }
  
  .controller-icons-main {
    flex-wrap: wrap;
  }
  
  .controller-icons-inner {
    min-width: 40%;
  }
  
  /* Modal adjustments for mobile */
  .modal-content {
    padding: 20px 15px;
  }
  
  .cyber-panel {
    padding: 15px;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }
  
  .banner-main-img {
    width: 100%;
  }
  
  .controller-icons-main {
    gap: 10px;
  }
  
  .controller-icons-inner {
    min-width: 45%;
  }
  
  .controller-img i {
    font-size: 2rem;
  }
  
  .controller-img {
    padding: 10px;
  }
  
  .banner-section-loop .view-contract-btn-main {
    width: 200px;
    height: 50px;
  }
  
  .banner-section-loop .view-contract-btn-main a {
    font-size: 14px;
  }
}
