/* Shiptronix consolidated styles (2025-10-05)
   - All layout and component styles merged here
   - Removed unused/vendor CSS
*/

/* Base Styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; }
body { background: #efefef; font-family: 'Open Sans', sans-serif; }

#wrapper { background: #FFFFFF; width: 100%; margin: 56px 0 0 0; padding: 0; }
.centered-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.clear { clear: both; }

/* Header */
#header { background: #FFFFFF; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 10px 0; }
#header .centered-wrapper { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; height: 100%; }
.logo img { width: 250px; height: 22.5px; display: block; margin: auto 0; }

/* Navigation */
#navigation { display: flex; align-items: center; }
#mainnav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
#mainnav li { margin: 0 20px; }
#mainnav li a { text-decoration: none; color: #333; font-weight: 600; text-transform: uppercase; font-size: 14px; padding: 10px 0; position: relative; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
#mainnav li a:hover { color: #FE7E17; border-bottom-color: #FE7E17; }
#mainnav li.current a { color: #FE7E17; border-bottom-color: #FE7E17; }
/* Override orange.css span styles (now removed, kept safeguard) */
#mainnav li a span, #mainnav > li.current > a span, #mainnav > li.highlighted-state > a span { border: none !important; border-bottom: none !important; text-decoration: none; padding-bottom: 0 !important; }

/* Hello section */
#hello { margin: 0; padding: 0; }

/* Hero Section */
.hero-section { margin: 0; width: 100%; position: relative; overflow: hidden; }
.vc_custom_1601308253741 { padding-top: 120px !important; padding-bottom: 120px !important; background-color: #f8f9fa; background-image: url('../images/hero-background.jpg'); background-position: center !important; background-repeat: no-repeat !important; background-size: cover !important; min-height: 500px; display: flex; align-items: center; justify-content: center; width: 100%; margin: 0; }
.vc_custom_1744934062414 { padding-top: 60px !important; padding-bottom: 60px !important; text-align: center !important; width: 100%; display: flex; justify-content: center; align-items: center; }
.vc_custom_1744934062414 h1 { text-align: center !important; margin: 0 auto !important; display: block !important; width: 100%; max-width: 800px; }

/* VC-like grid helpers used here */
.wpb_column.vc_column_container { position: relative; width: 100%; }
.vc_col-sm-12 { width: 100%; }
.hero-section .wpb_column { display: flex; justify-content: center; align-items: center; width: 100%; }
.hero-section .vc_column-inner { width: 100%; margin: 0 auto; }
.hero-section .wpb_wrapper { text-align: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.vc_row, .wpb_row, .vc_row-fluid { margin: 0; padding: 0; width: 100%; }
.hero-section.vc_row { margin: 0; width: 100%; }

/* Full-width hero on large screens */
@media (min-width: 1200px) {
  .hero-section { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; }
}

/* Hero Title Animation */
.hero-title { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.hero-title.animate-in { opacity: 1; transform: translateY(0); }
@keyframes heroTitleSlide { 0% { opacity: 0; transform: translateY(60px) scale(0.8); filter: blur(10px);} 50% { opacity: 0.7; transform: translateY(20px) scale(0.95); filter: blur(3px);} 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0);} }
@keyframes textGlow { 0%,100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3);} 50% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(254,126,23,0.3);} }
.hero-title.loaded { animation: heroTitleSlide 1.5s cubic-bezier(0.25,0.46,0.45,0.94) forwards, textGlow 2s ease-in-out 1s infinite alternate; }

/* Quote Typewriter Helpers */
.typewriter-text { position: relative; }
.typewriter-text::after { content: '|'; opacity: 1; animation: blink 1s infinite; }
.typewriter-text.typing-complete::after { display: none; }
@keyframes blink { 0%,50% { opacity: 1;} 51%,100% { opacity: 0;} }
.parallax-quote { min-height: 2.4em; line-height: 1.2em; display: flex; align-items: center; justify-content: center; }

