/* ========================================
   Kliker Norden AB - IT Networking Services
   ======================================== */

/* CSS Variables / Design Tokens */
:root {
  --primary: #0d1b2a;
  --primary-light: #1b2d44;
  --accent: #00b4d8;
  --accent-hover: #48cae4;
  --accent-dark: #0096c7;
  --text-light: #ffffff;
  --text-muted: #a8b2c1;
  --text-dark: #2b2d42;
  --bg-white: #ffffff;
  --bg-light: #f4f6f9;
  --bg-dark: #0d1b2a;
  --bg-card: #152238;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-white);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text-light);
}

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

.nav-cta {
  background: var(--accent) !important;
  color: var(--text-light) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* ========================================
   HERO CAROUSEL
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 72px;
}

.carousel {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(13, 27, 42, 0.92) 0%,
      rgba(13, 27, 42, 0.7) 50%,
      rgba(0, 150, 199, 0.3) 100%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 850px;
  padding: 0 24px;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-main);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.5);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
  background: rgba(0, 180, 216, 0.3);
  border-color: var(--accent);
}

.carousel-arrow.prev {
  left: 30px;
}

.carousel-arrow.next {
  right: 30px;
}

/* ========================================
   SECTION STYLING
   ======================================== */
.section {
  padding: 100px 0;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label i {
  font-size: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  font-size: 1.05rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Dark section overrides */
.section-dark {
  background: var(--primary);
}

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

.section-dark .section-subtitle {
  color: var(--text-muted);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.15);
  border-color: rgba(0, 180, 216, 0.2);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 1.6rem;
  color: var(--accent);
}

.service-card:hover .service-icon {
  background: var(--accent);
  transform: scale(1.1);
}

.service-card:hover .service-icon i {
  color: var(--text-light);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.why-choose-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
}

.why-choose-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.4), transparent);
  border-radius: var(--radius);
}

.experience-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--accent);
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  z-index: 5;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.why-choose-content {
  padding: 20px 0;
}

.why-choose-content .section-label {
  margin-bottom: 12px;
}

.why-choose-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.why-choose-content .section-subtitle {
  text-align: left;
  margin: 0 0 32px 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-check i {
  color: var(--accent);
  font-size: 0.85rem;
}

.feature-item h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.88rem;
  color: #6c757d;
  line-height: 1.6;
}

/* ========================================
   PROCESS / HOW WE WORK SECTION
   ======================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px 24px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.25);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.12);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 180, 216, 0.1);
  line-height: 1;
  margin-bottom: 12px;
  transition: var(--transition);
}

.process-step:hover .process-number {
  color: rgba(0, 180, 216, 0.25);
}

.process-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-icon i {
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
}

.process-step:hover .process-icon {
  background: var(--accent);
  transform: scale(1.1);
}

.process-step:hover .process-icon i {
  color: var(--text-light);
}

.process-step h3 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.process-connector {
  display: none;
  position: absolute;
  top: 50%;
  right: -28px;
  width: 28px;
  height: 2px;
  background: rgba(0, 180, 216, 0.2);
  z-index: 5;
}

@media (min-width: 769px) {
  .process-connector {
    display: block;
  }
}

/* ========================================
   CONTACT SECTION (No Form)
   ======================================== */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.05);
}

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

.contact-section .section-subtitle {
  color: var(--text-muted);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.25);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.12);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.contact-card-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  background: var(--accent);
  transform: scale(1.1);
}

.contact-card:hover .contact-card-icon i {
  color: var(--text-light);
}

.contact-card h4 {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-card p a {
  color: var(--text-muted);
  transition: var(--transition);
}

.contact-card p a:hover {
  color: var(--accent);
}

.contact-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.contact-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.contact-section .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a i {
  font-size: 0.7rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-col a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 0.95rem;
  margin-top: 4px;
  min-width: 18px;
}

.footer-contact-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
}

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

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.35);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

.fade-in-delay-6 {
  transition-delay: 0.6s;
}

.fade-in-delay-7 {
  transition-delay: 0.7s;
}

.fade-in-delay-8 {
  transition-delay: 0.8s;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-connector {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 500px;
    max-height: 700px;
  }

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

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

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

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

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

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

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

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow.prev {
    left: 16px;
  }

  .carousel-arrow.next {
    right: 16px;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {

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

  .btn {
    width: 100%;
    justify-content: center;
  }

  .carousel-arrow {
    display: none;
  }
}