:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary: #4f46e5;
  --accent: #8b5cf6;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --background: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --radius: 0.75rem;
  --transition: all 0.3s ease;
  --footer-bg: #1e293b;
  --footer-text: #cbd5e1;
  --footer-border: #334155;
}


html.dark {
  --primary: #60a5fa;
  --primary-dark: #3b82f6;
  --primary-light: #93c5fd;
  --secondary: #818cf8;
  --accent: #a78bfa;
  --text-dark: #f1f5f9;
  --text-light: #cbd5e1;
  --background: #0f172a;
  --card-bg: #1e293b;
  --card-border: #334155;
  --footer-bg: #020617;
  --footer-text: #94a3b8;
  --footer-border: #1e293b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  overflow-x: hidden;
  cursor: none; 
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  section {
    padding: 7rem 2rem;
  }
}


.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  transition: opacity 0.3s ease-in-out;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  transition: transform 0.15s ease-out, width 0.3s ease-out, height 0.3s ease-out;
}


@media (max-width: 768px) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  body {
    cursor: auto;
  }
}


.theme-toggle {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

#theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  transition: var(--transition);
  padding: 0;
}

#theme-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

html.dark #theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.sun-icon {
  opacity: 0;
  position: absolute;
  transform: scale(0.5);
  transition: var(--transition);
}

.moon-icon {
  opacity: 1;
  transform: scale(1);
  transition: var(--transition);
}

html.dark .sun-icon {
  opacity: 1;
  transform: scale(1);
}

html.dark .moon-icon {
  opacity: 0;
  transform: scale(0.5);
}


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

html.dark .glass-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.3);
}


@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translateY(0) rotate(10deg);
  }
  50% {
    transform: translateY(-20px) rotate(-5deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}


@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
    transform: translateY(3px);
  }
  50% {
    opacity: 1;
    transform: translateY(7px);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}


.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.1;
}

#element1 {
  top: 15%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: var(--primary);
  animation: float 15s ease-in-out infinite;
}

#element2 {
  top: 60%;
  left: 15%;
  width: 100px;
  height: 100px;
  background: var(--accent);
  animation: float-reverse 12s ease-in-out infinite;
}

#element3 {
  top: 25%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: var(--secondary);
  animation: float 18s ease-in-out infinite;
}

#element4 {
  bottom: 20%;
  right: 10%;
  width: 180px;
  height: 180px;
  background: var(--primary-light);
  animation: float-reverse 20s ease-in-out infinite;
}

#element5 {
  top: 45%;
  left: 45%;
  width: 130px;
  height: 130px;
  background: var(--accent);
  animation: float 14s ease-in-out infinite;
}


.scroll-indicator {
  margin: 30px auto;
  width: 24px;
  height: 40px;
  position: relative;
}

.scroll-indicator span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.scroll-indicator span:nth-child(1) {
  animation: scrollDown 2s infinite;
  animation-delay: 0s;
}

.scroll-indicator span:nth-child(2) {
  animation: scrollDown 2s infinite;
  animation-delay: 0.25s;
}

.scroll-indicator span:nth-child(3) {
  animation: scrollDown 2s infinite;
  animation-delay: 0.5s;
}

.scroll-indicator span:nth-child(4) {
  animation: scrollDown 2s infinite;
  animation-delay: 0.75s;
}

.scroll-indicator span:nth-child(5) {
  animation: scrollDown 2s infinite;
  animation-delay: 1s;
}


nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo h1 {
  margin: 0;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px;
  transition: var(--transition);
}


