* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background-color: white;
}


h1, h2, h3, h4 {
    font-family: 'Cantata One', Georgia, serif;
}

/* Navigation */
.topnav {
    background-color: white;
}

.topnav a {
    color: #f5f5f5;
    text-decoration: none; /* Removed hyperlink underline */
}

.topnav a:hover,
.topnav a.active {
    background-color: #b30000;
    color: white;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5 2rem;
}

.navbar {
  position: sticky;
  top: 0;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  width: 100%;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- LOGO --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.logo span {
  font-family: 'Cantata One', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #8B0000;
}

/* --- NAV LINKS --- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #a30000;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: #a30000;
}

/* --- Hover Animation --- */
.nav-links li:hover {
  transform: translateY(-2px);
}

/* --- Responsive Menu (Optional Future) --- */
@media (max-width: 968px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

.logo span {
    color: #8B0000;
}

.nav-links {
    display: flex;
}

.topnav a {
    color: black;
    text-align: center;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.topnav a:hover {
    background-color: #8B0000;
    color: white;
}

.topnav a.active {
    background-color: #8B0000;
    color: white;
}

/* Hero Section */
.hero-image {
    background: linear-gradient(135deg, #111 0%, #b30000 100%);
    height: 60vh;
    min-height: 450px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
    color: #f0f0f0;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Hero Section */
.hero-image {
    background-image: url("/images/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

/* Optional: dark overlay for better text visibility */
.hero-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons - Enhanced styling */
.btn {
    display: inline-block; /* Better button behavior */
    background-color: white;
    color: #b30000;
    padding: 1.2rem 3rem; /* Slightly larger padding */
    margin: 0.5rem; /* Add spacing between buttons */
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #b30000;
    border-radius: 50px; /* More rounded, modern look */
    cursor: pointer;
    transition: all 0.4s ease; /* Smoother transition */
    box-shadow: 0 4px 15px rgba(179, 0, 0, 0.3); /* Deeper shadow */
    text-decoration: none; /* Removed hyperlink underline */
    text-transform: uppercase; /* Modern button text style */
    letter-spacing: 0.5px; /* Better readability */
}

.btn:hover {
    background-color: #b30000;
    color: white;
    transform: translateY(-3px); /* Lift effect on hover */
    box-shadow: 0 8px 25px rgba(179, 0, 0, 0.5); /* Enhanced shadow on hover */
}

.btn:active {
    transform: translateY(-1px); /* Press effect */
    box-shadow: 0 5px 15px rgba(179, 0, 0, 0.4);
}

.btn-secondary {
    background-color: transparent; /* Transparent background for secondary button */
    border: 2px solid white;
    color: white;
    padding: 1.2rem 3rem;
    margin: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none; /* Removed hyperlink underline */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: white;
    color: #b30000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(179, 0, 0, 0.4);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-third {
    background-color: transparent; /* Transparent background for secondary button */
    border: 2px solid white;
    color: white;
    padding: 1.2rem 3rem;
    margin: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none; /* Removed hyperlink underline */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-third:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px #1a1a1a;
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
}


.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #b30000; /* Changed from green to red - underline beneath section titles */
    margin: 1rem auto 0;
}

/* Background for Our Legal Services */
.services-section {
    background-image: url("../images/e.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 80px 0;
}

/* Optional: dark overlay for better text contrast */
.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust darkness */
    z-index: 1;
}

/* Make sure the content stays visible above the overlay */
.services-section .container {
    position: relative;
    z-index: 2;
}

/* Why Choose Us Section */
#why-choose {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: black;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #b30000; /* Changed from green to red - top border of service cards */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.service-card h3 {
    color: black;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #666;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b30000; /* Changed from green to red - checkmarks in service lists */
    font-weight: bold;
    font-size: 1.2rem;
}

.service-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.service-details h4 {
    color: black;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* About Section */
#about {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

/* Main container - changed from grid to flex column */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.about-text {
    width: 100%;
}

.about-text > h3 {
    color: black;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text > p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Our Story Section - THIS is the grid for side-by-side layout */
.story-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.story-text p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.story-image {
    position:relative;
    top: 0.5rem;
}

.story-image img {
    width: 45%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.story-image .image-caption {
    margin-top: 0rem;
    color: #555;
    font-style: italic;
    font-size: 0.9rem;
    text-align: left;
}

.story-image .image-caption-hons {
    margin-top: 0rem;
    color: #555;
    font-style: italic;
    font-size: 0.75rem;
}

.story-image .image-caption-name {
    margin-top: 0rem;
    color: #555;
    font-size: 1.1rem;
    text-align: left;
}

/* Commitment/Team Section */
.commitment-section {
    margin-top: 3rem;
}

.commitment-section h3 {
    color: black;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.commitment-content {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.commitment-image img {
    width: 60%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.commitment-text p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Core Values Box */
.about-values {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid #b30000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-values h3 {
    color: black;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-values ul {
    list-style: none;
    padding: 0;
}

.about-values li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    font-size: 1.05rem;
    border-bottom: 1px solid #f0f0f0;
}

.about-values li:last-child {
    border-bottom: none;
}

.about-values li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #b30000;
    font-weight: bold;
    font-size: 1.3rem;
}

.about-values li strong {
    color: #2c2c2c;
    display: block;
    margin-bottom: 0.3rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .story-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .commitment-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-values {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .about-values li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }
    
    #about {
        padding: 2rem 0;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b30000, #8B0000); /* Changed from green to red gradient - team avatar backgrounds */
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.team-member h3 {
    color: black;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #b30000; /* Changed from green to red - team role text */
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    color: #666;
    line-height: 1.8;
}

/* Process Section */
#process {
    background-color: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #b30000; /* Changed from green to red - circular step numbers */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: #111;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.8;
}

/* Background for Our Process Section */
.process-section {
    background-image: url("../images/x.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 80px 0;
}

/* Optional: dark overlay for contrast */
.process-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Keep text and elements visible above overlay */
.process-section .container {
    position: relative;
    z-index: 2;
}

/* Optional: Parallax effect for background */
@media (min-width: 768px) {
    .process-section {
        background-attachment: fixed;
    }
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%); /* Changed to black gradient instead of blue-grey */
    color: white;
}

#contact .section-title {
    color: white;
}

#contact .section-subtitle {
    color: #e0e0e0;
}

#contact .section-title::after {
    background-color: #b30000; /* Red underline for contact section title */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info-section h3 {
    color: white; /* Changed from green to red - contact section headings */
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.info-icon {
    font-size: 1.5rem;
    color: #b30000; /* Changed from green to red - contact icons */
    min-width: 30px;
}

.info-content h4 {
    color: white; /* Changed from green to red - contact info headings */
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-content p {
    color: #f0f0f0;
    margin: 0;
}

.office-hours {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05); /* Changed from green to red - office hours background */
    border-radius: 10px;
    border-left: #1a1a1a;
}

.office-hours h4 {
    color: white; /* Changed from green to red - office hours heading */
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.office-hours p {
    color: #f0f0f0;
    margin-bottom: 0.5rem;
}

/* Contact Section Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

/* Map container */
.map-container {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Embedded map */
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 10px;
}

/* "Get Directions" button styling */
.map-container .btn-third {
  display: inline-block;
  margin-top: 1rem;
  background-color: #7C9885;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.map-container .btn-third:hover {
  background-color: #6e8876;
  transform: translateY(-2px);
}

/* Contact info boxes */
.contact-info-section .info-item,
.contact-info-section .office-hours {
  background-color: #222;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* Responsiveness for smaller screens */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-container {
    margin-top: 1rem;
  }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); /* Darker black gradient for better contrast */
    color: #f0f0f0;
    padding: 3rem 0 1.5rem;
    border-top: 3px solid #b30000; /* Red top border to separate from contact section */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start; /* Better alignment */
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #b30000; /* Changed from green to red - footer link hover color */
}

.footer-bottom {
    border-top: 1px solid rgba(179, 0, 0, 0.3); /* Red tinted border */
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 0.5rem 0;
}


/* Responsive Design */
@media (max-width: 968px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem 2rem;
    }
    
    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .topnav a {
        padding: 0.8rem 1rem;
    }
    
    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}