/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-spinner.hide {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(6, 182, 212, 0.3);
  border-top: 4px solid #06b6d4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-spinner p {
  color: #06b6d4;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  color: #06b6d4;
  transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #06b6d4);
  margin-bottom: 0.5rem;
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #06b6d4;
}

.scroll-indicator span {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Form Validation Styles */
.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
  display: block;
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.form-input.success,
.form-textarea.success {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

/* Button Loading State */
.submit-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
}

/* Improved Accessibility */
.nav-link:focus,
.social-link:focus,
.btn-primary:focus,
.btn-secondary:focus,
.submit-btn:focus,
.form-input:focus,
.form-textarea:focus {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #06b6d4;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 6px;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Improved mobile navigation */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-indicator span {
    font-size: 0.8rem;
  }

  .loading-spinner p {
    font-size: 1rem;
  }

  .spinner {
    width: 40px;
    height: 40px;
  }
}

/* Dark mode support (for future implementation) */
@media (prefers-color-scheme: dark) {
  /* Already dark themed, but can be enhanced */
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .spinner,
  .scroll-indicator,
  .profile-ring,
  .profile-glow {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center; /* vertically center image and text */
  gap: 8px; /* space between logo and text */
  font-size: 20px; /* adjust text size */
  font-weight: bold;
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo img {
  height: 45px; /* adjust size */
  width: auto; /* keeps aspect ratio */
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #d1d5db;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
}

.cta-btn {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 2rem 2rem;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  color: #06b6d4;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: 1.5rem;
  color: #d1d5db;
  margin-bottom: 2rem;
}

.hero-role .accent {
  color: #06b6d4;
  font-weight: 600;
}

.hero-description {
  color: #9ca3af;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero .social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
}

.hero .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.hero .social-link:hover {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  transform: translateY(-3px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
  border: 2px solid #06b6d4;
  color: #06b6d4;
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #06b6d4;
  color: #0f172a;
  transform: translateY(-2px);
}

/* Profile Image */
.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease-out;
}

.profile-container {
  position: relative;
}

.profile-ring {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2),
    rgba(59, 130, 246, 0.2)
  );
  padding: 4px;
  animation: pulse 3s ease-in-out infinite;
}

.profile-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2),
    rgba(59, 130, 246, 0.2)
  );
  filter: blur(30px);
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}

/* Stats Section */
.stats {
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  animation: fadeInUp 1s ease-out;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #9ca3af;
  font-size: 1rem;
}

/* About Section */
.about {
  padding: 5rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: #9ca3af;
  font-size: 1.2rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  space-y: 1.5rem;
}

.about-text p {
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-title {
  color: #06b6d4;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skill-desc {
  color: #9ca3af;
  font-size: 0.9rem;
}

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

.about-image-container {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(20px);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .cta-btn {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .profile-ring {
    width: 280px;
    height: 280px;
  }

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

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

  .hero-buttons {
    justify-content: center;
  }

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

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

  /* Center social icons on mobile */
  .hero .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .profile-ring {
    width: 250px;
    height: 250px;
  }
}
.section {
  padding: 5rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: #9ca3af;
  font-size: 1.2rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.1);
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-icon {
  font-size: 3rem;
  color: #06b6d4;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: #00d4ff;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: #06b6d4;
}

.service-desc {
  color: #9ca3af;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.service-card:hover .service-desc {
  color: #d1d5db;
}

/* Animation for cards appearing */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Additional hover effects */
.service-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  border-radius: 50%;
  z-index: -1;
}

.service-card:hover::after {
  width: 300px;
  height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
  }

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

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }

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

  .service-icon {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1.2rem;
  }
}

