@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --primary-color: #1F456E;
  --bg-color: #F8F8F8;
  --accent-color: #D2691E;
  --text-color: #333333;
  --white: #FFFFFF;
  
  --font-primary: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

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

html { font-family: var(--font-primary); color: var(--text-color); background-color: var(--white); scroll-behavior: smooth; }

body { line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: 1rem; line-height: 1.2; }

p { margin-bottom: 1rem; font-size: 1rem; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

ul, ol { list-style: none; }

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

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 5rem 0; }
.bg-light { background-color: var(--bg-color); }
.bg-dark { background-color: var(--primary-color); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.text-center { text-align: center; }
.align-center { align-items: center; }

/* Typography Hierarchy */
.hero-title { font-size: 4rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--white); line-height: 1.1; }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2.5rem; color: var(--white); font-weight: 500; font-family: var(--font-primary); max-width: 700px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; margin-bottom: 3rem; color: var(--text-color); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 6px; font-weight: 600; font-family: var(--font-primary); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; border: none; outline: none; text-align: center; font-size: 1rem; }
.btn-primary { background-color: var(--accent-color); color: var(--white); }
.btn-primary:hover { background-color: #b55615; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(210, 105, 30, 0.3); color: var(--white); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background-color: var(--white); color: var(--primary-color); transform: translateY(-2px); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; width: 100%; background-color: var(--primary-color); z-index: 1000; transition: padding 0.3s ease; padding: 1rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.site-header.scrolled { padding: 0.5rem 0; }
.header-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }
.logo-text { font-family: var(--font-heading); color: var(--white); font-size: 1.5rem; font-weight: 700; margin-left: 0.5rem; display: none; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--white); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.5rem 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--accent-color); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: right; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.hamburger { display: none; background: transparent; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background-color: var(--white); transition: all 0.3s ease; }

/* Hero Section */
/* MUST NOT HAVE ANY OVERLAY, GRADIENT, OR TINT */
.hero-section { min-height: 80vh; display: flex; align-items: center; position: relative; padding-top: 80px; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 2rem; max-width: 800px; }
.hero-content h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.hero-content p { text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

/* Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Image Elements */
.image-wrapper { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.image-wrapper img { width: 100%; height: auto; display: block; }

/* Cards */
.service-card { background: var(--white); padding: 2.5rem; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; border: 1px solid #eaeaea; display: flex; flex-direction: column; height: 100%; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--accent-color); }
.service-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--bg-color); border-radius: 50%; margin-bottom: 1.5rem; color: var(--accent-color); }
.service-icon svg { width: 30px; height: 30px; fill: currentColor; }
.service-title { font-size: 1.5rem; margin-bottom: 1rem; }
.service-desc { flex-grow: 1; color: var(--text-color); margin-bottom: 1.5rem; }
.service-link { color: var(--primary-color); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; }
.service-link:hover { color: var(--accent-color); }
.service-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.service-link:hover svg { transform: translateX(5px); }

/* Value Cards */
.value-card { background: var(--bg-color); padding: 2.5rem; border-radius: 8px; text-align: center; transition: all 0.3s ease; border: 1px solid #eaeaea; }
.value-card:hover { transform: translateY(-5px); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: var(--accent-color); }
.value-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--accent-color); }
.value-icon svg { width: 100%; height: 100%; fill: currentColor; }
.value-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }

