/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light theme colors */
  --background: #ffffff;
  --foreground: #374151;
  --card: #ffffff;
  --card-foreground: #374151;
  --primary: #a78bca;
  --primary-foreground: #ffffff;
  --secondary: #e5e7eb;
  --secondary-foreground: #6b7280;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --accent: #c4b5e4;
  --accent-foreground: #374151;
  --border: #d1d5db;
  --input: #ffffff;
  --ring: rgba(167, 139, 202, 0.5);

  /* Fonts */
  --font-sans: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", ui-serif, Georgia, serif;

  /* Spacing */
  --radius: 0.5rem;
}

.dark {
  --background: #1f2937;
  --foreground: #f9fafb;
  --card: #374151;
  --card-foreground: #f9fafb;
  --primary: #a78bca;
  --primary-foreground: #ffffff;
  --secondary: #4b5563;
  --secondary-foreground: #e5e7eb;
  --muted: #4b5563;
  --muted-foreground: #9ca3af;
  --accent: #c4b5e4;
  --accent-foreground: #1f2937;
  --border: #4b5563;
  --input: #374151;
  --ring: rgba(167, 139, 202, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Cloud Background */
.cloud-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.cloud {
  position: absolute;
  color: var(--muted-foreground);
  will-change: transform;
}

.cloud-1 {
  top: 10%;
  left: 25%;
  opacity: 0.1;
  animation: float-slow 8s ease-in-out infinite;
}

.cloud-2 {
  top: 33%;
  right: 25%;
  opacity: 0.08;
  animation: drift 10s ease-in-out infinite;
}

.cloud-3 {
  top: 66%;
  left: 16%;
  opacity: 0.12;
  animation: float 6s ease-in-out infinite;
}

.cloud-4 {
  bottom: 25%;
  right: 33%;
  opacity: 0.06;
  animation: float-slow 8s ease-in-out infinite;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes drift {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0px);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
}

.dark .header {
  background-color: rgba(31, 41, 55, 0.8);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-desktop {
  display: none;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

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

.theme-toggle,
.mobile-menu-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.2s ease;
}

.theme-toggle:hover,
.mobile-menu-toggle:hover {
  background-color: var(--muted);
}

.mobile-menu-toggle {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.sun-icon,
.moon-icon,
.menu-icon,
.close-icon {
  width: 16px;
  height: 16px;
}

.dark .sun-icon,
.moon-icon {
  display: none;
}

.dark .moon-icon,
.sun-icon {
  display: block;
}

.menu-icon {
  display: block;
}

.close-icon {
  display: none;
}

.mobile-menu-open .menu-icon {
  display: none;
}

.mobile-menu-open .close-icon {
  display: block;
}

.nav-mobile {
  display: none;
  padding: 0.5rem 0 0.75rem;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.nav-mobile.show {
  display: block;
}

.nav-mobile a {
  display: block;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--accent);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.badge-progress {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.badge-completed {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-education {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.badge-placement {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.badge-volunteer {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-fulltime {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.375rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  z-index: 1;
}

.hero-clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-cloud {
  position: absolute;
  color: var(--muted-foreground);
}

.hero-cloud-1 {
  top: 5rem;
  left: 2.5rem;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.hero-cloud-2 {
  top: 10rem;
  right: 5rem;
  opacity: 0.15;
  animation: float-slow 8s ease-in-out infinite;
}

.hero-cloud-3 {
  bottom: 10rem;
  left: 25%;
  opacity: 0.1;
  animation: drift 10s ease-in-out infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  text-align: center;
  space-y: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.75rem;
  }
}

.text-primary {
  color: var(--primary);
}

.hero-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-text h2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-text h2 {
    font-size: 1.875rem;
  }
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.social-link:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.hero-image {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-image {
    justify-content: flex-end;
  }
}

.image-container {
  position: relative;
}

.image-container img {
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(167, 139, 202, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .image-container img {
    width: 24rem;
    height: 24rem;
  }
}

.image-cloud {
  position: absolute;
  top: -1rem;
  right: -1rem;
  color: var(--muted-foreground);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

/* Skills Section */
.skills {
  position: relative;
  padding: 5rem 0;
  z-index: 1;
}

.section-cloud {
  position: absolute;
  color: var(--muted-foreground);
}

.section-cloud-1 {
  top: 2.5rem;
  right: 2.5rem;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.skills-carousel {
  max-width: 64rem;
  margin: 0 auto;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.carousel-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.2s ease;
}

.carousel-btn:hover {
  background-color: var(--muted);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background-color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dot.active {
  background-color: var(--primary);
}

.skills-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.skill-category h3 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.skill-item {
  space-y: 0.75rem;
}

.skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.skill-name {
  font-weight: 500;
  color: var(--foreground);
}

.skill-percentage {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.skill-bar {
  width: 100%;
  height: 0.5rem;
  background-color: var(--muted);
  border-radius: var(--radius);
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background-color: var(--primary);
  border-radius: var(--radius);
  transition: width 1s ease-out;
}

/* Projects Section */
.projects {
  position: relative;
  padding: 5rem 0;
  background-color: rgba(243, 244, 246, 0.3);
  z-index: 1;
}

.dark .projects {
  background-color: rgba(75, 85, 99, 0.3);
}

.section-cloud-2 {
  top: 5rem;
  left: 2.5rem;
  opacity: 0.08;
  animation: drift 10s ease-in-out infinite;
}

.section-cloud-3 {
  bottom: 5rem;
  right: 5rem;
  opacity: 0.1;
  animation: float-slow 8s ease-in-out infinite;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.project-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.project-header h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.project-header p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.project-content {
  space-y: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-highlights h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.project-highlights ul {
  list-style: none;
  space-y: 0.25rem;
}

.project-highlights li {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.project-highlights li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.5rem;
  margin-top: 0.125rem;
}

.project-links {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
}

.project-links .btn {
  flex: 1;
}

/* Experience Section */
.experience {
  padding: 5rem 0;
}

.experience-timeline {
  max-width: 64rem;
  margin: 0 auto;
  space-y: 2rem;
}

.experience-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.experience-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .experience-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.experience-title h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.experience-title h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.experience-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .experience-meta {
    align-items: flex-end;
  }
}

.experience-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.experience-date,
.experience-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.experience-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.experience-achievements h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.experience-achievements ul {
  list-style: none;
  space-y: 0.25rem;
}

.experience-achievements li {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.experience-achievements li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.5rem;
  margin-top: 0.125rem;
}

/* Education Section */
.education {
  padding: 5rem 0;
  background-color: rgba(243, 244, 246, 0.3);
}

.dark .education {
  background-color: rgba(75, 85, 99, 0.3);
}

.education-grid {
  max-width: 64rem;
  margin: 0 auto;
  space-y: 1.5rem;
}

.education-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.education-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .education-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.education-header > div:first-child {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}

.education-icon {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.education-title h3 {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.education-title h4 {
  color: var(--primary);
  font-weight: 600;
}

.education-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .education-meta {
    align-items: flex-end;
  }
}

.education-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.education-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.education-focus h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Certifications Section */
.certifications {
  padding: 5rem 0;
}

.certifications-content {
  max-width: 96rem;
  margin: 0 auto;
}

.certifications-section {
  margin-bottom: 4rem;
}

.certifications-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 2rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .certifications-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .certifications-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.certification-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.certification-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.certification-icon {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.certification-title {
  flex: 1;
}

.certification-title h4 {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.certification-title p {
  color: var(--primary);
  font-weight: 600;
}

.certification-badges {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.certification-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.certification-skills h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.memberships-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 2rem;
}

.memberships-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .memberships-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.membership-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.membership-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.membership-icon {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.membership-title {
  flex: 1;
}

.membership-title h4 {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.membership-badges {
  display: flex;
  gap: 0.5rem;
}

.membership-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Contact Section */
.contact {
  position: relative;
  padding: 5rem 0;
  background-color: rgba(243, 244, 246, 0.3);
  z-index: 1;
}

.dark .contact {
  background-color: rgba(75, 85, 99, 0.3);
}

.contact-clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-cloud {
  position: absolute;
  color: var(--muted-foreground);
}

.contact-cloud-1 {
  top: 2.5rem;
  left: 25%;
  opacity: 0.08;
  animation: float 6s ease-in-out infinite;
}

.contact-cloud-2 {
  bottom: 5rem;
  right: 25%;
  opacity: 0.06;
  animation: drift 10s ease-in-out infinite;
}

.contact-content {
  max-width: 96rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  space-y: 2rem;
}

.contact-card,
.social-card,
.contact-form-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3,
.social-card h3,
.contact-form-card h3 {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-card p,
.social-card p,
.contact-form-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.contact-methods {
  space-y: 1.5rem;
}

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

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: rgba(167, 139, 202, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-details h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--muted-foreground);
  margin: 0;
}

.social-card .social-links {
  justify-content: flex-start;
}

.social-card .social-link {
  width: 3rem;
  height: 3rem;
}

/* Contact Form */
.contact-form {
  space-y: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  space-y: 0.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

.form-group textarea {
  resize: vertical;
  min-height: 5rem;
}

/* Footer */
.footer {
  position: relative;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-cloud {
  position: absolute;
  top: 1rem;
  right: 2.5rem;
  color: var(--muted-foreground);
  opacity: 0.05;
  animation: float-slow 8s ease-in-out infinite;
}

.footer-content {
  text-align: center;
  space-y: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand svg {
  color: var(--primary);
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-content > p {
  color: var(--muted-foreground);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.125rem;
  }

  .section-header h2 {
    font-size: 1.875rem;
  }

  .image-container img {
    width: 16rem;
    height: 16rem;
  }
}

/* Utility classes */
.space-y-1 > * + * {
  margin-top: 0.25rem;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
