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

:root {
  --color-primary: #0A2540;
  --color-accent: #1A73E8;
  --color-light-blue: #E8F0F8;
  --color-white: #FFFFFF;
  --color-dark-grey: #333333;
  --color-light-grey: #CCCCCC;
  --font-primary: 'Montserrat', 'Arial', sans-serif;
  --header-height: 90px;
  --header-height-scrolled: 70px;
  --transition-smooth: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark-grey);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 9999;
}

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

ul {
  list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  color: var(--color-white);
}

h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: width 0.6s ease;
}

h2.animate::after {
  width: 60px;
}

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

p {
  font-size: 1rem;
  color: var(--color-dark-grey);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

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

.btn-primary:hover {
  background-color: #1557b0;
  box-shadow: 0 6px 12px rgba(26, 115, 232, 0.3);
  transform: translateY(-2px);
}

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

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

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

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo:hover {
  color: var(--color-accent);
}

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

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--color-accent);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--color-accent);
}

nav a.active::after {
  width: 100%;
}

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

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-primary);
}

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  transition: var(--transition-smooth);
}

.mobile-menu {
  position: fixed;
  right: -70vw;
  top: 0;
  width: 70vw;
  height: 100vh;
  background: var(--color-primary);
  z-index: 1001;
  transition: right 0.4s ease;
  padding: 80px 30px 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 500;
}

.mobile-menu .btn {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.mobile-menu .phone-link {
  color: var(--color-white);
  margin-top: 20px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

/* Hero Sections */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

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

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

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

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

.hero-home {
  background-image: url('../images/hero-bg.png');
}

.hero-about {
  background-image: url('../images/office-interior.png');
}

.hero-practice {
  background-image: url('../images/hero-bg.png');
}

.hero-personal-injury {
  background-image: url('../images/diverse-community.png');
}

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

/* Section Styles */
section {
  padding: 80px 0;
}

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

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

.section-dark h2 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

/* Introduction Section */
.intro {
  background: var(--color-white);
}

.intro h2 {
  margin-bottom: 30px;
}

.intro p {
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Why Choose Us */
.why-choose-us {
  background: var(--color-white);
}

.why-choose-us h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.why-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  text-align: center;
}

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

.why-card svg {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  fill: var(--color-primary);
  transition: var(--transition-smooth);
}

.why-card:hover svg {
  fill: var(--color-accent);
  transform: scale(1.1);
}

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

.why-card p {
  color: #666;
}

/* Practice Areas Overview */
.practice-areas-overview {
  background: var(--color-light-blue);
}

.practice-areas-overview h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.practice-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  text-align: center;
}

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

.practice-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  fill: var(--color-primary);
  transition: var(--transition-smooth);
}

.practice-card:hover svg {
  fill: var(--color-accent);
}

.practice-card h3 {
  margin-bottom: 10px;
}

.practice-card p {
  color: #666;
  margin-bottom: 15px;
}

.practice-card .learn-more {
  color: var(--color-accent);
  font-weight: 600;
}

.practice-card .learn-more:hover {
  text-decoration: underline;
}

/* Testimonials */
.testimonials {
  background: var(--color-white);
  position: relative;
}

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

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}

.testimonial-item blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-dark-grey);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-item cite {
  font-weight: 600;
  color: var(--color-accent);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-light-grey);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.testimonial-dot.active {
  background: var(--color-accent);
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: var(--transition-smooth);
}

.testimonial-arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.testimonial-arrow svg {
  width: 30px;
  height: 30px;
  fill: var(--color-primary);
}

.testimonial-arrow.prev {
  left: 10px;
}

.testimonial-arrow.next {
  right: 10px;
}

/* CTA Section */
.cta-section {
  background: var(--color-primary);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-section h2::after {
  background: var(--color-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta-section .btn-primary:hover {
  background: var(--color-light-blue);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

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

.footer-col ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

.footer-col ul a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

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

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info a:hover {
  color: var(--color-accent);
}

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

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

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

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

.social-links a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

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

/* About Page Styles */
.about-hero {
  min-height: 60vh;
}

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

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

.story-content h2 {
  margin-bottom: 20px;
}

.story-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.story-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.story-image img {
  width: 100%;
  height: auto;
}

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

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

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

.team-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

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

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 25px;
  text-align: center;
}

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

.team-info .title {
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-info p {
  color: #666;
  font-size: 0.95rem;
}

/* Awards Section */
.awards-section {
  background: var(--color-white);
}

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

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.award-item {
  padding: 30px;
  background: var(--color-light-blue);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.award-item:hover {
  transform: translateY(-5px);
  background: var(--color-accent);
  color: var(--color-white);
}

.award-item svg {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  fill: currentColor;
}

.award-item p {
  font-weight: 600;
  color: inherit;
}

/* Practice Areas Page Styles */
.practice-hero {
  min-height: 60vh;
}

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

.practice-full-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

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

.practice-full-card svg {
  width: 50px;
  height: 50px;
  fill: var(--color-primary);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.practice-full-card:hover svg {
  fill: var(--color-accent);
}

.practice-full-card h3 {
  margin-bottom: 10px;
}

.practice-full-card p {
  color: #666;
  margin-bottom: 15px;
}

.practice-full-card .learn-more {
  color: var(--color-accent);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  background: var(--color-light-blue);
}

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

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: #666;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Personal Injury Page Styles */
.personal-injury-hero {
  min-height: 60vh;
}

.personal-injury-overview {
  background: var(--color-white);
}

.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.overview-content h2 {
  margin-bottom: 25px;
}

.overview-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.overview-content ul {
  margin-top: 20px;
}

.overview-content ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.overview-content ul li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: bold;
}

.overview-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.overview-image img {
  width: 100%;
  height: auto;
}

/* Types of Cases */
.types-of-cases {
  background: var(--color-light-blue);
}

.types-of-cases h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.type-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: var(--transition-smooth);
}

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

.type-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  fill: var(--color-primary);
}

.type-card h3 {
  margin-bottom: 10px;
}

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

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

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--color-light-grey);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 4px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-accent);
}

.timeline-content {
  background: var(--color-white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 0;
  margin-left: 30px;
}

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

.timeline-content p {
  color: #666;
}

/* Contact Page Styles */
.contact-hero {
  min-height: 60vh;
}

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

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

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-light-grey);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

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

.form-success {
  display: none;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.form-success.show {
  display: block;
}

.form-success.success {
  background: #d4edda;
  color: #155724;
}

.form-success.error {
  background: #f8d7da;
  color: #721c24;
}

.contact-details-section {
  background: var(--color-light-blue);
  padding: 40px;
  border-radius: 12px;
}

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

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

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

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

.contact-info-item a:hover {
  color: var(--color-accent);
}

.map-container {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--color-accent);
  z-index: 1002;
  transition: width 0.1s ease;
}

/* Animations on Scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-progress {
    display: none;
  }
  
  body::before {
    display: none;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 60px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  nav, .header-contact {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: 70vh;
    padding-top: var(--header-height);
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .why-choose-us-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .team-grid,
  .types-grid,
  .all-practice-grid {
    grid-template-columns: 1fr;
  }
  
  .awards-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-item::before {
    left: 20px;
  }
  
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
  }
  
  .practice-full-card {
    flex-direction: column;
    text-align: center;
  }
  
  .practice-full-card svg {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .testimonial-item {
    padding: 20px;
  }
  
  .testimonial-arrow {
    display: none;
  }
}