/*Font Awesome Free Icon*/
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/*Google fonts*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Rubik:500,700,900&display=swap");

/* =================================
   Responsive Auto-Scaling & Viewport
   ================================= */

/* Base responsive scaling */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Auto-scaling based on screen size */
@media screen and (min-width: 1921px) {
  html {
    font-size: 18px;
  }
  .container {
    max-width: 1800px;
  }
}

@media screen and (max-width: 1920px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 1600px) {
  html {
    font-size: 15px;
  }
}

@media screen and (max-width: 1366px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 1200px) {
  html {
    font-size: 13px;
  }
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 11px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 10px;
  }
}

/* Container auto-scaling */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Main content area responsive scaling */
.main-content {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Sidebar responsive scaling */
.aside {
  width: 270px;
  min-width: 270px;
  max-width: 270px;
  flex-shrink: 0;
}

@media screen and (max-width: 1199px) {
  .aside {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    position: fixed;
    left: -100%;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .aside.open {
    left: 0;
  }

  .main-content {
    width: 100%;
    left: 0;
  }
}

/* Section responsive scaling */
.section {
  width: calc(100% - 270px);
  left: 270px;
  max-width: calc(100vw - 270px);
  box-sizing: border-box;
}

@media screen and (max-width: 1199px) {
  .section {
    width: 100%;
    left: 0;
    max-width: 100vw;
  }
}

/* Additional responsive improvements */
@media screen and (max-width: 1600px) {
  .container {
    padding: 0 15px;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 5px;
  }
}

/* Prevent horizontal scroll */
* {
  box-sizing: border-box;
}

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
}

/* Better touch targets for mobile */
@media screen and (max-width: 768px) {
  .btn,
  button,
  a {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* General Style */
/* Mobile Menu Toggle Button */
.nav-toggler {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: #ec1839;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.nav-toggler:hover {
  background: #d4152e;
  transform: scale(1.05);
}

@media screen and (max-width: 1199px) {
  .nav-toggler {
    display: block;
  }
}

body {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}

::before,
::after {
  box-sizing: border-box;
}

input,
textarea,
select {
  font-family: "Montserrat", sans-serif;
}

.section {
  min-height: 100vh;
  display: none;
  padding: 0 30px;
  position: fixed;
  left: 270px;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  isolation: isolate;
  will-change: transform, opacity;
}

.section.active {
  display: block;
  opacity: 1;
  z-index: 2;
  transform: translateX(0);
  animation: slideInFromRight 0.6s ease-out;
  -webkit-animation: slideInFromRight 0.6s ease-out;
}

/* Default section background */
.section:not(.about):not(.service):not(.portfolio):not(.trading-chart):not(
    .tetris-rl
  ) {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
}

.section.back-section {
  z-index: 1;
  transform: translateX(-100%);
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Trading Chart Section Styles */
.trading-chart {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.trading-chart .section-title h2 {
  color: #302e4d;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.trading-chart .trading-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Chart Container */
.chart-container {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
}

.chart-wrapper {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#tradingCanvas {
  border: 2px solid #ec1839;
  border-radius: 10px;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.chart-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.chart-controls .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.chart-controls .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 24, 57, 0.3);
}

/* Trading Statistics */
.trading-stats {
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  max-width: 40%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background-color: #ec1839;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 16px;
  color: #ffffff;
}

.stat-content h4 {
  font-size: 12px;
  font-weight: 600;
  color: #302e4d;
  margin-bottom: 5px;
}

.stat-content p {
  font-size: 18px;
  font-weight: 700;
  color: #ec1839;
  margin: 0;
}

/* Algorithm Info */
.algorithm-info {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.algorithm-info h4 {
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.algorithm-info p {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 20px;
}

.algorithm-details h5 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.algorithm-details ul {
  list-style: none;
  padding: 0;
}

.algorithm-details li {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.algorithm-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ec1839;
  font-weight: bold;
}

/* Technical Specifications */
.technical-specs {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.spec-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.spec-item h4 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.spec-item p {
  color: #504e70;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Responsive Design for Trading Chart */
@media (max-width: 991px) {
  .chart-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .trading-stats {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tradingCanvas {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .chart-controls {
    flex-direction: column;
    align-items: center;
  }

  .chart-controls .btn {
    width: 200px;
  }

  #tradingCanvas {
    width: 100%;
    height: 300px;
  }
}

@-webkit-keyframes slideSection {
  0% {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
}

/* Trading Chart Section Styles */
.trading-chart {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.trading-chart .section-title h2 {
  color: #302e4d;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.trading-chart .trading-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Chart Container */
.chart-container {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
}

.chart-wrapper {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#tradingCanvas {
  border: 2px solid #ec1839;
  border-radius: 10px;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.chart-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.chart-controls .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.chart-controls .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 24, 57, 0.3);
}

/* Trading Statistics */
.trading-stats {
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  max-width: 40%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background-color: #ec1839;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 16px;
  color: #ffffff;
}

.stat-content h4 {
  font-size: 12px;
  font-weight: 600;
  color: #302e4d;
  margin-bottom: 5px;
}

.stat-content p {
  font-size: 18px;
  font-weight: 700;
  color: #ec1839;
  margin: 0;
}

/* Algorithm Info */
.algorithm-info {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.algorithm-info h4 {
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.algorithm-info p {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 20px;
}

.algorithm-details h5 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.algorithm-details ul {
  list-style: none;
  padding: 0;
}

.algorithm-details li {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.algorithm-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ec1839;
  font-weight: bold;
}

/* Technical Specifications */
.technical-specs {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.spec-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.spec-item h4 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.spec-item p {
  color: #504e70;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Responsive Design for Trading Chart */
@media (max-width: 991px) {
  .chart-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .trading-stats {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tradingCanvas {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .chart-controls {
    flex-direction: column;
    align-items: center;
  }

  .chart-controls .btn {
    width: 200px;
  }

  #tradingCanvas {
    width: 100%;
    height: 300px;
  }
}

@-moz-keyframes slideSection {
  0% {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
}

/* Trading Chart Section Styles */
.trading-chart {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.trading-chart .section-title h2 {
  color: #302e4d;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.trading-chart .trading-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Chart Container */
.chart-container {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
}

.chart-wrapper {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#tradingCanvas {
  border: 2px solid #ec1839;
  border-radius: 10px;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.chart-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.chart-controls .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.chart-controls .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 24, 57, 0.3);
}

/* Trading Statistics */
.trading-stats {
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  max-width: 40%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background-color: #ec1839;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 16px;
  color: #ffffff;
}

.stat-content h4 {
  font-size: 12px;
  font-weight: 600;
  color: #302e4d;
  margin-bottom: 5px;
}

.stat-content p {
  font-size: 18px;
  font-weight: 700;
  color: #ec1839;
  margin: 0;
}

/* Algorithm Info */
.algorithm-info {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.algorithm-info h4 {
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.algorithm-info p {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 20px;
}

.algorithm-details h5 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.algorithm-details ul {
  list-style: none;
  padding: 0;
}

.algorithm-details li {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.algorithm-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ec1839;
  font-weight: bold;
}

/* Technical Specifications */
.technical-specs {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.spec-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.spec-item h4 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.spec-item p {
  color: #504e70;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Responsive Design for Trading Chart */
@media (max-width: 991px) {
  .chart-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .trading-stats {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tradingCanvas {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .chart-controls {
    flex-direction: column;
    align-items: center;
  }

  .chart-controls .btn {
    width: 200px;
  }

  #tradingCanvas {
    width: 100%;
    height: 300px;
  }
}

@-o-keyframes slideSection {
  0% {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -o-transform: translateX(0%);
  }
}

/* Trading Chart Section Styles */
.trading-chart {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.trading-chart .section-title h2 {
  color: #302e4d;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.trading-chart .trading-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Chart Container */
.chart-container {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
}

.chart-wrapper {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#tradingCanvas {
  border: 2px solid #ec1839;
  border-radius: 10px;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.chart-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.chart-controls .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.chart-controls .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 24, 57, 0.3);
}

/* Trading Statistics */
.trading-stats {
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  max-width: 40%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background-color: #ec1839;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 16px;
  color: #ffffff;
}

.stat-content h4 {
  font-size: 12px;
  font-weight: 600;
  color: #302e4d;
  margin-bottom: 5px;
}

.stat-content p {
  font-size: 18px;
  font-weight: 700;
  color: #ec1839;
  margin: 0;
}

/* Algorithm Info */
.algorithm-info {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.algorithm-info h4 {
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.algorithm-info p {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 20px;
}

.algorithm-details h5 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.algorithm-details ul {
  list-style: none;
  padding: 0;
}

.algorithm-details li {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.algorithm-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ec1839;
  font-weight: bold;
}

/* Technical Specifications */
.technical-specs {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.spec-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.spec-item h4 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.spec-item p {
  color: #504e70;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Responsive Design for Trading Chart */
@media (max-width: 991px) {
  .chart-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .trading-stats {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tradingCanvas {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .chart-controls {
    flex-direction: column;
    align-items: center;
  }

  .chart-controls .btn {
    width: 200px;
  }

  #tradingCanvas {
    width: 100%;
    height: 300px;
  }
}

.section .container {
  padding-top: 60px;
  padding-bottom: 70px;
}

.section-title {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  margin: 0;
  position: relative;
}

.section-title h2::before {
  content: "";
  height: 4px;
  width: 50px;
  position: absolute;
  top: 100%;
  left: 0;
}

.section-title h2::after {
  content: "";
  height: 4px;
  width: 25px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  position: relative;
}

.padd-15 {
  padding-left: 15px;
  padding-right: 15px;
}

/* Column Classes */
.col-6 {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Form Classes */
.form-item {
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 0;
}

.form-control {
  width: 100%;
  height: 50px;
  border: 2px solid #e8dfec;
  border-radius: 25px;
  background-color: #ffffff;
  padding: 0 25px;
  font-size: 16px;
  color: #504e70;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #ec1839;
  box-shadow: 0 0 20px rgba(236, 24, 57, 0.1);
}

.form-control::placeholder {
  color: #a09faf;
}

textarea.form-control {
  height: 120px;
  padding: 15px 25px;
  resize: none;
}

/* Contact Form */
.contact-form {
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Contact Info Items */
.contact-info-item {
  -ms-flex: 0 0 33.33%;
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 30px;
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.contact-info-item .icon {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 20px;
  background-color: #ec1839;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-item .icon i {
  font-size: 25px;
  color: #ffffff;
  line-height: 60px;
}

.contact-info-item h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #302e4d;
  font-weight: 700;
  text-transform: capitalize;
}

.contact-info-item p {
  font-size: 16px;
  color: #504e70;
  line-height: 1.6;
  margin: 0;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  cursor: text !important;
}

/* Ensure all contact info text is selectable */
.contact-info-item h4,
.contact-info-item p {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  cursor: text !important;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: auto;
}

.shadow-dark {
  -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.btn {
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  padding: 12px 35px;
  color: #ffffff;
  border-radius: 40px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.hidden {
  display: none !important;
}

/* Preloader */
.preloader {
  background-color: #222222;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 150;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
  -webkit-transition: all 1s ease;
}

.preloader.opacity-0 {
  opacity: 0;
}

.preloader .loader {
  height: 40px;
  width: 40px;
  border: 4px solid #e3e3e3;
  border-radius: 50%;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  animation: spin 2s linear infinite;
  -webkit-animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

/* Trading Chart Section Styles */
.trading-chart {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.trading-chart .section-title h2 {
  color: #302e4d;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.trading-chart .trading-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Chart Container */
.chart-container {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
}

.chart-wrapper {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#tradingCanvas {
  border: 2px solid #ec1839;
  border-radius: 10px;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.chart-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.chart-controls .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.chart-controls .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 24, 57, 0.3);
}

/* Trading Statistics */
.trading-stats {
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  max-width: 40%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background-color: #ec1839;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 16px;
  color: #ffffff;
}

.stat-content h4 {
  font-size: 12px;
  font-weight: 600;
  color: #302e4d;
  margin-bottom: 5px;
}

.stat-content p {
  font-size: 18px;
  font-weight: 700;
  color: #ec1839;
  margin: 0;
}

/* Algorithm Info */
.algorithm-info {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.algorithm-info h4 {
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.algorithm-info p {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 20px;
}

.algorithm-details h5 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.algorithm-details ul {
  list-style: none;
  padding: 0;
}

.algorithm-details li {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.algorithm-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ec1839;
  font-weight: bold;
}

/* Technical Specifications */
.technical-specs {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.spec-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.spec-item h4 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.spec-item p {
  color: #504e70;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Responsive Design for Trading Chart */
@media (max-width: 991px) {
  .chart-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .trading-stats {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tradingCanvas {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .chart-controls {
    flex-direction: column;
    align-items: center;
  }

  .chart-controls .btn {
    width: 200px;
  }

  #tradingCanvas {
    width: 100%;
    height: 300px;
  }
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

/* Trading Chart Section Styles */
.trading-chart {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.trading-chart .section-title h2 {
  color: #302e4d;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.trading-chart .trading-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Chart Container */
.chart-container {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
}

.chart-wrapper {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#tradingCanvas {
  border: 2px solid #ec1839;
  border-radius: 10px;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.chart-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.chart-controls .btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.chart-controls .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(236, 24, 57, 0.3);
}

/* Trading Statistics */
.trading-stats {
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  max-width: 40%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background-color: #ec1839;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 16px;
  color: #ffffff;
}

.stat-content h4 {
  font-size: 12px;
  font-weight: 600;
  color: #302e4d;
  margin-bottom: 5px;
}

.stat-content p {
  font-size: 18px;
  font-weight: 700;
  color: #ec1839;
  margin: 0;
}

/* Algorithm Info */
.algorithm-info {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.algorithm-info h4 {
  color: #302e4d;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.algorithm-info p {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 20px;
}

.algorithm-details h5 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.algorithm-details ul {
  list-style: none;
  padding: 0;
}

.algorithm-details li {
  color: #504e70;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.algorithm-details li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ec1839;
  font-weight: bold;
}

/* Technical Specifications */
.technical-specs {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.spec-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.spec-item h4 {
  color: #302e4d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.spec-item p {
  color: #504e70;
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Responsive Design for Trading Chart */
@media (max-width: 991px) {
  .chart-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .trading-stats {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #tradingCanvas {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .chart-controls {
    flex-direction: column;
    align-items: center;
  }

  .chart-controls .btn {
    width: 200px;
  }

  #tradingCanvas {
    width: 100%;
    height: 300px;
  }
}

/* Aside */

.aside {
  width: 270px;
  background-color: #fdf9ff;
  position: fixed;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 11;
  border-right: 1px solid #e8dfec;
  /* padding: 30px; */
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  /* overflow-y: auto; */
}

.aside .aside-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  overflow-y: auto;
}

.aside .logo {
  padding: 30px 0;
}

.aside .logo a {
  font-size: 40px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding: 0 10px;
  line-height: 50px;
}

.aside .logo a::before {
  content: "";
  height: 20px;
  width: 20px;
  position: absolute;
  top: 0;
  left: 0;
}

.aside .logo a::after {
  content: "";
  height: 20px;
  width: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.aside .nav-toggler {
  height: 40px;
  width: 45px;
  border: 1px solid #d4d4e3;
  cursor: pointer;
  position: fixed;
  left: 300px;
  top: 20px;
  z-index: 11;
  border-radius: 5px;
  background-color: #fdf9ff;
  /* display: -ms-flexbox;
    display: flex; */
  display: none;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  -ms-flex-pack: center;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.aside .nav-toggler span {
  height: 2px;
  width: 18px;
  display: inline-block;
  position: relative;
}

.aside .nav-toggler.open span {
  background-color: transparent;
}

.aside .nav-toggler span::before {
  content: "";
  height: 2px;
  width: 18px;
  position: absolute;
  top: -6px;
  left: 0;
}

.aside .nav-toggler.open span::before {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  top: 0px;
}

.aside .nav-toggler span::after {
  content: "";
  height: 2px;
  width: 18px;
  position: absolute;
  top: 6px;
  left: 0;
}

.aside .nav-toggler.open span::after {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  top: 0px;
}

.aside .nav {
  list-style: none;
  margin: 70px 0;
  padding: 0;
}

.aside .nav li {
  display: block;
}

.aside .nav li a {
  font-size: 16px;
  font-weight: 600;
  color: #302e4d;
  text-decoration: none;
  line-height: 45px;
  display: block;
  border-bottom: 1px solid #e8dfec;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.aside .nav li a:not(.active):hover {
  padding-left: 5px;
}

.aside .nav li a .fa {
  margin-right: 5px;
}

.aside .copyright-text {
  position: absolute;
  bottom: 5px;
  font-size: 13px;
  color: #7d7d7d;
}

/* Home Section */

.home {
  min-height: 100vh;
  display: -ms-flexbox;
  display: flex;
}

.home .intro {
  text-align: center;
}

.home .intro img {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  display: inline-block;
  border: 8px solid #ffffff;
}

.home .intro h1 {
  font-size: 30px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  margin: 20px 0 5px;
}

.home .intro span {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  line-height: 22px;
  color: #504e70;
}

.home .intro .social-links {
  margin-top: 25px;
}

.home .intro .social-links a {
  height: 35px;
  width: 35px;
  display: inline-block;
  text-align: center;
  line-height: 35px;
  color: #ffffff;
  margin: 0 4px;
  border-radius: 40%;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* =================================
   About Section Styles (Resume Style)
   ================================= */

/* About Section - Modern Redesign */
.about.section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 0 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.about {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.about .section-title h2 {
  color: #ffffff;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.about .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  margin: 20px auto 60px;
  border-radius: 2px;
}

.about-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Professional Summary - Modern Card */
.summary {
  margin-bottom: 50px;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(255, 154, 158, 0.3);
}

.summary::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.summary .title {
  color: #2c3e50;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 0;
  display: block;
}

.summary .title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.summary-content {
  position: relative;
  z-index: 2;
}

.summary-content p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #2c3e50;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* Contact Information - Modern Card */
.contact-info {
  margin-bottom: 50px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(168, 237, 234, 0.3);
}

.contact-info::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.contact-info .title {
  color: #2c3e50;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 0;
  display: block;
}

.contact-info .title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.info-item {
  margin-bottom: 15px;
}

.info-item p {
  color: #504e70;
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
}

.info-item strong {
  color: #302e4d;
  font-weight: 700;
  min-width: 100px;
  margin-right: 10px;
}

.info-item span {
  color: #504e70;
  font-weight: 500;
}

/* Buttons */
.buttons {
  margin-top: 30px;
  text-align: center;
}

.buttons .btn {
  background: linear-gradient(45deg, #ec1839, #ff6b6b);
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  margin: 0 10px 10px 0;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(236, 24, 57, 0.3);
}

.buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 24, 57, 0.4);
}

.buttons .btn.hire-me {
  background: linear-gradient(45deg, #302e4d, #504e70);
  box-shadow: 0 4px 15px rgba(48, 46, 77, 0.3);
}

.buttons .btn.hire-me:hover {
  box-shadow: 0 6px 20px rgba(48, 46, 77, 0.4);
}

/* Experience and Education Side by Side */
.experience,
.education {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 40px;
}

.experience .title,
.education .title {
  color: #302e4d;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 3px solid #ec1839;
  padding-bottom: 10px;
  display: inline-block;
}

/* Timeline Styles */
.timeline-box {
  position: relative;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #ec1839, #ff6b6b);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.timeline-item .circle-dot {
  position: absolute;
  left: -37px;
  top: 25px;
  width: 15px;
  height: 15px;
  background: #ec1839;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #ec1839;
}

.timeline-date {
  color: #ec1839;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.timeline-date i {
  margin-right: 8px;
  font-size: 0.8rem;
}

.timeline-title {
  color: #302e4d;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.timeline-text {
  color: #504e70;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Technical Skills */
.technical-skills {
  margin-bottom: 40px;
}

.technical-skills .title {
  color: #302e4d;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 3px solid #ec1839;
  padding-bottom: 10px;
  display: inline-block;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.skill-category {
  background-color: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-category h4 {
  color: #302e4d;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid #ec1839;
  padding-bottom: 8px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: linear-gradient(45deg, #ec1839, #ff6b6b);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 24, 57, 0.3);
}

/* Key Achievements */
.achievements {
  margin-bottom: 40px;
}

.achievements .title {
  color: #302e4d;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 3px solid #ec1839;
  padding-bottom: 10px;
  display: inline-block;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.achievement-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #ec1839;
}

.achievement-icon {
  margin-bottom: 15px;
}

.achievement-icon i {
  font-size: 2.5rem;
  color: #ec1839;
  text-shadow: 0 2px 4px rgba(236, 24, 57, 0.3);
}

.achievement-content h4 {
  color: #302e4d;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.achievement-content p {
  color: #504e70;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design for About Section */
@media (max-width: 991px) {
  .experience,
  .education {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .about {
    padding: 60px 0;
  }

  .about .section-title h2 {
    font-size: 2rem;
  }

  .about-content {
    padding: 25px;
  }

  .summary .title,
  .contact-info .title,
  .experience .title,
  .education .title,
  .technical-skills .title,
  .achievements .title {
    font-size: 1.5rem;
  }

  .buttons .btn {
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item .circle-dot {
    left: -27px;
  }
}

/* =================================
   Services Section Styles
   ================================= */

/* Services Section - Modern Redesign */
.service.section {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
  padding: 0 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.service.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.4;
  z-index: 1;
}

.service {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.service .section-title h2 {
  color: #2c3e50;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: -1px;
}

.service .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  margin: 20px auto 60px;
  border-radius: 2px;
}

.service-item {
  -ms-flex: 0 0 33.33%;
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 40px;
  padding: 0 15px;
}

.service-item-inner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-item-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #ff6b6b, #4ecdc4);
  background-size: 300% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.service-item-inner:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border-color: rgba(102, 126, 234, 0.3);
}

.service-item-inner .icon {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 25px;
  text-align: center;
  transition: all 0.4s ease;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.service-item-inner .icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.3;
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

.service-item-inner .icon i {
  font-size: 32px;
  color: #ffffff;
  line-height: 80px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.service-item-inner h4 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 800;
  text-transform: capitalize;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-item-inner p {
  font-size: 16px;
  color: #34495e;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

/* Responsive Design for Services */
@media (max-width: 991px) {
  .service-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .contact-info-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .service {
    padding: 60px 0;
  }

  .service .section-title h2 {
    font-size: 2rem;
  }

  .service-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .service-item-inner {
    padding: 25px 15px;
  }
}

/* =================================
   Portfolio Section Styles
   ================================= */

/* Portfolio Section - Modern Redesign */
.portfolio.section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 0 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.portfolio.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="50" height="50" patternUnits="userSpaceOnUse"><polygon points="25,5 45,15 45,35 25,45 5,35 5,15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.portfolio {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.portfolio .section-title h2 {
  color: #ffffff;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.portfolio .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  margin: 20px auto 60px;
  border-radius: 2px;
}

.portfolio-filter {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.portfolio-filter button {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 12px 25px;
  margin: 0 8px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: capitalize;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.portfolio-filter button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.portfolio-filter button:hover::before {
  left: 100%;
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.portfolio-item {
  -ms-flex: 0 0 33.33%;
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 40px;
  padding: 0 15px;
}

.portfolio-item-inner {
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  height: 100%;
  min-height: 300px;
}

.portfolio-item-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #ff6b6b, #4ecdc4);
  background-size: 300% 100%;
  animation: gradientShift 3s ease infinite;
}

.portfolio-item-inner:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Portfolio hover effects - Multiple selectors for better compatibility */
.portfolio-item:hover .portfolio-info,
.portfolio-item-inner:hover .portfolio-info,
.portfolio-item-inner:hover .portfolio-info {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Portfolio Filter Show/Hide Classes */
.portfolio-item.show {
  display: block;
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

.portfolio-item.hide {
  display: none;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.portfolio-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.portfolio-item-inner:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-info {
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.95) 0%,
    rgba(118, 75, 162, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  height: 100%;
  width: 100%;
  z-index: 100;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 20px 20px 0 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* Make portfolio info much more visible for testing */
.portfolio-info {
  opacity: 0.8 !important;
  visibility: visible !important;
}

.portfolio-info h4 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.portfolio-info p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  padding: 0 20px;
}

.portfolio-info .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.portfolio-info .icon i {
  font-size: 16px;
  color: #ffffff;
}

.portfolio-info .icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Responsive Design for Portfolio */
@media (max-width: 991px) {
  .portfolio-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .portfolio {
    padding: 60px 0;
  }

  .portfolio .section-title h2 {
    font-size: 2rem;
  }

  .portfolio-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .portfolio-filter button {
    margin: 5px;
    padding: 6px 15px;
    font-size: 14px;
  }

  /* Responsive Column Classes */
  .col-6 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Responsive Contact Info */
  .contact-info-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Responsive Contact Form */
  .contact-form {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* =================================
   Tetris RL Section Styles
   ================================= */

/* Tetris RL Section */
.tetris-rl.section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 0 30px;
}

.tetris-rl {
  padding: 80px 0;
  color: #ffffff;
}

.tetris-rl .section-title h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tetris-content {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Game Container */
.game-container {
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  max-width: 40%;
  margin-bottom: 30px;
}

.game-container h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.game-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#tetrisCanvas {
  border: 3px solid #333;
  border-radius: 10px;
  background: #000;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.game-controls .btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-controls .btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.game-controls .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* RL Metrics */
.rl-metrics {
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  max-width: 60%;
  padding-left: 30px;
}

.rl-metrics h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.metric-icon {
  margin-bottom: 10px;
}

.metric-icon i {
  font-size: 2rem;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.metric-content h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.metric-content p {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* RL Info */
.rl-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-top: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rl-info h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.rl-info p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 20px;
}

.training-progress h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.progress-bar {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  height: 20px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 10px;
}

#trainingStatus {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

/* Technical Details */
.technical-details {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.technical-details h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.detail-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.detail-item h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.detail-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design for Tetris RL */
@media (max-width: 1200px) {
  .game-container {
    -ms-flex: 0 0 45%;
    flex: 0 0 45%;
    max-width: 45%;
  }

  .rl-metrics {
    -ms-flex: 0 0 55%;
    flex: 0 0 55%;
    max-width: 55%;
  }
}

@media (max-width: 991px) {
  .game-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .rl-metrics {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  #tetrisCanvas {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}

@media (max-width: 767px) {
  .tetris-rl {
    padding: 60px 0;
  }

  .tetris-rl .section-title h2 {
    font-size: 2rem;
  }

  .tetris-content {
    padding: 25px;
  }

  .game-container h3,
  .rl-metrics h3 {
    font-size: 1.5rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .game-controls {
    flex-direction: column;
    align-items: center;
  }

  .game-controls .btn {
    width: 200px;
  }

  .technical-details {
    padding: 25px;
  }

  .technical-details h3 {
    font-size: 1.5rem;
  }
}
