:root {
  --primary: #009ee3;
  --dark: #1a1a18;
  --gray: #868474;
  --light: #ffffff;
  --radius: 20px;
}
@import url("https://db.onlinewebfonts.com/c/c41d6680ca015793422cc33c90733f95?family=Korataki+W01+ExtraBold");
@font-face {
  font-family: "Korataki W01 ExtraBold";
  src: url("https://db.onlinewebfonts.com/t/c41d6680ca015793422cc33c90733f95.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/c41d6680ca015793422cc33c90733f95.woff") format("woff"),
       url("https://db.onlinewebfonts.com/t/c41d6680ca015793422cc33c90733f95.ttf") format("truetype");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: var(--light);
}

.dark body {
  background-color: var(--dark);
  color: var(--light);
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
  background: #2a2a2a;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #007bb8;
}

/* Typography */
.logo-text {
  font-family: "Korataki W01 ExtraBold", sans-serif;
  /* font-weight: 800; */
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.dark .header {
  background: rgba(26, 26, 24, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: right;
  flex-grow: 1;
}

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

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  font-size: 0.9rem;
   border: none;    
  outline: none;
}


.dark .nav-link {
  color: var(--light);
  border: none;    
  outline: none;
}

.nav-link:hover {
  color: var(--primary);
  border: none;    
  outline: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border: none;    
  outline: none;
}

.nav-link:hover::after {
  width: 100%;
}

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

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  position: relative;
  left: 25px;
}

.theme-toggle:hover {
  background-color: rgba(0, 158, 227, 0.1);
}

.theme-icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.theme-icon-dark {
  display: none;
}

.dark .theme-icon-light {
  display: none;
}

.dark .theme-icon-dark {
  display: block;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 158, 227, 0.25);
}

.btn-primary:hover {
  background: #007bb8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 158, 227, 0.35);
}

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

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

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dark .hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.dark .hero-title {
  color: var(--light);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .section-title {
  color: var(--light);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Services */
.services {
  background: var(--light);
}

.dark .services {
  background: #2a2a2a;
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dark .service-card {
  background: var(--dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #007bb8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.service-icon i {
  width: 32px;
  height: 32px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .service-title {
  color: var(--light);
}

.service-description {
  color: var(--gray);
  line-height: 1.6;
}

/* Projects */
.projects {
  background: #f8fafc;
}

.dark .projects {
  background: var(--dark);
}

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

.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dark .project-card {
  background: #2a2a2a;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.dark .project-title {
  color: var(--light);
}

.project-description {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

.project-tag {
  background: rgba(0, 158, 227, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Why BERKEL */
.why-BERKEL {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.dark .why-BERKEL {
  background: #2a2a2a;
}

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

.pillar-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dark .pillar-card {
  background: var(--dark);
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #007bb8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.pillar-icon i {
  width: 32px;
  height: 32px;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .pillar-title {
  color: var(--light);
}

.pillar-description {
  color: var(--gray);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background: #f8fafc;
}

.dark .testimonials {
  background: var(--dark);
}

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

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dark .testimonial-card {
  background: #2a2a2a;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 16px;
  height: 16px;
  color: #fbbf24;
}

.star.filled {
  fill: currentColor;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.dark .author-name {
  color: var(--light);
}

.author-role {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Career */
.career {
  background: var(--light);
}

.dark .career {
  background: #2a2a2a;
}

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

.career-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.dark .career-title {
  color: var(--light);
}

.career-description {
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.career-benefits {
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.dark .benefit-item {
  color: var(--light);
}

.benefit-item i {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.career-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Contact */
.contact {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)
}

.dark .contact {
  background: var(--dark);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-icon i {
  width: 20px;
  height: 20px;
}

.contact-details h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.dark .contact-details h3 {
  color: var(--light);
}

.contact-details p {
  color: var(--gray);
  margin-bottom: 0.25rem;
}
/* Footer */
.footer {
  background: var(--dark);
  color: var(--light);
  padding: 3rem 0 1rem;
}

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

.footer-logo .logo-text {
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--gray);
  line-height: 1.6;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--light);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray);
}

.footer-contact i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 158, 227, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.social-links i {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links-bottom {
  display: flex;
  gap: 2rem;
}

.footer-links-bottom a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .dark .nav {
    background: var(--dark);
  }
  
  .nav.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .career-content {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .header-actions .btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .services-grid,
  .projects-grid,
  .pillars-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

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

.service-card,
.project-card,
.pillar-card,
.testimonial-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* Focus styles for accessibility */
.nav-link:focus, .nav-link:active{
  border: none;    
  outline: none;
}
.btn:focus,
.theme-toggle:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    background: #000;
  }
  
  .btn-outline {
    border-color: #000;
    color: #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
