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

:root {
    --primary-color: #2c3639;
    --secondary-color: #3f4e4f;
    --accent-color: #a27b5c;
    --text-color: #2c3639;
    --text-light: #3f4e4f;
    --bg-light: #dcd7c9;
    --white: #ffffff;
    --border-color: #dcd7c9;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --gold-accent: #a27b5c;
}

body {
    font-family: 'Cormorant Infant', serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

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

/* Top Bar */
.top-bar {
    background-color: #2c3639;
    color: #dcd7c9;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-left span,
.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-left i,
.top-bar-right i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: #dcd7c9;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.logo-name {
    font-family: 'Cormorant Infant', serif;
    font-size: 1.6rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.header-contact-button {
    display: flex;
    align-items: center;
}

.btn-phone {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

.btn-phone:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Main Navigation Bar */
.main-nav-bar {
    background-color: var(--primary-color);
    padding: 1.33rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.main-nav-bar .nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav-bar .nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.main-nav-bar .nav-link:hover::after,
.main-nav-bar .nav-link.active::after {
    width: 100%;
}

.main-nav-bar .nav-link:hover,
.main-nav-bar .nav-link.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--white);
    min-height: 90vh;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-left {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    min-height: fit-content;
}

.hero-right {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: fit-content;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 100%;
}

.hero-image {
    width: 80%;
    max-width: 333px;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--white);
    text-align: left;
}

.hero-description {
    font-size: 1.33rem;
    line-height: 1.7;
    opacity: 0.95;
    color: var(--white);
    text-align: left;
    margin-bottom: 2rem;
    margin-top: 7rem;
    flex-grow: 1;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: auto;
}

.hero-logo-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
}

.hero-logo-title {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-logo-name {
    font-family: 'Cormorant Infant', serif;
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--gold-accent);
    color: var(--white);
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero .btn-primary {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-icon-image {
    font-size: 0;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 200px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-color);
    gap: 0.8rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.mission-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.mission-quote {
    font-size: 1.15rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-left: 5px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.mission-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lawyer-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
}

/* Articles Section */
.articles {
    padding: 5rem 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.article-link {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    text-align: center;
    border: 2px solid transparent;
}

.article-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
}

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

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.location-link:hover {
    color: var(--primary-color);
}

.location-link i {
    color: var(--accent-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

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

/* Warning Section */
.warning {
    padding: 3.5rem 0;
    background: #dcd7c9;
    border-top: 4px solid var(--accent-color);
    border-bottom: 4px solid var(--accent-color);
}

.warning-content {
    max-width: 1000px;
    margin: 0 auto;
}

.warning-content h3 {
    color: #2c3639;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.warning-content p {
    color: #3f4e4f;
    line-height: 1.9;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

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

.disclaimer {
    font-size: 0.85rem !important;
    line-height: 1.6;
    max-width: 900px;
    margin: 1rem auto 0 !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-nav-bar .nav-menu {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .main-nav-bar {
        display: none;
    }

    .main-nav-bar.active {
        display: block;
    }

    .header-contact-button {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 3rem 2rem;
        min-height: auto;
    }

    .hero-right {
        min-height: 50vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-logo {
        margin-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-name {
        font-size: 1.4rem;
    }

    .logo-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 2.5rem 1.5rem;
    }

    .hero-right {
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-logo-icon {
        font-size: 2.5rem;
    }

    .hero-logo-name {
        font-size: 1.6rem;
    }

    .services,
    .about,
    .mission,
    .articles,
    .contact {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

