/* CSS Variables */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --accent-color: #e74c3c;
  --text-color: #333;
  --bg-color: #ffffff;
  --card-bg: #f8f9fa;
  --border-color: #e1e5e9;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --highlight-color: #3498db;
  --highlight-gradient: linear-gradient(135deg, #3498db, #2ecc71);
  --premium-gradient: linear-gradient(135deg, #3498db, #2ecc71, #ff1493);
  --glass-bg: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] {
  --text-color: #ffffff;
  --bg-color: #1a1a1a;
  --card-bg: #2d2d2d;
  --border-color: #404040;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(42, 42, 42, 0.85);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 20%);
  z-index: -1;
  pointer-events: none;
}

[data-theme="dark"] body::before {
  background: 
    radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.1) 0%, transparent 20%);
}

[data-theme="dark"] body {
  background-color: var(--bg-color);
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  header {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
}

[data-theme="dark"] header {
  background: var(--glass-bg);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--highlight-color);
  transition: var(--transition);
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  position: relative;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav-links li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--highlight-gradient);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links li a:hover::before,
.nav-links li a.active::before {
  width: 80%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.theme-btn {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
}

.theme-btn:hover {
  background: var(--card-bg);
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: var(--shadow);
}

.menu-toggle:hover {
  background: var(--card-bg);
  box-shadow: var(--shadow-hover);
}

/* Main Content */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  padding: 2rem 5%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.5s ease-out;
  width: 100%;
}

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

@media (max-width: 768px) {
  main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    padding: 1.5rem 3%;
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: var(--highlight-gradient);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  position: relative;
}

