/* =============================================
   OxmanIT – Vue Site Stylesheet
   Colors: Navy #15314E | Orange #FF8A3D | Blue #3980F9
   ============================================= */

/* === ACCESSIBILITY UTILITIES === */
/* Screen-reader only — keeps text in the DOM for crawlers & assistive tech */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #15314E;
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* <address> inside contact should inherit normal font style */
address { font-style: normal; }

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Open Sans', sans-serif;
  color: #444;
  background: #fff;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #FF8A3D;
  color: #fff;
  border-color: #FF8A3D;
}
.btn-primary:hover {
  background: #e67a2e;
  border-color: #e67a2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,138,61,0.4);
}
.btn-primary:disabled {
  opacity: 0.7;
  transform: none;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #15314E;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: #666;
  max-width: 520px;
  margin: 0 auto 20px;
}
.section-header.light h2 { color: #fff; }
.section-header.light p  { color: rgba(255,255,255,0.8); }
.section-header.left { text-align: left; }
.section-header.left p { margin-left: 0; }

.header-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #FF8A3D, #FFA727);
  border-radius: 2px;
  margin: 0 auto;
}
.left-divider { margin-left: 0; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.14);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  color: rgba(0,0,0,0.6);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.3px;
}
.nav-links li a:hover {
  color: #FF8A3D;
}
.nav-links .nav-phone a {
  background: #FF8A3D;
  color: #fff;
  border-radius: 4px;
  padding: 8px 16px;
}
.nav-links .nav-phone a:hover {
  background: #e67a2e;
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(0,0,0,0.6);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  padding: 100px 24px 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0,72,114,0.92) 0%, rgba(41,17,96,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.hero-sub {
  font-family: 'Share Tech', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFA727;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.hero-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #FF8A3D, #FFA727);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-hours {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}
.hero-hours i { margin-right: 6px; }

/* =============================================
   SERVICES
   ============================================= */
.services-section {
  padding: 96px 0;
  background: #f8f9fb;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-top-color: #FF8A3D;
}
.service-card.expanded {
  border-top-color: #3980F9;
}

/* Cards with a coloured background get white text throughout */
.service-card.service-card--light h3,
.service-card.service-card--light .service-desc,
.service-card.service-card--light .service-more,
.service-card.service-card--light .service-more p { color: #fff; }
.service-card.service-card--light .service-toggle { color: rgba(255,255,255,0.85); }
.service-card.service-card--light .service-toggle:hover { color: #fff; }
.service-card.service-card--light .service-more { border-top-color: rgba(255,255,255,0.25); }

.service-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-bottom: 20px;
}
.service-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.service-icon i {
  font-size: 2.7rem;
  color: #3980F9;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #15314E;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.7;
  flex: 1;
  text-align: left;
}

.service-more {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-toggle {
  margin-top: 20px;
  background: none;
  border: none;
  color: #3980F9;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  transition: color 0.2s;
}
.service-toggle:hover { color: #15314E; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  padding: 80px 0;
  background: #15314E;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.why-item {
  text-align: center;
  color: #fff;
}
.why-item i {
  font-size: 2.4rem;
  color: #FF8A3D;
  margin-bottom: 16px;
}
.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: 96px 0;
  background: linear-gradient(140deg, #004872 0%, rgba(41,17,96,0.9) 100%);
}

.testimonials-slider {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 28px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 44px 48px;
  color: #fff;
}

.testimonial-stars {
  color: #FFA727;
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF8A3D, #FFA727);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.testimonial-author span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.slider-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.3);
}
.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.slider-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  transition: all 0.2s;
}
.dot.active {
  background: #FF8A3D;
  transform: scale(1.2);
}

.review-cta {
  text-align: center;
  margin-top: 8px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  padding: 96px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #555;
}
.contact-details li i {
  color: #FF8A3D;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-details li a { color: #15314E; font-weight: 600; }
.contact-details li a:hover { color: #3980F9; }

/* Contact Form */
.contact-form-wrapper {
  background: #f8f9fb;
  border-radius: 10px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #15314E;
}
.required { color: #e53e3e; }

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #3980F9;
  box-shadow: 0 0 0 3px rgba(57,128,249,0.12);
}

.radio-group {
  display: flex;
  gap: 24px;
  padding: 8px 0;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.93rem;
  color: #555;
  font-weight: normal;
}
.radio-label input { cursor: pointer; accent-color: #3980F9; }

.form-alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-alert.success {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #c6f6d5;
}
.form-alert.error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #fed7d7;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0f2438;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.2);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 280px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.social-link:hover {
  background: #3980F9;
  color: #fff;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.footer-links ul,
.footer-services ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a,
.footer-contact li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links li a:hover,
.footer-contact li a:hover {
  color: #FF8A3D;
}
.footer-services li,
.footer-contact li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact li i {
  color: #FF8A3D;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FF8A3D;
  color: #fff;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,138,61,0.45);
  transition: all 0.25s ease;
  z-index: 999;
}
.back-to-top:hover {
  background: #e67a2e;
  transform: translateY(-3px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(0,0,0,0.07);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 16px; border-radius: 6px; color: rgba(0,0,0,0.6); }
  .nav-links .nav-phone { margin-top: 8px; }

  .hero-content { padding: 0 8px; }

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

  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info { order: 2; }
  .contact-form-wrapper { order: 1; padding: 28px; }

  .testimonial-card { padding: 32px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { max-width: 100%; }

  .section-header h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .why-grid { grid-template-columns: 1fr; }
  .back-to-top { bottom: 20px; right: 20px; }
}
