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

:root {
  --primary-blue: #0A2463;
  --accent-blue: #3E7CB1;
  --light-gray: #F0F0F0;
  --white: #FFFFFF;
  --earthy-brown: #8B4513;
  
  --font-primary: 'Montserrat', Arial, sans-serif;
  
  --transition-base: 0.2s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.5rem);
  color: var(--primary-blue);
}

h3 {
  font-size: 1.25rem;
  color: var(--primary-blue);
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.bg-white {
  background-color: var(--white);
}

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

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

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

.text-accent {
  color: var(--accent-blue);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #2d5f8a;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
  background-color: var(--accent-blue);
  color: var(--white);
}

.btn-full-width {
  width: 100%;
  text-align: center;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-base);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--white);
  transition: var(--transition-base);
}

.top-bar a:hover {
  color: var(--accent-blue);
}

.top-bar-contacts {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.main-header {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 180px;
  height: auto;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--primary-blue);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-blue);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

.header-cta:hover {
  background-color: #2d5f8a;
  transform: translateY(-2px);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle svg {
  width: 30px;
  height: 30px;
  fill: var(--primary-blue);
}

/* Mobile Overlay Navigation */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-nav-close svg {
  width: 30px;
  height: 30px;
  fill: var(--primary-blue);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-nav-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-nav-link {
  color: var(--primary-blue);
  font-size: 1.8rem;
  font-weight: 600;
  padding: 1.5rem 0;
}

.mobile-nav-link:hover {
  color: var(--accent-blue);
}

.mobile-nav-cta {
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  margin-top: 20px;
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 120px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 40px 20px;
}

.hero-content h1 {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem);
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-bbb-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  max-width: 80px;
  filter: grayscale(100%);
  transition: var(--transition-base);
  z-index: 2;
}

.hero-bbb-badge:hover {
  filter: grayscale(0%);
}

/* What Makes Us Different Section */
.different-section {
  background-color: var(--white);
}

.different-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #666;
}

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

.different-card {
  text-align: center;
  padding: 30px;
  transition: var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
}

.different-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.different-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.different-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.different-icon img {
  width: 100%;
  height: auto;
}

.different-card h3 {
  margin-bottom: 15px;
}

.different-card p {
  color: #666;
  margin-bottom: 0;
}

/* Testimonial Section */
.testimonial-section {
  background-color: var(--light-gray);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 300px;
  color: rgba(10, 36, 99, 0.05);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.6rem);
  font-style: italic;
  color: var(--primary-blue);
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-blue);
}

/* Our Process Section */
.process-section {
  background-color: var(--white);
}

.process-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--accent-blue);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 80px;
  height: 80px;
  background-color: var(--accent-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  color: #666;
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--light-gray);
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(10, 36, 99, 0.8));
  color: var(--white);
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-cta {
  text-align: center;
}

/* Services Page Specific */
.services-hero {
  background-image: url('../../images/services-hero.png');
}

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

.service-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition-base);
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--accent-blue);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--accent-blue);
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  margin-bottom: 0;
}

/* Why Choose Us Section */
.why-choose-section {
  background-color: var(--light-gray);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-choose-image img {
  width: 100%;
  border-radius: 10px;
}

.why-choose-content h2 {
  margin-bottom: 30px;
}

.why-choose-list {
  list-style: none;
}

.why-choose-list li {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 15px;
}

.why-choose-list li::before {
  content: '✓';
  color: var(--accent-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

/* About Page Specific */
.about-hero {
  background-image: url('../../images/about-hero.png');
}

.about-story-section {
  background-color: var(--white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-story-item {
  padding: 30px;
  border-left: 4px solid var(--accent-blue);
  background-color: #f9f9f9;
}

.about-story-item h3 {
  margin-bottom: 15px;
}

/* Team Section */
.team-section {
  background-color: var(--light-gray);
}

.team-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.team-card {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 4px solid var(--accent-blue);
  transition: var(--transition-base);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .team-photo {
  box-shadow: 0 0 20px rgba(62, 124, 177, 0.3);
}

.team-card h3 {
  margin-bottom: 5px;
}

.team-role {
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  color: #666;
  font-size: 0.9rem;
}

/* Case Studies Page */
.case-studies-hero {
  background-image: url('../../images/case-studies-hero.png');
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.case-study-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition-base);
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.case-study-image {
  height: 250px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

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

.case-study-content {
  padding: 30px;
}

.case-study-content h3 {
  margin-bottom: 10px;
}

.case-study-location {
  color: var(--accent-blue);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.case-study-link {
  color: var(--accent-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.case-study-link:hover {
  color: var(--primary-blue);
}

/* Contact Page */
.contact-hero {
  background-image: url('../../images/contact-hero.png');
}

.contact-section {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
}

.contact-form h2 {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: #333;
}

.contact-info {
  padding: 20px 0;
}

.contact-info h2 {
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-detail svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-blue);
  flex-shrink: 0;
}

.contact-detail h4 {
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.contact-detail p,
.contact-detail a {
  color: #666;
}

.contact-map {
  margin-top: 30px;
}

.contact-map img {
  width: 100%;
  border-radius: 10px;
}

/* Footer */
.site-footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition-base);
}

.footer-column a:hover {
  color: var(--accent-blue);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.8);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--accent-blue);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-badges {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-badges img {
  max-width: 60px;
  filter: grayscale(100%);
  transition: var(--transition-base);
}

.footer-badges img:hover {
  filter: grayscale(0%);
}

/* Mobile Footer Accordion */
.footer-mobile-accordion {
  display: none;
}

.footer-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-accordion-header h4 {
  margin: 0;
}

.footer-accordion-icon {
  transition: var(--transition-base);
}

.footer-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-accordion-content.open {
  max-height: 500px;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax Effect */
@media (prefers-reduced-motion: no-preference) {
  .hero {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    background-attachment: scroll;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .different-card.animate {
    transform: none;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .different-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    min-height: 80vh;
    background-attachment: scroll;
    padding-top: 80px;
  }
  
  .hero-bbb-badge {
    max-width: 60px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .different-grid {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-image {
    order: -1;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    display: none;
  }
  
  .footer-mobile-accordion {
    display: block;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .service-card {
    padding: 25px;
  }
  
  .contact-form {
    padding: 25px;
  }
}