.highlight {
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--highlight-gradient);
  border-radius: 3px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-color);
  opacity: 0.9;
  line-height: 1.6;
}

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

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: none;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn-primary {
  background: var(--highlight-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: width 0.6s ease;
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: var(--card-bg);
  border-color: var(--highlight-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2.5rem 2% 1.5rem;
  }
  
  .footer-section {
    padding: 1.2rem;
  }
  
  .footer-section h3,
  .footer-section h4 {
    font-size: 1.3rem;
  }
  
  .footer-bottom {
    font-size: 0.85rem;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Project Filters */
.project-filters {
  margin: 3rem 0;
  text-align: center;
  padding: 2rem;
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.project-filters h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;  
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--glass-bg);
  color: var(--text-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--highlight-gradient);
  transition: width 0.3s ease;
  z-index: -1;
}

.filter-btn:hover::before {
  width: 100%;
}

.filter-btn:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.filter-btn.active {
  background: var(--highlight-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.filter-btn.active::before {
  width: 100%;
}

/* Tech Blocks */
.tech-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
}

@media (max-width: 480px) {
  .tech-blocks {
    gap: 1.5rem;
  }
  
  .tech-card {
    padding: 1.5rem;
  }
}

.tech-card[style*="display: none"] {
  display: none !important;
}

.tech-card {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--highlight-gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.tech-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.tech-card:hover::after {
  opacity: 1;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  background-clip: text;
  text-align: center;
}

.tech-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
  font-weight: 700;
}

.tech-card p {
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  text-align: center;
  min-height: 60px;
  line-height: 1.6;
}

.card-link {
  color: var(--highlight-color);
  font-weight: 600;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--text-color);
  transform: translateX(5px);
}

/* Tech Stack Tags */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  justify-content: center;
}

.tech-tag {
  padding: 0.3rem 0.8rem;
  background: var(--glass-bg);
  color: var(--text-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.tech-tag:hover {
  background: var(--highlight-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card Buttons */
.card-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-read,
.btn-download {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn-read {
  background: var(--highlight-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-read::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: width 0.6s ease;
}

.btn-read:hover::before {
  width: 100%;
}

.btn-read:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-download {
  background: var(--glass-bg);
  color: var(--highlight-color);
  border-color: var(--highlight-color);
  box-shadow: var(--shadow);
}

.btn-download:hover {
  background: var(--highlight-gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  border-color: transparent;
}

/* Stats Section */
.stats-section {
  text-align: center;
  padding: 4rem 0;
  margin: 4rem 0;
}

.stats-section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.stat-item {
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--highlight-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.8;
  font-weight: 500;
}
/* 
/* Simplified Footer */
footer {
  background: var(--bg-color);
  padding: 2rem 5% 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  padding: 1rem 0;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text-color);
  font-size: 1.2rem;
}

.footer-section p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-color);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Logo in Footer */
.footer-section .logo h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Social Links */
.social-links {
  margin: 15px 0;
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-color);
  font-size: 1.2rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .social-links a {
  background: rgba(42, 42, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
  background: var(--premium-gradient);
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
  border-color: transparent;
}

/* Newsletter */
.newsletter p {
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-color);
}

.newsletter input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-color);
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

[data-theme="dark"] .newsletter input {
  background: rgba(42, 42, 42, 0.5);
}

.newsletter input:focus {
  outline: none;
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.newsletter input::placeholder {
  color: var(--text-color);
  opacity: 0.7;
}

.newsletter button {
  width: 100%;
  padding: 0.8rem;
  border-radius: 30px;
  background: var(--premium-gradient);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.newsletter button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}


/* Mobile Responsive */
@media (max-width: 768px) {
  footer {
    padding: 3rem 3% 2rem;
    margin-top: 4rem;
    border-radius: 15px 15px 0 0;
  }
  
  footer::before {
    height: 4px;
    border-radius: 15px 15px 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    padding: 1.5rem;
  }
  
  .footer-bottom {
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .navbar {
    padding: 1rem 3%;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-color);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: var(--shadow);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }

  .nav-links li a {
    display: block;
    padding: 1rem;
    width: 100%;
    border-radius: var(--border-radius);
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    z-index: 1000;
  }

  main {
    padding: 1rem 3%;
  }

  .hero {
    padding: 2rem 0;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 2rem;
  }

  .footer-section:last-child {
    margin-bottom: 0;
  }

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

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

  .hero p {
    font-size: 1rem;
  }

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

  .stat-number {
    font-size: 2rem;
  }

  .tech-blocks {
    grid-template-columns: 1fr;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Extra small devices (phones, 320px and down) */
@media (max-width: 320px) {
  .navbar {
    padding: 1rem 2%;
  }

  main {
    padding: 1rem 2%;
  }

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

  .hero p {
    font-size: 0.9rem;
  }

  .tech-card {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    padding: 1rem 4%;
  }

  main {
    padding: 2rem 4%;
  }

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

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

/* Large laptops (1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .navbar {
    padding: 1rem 5%;
  }

  main {
    padding: 2rem 5%;
    max-width: 1100px;
  }

  .hero {
    max-width: 750px;
  }

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

  .stats-grid {
    max-width: 750px;
  }
}

/* Standard desktop (1441px and up) */
@media (min-width: 1441px) {
  .navbar {
    padding: 1rem 5%;
    max-width: 1300px;
  }

  main {
    padding: 2rem 5%;
    max-width: 1300px;
  }

  .hero {
    max-width: 850px;
  }

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

  .stats-grid {
    max-width: 900px;
  }
}

/* Very large screens (1920px and up) */
@media (min-width: 1920px) {
  .navbar {
    max-width: 1400px;
  }

  main {
    max-width: 1400px;
  }

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.loading {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.loading.loaded {
  opacity: 1;
}

body.loaded {
  opacity: 1;
}


/* Add pulse animation to active filter buttons */
.filter-btn.active {
  animation: pulse 2s infinite;
}

/* Additional Styles for Other Pages */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Contact Container */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

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

.contact-info {
  padding: 2rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  opacity: 0.9;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.method-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--highlight-color);
}

.method-content p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  opacity: 0.8;
}

.method-link {
  color: var(--highlight-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.method-link:hover {
  color: var(--text-color);
  text-decoration: underline;
}

/* Contact Form Container */
.contact-form-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.request-banner {
  margin: -0.5rem 0 1rem;
  padding: 0.75rem 1rem;
  background: rgba(52, 152, 219, 0.15);
  border: 1px solid var(--highlight-color);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-weight: 600;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--highlight-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-icon {
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
  margin: 4rem 0;
  padding: 3rem 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

.faq-item p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

/* Service Features */
.service-features {
  margin: 4rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

/* Process Section */
.process-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background: var(--card-bg);
  border-radius: var(--border-radius);
}

.process-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--highlight-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.process-step p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  margin: 4rem 0;
  padding: 3rem;
  background: var(--highlight-gradient);
  border-radius: var(--border-radius);
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--highlight-color);
}

.cta-buttons .btn-primary:hover {
  background: var(--card-bg);
  transform: translateY(-3px);
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
  background: white;
  color: var(--highlight-color);
}

/* About List */
.about-list {
  list-style: none;
  margin: 2rem 0;
}

.about-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 2rem;
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--highlight-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Skills Section */
.skills-section {
  margin: 4rem 0;
}

.skills-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.skill-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

.skill-chart-container {
  position: relative;
  height: 250px;
  width: 100%;
  margin-top: 1rem;
}

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

.skill-tag {
  padding: 0.5rem 1rem;
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--highlight-color);
  color: white;
}

/* Experience Section */
.experience-section {
  margin: 4rem 0;
}

.experience-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--highlight-gradient);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 55%;
}

.timeline-date {
  position: absolute;
  top: 0;
  background: var(--highlight-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -120px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -120px;
}

.timeline-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--highlight-color);
}

.timeline-content p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

/* Mobile Responsive for Additional Elements */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
  }

  .timeline-date {
    position: static !important;
    margin-bottom: 1rem;
    display: inline-block;
  }

  .timeline-content {
    margin-top: 1rem;
  }

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

  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

.about-list {
  list-style: none;
  margin: 2rem 0;
}

.about-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 2rem;
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--highlight-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* About Section */
.about-hero {
  padding: 2rem 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--highlight-color);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
/* 
.circle-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  border: 2px solid transparent;
}

.circle-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.green {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: white;
}

.orange {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: white;
}

.blue {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: white;
}

.gray {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
}
.red {
  background: linear-gradient(135deg, #ff5a57, #cb0000);
  color: white;
} */

.circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 22px; /* icon size */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.circle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.green { background-color: #28a745; }
.orange { background-color: #201696; }
.blue { background-color: #24292f; } /* GitHub dark */
.red { background-color: #ff0000; }
.gray { background-color: #6c757d; }



/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form button {
  padding: 1rem 2rem;
  background: var(--highlight-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Card Buttons */
.card-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-read,
.btn-download {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-read {
  background: var(--highlight-gradient);
  color: white;
}

.btn-read:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-download {
  background: transparent;
  color: var(--highlight-color);
  border-color: var(--highlight-color);
}

.btn-download:hover {
  background: var(--highlight-color);
  color: white;
  transform: translateY(-2px);
}

/* Mobile Responsive for About Page */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }

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

@media (max-width: 480px) {
  .about-content h1 {
    font-size: 2rem;
  }
}

/* Project Details Pages (Readmore) */
.project-details {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.project-overview {
  margin-bottom: 4rem;
}

.project-overview h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-overview p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-color);
  opacity: 0.9;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-features {
  margin: 4rem 0;
}

.project-features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.technical-details {
  margin: 4rem 0;
}

.technical-details h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-process {
  margin: 4rem 0;
}

.project-process h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.step {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--highlight-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

.step p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

.project-results {
  margin: 4rem 0;
}

.project-results h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.result-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.result-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.result-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

.result-item ul {
  list-style: none;
  padding: 0;
}

.result-item ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

.result-item ul li:last-child {
  border-bottom: none;
}

/* Mobile Responsive for Project Details */
@media (max-width: 768px) {
  .project-stats {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .results-content {
    grid-template-columns: 1fr;
  }
  
  .project-overview h2,
  .project-features h2,
  .technical-details h2,
  .project-process h2,
  .project-results h2 {
    font-size: 2rem;
  }
}

/* Google Translate Widget Styling */
#google_translate_element {
  font-family: 'Inter', sans-serif;
}

#google_translate_element select {
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.5rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

#google_translate_element select:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--highlight-color);
}

.goog-te-gadget {
  color: var(--text-color) !important;
  font-size: 0.9rem;
}

.goog-te-gadget-simple {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  padding: 0.5rem !important;
  box-shadow: var(--shadow) !important;
  transition: var(--transition) !important;
}

.goog-te-gadget-simple:hover {
  box-shadow: var(--shadow-hover) !important;
  border-color: var(--highlight-color) !important;
}

.goog-te-menu-value {
  color: var(--text-color) !important;
}

.goog-te-menu-value span:first-child {
  display: none !important;
}

.goog-te-menu-value:before {
  content: "🌐 Select Language" !important;
  color: var(--text-color) !important;
}

.goog-te-gadget-icon {
  display: none !important;
}

/* Responsive adjustments for Google Translate widget */
@media (max-width: 768px) {
  #google_translate_element {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 1000 !important;
    max-width: 150px !important;
  }
  
  .goog-te-gadget-simple {
    padding: 0.3rem !important;
    font-size: 0.8rem !important;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background-color: #128C7E;
}

.whatsapp-float i {
  margin-top: 2px;
}

/* Dark mode adjustments */
[data-theme="dark"] .whatsapp-float {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .whatsapp-float:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
