/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --bg: #fafbff;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --white: #ffffff;
  --text: #1f2937;
  --text-light: #6b7280;
  --card-bg: rgba(255, 255, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
  --shadow-lg: 0 20px 40px rgba(99, 102, 241, 0.15);
  --radius: 16px;
  --radius-lg: 24px;
}

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

body {
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  font-weight: 400;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo img {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bg-gradient);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 4px;
  display: flex;
  gap: 2px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.lang-switch button {
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-switch .active {
  background: var(--bg-gradient);
  color: var(--white);
  box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fafbff 0%, #e0e7ff 50%, #c7d2fe 100%);
  padding: 6rem 0 4rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::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="50" cy="50" r="1" fill="%236366f1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero__info {
  flex: 1;
  max-width: 600px;
}

.hero__info h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtitle {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 600px;
}

.stat {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.stat::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark), #a855f7, var(--primary));
  border-radius: var(--radius-lg);
  z-index: -2;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.stat:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.3);
  border-color: var(--primary);
}

.stat:hover::before {
  opacity: 0.05;
}

.stat:hover::after {
  opacity: 0.6;
}

.stat span {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.stat:hover span {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.stat small {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  line-height: 1.2;
}

.stat:hover small {
  color: var(--text);
  transform: scale(1.05);
}

.hero__image {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  transition: transform 0.3s ease;
}

.hero__image img:hover {
  transform: scale(1.02);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  z-index: 20;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--primary);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-toggle:hover span {
  background: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero__info h1 {
    font-size: 3.5rem;
  }
  
  .hero__container {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .header__container {
    justify-content: space-between;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    transition: all 0.3s ease;
    z-index: 15;
    visibility: hidden;
    opacity: 0;
  }
  
  .nav.open {
    right: 0;
    visibility: visible;
    opacity: 1;
  }
  
  .nav ul {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  
  .nav a {
    font-size: 1.2rem;
    width: 100%;
    display: block;
    padding: 1rem 0;
  }
  
  .nav:not(.open) ul {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .logo {
    flex-shrink: 0;
  }
  
  .header__actions {
    flex-shrink: 0;
  }
  
  .hero__container {
    flex-direction: column-reverse;
    gap: 4rem;
    text-align: center;
  }
  
  .hero__info h1 {
    font-size: 3rem;
  }
  
  .hero__image img {
    max-width: 400px;
  }
  
  .hero__stats {
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 500px;
  }
  
  .stat {
    padding: 1.75rem 1.25rem;
    min-height: 120px;
  }
  
  .stat span {
    font-size: 1.8rem;
  }
  
  .stat small {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
  }
  html, body {
    overflow-x: hidden !important;
  }
  .hero {
    padding: 4rem 0 2rem 0;
  }
  
  .hero__info h1 {
    font-size: 2.5rem;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .stat {
    padding: 1.5rem;
    min-height: 100px;
  }
  
  .stat span {
    font-size: 1.6rem;
  }
  
  .stat small {
    font-size: 0.95rem;
  }
  
  .nav {
    width: 100vw;
    max-width: none;
  }
}

/* Nav Backdrop */
.nav-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .nav-backdrop.open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 10;
  }
}

/* skills start */
.skills__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  overflow-x: visible;
  scrollbar-width: none;
}
.skills__grid::-webkit-scrollbar {
  display: none;
}
.skill-card {
  background: #aac1f6;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.07);
  padding: 2rem 1.5rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  min-height: 80px;
  max-width: 80px;
  max-height: 80px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  justify-content: center;
}
.skill-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.skill-card span {
  color: #5b4fe5;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-align: center;
}
@media (max-width: 1200px) {
  .skills__grid {
    gap: 1.5rem;
  }
  .skill-card {
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
    padding: 1.2rem 0.7rem 0.7rem 0.7rem;
  }
  .skill-card img {
    width: 38px;
    height: 38px;
  }
  .skill-card span {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .skills__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .skills__grid {
    gap: 0.7rem;
    padding: 1rem 0;
  }
  .skill-card {
    min-width: 70px;
    min-height: 70px;
    max-width: 70px;
    max-height: 70px;
    padding: 0.7rem 0.3rem 0.3rem 0.3rem;
  }
  .skill-card img {
    width: 28px;
    height: 28px;
    margin-bottom: 0.5rem;
  }
  .skill-card span {
    font-size: 0.9rem;
  }
}

/* Services Section */
.services {
  background: #f6fcff;
  padding: 4rem 0 4rem 0;
}
.services__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2.2rem;
  color: #222;
}
.services__title .highlight {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 270px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.13);
  transform: translateY(-8px) scale(1.03);
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}
.service-card p {
  color: #6b7280;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .services__grid {
    gap: 1.2rem;
  }
  .service-card {
    max-width: 100%;
    min-width: 180px;
    padding: 2rem 1rem 1.5rem 1rem;
  }
}
@media (max-width: 600px) {
  .services {
    padding: 2rem 0 2rem 0;
  }
  .services__title {
    font-size: 1.5rem;
  }
  .services__grid {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .service-card {
    max-width: 100%;
    min-width: 0;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  .service-card h3 {
    font-size: 1.1rem;
  }
  .service-card p {
    font-size: 0.98rem;
  }
}

/* Programming Skills Section */
.prog-skills {
  background: #fafdff;
  padding: 4rem 0 4rem 0;
  padding-top: 2rem;
}
.prog-skills__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
  padding: 2.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.prog-skills__illustration {
  flex: 1.2;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prog-skills__illustration img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.10);
  background: #f6f8ff;
}
.prog-skills__content {
  flex: 1.5;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prog-skills__title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2.2rem;
  color: #222;
}
.prog-skills__title-highlight {
  color: var(--primary);
}
.prog-skills__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.prog-skill {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.prog-skill__name {
  flex: 1 0 120px;
  color: #222;
  font-weight: 600;
}
.prog-skill__percent {
  margin-left: 1rem;
  color: #444;
  font-weight: 700;
  min-width: 48px;
  text-align: right;
}
.prog-skill__bar {
  flex: 4 1 300px;
  height: 10px;
  background: #f1f3fa;
  border-radius: 8px;
  overflow: hidden;
  margin-left: 1.2rem;
  position: relative;
}
.prog-skill__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
@media (max-width: 900px) {
  .prog-skills__container {
    flex-direction: column;
    padding: 1.5rem 0.7rem;
    gap: 2rem;
  }
  .prog-skills__illustration img {
    max-width: 320px;
  }

  .prog-skills__title {
    font-size: 1.7rem;
  }
  .prog-skills__list {
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .prog-skills__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.7rem !important;
    overflow-x: unset !important;
    white-space: normal !important;
  }
  .prog-skill {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.7rem !important;
    width: 100% !important;
  }
  .prog-skill__bar {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    white-space: normal !important;
    display: block !important;
  }
}
@media (max-width: 480px) {
  .prog-skill__bar {
    min-width: 0 !important;
  }
}
/* End Programming Skills Section */

/* Web & Flutter Tools Section */
.tools-section {
  background: #fafdff;
  padding: 4rem 0 4rem 0;
}
.tools-section__container {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.tool-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 1.5rem;
}
.tool-card:hover {
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.13);
  transform: translateY(-8px) scale(1.03);
}
.tool-card__icon {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  align-items: center;
}
.tool-card__icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #f6f8ff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
  padding: 6px;
}
.tool-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #222;
  text-align: center;
}
.tool-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.tool-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
  margin-bottom: 0.2rem;
  transition: background 0.2s, color 0.2s;
}
.tool-tag:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 900px) {
  .tools-section__container {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .tool-card {
    min-width: 220px;
    max-width: 100%;
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
  .tool-card__icon img {
    width: 30px;
    height: 30px;
    padding: 4px;
  }
  .tool-card__title {
    font-size: 1.1rem;
  }
  .tool-tag {
    font-size: 0.95rem;
    padding: 0.3rem 0.8rem;
  }
}
@media (max-width: 600px) {
  .tools-section {
    padding: 2rem 0 2rem 0;
  }
  .tool-card {
    padding: 1rem 0.5rem 0.7rem 0.5rem;
    border-radius: 12px;
  }
  .tool-card__icon img {
    width: 22px;
    height: 22px;
    padding: 2px;
    border-radius: 6px;
  }
  .tool-card__title {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
  }
  .tool-tag {
    font-size: 0.85rem;
    padding: 0.2rem 0.6rem;
  }
}
/* End Web & Flutter Tools Section */

/* Recent Projects Section */
.projects {
  background: #fafdff;
  padding: 4rem 0 4rem 0;
}
.projects__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2.2rem;
  color: #222;
}
.projects__title-highlight {
  color: var(--primary);
}
.projects__grid {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.project-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
  min-width: 280px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
  gap: 1rem;
  justify-content: space-between;
}
.project-card:hover {
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.13);
  transform: translateY(-8px) scale(1.03);
}
.project-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.project-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
  transition: background 0.2s, color 0.2s;
}
.project-tag:hover {
  background: var(--primary);
  color: #fff;
}
.project-card__btn {
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--primary);
  border-radius: 15px;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}
