/* 
   Sicambris Logistics - Main Stylesheet
   Design System: Corporate with Curved Grids
   Color Scheme: Split-Complementary
   Animation Style: Non-linear Movements
   Fonts: Poppins for headings, Work Sans for body text
*/

:root {
  /* Primary Colors */
  --primary-color: #0066b2;
  --primary-dark: #004a80;
  --primary-light: #3399ff;
  
  /* Complementary Colors */
  --complementary-color: #ff6b00;
  --complementary-dark: #cc5500;
  --complementary-light: #ff9f4d;
  
  /* Split Complementary */
  --split-comp-1: #ff004d;
  --split-comp-2: #00cc66;
  
  /* Neutral Colors */
  --dark: #222222;
  --light: #ffffff;
  --gray-dark: #444444;
  --gray: #777777;
  --gray-light: #eeeeee;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-complementary: linear-gradient(135deg, var(--complementary-color), var(--complementary-dark));
  --gradient-dark: linear-gradient(135deg, var(--dark), var(--gray-dark));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 50%;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

p {
  margin-bottom: var(--space-md);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

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

figure {
  margin: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Typography Enhancement */
.title {
  font-weight: 700;
}

.title.is-1 {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.title.is-3 {
  font-size: 2rem;
}

.title.is-4 {
  font-size: 1.5rem;
}

.title.is-5 {
  font-size: 1.25rem;
}

.subtitle {
  font-weight: 500;
  color: var(--gray);
}

.has-text-centered {
  text-align: center;
}

.has-text-right {
  text-align: right;
}

.has-text-white {
  color: var(--light) !important;
}

.has-text-primary {
  color: var(--primary-color);
}

.has-text-complementary {
  color: var(--complementary-color);
}

.has-text-dark {
  color: var(--dark);
}

.has-text-grey-lighter {
  color: #a0a0a0;
}

.has-background-light {
  background-color: var(--gray-light);
}

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

.has-background-primary {
  background-color: var(--primary-color);
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.is-size-4 {
  font-size: 1.5rem;
}

.is-size-5 {
  font-size: 1.25rem;
}

.content {
  margin-bottom: var(--space-lg);
}

.content h1, 
.content h2, 
.content h3, 
.content h4, 
.content h5, 
.content h6 {
  color: var(--primary-dark);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.content p {
  margin-bottom: var(--space-md);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .navbar-brand {
    width: 100%;
    align-items: center;
  }
  .navbar-burger{
    top: 0px;
  }
}

.navbar-brand h1 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.navbar-item {
  padding: var(--space-sm) var(--space-md);
  color: var(--gray-dark);
  transition: var(--transition-fast);
  font-weight: 500;
  position: relative;
}

.navbar-item:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 70%;
}

.navbar-menu {
  display: flex;
}

.navbar-end {
  display: flex;
  align-items: center;
}

.navbar-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--light);
}

.hero.is-fullheight-with-navbar {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.hero-body {
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding: var(--space-xl) 0;
  position: relative;
}

.hero .title, 
.hero .subtitle {
  color: var(--light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-foot {
  padding-bottom: var(--space-lg);
}

.icon-scroll {
  width: 30px;
  height: 50px;
  border: 2px solid var(--light);
  border-radius: 25px;
  position: relative;
  margin: 0 auto;
  animation: scrollIndicator 2s infinite;
}

.icon-scroll::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--light);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}

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

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, 16px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out;
}

.button:hover::after {
  width: 300px;
  height: 300px;
}

.button.is-primary {
  background-color: var(--primary-color);
  color: var(--light);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-light {
  background-color: var(--light);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.button.is-light:hover {
  background-color: var(--gray-light);
}

.button.is-medium {
  font-size: 1.1rem;
  padding: 0.85rem 1.75rem;
}

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

.button.is-rounded {
  border-radius: 9999px;
}

.buttons {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Columns & Grid */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}

.column {
  flex: 1;
  padding: 1rem;
}

.column.is-one-third {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.column.is-two-thirds {
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
}

.column.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.column.is-one-quarter {
  flex: 0 0 25%;
  max-width: 25%;
}

.column.is-full {
  flex: 0 0 100%;
  max-width: 100%;
}

.is-multiline {
  flex-wrap: wrap;
}

.is-vcentered {
  align-items: center;
}

.is-centered {
  justify-content: center;
}

.is-grouped {
  display: flex;
}

.is-grouped-centered {
  justify-content: center;
}

/* Section Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

.curved-section {
  position: relative;
  overflow: hidden;
}

.curved-section::before,
.curved-section::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: var(--light);
}

.curved-section::before {
  top: 0;
  border-radius: 0 0 50% 50% / 0 0 100px 100px;
}

.curved-section::after {
  bottom: 0;
  border-radius: 50% 50% 0 0 / 100px 100px 0 0;
}

.has-background-light.curved-section::before,
.has-background-light.curved-section::after {
  background-color: var(--gray-light);
}

/* Card Styling */
.card {
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  transition: transform 0.5s ease;
  object-fit: cover;
}

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

.card-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card .card-image {
  height: 240px;
}

.service-card .card-image img {
  height: 100%;
  object-fit: cover;
}

/* Map Container */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--light);
}

.region-info {
  padding: var(--space-lg);
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.region-list li {
  margin-bottom: var(--space-md);
}

/* Case Studies Carousel */
.case-studies-carousel {
  overflow: hidden;
  position: relative;
}

/* Form Styling */
.field {
  margin-bottom: var(--space-md);
}

.label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--gray-dark);
}

.control {
  position: relative;
}

.input, 
.textarea, 
.select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 102, 178, 0.2);
  outline: none;
}

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.select.is-fullwidth {
  width: 100%;
}

.checkbox, 
.radio {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  cursor: pointer;
}

.checkbox input, 
.radio input {
  margin-right: var(--space-sm);
}

.notification {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background-color: var(--gray-light);
  margin-bottom: var(--space-lg);
}

.notification.is-primary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.notification.is-primary.is-light {
  background-color: rgba(0, 102, 178, 0.1);
  color: var(--primary-dark);
}

/* Calculator Box */
.calculator-box {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background-color: var(--light);
  box-shadow: var(--shadow-md);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg);
  background-color: var(--light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  flex: 1;
}

.faq-question .icon {
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.is-active .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  max-height: 500px;
}

.faq-item.is-active .faq-question {
  background-color: rgba(0, 102, 178, 0.05);
}

/* Contact Section */
.contact-info {
  padding: var(--space-lg);
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-form {
  padding: var(--space-lg);
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.office-map {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Footer */
.footer {
  padding: var(--space-xl) 0;
  color: var(--light);
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-light);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--light);
  text-decoration: none;
}

.social-links a {
  display: inline-block;
  margin-right: var(--space-md);
  color: var(--gray-light);
  transition: var(--transition-fast);
}

.social-links a:hover {
  color: var(--light);
  transform: translateY(-2px);
  text-decoration: none;
}

hr.has-background-grey-lighter {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  margin: var(--space-lg) 0;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

.success-icon {
  font-size: 5rem;
  color: var(--split-comp-2);
  margin-bottom: var(--space-lg);
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 120px;
}

.privacy-page .container,
.terms-page .container {
  max-width: 800px;
}

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

.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

.animate__delay-1s {
  animation-delay: 0.3s;
}

.animate__delay-2s {
  animation-delay: 0.6s;
}

.animate__delay-3s {
  animation-delay: 0.9s;
}

/* Read More Links */
a[href="#"] {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  padding-right: 1.5em;
}

a[href="#"]::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform var(--transition-normal);
}

a[href="#"]:hover {
  color: var(--primary-dark);
}

a[href="#"]:hover::after {
  transform: translateX(5px);
}

/* Cookie Consent */
#cookieConsent {
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

#acceptCookies {
  transition: background-color var(--transition-fast);
}

#acceptCookies:hover {
  background-color: #0d87cd;
}

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    flex-direction: column;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .column.is-one-third,
  .column.is-half,
  .column.is-one-quarter {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .column.is-one-third {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .column.is-one-quarter {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
  
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .button {
    width: 100%;
  }
  
  .footer {
    text-align: center;
  }
  
  .has-text-right.has-text-centered-mobile {
    text-align: center;
  }
}

/* Box */
.box {
  background-color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
}

/* Image */
.image {
  display: block;
  position: relative;
}

.image.is-4by3 {
  padding-top: 75%;
}

.image.is-4by3 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog and News Styling */
.card .title.is-4 {
  margin-top: var(--space-sm);
}

.card .subtitle.is-6 {
  color: var(--gray);
  margin-bottom: var(--space-sm);
}

/* Success Page Styling */
.success-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background-color: var(--light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-container .icon {
  font-size: 5rem;
  color: var(--split-comp-2);
  margin-bottom: var(--space-lg);
}

.success-container .title {
  color: var(--primary-dark);
}

.success-container .button {
  margin-top: var(--space-lg);
}
figure{
  width: 100%;
}