/* General Styles */
:root {
  --primary-color: #4f46e5;
  --secondary-color: #374151;
  --accent-color: #f97316;
  --light-bg: #f9fafb;
  --dark-bg: #1f2937;
  --text-light: #f3f4f6;
  --text-dark: #1f2937;
  --border-color: #e5e7eb;
  --success-color: #10b981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2.5rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #3730a3;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: blue;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

/* Skills Section */
.skills,#modules,#projects {
  background-color: var(--light-bg);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skill-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.skill-list {
  list-style: none;
}

.skill-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.skill-list li:before {
  content: "â€¢";
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-right: 5px;
}

/* Projects Section */
.projects {
  background-color: white;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 10px;
}

.project-info p {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.project-links {
  display: flex;
  gap: 15px;
}

/* Experience Section */
.experience {
  background-color: var(--light-bg);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid var(--primary-color);
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before, .testimonial-text::after {
  font-family: Arial, sans-serif;
  font-size: 3rem;
  line-height: 0;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: 0;
  left: -20px;
}

.testimonial-text::after {
  content: '"';
  position: absolute;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-info h4 {
  margin-bottom: 5px;
}

.testimonial-author-info p {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background-color: var(--light-bg);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-details {
  list-style: none;
  margin-bottom: 30px;
}

.contact-details li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-details i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 30px 0;
  text-align: center;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .hero-content, .about-content, .contact-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    flex-direction: column-reverse;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd)::after, .timeline-item:nth-child(even)::after {
    left: 15px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .skills-container {
    grid-template-columns: 1fr;
  }
  
  .project-cards, .testimonial-cards {
    grid-template-columns: 1fr;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.language-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.languages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.language-item {
  display: flex;
  align-items: center;
  background-color: #f3f4f6;
  padding: 8px 15px;
  border-radius: 20px;
}

.language-item span {
  font-weight: 500;
}

.skill-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 5px;
}
#demo_videos {
  background-color: #f9f9f9;
}
.title_demo_store {
  font-size: 1.8rem;
  font-weight: 600;
  color: black !important;
  text-align: center;
}
.demo_sections {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  max-height: 850px;
}
.demo_section {
  flex: 0 0 30%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.head_demo_section {
  background: #fff;
  color: black;
  text-align: center;
  padding: 0.5rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.body_section {
  height: 100%;
}
.demo_video {
  width: 100%;
  height: auto;
  display: block;
  padding: 10px 5px;
  border-radius: 8px;
  object-fit: cover;
}
/* Tablet (medium screens) */
@media screen and (max-width: 991px) {
  .demo_section {
    flex: 0 0 45%;
  }
}
/* Mobile (small screens) */
@media screen and (max-width: 576px) {
  .demo_section {
    flex: 0 0 90%;
  }
}
#demo_stores {
  background-color: #f9f9f9;
}
.title_demo_store {
    font-size: 1.8rem;
    font-weight: 600;
    color: black !important;
    text-align: center;
}
.demo_sections {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  max-height: 850px;
}
#demo_stores .body_section
{
    height: 100%;
    overflow: auto;
}
.demo_section {
  flex: 0 0 25%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.head_demo_section {
    background: #fff;
    color: black;
    text-align: center;
    padding: 0.5rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.body_section img {
  width: 100%;
  height: auto;
  display: block;
  padding:10px 5px;
}
#demo_stores .body_section
{
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) white;
}
.demo_sections
{
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) white;
}

/* Tablet (medium screens) */
@media screen and (max-width: 991px) {
  .demo_section {
    flex: 0 0 45%; /* 2 visible at once */
  }
  section {
        padding: 5px 0;
    }
}

/* Mobile (small screens) */
@media screen and (max-width: 576px) {
  .demo_section {
    flex: 0 0 90%;
  }
}
.hide {
    display:none;
    
}
.mobile-nav-slider {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  padding: 2rem;
}

.mobile-nav-slider ul {
  list-style: none;
  padding: 0;
}

.mobile-nav-slider li {
  margin-bottom: 1.5rem;
}

.mobile-nav-slider a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.2rem;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: opacity 0.3s ease-in-out;
}

.mobile-nav-active .mobile-nav-slider {
  right: 0;
}

.mobile-nav-active .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-slider li{
  text-align: center;
  position: relative;
}

.mobile-nav-slider li:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 75%;
    height: 4px;
    background-color: var(--primary-color);
}

#iconArena {
  position: relative;
  width: 100%;
  height: 300px;
  background: #f3f4f6;
  overflow: hidden;
  border-radius: 20px;
}

.throwable-icon {
  position: absolute;
    font-size: 2rem;
    color: white;
    background: #1f2937;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease;
}

.throwable-icon:active {
  cursor: grabbing;
  transform: scale(1.2);
}
.throwable-icon .fab ,.throwable-icon .fas{
    font-size: 45px;
  }
/* Tablet (medium screens) */
@media screen and (max-width: 991px) {
  .throwable-icon {
    padding: 10px;
  }
  .throwable-icon .fab ,.throwable-icon .fas ,.throwable-icon img{
    font-size: 25px;
    height: 25px !important;
  }
  #iconArena {
    border-radius: 0px;
    }
}

.disable-scroll {
  overflow: hidden;
}