.project-card__btn:hover {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
}
.project-card__btn i {
  font-size: 0.9rem;
  opacity: 0.7;
}
.projects__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.projects__btn {
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 150px;
  padding: .8rem 2rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.projects__btn:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.18);
}
@media (max-width: 900px) {
  .projects__grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .project-card {
    max-width: 100%;
    min-width: 0;
    padding: 1.5rem 1rem;
  }
  .projects__title {
    font-size: 1.5rem;
  }
  .projects__btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}
@media (max-width: 600px) {
  .projects {
    padding: 2rem 0 2rem 0;
  }
  .project-card {
    padding: 1rem 0.8rem;
    border-radius: 16px;
    gap: 0.8rem;
    height: fit-content;
    flex: none;
  }
  .project-card__title {
    font-size: 1.1rem;
  }
  .project-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
  .project-card__btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    margin-top: 0.5rem;
  }
  .projects__btn {
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
  }
}
/* End Recent Projects Section */

/* New Modern FAQ Section */
.faq-section {
  background: #f6fcff;
  padding: 4rem 0 4rem 0;
}
.section-title[data-i18n="faq-title"] {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.2rem;
  color: #222;
}
.section-title[data-i18n="faq-title"] span {
  color: var(--primary);
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.13);
  transition: box-shadow 0.3s, transform 0.3s;
  margin-bottom: 0.5rem;
}
.faq-item.open {
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.18);
  transform: translateY(-2px) scale(1.01);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  font-size: 1em;
  font-weight: 700;
  color: #222;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}
