/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    display: block;
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Hero Section with Slideshow */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 5rem;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem 3rem;
    border-radius: 15px;
    max-width: 90%;
    z-index: 2;
    backdrop-filter: blur(4px);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-content .tagline,
.hero-content .subtitle {
    color: #f1f1f1;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
        max-width: 95%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .tagline,
    .hero-content .subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        width: 100%;
        font-size: 1rem;
    }
}
/* Features Section */
.features {
    padding: 100px 20px;
    background: #f9f9fb;
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Network Section */
.network {
    background: #ffffff;
    padding: 100px 20px;
}

.network .container {
    max-width: 1200px;
    margin: 0 auto;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 3rem;
}

.network-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
}

.network-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lawyer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat {
    background: #f0f4ff;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.network-image > div {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 4rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .network-content h2 {
        font-size: 2rem;
    }

    .network-content p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .network-image > div {
        height: 250px;
    }
}
/* Footer */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #667eea;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  color: #ccc;
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #999;
}

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section h3 {
    margin-top: 2rem;
  }
}