/* Team Cards */
.team-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.team-img-wrap { width: 100%; aspect-ratio: 1/1; overflow: hidden; }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-info { padding: 1.5rem; text-align: center; border-top: 3px solid transparent; transition: border-color 0.3s; }
.team-card:hover .team-info { border-color: var(--accent-color); }
.team-name { font-size: 1.25rem; margin-bottom: 0.25rem; }
.team-title { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* Process Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline::before { content: ''; position: absolute; top: 0; left: 30px; height: 100%; width: 2px; background: #e0e0e0; }
.timeline-step { display: flex; margin-bottom: 3rem; position: relative; opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.timeline-step.visible { opacity: 1; transform: translateY(0); }
.timeline-step:last-child { margin-bottom: 0; }
.step-number { width: 60px; height: 60px; min-width: 60px; background: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); z-index: 2; margin-right: 2rem; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--primary-color); }
.step-content { background: var(--white); padding: 2rem; border-radius: 8px; flex-grow: 1; position: relative; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #eaeaea; }
.step-content::before { content: ''; position: absolute; top: 20px; left: -10px; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right: 10px solid var(--white); }
.step-content h3 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.5rem; }

/* Testimonials */
.testimonials-slider { position: relative; overflow: hidden; padding: 2rem 0; }
.testimonial-track { display: flex; transition: transform 0.5s ease; width: 300%; }
.testimonial-card { width: 33.333%; padding: 0 1rem; }
.testimonial-inner { background: var(--white); padding: 3rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; position: relative; height: 100%; border: 1px solid #eaeaea; }
.quote-icon { width: 40px; height: 40px; color: var(--accent-color); margin: 0 auto 1.5rem; opacity: 0.5; }
.quote-icon svg { width: 100%; height: 100%; fill: currentColor; }
.testimonial-text { font-size: 1.125rem; font-style: italic; margin-bottom: 2rem; color: var(--text-color); }
.testimonial-author { font-weight: 700; color: var(--primary-color); font-size: 1.125rem; }
.testimonial-company { color: var(--accent-color); font-size: 0.9rem; }

/* FAQ Accordion */
.faq-accordion { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.faq-item { border-bottom: 1px solid #eaeaea; }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; text-align: left; padding: 1.5rem; background: transparent; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.125rem; font-weight: 600; color: var(--primary-color); font-family: var(--font-primary); transition: background-color 0.3s; }
.faq-question:hover { background-color: var(--bg-color); }
.faq-icon { width: 24px; height: 24px; transition: transform 0.3s; color: var(--accent-color); }
.faq-icon svg { width: 100%; height: 100%; fill: currentColor; }
.faq-question.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--text-color); }

/* Forms */
.contact-wrapper { background: var(--white); padding: 3rem; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--primary-color); }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid #ccc; border-radius: 6px; font-family: var(--font-primary); font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; background-color: var(--bg-color); }
.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1); background-color: var(--white); }
textarea.form-control { resize: vertical; min-height: 150px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
.checkbox-group input { width: 18px; height: 18px; accent-color: var(--accent-color); margin-top: 3px; }

/* Contact Info */
.contact-info-list { list-style: none; padding: 0; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.contact-icon-box { width: 48px; height: 48px; border-radius: 50%; background-color: rgba(31, 69, 110, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary-color); flex-shrink: 0; }
.contact-icon-box svg { width: 24px; height: 24px; fill: currentColor; }
.contact-text h4 { margin-bottom: 0.25rem; font-size: 1.25rem; }
.contact-text a { color: var(--text-color); transition: color 0.3s; }
.contact-text a:hover { color: var(--accent-color); }

.map-container { width: 100%; height: 300px; border-radius: 8px; overflow: hidden; margin-top: 2rem; }

/* Footer */
.site-footer { background-color: var(--primary-color); color: var(--white); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; }
.footer-logo { display: block; margin-bottom: 1.5rem; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-heading { font-size: 1.25rem; color: var(--white); margin-bottom: 1.5rem; font-family: var(--font-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.footer-text { color: #d0d8e0; margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #d0d8e0; transition: color 0.3s, padding-left 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; color: #d0d8e0; }
.contact-item svg { width: 20px; height: 20px; fill: var(--accent-color); flex-shrink: 0; margin-top: 3px; }
.contact-item a { color: #d0d8e0; }
.contact-item a:hover { color: var(--accent-color); }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: all 0.3s; color: var(--white); }
.social-icon:hover { background: var(--accent-color); transform: translateY(-3px); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.newsletter-form { display: flex; margin-top: 1rem; flex-direction: column; gap: 0.5rem; }
.newsletter-input { width: 100%; padding: 12px 15px; border: none; border-radius: 4px; outline: none; font-family: var(--font-primary); }
.newsletter-btn { padding: 12px 20px; background: var(--accent-color); color: var(--white); border: none; border-radius: 4px; cursor: pointer; font-weight: 600; transition: background 0.3s; width: 100%; }
.newsletter-btn:hover { background: #b55615; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; color: #d0d8e0; font-size: 0.875rem; }
.footer-legal a { color: #d0d8e0; margin-left: 1.5rem; }
.footer-legal a:hover { color: var(--accent-color); }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.visible { opacity: 1; }

/* Mobile fallback accordions in footer */
.footer-accordion-btn { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { gap: 2rem; }
}

@media (max-width: 767px) {
  .section-padding { padding: 4rem 0; }
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  
  .hamburger { display: flex; z-index: 1001; position: relative; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
  .main-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--primary-color); flex-direction: column; justify-content: center; transition: right 0.4s ease; padding: 2rem; z-index: 1000; }
  .main-nav.active { right: 0; }
  .nav-links { flex-direction: column; align-items: center; gap: 1.5rem; }
  .nav-links a { font-size: 1.25rem; }
  .header-btn { margin-top: 2rem; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .image-wrapper { order: -1; margin-bottom: 2rem; }
  
  /* Footer Accordion Mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer-heading { display: none; }
  .footer-accordion-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; background: transparent; border: none; color: var(--white); font-size: 1.125rem; font-weight: 600; padding: 1rem 0; font-family: var(--font-primary); cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0; text-transform: uppercase; letter-spacing: 1px; }
  .footer-accordion-btn svg { width: 16px; height: 16px; fill: currentColor; transition: transform 0.3s; }
  .footer-accordion-btn.active svg { transform: rotate(180deg); }
  .footer-col.accordion .footer-content { display: none; padding-top: 1rem; }
  .footer-col.open .footer-content { display: block; }
  
  .footer-col:not(.accordion) .footer-heading { display: block; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal a { margin: 0 0.75rem; }
  
  .timeline::before { left: 20px; }
  .step-number { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; margin-right: 1rem; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--primary-color); }
  .step-content::before { top: 10px; left: -8px; border-width: 8px; border-right-color: var(--white); }
  .step-content { padding: 1.5rem; }
  
  .testimonial-card { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}