.faq-question h3 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1em;
  font-weight: 700;
}
.faq-toggle {
  margin-left: 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.faq-toggle i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  font-size: 1.2em;
  box-shadow: 0 2px 8px rgba(99,102,241,0.13);
  transition: background 0.2s, color 0.2s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s cubic-bezier(0.4,0,0.2,1);
  background: #fafdff;
  padding: 0 2rem;
  font-size: 0.95em;
  color: #444;
  border-radius: 0 0 18px 18px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 1.2rem 2rem 1.5rem 2rem;
}
.faq-item.open .faq-question {
  background: #f3f6ff;
}
@media (max-width: 900px) {
  .section-title[data-i18n="faq-title"] {
    font-size: 1.3rem;
  }
  .faq-list {
    gap: 0.7rem;
  }
  .faq-toggle i {
    width: 1.7em;
    height: 1.7em;
    font-size: 1em;
  }
  .faq-question {
    font-size: 0.95em;
    padding: 0.7rem 0.7rem;
  }
  .faq-answer {
    padding: 0 1.2rem;
    font-size: 0.9em;
    border-radius: 0 0 10px 10px;
  }
  .faq-item.open .faq-answer {
    padding: 0.5rem 1.2rem 0.7rem 1.2rem;
  }
}
@media (max-width: 600px) {
  .faq-section {
    padding: 2rem 0 2rem 0;
  }
  .section-title[data-i18n="faq-title"] {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }
  .faq-list {
    gap: 0.7rem;
  }
  .faq-toggle i {
    width: 1.2em;
    height: 1.2em;
    font-size: 0.95em;
  }
  .faq-question {
    font-size: 0.95em;
    padding: 0.7rem 0.7rem;
    border-radius: 10px;
  }
  .faq-answer {
    padding: 0 0.7rem;
    font-size: 0.9em;
    border-radius: 0 0 10px 10px;
  }
  .faq-item.open .faq-answer {
    padding: 0.5rem 0.7rem 0.7rem 0.7rem;
  }
}

/* FAQ Icon Circle */
.faq-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.1em;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}

/* FAQ hint icon for 'click to read' */
.faq-hint {
  color: var(--primary);
  font-size: 1.1em;
  margin-right: 0.8em;
  display: flex;
  align-items: center;
}

/* Modern Footer */
.footer {
  background: linear-gradient(135deg, #fafbff 0%, #e0e7ff 50%, #c7d2fe 100%);
  position: relative;
  color: #232946;
  padding: 2.5rem 0 1.2rem 0;
  margin-top: 3rem;
  overflow: hidden;
}
.footer::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="50" cy="50" r="1" fill="%236366f1" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.25;
  z-index: 0;
}
.footer__container, .footer__card, .footer__bottom {
  position: relative;
  z-index: 1;
}
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.footer__card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(99,102,241,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  padding: 2.2rem 2.5rem 1.2rem 2.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.footer__logo {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(99,102,241,0.10);
  background: #fff;
  border: 2px solid var(--primary-light);
  width: 56px;
  height: 56px;
  object-fit: cover;
}
.footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.footer__brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0.1rem;
}
.footer__desc {
  color: #232946;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.footer__subtitle {
  color: #6b7280;
  font-size: 1.01rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.footer__socials {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.2rem;
}
.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #6366f1;
  font-size: 1.3rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(99,102,241,0.08);
}
.footer__socials a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.12);
}
.footer__divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 0.7rem auto 1.1rem auto;
  opacity: 0.7;
}
.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.7rem;
}
.footer__copyright {
  font-size: 1rem;
  color: #5a5b64;
  text-align: center;
}
@media (max-width: 900px) {
  .footer__card {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1rem 0.7rem 1rem;
  }
  .footer__info {
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .footer__card {
    padding: 0.7rem 0.2rem 0.3rem 0.2rem;
    border-radius: 14px;
  }
  .footer__brand {
    font-size: 1.1rem;
  }
  .footer__desc, .footer__subtitle {
    font-size: 0.95rem;
  }
  .footer__socials a {
    width: 30px;
    height: 30px;
    font-size: 1.05rem;
  }
  .footer__divider {
    width: 36px;
    height: 2px;
    margin: 0.5rem auto 0.7rem auto;
  }
  .footer__copyright {
    font-size: 0.92rem;
  }
}
