/* ===== Services Page Styles - Clean & Minimal Version ===== */
/* OSP Print Portal Services CSS - Updated 2025-06-24 */

/* ===== Header Height Adjustment for Services Page ===== */
.fixed-header {
  padding: 5px 0 !important;
}

.fixed-header .logo img {
  max-height: 32px;
}

.fixed-header .nav-menu li a {
  font-size: 0.9rem;
  padding: 5px 0;
}

/* Adjust main content top margin to match smaller header */
main {
  margin-top: 45px !important; /* Reduced from 60px */
}

/* ===== Navigation Highlight ===== */
.nav-menu li a.active {
  color: #0078d7;
  font-weight: 600;
}

.nav-menu li a.active::after {
  width: 100%;
  background-color: #0078d7;
}

/* ===== Banner Section ===== */
.services-banner {
  background-color: #f8faff;
  padding: 30px 0; /* Reduced padding */
  text-align: center;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.services-banner h1 {
  font-size: 2rem; /* Reduced font size */
  color: #2c3e50;
  margin-bottom: 10px; /* Reduced margin */
}

.services-banner p {
  font-size: 1rem;
  color: #596877;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Form Section ===== */
.form-section {
  padding: 40px 0; /* Reduced padding */
  background-color: #ffffff;
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  padding: 30px; /* Reduced padding */
  border: 1px solid #f0f0f0;
}

.form-header-simple {
  margin-bottom: 20px; /* Reduced margin */
  text-align: center;
}

.form-header-simple h2 {
  font-size: 1.6rem; /* Reduced font size */
  color: #2c3e50;
  margin: 0;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px; /* Reduced margin */
}

.form-field {
  position: relative;
  margin-bottom: 20px; /* Reduced margin */
  flex: 1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 14px; /* Reduced padding */
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem; /* Reduced font size */
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field textarea {
  min-height: 100px; /* Reduced height */
  resize: vertical;
}

.form-field label {
  position: absolute;
  left: 14px;
  top: 10px;
  color: #7f8c8d;
  transition: all 0.3s ease;
  pointer-events: none;
  font-size: 0.9rem; /* Reduced font size */
  background: transparent;
}

.form-field.active label {
  transform: translateY(-22px) scale(0.85);
  color: #0078d7;
  background: #fff;
  padding: 0 5px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.1);
}

.form-captcha {
  margin-bottom: 20px; /* Reduced margin */
}

.form-captcha label {
  display: block;
  margin-bottom: 5px; /* Reduced margin */
  color: #34495e;
  font-size: 0.9rem; /* Reduced font size */
}

.form-captcha input {
  max-width: 100px;
  padding: 10px; /* Reduced padding */
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem; /* Reduced font size */
}

.form-captcha input:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.1);
}

.submit-button {
  width: 100%;
  background: #0078d7;
  color: white;
  border: none;
  padding: 12px; /* Reduced padding */
  font-size: 0.95rem; /* Reduced font size */
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
  background: #0066b8;
  transform: translateY(-2px);
}

.submit-button.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.submit-button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== Core Services Section ===== */
.core-services {
  padding: 50px 0; /* Reduced padding */
  background-color: #f8faff;
}

.core-services h2 {
  text-align: center;
  font-size: 1.6rem; /* Reduced font size */
  color: #2c3e50;
  margin-bottom: 30px; /* Reduced margin */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px; /* Reduced gap */
}

.service-item {
  background: white;
  padding: 25px; /* Reduced padding */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.service-icon {
  width: 45px; /* Reduced size */
  height: 45px; /* Reduced size */
  background: rgba(0, 120, 215, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px; /* Reduced margin */
}

.service-icon i {
  font-size: 18px; /* Reduced font size */
  color: #0078d7;
}

.service-item h3 {
  font-size: 1.1rem; /* Reduced font size */
  color: #2c3e50;
  margin-bottom: 8px; /* Reduced margin */
}

.service-item p {
  color: #596877;
  font-size: 0.9rem; /* Reduced font size */
  line-height: 1.5;
  margin: 0;
}

/* ===== Info Section ===== */
.info-section {
  padding: 50px 0; /* Reduced padding */
  background-color: #fff;
}

.info-content h2 {
  text-align: center;
  font-size: 1.6rem; /* Reduced font size */
  color: #2c3e50;
  margin-bottom: 30px; /* Reduced margin */
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px; /* Reduced gap */
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px; /* Reduced gap */
}

.info-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Reduced size */
  height: 32px; /* Reduced size */
  background: #0078d7;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1rem; /* Reduced font size */
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1.05rem; /* Reduced font size */
  color: #2c3e50;
  margin: 0 0 6px 0; /* Reduced margin */
}

.info-item p {
  margin: 0;
  color: #596877;
  font-size: 0.9rem; /* Reduced font size */
  line-height: 1.5;
}

/* ===== Text Section (SEO Content) ===== */
.text-section {
  padding: 50px 0; /* Reduced padding */
  background-color: #f8faff;
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
}

.text-content h2 {
  font-size: 1.6rem; /* Reduced font size */
  color: #2c3e50;
  margin-bottom: 25px; /* Reduced margin */
  text-align: center;
}

.text-content p {
  color: #596877;
  line-height: 1.7;
  margin-bottom: 15px; /* Reduced margin */
  font-size: 0.95rem; /* Reduced font size */
}

/* ===== Simple CTA ===== */
.cta-simple {
  padding: 50px 0; /* Reduced padding */
  background-color: #0078d7;
  color: white;
  text-align: center;
}

.cta-simple h2 {
  font-size: 1.6rem; /* Reduced font size */
  margin-bottom: 12px; /* Reduced margin */
}

.cta-simple p {
  font-size: 1rem; /* Reduced font size */
  margin-bottom: 25px; /* Reduced margin */
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #0078d7;
  padding: 10px 22px; /* Reduced padding */
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-wrapper {
    padding: 25px 15px; /* Further reduced padding */
  }
  
  .services-banner {
    padding: 30px 0; /* Further reduced padding */
  }
  
  .services-banner h1 {
    font-size: 1.8rem; /* Further reduced font size */
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .services-banner h1 {
    font-size: 1.6rem; /* Further reduced font size */
  }
  
  .services-banner p {
    font-size: 0.95rem; /* Further reduced font size */
  }
  
  .form-header-simple h2 {
    font-size: 1.4rem; /* Further reduced font size */
  }
  
  .core-services h2, 
  .info-content h2,
  .text-content h2,
  .cta-simple h2 {
    font-size: 1.4rem; /* Further reduced font size */
  }
  
  .cta-simple p {
    font-size: 0.95rem; /* Further reduced font size */
  }
}