.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html.dark .nav-scrolled {
  background-color: rgba(15, 23, 42, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 70px;
    height: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    width: 100%;
    text-align: center;
    overflow: hidden;
    transition: height 0.5s ease;
    padding: 0;
    margin: 0;
    gap: 0;
  }

  html.dark .nav-links {
    background-color: rgba(15, 23, 42, 0.95);
  }

  .nav-links.active {
    height: 225px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .nav-links li.fade {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links li a {
    display: block;
    padding: 1rem;
  }

  .burger {
    display: block;
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}


@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .nav-container {
    padding: 0 0.75rem;
  }
  
  .logo h1 {
    font-size: 1.25rem;
  }
  
  .theme-toggle {
    margin-right: 0.5rem;
  }
  
  #theme-toggle-btn {
    width: 36px;
    height: 36px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .team-card-image {
    height: 200px;
  }
  
  .team-card-name {
    font-size: 1.3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .slider-controls {
    bottom: 10px;
  }
}


.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 7rem 1rem 5rem;
  overflow: hidden;
  position: relative;
  background-color: var(--background);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}


.hero-slider {
  width: 100%;
  max-width: 900px;
  height: 500px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

html.dark .hero-slider {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.slide.active img {
  transform: scale(1.1);
}

.blob {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, var(--primary-light) 0%, var(--accent) 100%);
  filter: blur(70px);
  opacity: 0.2;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: white;
  width: 15px;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 2rem 5rem;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-slider {
    height: 550px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .hero {
    padding: 6rem 1rem 3rem;
  }
  
  .hero-slider {
    height: 400px;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 0.75rem 2rem;
  }
  
  .hero-slider {
    height: 300px;
    border-radius: var(--radius);
  }
  
  .hero-content {
    margin-bottom: 1.5rem;
  }
  
  .slider-arrow {
    width: 30px;
    height: 30px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .dot.active {
    width: 12px;
  }
}


.team-section {
  background-color: var(--background);
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .team-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    gap: 1.25rem;
  }
  
  .team-section {
    padding: 4rem 0.75rem;
  }
}

.team-card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s, box-shadow 0.5s;
  position: relative;
}

html.dark .team-card {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.team-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
}

html.dark .team-card:hover {
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.4);
}

.team-card-image {
  height: 250px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover .team-card-image img {
  transform: scale(1.1);
}

.team-card-content {
  padding: 1.5rem;
}

.team-card-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.team-card-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.team-card-desc {
  margin-bottom: 1.5rem;
}

.team-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.skill-tag {
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

html.dark .skill-tag {
  background-color: rgba(129, 140, 248, 0.2);
}


.tech-section {
  background-color: #f1f5f9;
  position: relative;
}

html.dark .tech-section {
  background-color: #0f172a;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .tech-grid {
    gap: 1.5rem;
  }
  
  .tech-section {
    padding: 4rem 1rem;
  }
}

@media (max-width: 480px) {
  .tech-grid {
    gap: 1.25rem;
  }
  
  .tech-section {
    padding: 4rem 0.75rem;
  }
}

.tech-card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s, box-shadow 0.5s;
  border: 1px solid var(--card-border);
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
}

html.dark .tech-card:hover {
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
}

.tech-card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(79, 70, 229, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

html.dark .tech-card-icon {
  background-color: rgba(129, 140, 248, 0.2);
}

.tech-card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--secondary);
}

.tech-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}


.contact-section {
  padding: 5rem 1rem;
  background: linear-gradient(120deg, #e0f2fe 0%, #ede9fe 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

html.dark .contact-section {
  background: linear-gradient(120deg, #0f172a 0%, #1e1b4b 100%);
}

.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background-color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

html.dark .form-group input,
html.dark .form-group textarea {
  background-color: #1e293b;
  color: var(--text-dark);
  border-color: #334155;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

html.dark .form-group input:focus,
html.dark .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

@media (max-width: 480px) {
  .contact-section {
    padding: 4rem 0.75rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1.25rem;
  }
}


footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 4rem 1rem 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo p {
  color: var(--footer-text);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a,
.footer-section ul li {
  color: var(--footer-text);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--footer-border);
  text-align: center;
}

.footer-bottom p {
  color: var(--footer-text);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    gap: 4rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 3rem 0.75rem 1rem;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
}