/* Services Section - Handled by inline styles in HTML */

/* About Section */
.about-section { padding: 40px 0 80px 0; background-color: rgba(250,250,250,0.70); }
.section-title { font-size: 48px; font-weight: 300; text-align: center; margin-bottom: 60px; color: #333; }
.section-title:after { content: ''; display: block; width: 60px; height: 2px; background: #FE7E17; margin: 20px auto; }
.about-grid { display: flex; gap: 40px; margin-bottom: 60px; }
.about-column { flex: 1; }
.about-column h3 { font-weight: 700; color: #333; margin-bottom: 15px; }
.about-column p, .about-text p { line-height: 1.6; color: #666; }
.about-content { display: flex; gap: 40px; margin-top: 40px; }
.about-text { flex: 2; }
.about-skills { flex: 1; }
.skillbar { margin-bottom: 20px; position: relative; }
.skillbar-title { font-weight: 600; margin-bottom: 5px; color: #333; }
.skillbar-container { height: 8px; background: rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; }
.skillbar-bar { height: 100%; background: #FE7E17; border-radius: 4px; width: 0%; transition: width 2s cubic-bezier(0.25,0.46,0.45,0.94); }
.skillbar-bar.animate { width: 100%; }
.skill-bar-percent { font-weight: 600; color: #FE7E17; text-align: right; margin-top: 5px; }

/* Services Section */
.services-section { 
  padding: 40px 0 80px 0; 
  background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('../images/parallax-services.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

/* Quote Section */
.quote-section { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://shiptronix.com/wp-content/uploads/2014/03/parallax-quote.jpg'); background-size: cover; background-position: center; background-attachment: fixed; padding: 100px 0; text-align: center; }
.parallax-quote { color: #fff; font-size: 32px; font-weight: 300; font-style: italic; margin: 0 0 20px 0; min-height: 80px; line-height: 1.25; display: flex; align-items: center; justify-content: center; max-width: 800px; margin-left: auto; margin-right: auto; }
.quote-author { color: #ffffff !important; font-size: 18px; font-weight: 600; }

/* Facts Section */
.facts-section { padding: 40px 0 80px 0; background: #fff; text-align: center; }
.facts-grid { display: flex; gap: 40px; justify-content: center; align-items: flex-start; margin-top: 60px; width: 100%; }
.counter-item { text-align: center; flex: 0 1 200px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.counter-number { display: block; font-size: 48px; font-weight: 700; color: #FE7E17; margin-bottom: 10px; text-align: center; width: 100%; }
.counter-text { font-size: 16px; text-align: center; width: 100%; color: #666; text-transform: uppercase; font-weight: 600; }

/* Partners Section */
.partners-section { 
  padding: 40px 0 80px 0; 
  background: #fff; 
  text-align: center; 
}
.partners-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px; 
  margin-top: 50px; 
  align-items: center;
  justify-items: center; /* Center logos in their grid cells */
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.partners img { 
  max-width: 140px; 
  width: 100%;
  height: auto; 
  opacity: 0.7; /* Static opacity, no animation */
  transition: all 0.3s ease; /* Smooth transition for hover */
  filter: grayscale(100%);
  display: block;
  transform: scale(1); /* Normal scale */
}

/* Mobile menu animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Simple hover effects - colorize and slight zoom */
.partners img:hover { 
  filter: grayscale(0%); /* Remove grayscale - shows color */
  transform: scale(1.05); /* Slight zoom in */
  opacity: 1; /* Full opacity on hover */
}

/* Contact Section */
.contact-section { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://shiptronix.com/wp-content/uploads/2014/03/parallax-contact.jpg'); background-size: cover; background-position: center; background-attachment: fixed; padding: 100px 0; color: #fff; text-align: center; }
.contact-section .section-title { color: #ffffff !important; }
.contact-form { max-width: 600px; margin: 60px auto 0; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-row input { flex: 1; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: none; background: rgba(255,255,255,0.25); color: #fff; font-size: 16px; border-radius: 4px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.7); }
.contact-form textarea { height: 150px; resize: vertical; margin-bottom: 20px; }
.contact-form button { background: #FE7E17; color: #fff; padding: 15px 40px; border: none; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; text-transform: uppercase; transition: background 0.3s ease; }
.contact-form button:hover { background: #e56d0f; }

/* Mobile Navigation */
.nav-btn { display: none; align-items: center; justify-content: center; padding: 15px; color: #333; font-size: 20px; cursor: pointer; text-decoration: none; }

/* Responsive */
@media (min-width: 1400px) { .hero-section .wpb_wrapper { max-width: 1400px; padding: 0 40px; } }
@media (min-width: 1800px) { .hero-section .wpb_wrapper { max-width: 1600px; padding: 0 60px; } }

@media (max-width: 991px) {
  .logo { float: none; text-align: center; margin-bottom: 20px; }
  #navigation { float: none; text-align: center; }
  #mainnav { justify-content: center; flex-wrap: wrap; }
  #mainnav li { margin: 0 10px; }
}

@media (max-width: 768px) {
  .centered-wrapper { padding: 0 15px; }
  .hero-section .wpb_column, .hero-section .vc_column-inner { padding: 0 !important; margin: 0 !important; width: 100% !important; height: 100% !important; }
  .hero-section .wpb_wrapper { width: 100% !important; padding: 0 20px !important; text-align: center !important; }
  
  /* Mobile Navigation */
  #navigation { display: none; }
  
  .nav-btn { 
    display: flex !important;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
  }
  
  .nav-btn i {
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease;
  }
  
  .nav-btn:hover i,
  .nav-btn:focus i {
    color: #FE7E17;
  }
  
  #navigation.mobile-active {
    display: block !important;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 999;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    animation: slideDown 0.3s ease;
  }
  
  #navigation.mobile-active #mainnav {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }
  
  #navigation.mobile-active #mainnav li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  #navigation.mobile-active #mainnav li:last-child {
    border-bottom: none;
  }
  
  #navigation.mobile-active #mainnav li a {
    display: block;
    padding: 18px 20px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: none;
  }
  
  #navigation.mobile-active #mainnav li a:hover,
  #navigation.mobile-active #mainnav li.current a {
    background: #FE7E17;
    color: #ffffff;
  }
  
  #header .centered-wrapper {
    justify-content: center;
    position: relative;
  }
  
  .logo { 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center; 
    margin-bottom: 0;
    flex: none;
  }
  
  .logo img {
    width: 180px;
    height: 16.2px;
    display: block;
    margin: 0 auto;
  }
  /* Mobile spacing improvements */
  .about-section { padding: 40px 0 48px 0 !important; }
  .about-grid { 
    flex-direction: column; 
    gap: 32px; 
    align-items: flex-start;
    margin-bottom: 40px !important;
  }
  .about-content { 
    flex-direction: column; 
    gap: 32px; 
  }
  .about-text {
    width: 100%;
    margin-bottom: 0;
  }
  .about-skills {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
  }
  /* Consistent Data Points section on mobile */
  .facts-section {
    padding: 48px 0 !important;
  }
  .facts-section .section-title {
    margin-bottom: 36px !important;
  }
  .facts-grid {
    flex-direction: column;
    gap: 32px !important;
    margin-top: 0 !important;
  }
  .counter-item { 
    width: 100%; 
    max-width: 300px;
    margin: 0 !important;
    padding: 0 !important;
  }
  .counter-number {
    font-size: 42px !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.1 !important;
  }
  .counter-text {
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }
  /* Partners section mobile */
  .partners-section {
    padding: 48px 0 !important;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    margin-top: 0 !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .partners img {
    max-width: 130px !important;
    width: 100% !important;
    height: auto !important;
  }
  .form-row { flex-direction: column; }
  .parallax-quote { font-size: 24px; padding: 0 20px; min-height: 60px; line-height: 1.25; }
  .section-title { 
    font-size: 32px !important;
    margin-bottom: 36px !important;
  }
  .section-title:after {
    margin: 16px auto 0 !important;
  }
  .hero-section { margin-top: 56px; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
  /* Hero section better mobile proportions */
  .vc_custom_1601308253741 { 
    padding-top: 0 !important; 
    padding-bottom: 0 !important; 
    min-height: 70vh !important; 
    height: auto !important; 
    width: 100vw !important; 
    margin: 0 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
  }
  .vc_custom_1744934062414 { padding: 20px !important; text-align: center !important; width: 100% !important; }
  .vc_custom_1744934062414 h1 { font-size: 28px !important; text-align: center !important; margin: 0 !important; }
  /* Services section mobile */
  .services-section { 
    background-attachment: scroll; 
    min-height: auto; 
    padding: 48px 0 !important; 
  }
  .services-title {
    margin-bottom: 36px !important;
  }
  .services-grid {
    gap: 24px !important;
    margin-top: 0 !important;
  }
  /* Quote and Contact sections mobile */
  .quote-section {
    padding: 56px 0 !important;
    background-attachment: scroll;
  }
  .contact-section {
    padding: 48px 0 !important;
    background-attachment: scroll;
  }
  .contact-form {
    margin-top: 0 !important;
  }
  .form-row {
    margin-bottom: 16px !important;
  }
  .contact-form textarea {
    margin-bottom: 24px !important;
  }
}

/* Tablet - 3 columns for partners */
@media (min-width: 769px) and (max-width: 991px) {
  .partners-grid { 
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
  }
  
  /* Reduce spacing on tablet */
  .about-section {
    padding: 35px 0 60px 0 !important;
  }
  
  .facts-section {
    padding: 35px 0 60px 0 !important;
  }
  
  .services-section {
    padding: 35px 0 60px 0 !important;
  }
  
  .partners-section {
    padding: 35px 0 60px 0 !important;
  }
}

@media (max-width: 480px) {
  /* Small mobile consistent spacing */
  .about-section {
    padding: 32px 0 40px 0 !important;
  }
  
  .facts-section,
  .partners-section,
  .contact-section {
    padding: 40px 0 !important;
  }
  
  .services-section {
    padding: 40px 0 !important;
  }
  
  .quote-section {
    padding: 48px 0 !important;
  }
  
  .section-title {
    font-size: 28px !important;
    margin-bottom: 32px !important;
  }
  
  .about-grid,
  .about-content {
    gap: 28px !important;
  }
  
  .facts-grid {
    gap: 28px !important;
  }
  
  .partners-grid {
    gap: 20px !important;
    max-width: 320px !important;
  }
  .partners img {
    max-width: 110px !important;
  }
  
  .about-skills {
    width: 100% !important;
    max-width: 320px;
  }
  .hero-section { margin-top: 56px; width: 100vw !important; margin-left: 0 !important; margin-right: 0 !important; }
  .vc_custom_1601308253741 { 
    padding: 0 !important; 
    min-height: 60vh !important; 
    height: auto !important; 
    width: 100vw !important; 
    margin: 0 !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
  }
  .vc_custom_1744934062414 { padding: 15px !important; text-align: center !important; }
  .vc_custom_1744934062414 h1 { font-size: 24px !important; line-height: 1.3 !important; text-align: center !important; }
  /* Services handled by inline styles */
}



/* Width-specific fine tuning (~1001px range) */
@media (min-width: 992px) and (max-width: 1100px) {
  .vc_custom_1601308253741 { padding-top: 80px !important; padding-bottom: 80px !important; min-height: 420px !important; }
  .hero-title { font-size: clamp(30px, 3vw, 34px) !important; max-width: 900px !important; padding: 0 20px !important; }
}



/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .service-item { transition: none !important; }
}