@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #dc2626;
  --primary-light: #ef4444;
  --secondary-color: #f8fafc;
  --accent-color: #000000;
  --text-primary: #000000;
  --text-secondary: #374151;
  --text-light: #6b7280;
  --background: #ffffff;
  --surface: #f8fafc;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.08);
  --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}

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

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

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

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

::selection {
  background: var(--primary-light);
  color: var(--text-primary);
}

/* Utilities */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.sticky {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px var(--shadow);
}

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

.navbar .logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.menu-list li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-list li a:hover {
  color: var(--primary-color);
  background: rgba(220, 38, 38, 0.1);
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.lang-btn i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.language-dropdown.active .lang-btn i.fa-chevron-down {
  transform: rotate(180deg);
}

.lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  padding: 0.5rem 0;
  min-width: 150px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.language-dropdown.active .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.lang-option:hover {
  background: rgba(220, 38, 38, 0.1);
  color: var(--primary-color);
}

.lang-option img {
  width: 20px;
  height: auto;
  border-radius: 3px;
}

.lang-option span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Mobile Menu */
.icon {
  display: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Banner Section */
.banner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Ccircle cx='20' cy='20' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

#profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.section__pic-container {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--background);
  box-shadow: 0 20px 40px var(--shadow);
  transition: all 0.3s ease;
}

.section__pic-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.section__pic-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__text {
  flex: 1;
  text-align: left;
}

.section__text__p1 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section__text .title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section__text__p2 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.btn-container {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.btn-color-1 {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-color-1:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-color-2 {
  background: var(--background);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

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

.btn a {
  color: inherit;
  text-decoration: none;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--background);
}

.about .title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

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

.details-container {
  background: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.details-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow);
}

.details-container h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.details-container p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Experience Section */
.experience {
  padding: 5rem 0;
  background: var(--surface);
}

.experience .title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--text-primary);
}

/* New Skills Grid Layout */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skills-category {
  background: var(--background);
  border-radius: 25px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skills-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  border-radius: 25px 25px 0 0;
}

.skills-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.category-header i {
  font-size: 2rem;
  color: var(--primary-color);
  background: rgba(220, 38, 38, 0.1);
  padding: 1rem;
  border-radius: 15px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-header h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

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

.skill-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 15px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.skill-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient);
  border-radius: 0 15px 15px 0;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.skill-card:hover::before {
  transform: scaleY(1);
}

.skill-card:hover {
  transform: translateY(-3px) translateX(5px);
  box-shadow: 0 10px 25px var(--shadow);
  border-color: var(--primary-color);
}

.skill-icon {
  background: rgba(220, 38, 38, 0.1);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
}

.skill-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.skill-info {
  flex: 1;
}

.skill-info h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.skill-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Category Specific Styles */
.technologies {
  background: linear-gradient(135deg, var(--background) 0%, rgba(220, 38, 38, 0.02) 100%);
}

.soft-skills {
  background: linear-gradient(135deg, var(--background) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.soft-skills .category-header i {
  background: rgba(59, 130, 246, 0.1);
  color: #000000;
}

.soft-skills .skill-icon {
  background: rgba(59, 130, 246, 0.1);
}

.soft-skills .skill-icon i {
  color: #000000;
}

.soft-skills .skill-card::before {
  background: linear-gradient(45deg, #000000, #000000);
}

.soft-skills .skill-card:hover {
  border-color: #000000;
}

/* Responsive Design */
@media screen and (min-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .skills-category {
    padding: 3rem;
  }
  
  .skills-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 1024px) {
  .skills-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background: var(--background);
}

.projects .title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

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

.color-container {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.color-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
  font-size: 0.9rem;
}

.project-btn.secondary {
  background: var(--background);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.project-btn.secondary:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.project-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

/* Contact Section */
#contact {
  padding: 5rem 0;
  background: var(--surface);
  text-align: center;
}

#contact .title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--background);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px var(--shadow);
}

.contact-info-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.contact-info-container:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-info-container p {
  font-weight: 500;
  color: inherit;
}

/* Footer */
footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section p a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section p a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-section p a i {
  width: 16px;
  text-align: center;
}

.footer-section .button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.footer-section .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
}

.footer-bottom p {
  color: #94a3b8;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content {
    padding: 0 1.5rem;
  }
  
  #profile {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .section__pic-container {
    width: 300px;
    height: 300px;
  }
  
  .section__text .title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .icon {
    display: block;
  }
  
  .navbar .menu-list {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
  }
  
  .navbar.show .menu-list {
    left: 0;
  }
  
  .menu-list .cancel-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
  
  /* Language selector mobile styles */
  .language-selector {
    order: -1;
  }
  
  .lang-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
  
  .lang-options {
    position: relative;
    top: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    min-width: 180px;
  }
  
  .section__text .title {
    font-size: 2.5rem;
  }
  
  .btn-container {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-info-upper-container {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 0 1rem;
  }
  
  .section__pic-container {
    width: 250px;
    height: 250px;
  }
  
  .section__text .title {
    font-size: 2rem;
  }
  
  .about .title,
  .experience .title,
  .projects .title,
  #contact .title {
    font-size: 2rem;
  }
  
  .projects-container {
    grid-template-columns: 1fr;
  }
}

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: all 0.3s ease;
  display: none;
  border-top: 3px solid var(--primary-color);
}

.cookie-consent.show {
  transform: translateY(0);
}

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

.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-color);
}

.cookie-header i {
  font-size: 1.5rem;
}

.cookie-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e5e7eb;
}

.cookie-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn.primary {
  background: var(--gradient);
  color: white;
}

.cookie-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.cookie-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cookie-btn.tertiary {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #374151;
}

.cookie-btn.tertiary:hover {
  color: white;
  border-color: #6b7280;
}

.cookie-links {
  display: flex;
  align-items: center;
}

.cookie-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.cookie-links a:hover {
  color: var(--primary-light);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  opacity: 0;
  transition: all 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
}

.cookie-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.cookie-modal-header h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
  margin: 0;
  font-size: 1.3rem;
}

.cookie-modal-header h3 i {
  color: var(--primary-color);
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.cookie-modal-body {
  padding: 2rem;
}

.cookie-category {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.cookie-category-header h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

input:disabled + .slider {
  background-color: #94a3b8;
  cursor: not-allowed;
}

.cookie-category p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Mobile Responsive for Cookie Popup */
@media (max-width: 768px) {
  .cookie-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .cookie-modal-content {
    width: 95%;
    margin: 1rem;
  }
  
  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding: 1.5rem;
  }
  
  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal-header h3 {
    font-size: 1.1rem;
  }
}
