/* Basic Resets & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; /* Example modern font */
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 60px; /* Adjust as needed */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #0056b3; /* A professional blue */
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #003d7a;
}

/* Burger menu for mobile */
.burger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #e9f7ff; /* Light blue background */
    text-align: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #003d7a;
    margin-bottom: 15px;
}
/* ... (previous CSS code) ... */

.map-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    /* Add this for responsive iframe */
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100) */
    height: 100;
    overflow: hidden;
    border-radius: 8px; /* Keep the rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Keep the shadow */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Remove default iframe border */
}

/* ... (rest of the CSS code) ... */

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    background-color: #D3D3D3;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #003d7a;
}

.btn-secondary {
    background-color: #D3D3D3; /* A neutral grey */
}

.btn-secondary:hover {
    background-color: #A9A9A9;
}

/* General Section Styling */
section {
    padding: 80px 20px;
    text-align: center;
}

section:nth-of-type(even) {
    background-color: #f0f0f0;
}

h2 {
    font-size: 2.2rem;
    color: #003d7a;
    margin-bottom: 40px;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Attorney Section */
.attorney-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.attorney-content {
    flex: 2;
    min-width: 300px;
    padding: 20px;
}

.attorney-content h2 {
    text-align: left;
}

.attorney-content p {
    margin-bottom: 15px;
}

.attorney-image {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    text-align: center;
}

.attorney-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%; /* Make it round */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
    background-color: #e9f7ff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: left;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #0056b3;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-media img {
    height: 30px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.social-media img:hover {
    transform: translateY(-3px);
}

.map-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.map-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design (Media Queries) */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 60%;
        background-color: #003d7a;
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 80px;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-links li a {
        color: #fff;
        font-size: 1.5rem;
        padding: 1.5rem 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero-section, .attorney-section, .contact-section {
        flex-direction: column;
    }

    .hero-content, .hero-image, .attorney-content, .attorney-image, .contact-info, .map-container {
        min-width: unset;
        width: 100%;
    }

    .attorney-image img {
        border-radius: 8px; /* Back to square for smaller screens */
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* Burger Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
