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

:root {
  --primary-blue: #2F9AD1;
  --dark-navy: #222D3E;
  --accent-gold: #FDC830;
  --light-bg: #F8F8F8;
  --white: #FFFFFF;
  --font-primary: 'Raleway', sans-serif;
  --font-fallback: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-fallback);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-navy);
  background-color: var(--white);
  overflow-x: hidden;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

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

section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--dark-navy);
  border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
  background-color: #e5b62a;
  box-shadow: 0 0 15px rgba(47, 154, 209, 0.4);
  transform: scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-navy);
  border: 1px solid var(--primary-blue);
}

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

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--dark-navy);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--white);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  height: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
  transition: transform 0.3s ease;
}

.header.scrolled .logo img {
  max-height: 40px;
  transform: translateY(-5px);
}

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

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-desktop a {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark-navy);
  position: relative;
}

.nav-desktop a:hover {
  color: var(--primary-blue);
}

.nav-desktop .dropdown {
  position: relative;
}

.nav-desktop .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.nav-desktop .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background-color: var(--light-bg);
  color: var(--primary-blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-number {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1em;
  color: var(--primary-blue);
}

.phone-number:hover {
  text-decoration: underline;
}

.mobile-header {
  display: none;
}

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

.mobile-menu-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--dark-navy);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(34, 45, 62, 0.95);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 20px;
}

.mobile-overlay ul {
  text-align: center;
}

.mobile-overlay li {
  margin: 15px 0;
}

.mobile-overlay a {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
}

.mobile-overlay a:hover,
.mobile-overlay a:active {
  color: var(--primary-blue);
}

.mobile-submenu {
  margin-top: 10px;
}

.mobile-submenu a {
  font-size: 1.1rem;
  opacity: 0.8;
}

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

.mobile-close-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 45, 62, 0.85) 0%, rgba(34, 45, 62, 0.6) 100%);
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero .cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero .btn:nth-child(1) {
  animation-delay: 0.6s;
}

.hero .btn:nth-child(2) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.section-title.animate h2::after {
  transform: scaleX(1);
}

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

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--dark-navy);
}

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

.service-card .learn-more {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--primary-blue);
}

.service-card .learn-more:hover {
  color: var(--dark-navy);
}

.why-choose-us {
  background-color: var(--light-bg);
}

.why-choose-us .content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-block {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
}

.why-block h3 {
  color: var(--dark-navy);
  margin-bottom: 15px;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.testimonial-card blockquote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: var(--accent-gold);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-card .client-info {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--dark-navy);
}

.testimonial-card .client-info span {
  color: #888;
  font-weight: 400;
}

.cta-section {
  background-color: var(--dark-navy);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-section .cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn {
  opacity: 1;
  animation: none;
}

.footer {
  background-color: var(--dark-navy);
  color: var(--light-bg);
  padding: 60px 0 20px;
}

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

.footer h4 {
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-logo img {
  max-height: 40px;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.7;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-contact a {
  color: var(--light-bg);
}

.footer-contact a:hover {
  color: var(--primary-blue);
}

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

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

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

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

.footer-cta {
  margin-top: 20px;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: var(--primary-blue);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark-navy);
  flex-shrink: 0;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--dark-navy);
}

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

.team-member {
  text-align: center;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.02);
}

.team-member h3 {
  color: var(--dark-navy);
  margin-bottom: 5px;
}

.team-member .title {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 15px;
}

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

.value-block {
  text-align: center;
  padding: 30px;
}

.value-block .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.value-block h3 {
  margin-bottom: 15px;
  color: var(--dark-navy);
}

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

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

.contact-details h3 {
  margin-bottom: 20px;
  color: var(--dark-navy);
}

.contact-details p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-details a {
  color: var(--primary-blue);
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-fallback);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  border-bottom-width: 2px;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.emergency-contact {
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
}

.emergency-contact h2 {
  margin-bottom: 15px;
}

.emergency-contact .phone-large {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.emergency-contact p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.faq-section details {
  background-color: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.faq-section summary {
  padding: 20px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-section details[open] summary::after {
  transform: rotate(45deg);
}

.faq-section .answer {
  padding: 0 20px 20px;
  color: #555;
  line-height: 1.7;
}

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

.case-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

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

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

.case-card h3 {
  color: var(--dark-navy);
  margin-bottom: 15px;
}

.case-card p {
  color: #666;
  margin-bottom: 20px;
}

.intro-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
  
  .hero h1,
  .hero p,
  .hero .cta-group {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }
  
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-overlay {
    display: block;
  }
  
  .header {
    height: 60px;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero .cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .why-choose-us .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid,
  .case-studies-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-item::before {
    display: none;
  }
  
  .timeline-number {
    margin: 0 auto;
  }
  
  .emergency-contact .phone-large {
    font-size: 2rem;
  }
}