/* Additional styling for better visual appeal */
.services-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.services-intro p {
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Service specialties badges */
.service-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  margin-top: 1rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Portfolio Section */

/* Section Styles */
.section {
  padding: 5rem 2rem;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: #9ca3af;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Portfolio Navigation Tabs */
.portfolio-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.portfolio-tab {
  background: rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portfolio-tab.active,
.portfolio-tab:hover {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
  display: block;
}

/* Experience Section */
.experience-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  transform: translateX(-50%);
}

.experience-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.experience-item:nth-child(odd) .experience-content {
  margin-left: 0;
  margin-right: 50%;
  padding-right: 2rem;
  text-align: right;
}

.experience-item:nth-child(even) .experience-content {
  margin-left: 50%;
  margin-right: 0;
  padding-left: 2rem;
  text-align: left;
}

.experience-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.experience-date {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.experience-company {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.experience-role {
  color: #06b6d4;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.experience-desc {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.experience-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.experience-skill {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid #0f172a;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.project-desc {
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.project-tag {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

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

.project-link {
  color: #06b6d4;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.project-link:hover {
  color: white;
}

/* Technologies Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
}

.tech-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.tech-name {
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.tech-level {
  color: #9ca3af;
  font-size: 0.9rem;
}

.tech-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.tech-progress-bar {
  height: 100%;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.certificate-logo {
  width: 70px; /* adjust size */
  height: auto;
}

.certificate-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.certificate-card:hover {
  transform: translateY(-5px);
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.2);
}

.certificate-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.certificate-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.certificate-issuer {
  color: #06b6d4;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.certificate-date {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.certificate-link {
  color: #06b6d4;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.certificate-link:hover {
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .portfolio-nav {
    gap: 0.5rem;
  }

  .portfolio-tab {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .experience-timeline::before {
    left: 20px;
  }

  .experience-item:nth-child(odd) .experience-content,
  .experience-item:nth-child(even) .experience-content {
    margin-left: 0;
    margin-right: 0;
    padding-left: 3rem;
    padding-right: 1rem;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

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

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

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

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }

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

  .experience-content {
    padding: 1.5rem;
  }

  .tech-card {
    padding: 1rem;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Contacts Section */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.header {
  text-align: center;
  margin-bottom: 50px;
}

.header h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.contact-info h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 30px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.contact-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  background: #3498db;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 5px;
}

.contact-details h3 {
  color: white;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.contact-form h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 30px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 1rem;
  color: white;
  transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background: #2980b9;
}

.freelance-profiles {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.freelance-profiles h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 30px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

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

.profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.profile-card h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.profile-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.profile-link {
  display: inline-block;
  background: #3498db;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.profile-link:hover {
  background: #2980b9;
}

.success-message {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header h1 {
    font-size: 2rem;
  }

  .contact-info,
  .contact-form,
  .freelance-profiles {
    padding: 25px;
  }

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

  /* Left-align contact items on mobile for better readability */
  .contact-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
  }

  .contact-icon {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .contact-details {
    flex: 1;
  }

  .contact-details h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .contact-details p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Footer section */
.footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.5),
    transparent
  );
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b9d, #c471ed);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
}

.footer-section ul li a:hover {
  color: #3498db;
  padding-left: 10px;
  transform: translateX(5px);
}

.footer-section ul li a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #3498db;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover::before {
  opacity: 1;
}

.footer-section .social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0px;
}

.footer-section .social-link {
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 1px 0;
  border-radius: 6px;
}

.footer-section .social-link:hover {
  color: #3498db;
  background: rgba(52, 152, 219, 0.08);
  padding-left: 12px;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.95rem;
  padding: 1px 0;
  transition: color 0.3s ease;
}

.footer-contact p:hover {
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-signup {
  margin-top: 20px;
}

.newsletter-input {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-input input {
  flex: 1;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 0.9rem;
}

.newsletter-input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input input:focus {
  outline: none;
  border-color: #3498db;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  margin: 30px 20px 20px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  /* justify-content: space-between; */
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-bottom-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #3498db;
  transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #3498db;
}

.footer-bottom-links a:hover::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 20px 25px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 20px 20px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 0 20px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 15px;
  }

  .newsletter-input {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-bottom-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Additional Responsive Improvements */

/* Fix for mobile menu toggle animation */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Improve mobile menu transitions */
.nav-menu {
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better touch targets for mobile */
@media (max-width: 767px) {
  .nav-link,
  .btn-primary,
  .btn-secondary,
  .portfolio-tab,
  .service-card,
  .project-card,
  .tech-card,
  .certificate-card {
    min-height: 44px; /* Apple's recommended minimum touch target */
  }

  /* Improve mobile form inputs */
  .form-input,
  .form-textarea {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Better mobile spacing */
  .hero-buttons {
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 48px;
  }

  /* Improve mobile navigation */
  .nav-menu {
    padding: 1rem 0;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .nav-link {
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
  }
}

/* Landscape mobile optimizations */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 1.5rem 1rem;
  }

  .hero-container {
    gap: 1rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .hero-role {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero .social-links {
    margin-bottom: 1rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .profile-ring {
    width: 180px;
    height: 180px;
  }

  .section {
    padding: 1.5rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .nav-link:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }

  .form-input:focus,
  .form-textarea:focus {
    outline: 3px solid currentColor;
    outline-offset: 2px;
  }
}

/* Focus visible support for better accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus-visible,
  .btn-primary:focus-visible,
  .btn-secondary:focus-visible,
  .portfolio-tab:focus-visible {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
    transform: translateY(-1px);
  }
}

/* Improve loading spinner responsiveness */
@media (max-width: 480px) {
  .loading-spinner p {
    font-size: 0.9rem;
  }

  .spinner {
    width: 35px;
    height: 35px;
  }
}

/* Better mobile footer */
@media (max-width: 767px) {
  .footer-section {
    text-align: center;
  }

  .footer-section .social-links {
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }
}

/* Improve mobile contact form */
@media (max-width: 767px) {
  .contact-info,
  .contact-form {
    margin-bottom: 1rem;
  }
}

/* Better mobile portfolio tabs */
@media (max-width: 767px) {
  .portfolio-nav {
    margin-bottom: 2rem;
  }

  .portfolio-tab {
    margin-bottom: 0.5rem;
  }
}

/* Improve mobile service cards */
@media (max-width: 767px) {
  .service-card {
    margin-bottom: 1rem;
  }

  .service-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Better mobile project cards */
@media (max-width: 767px) {
  .project-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-link {
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }

  .project-link:hover {
    background: rgba(6, 182, 212, 0.1);
  }
}

/* Improve mobile tech cards */
@media (max-width: 767px) {
  .tech-card {
    text-align: center;
  }

  .tech-progress {
    margin-top: 0.8rem;
  }
}

/* Better mobile certificate cards */
@media (max-width: 767px) {
  .certificate-card {
    text-align: center;
  }

  .certificate-badge {
    margin: 0 auto 1rem;
  }
}

/* Improve mobile newsletter */
@media (max-width: 767px) {
  .newsletter-signup {
    text-align: center;
  }

  .newsletter-input {
    align-items: stretch;
  }
}

/* Enhanced Icon Styling */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: #06b6d4;
  border: 2px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.service-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
  border-color: #06b6d4;
}

.service-icon:hover::before {
  transform: scale(1);
}

.service-icon i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-icon:hover i {
  color: #06b6d4;
  transform: scale(1.1);
}

/* Technology Icons */
.tech-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: #06b6d4;
  border: 2px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.tech-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  border-color: #06b6d4;
}

.tech-icon:hover::before {
  transform: scale(1);
}

.tech-icon i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.tech-icon:hover i {
  transform: scale(1.1);
}

/* Certificate Icons */
.certificate-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: #06b6d4;
  border: 2px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certificate-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.certificate-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  border-color: #06b6d4;
}

.certificate-badge:hover::before {
  transform: scale(1);
}

.certificate-badge i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.certificate-badge:hover i {
  transform: scale(1.1);
}

.certificate-badge img {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

.certificate-badge:hover img {
  transform: scale(1.1);
}

/* Contact Icons */
.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.5rem;
  color: #06b6d4;
  border: 2px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.contact-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  border-color: #06b6d4;
}

.contact-icon:hover::before {
  transform: scale(1);
}

.contact-icon i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.contact-icon:hover i {
  transform: scale(1.1);
}

/* Devicon specific styling */
.devicon-amazonwebservices-plain.colored,
.devicon-googlecloud-plain.colored,
.devicon-terraform-plain.colored,
.devicon-ansible-plain.colored,
.devicon-jenkins-plain.colored,
.devicon-docker-plain.colored,
.devicon-kubernetes-plain.colored,
.devicon-python-plain.colored,
.devicon-bash-plain.colored,
.devicon-mysql-plain.colored,
.devicon-git-plain.colored,
.devicon-github-original.colored,
.devicon-nginx-plain.colored,
.devicon-redis-plain.colored,
.devicon-vscode-plain.colored {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Responsive icon sizing */
@media (max-width: 767px) {
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .certificate-badge {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .devicon-amazonwebservices-plain.colored,
  .devicon-googlecloud-plain.colored,
  .devicon-terraform-plain.colored,
  .devicon-ansible-plain.colored,
  .devicon-jenkins-plain.colored,
  .devicon-docker-plain.colored,
  .devicon-kubernetes-plain.colored,
  .devicon-python-plain.colored,
  .devicon-bash-plain.colored,
  .devicon-mysql-plain.colored,
  .devicon-git-plain.colored,
  .devicon-github-original.colored,
  .devicon-nginx-plain.colored,
  .devicon-redis-plain.colored,
  .devicon-vscode-plain.colored {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .tech-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .certificate-badge {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .devicon-amazonwebservices-plain.colored,
  .devicon-googlecloud-plain.colored,
  .devicon-terraform-plain.colored,
  .devicon-ansible-plain.colored,
  .devicon-jenkins-plain.colored,
  .devicon-docker-plain.colored,
  .devicon-kubernetes-plain.colored,
  .devicon-python-plain.colored,
  .devicon-bash-plain.colored,
  .devicon-mysql-plain.colored,
  .devicon-git-plain.colored,
  .devicon-github-original.colored,
  .devicon-nginx-plain.colored,
  .devicon-redis-plain.colored,
  .devicon-vscode-plain.colored {
    font-size: 1.5rem;
  }
}
