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

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #000;
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: #fff;
    color: #000;
    padding: 26px 55px; /* Increased from 24px 50px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*border-bottom: 1px solid #000;*/
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
    width: 100%;
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 75px; /* Increased from 70px */
    width: auto;
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 33px; /* Increased from 30px */
    height: 5px; /* Increased from 4px */
    background-color: #000;
    margin: 7px 0; /* Increased from 6px */
    transition: all 0.3s ease;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 40px; /* Increased from 36px */
}

.navbar ul li a {
    color: #000;
    text-decoration: none;
    font-size: 1.1rem; /* Increased from 1rem */
    font-weight: 400;
    position: relative;
}

.navbar ul li a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    bottom: -5px;
    left: 0;
}

/* Style for the active link */
.navbar ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    bottom: -5px;
    left: 0;
}

/* Page Header (used in portfolio.html, services.html, etc.) */
.page-header {
    text-align: center;
    padding: 66px 55px; /* Increased from  lawsuits60px 50px */
    background-color: #fff;
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
}

.page-header h2 {
    font-size: 3rem; /* Increased from 2.8rem */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 13px; /* Increased from 12px */
}

.page-header p {
    font-size: 1.4rem; /* Increased from 1.3rem */
    margin-bottom: 53px; /* Increased from 48px */
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 106px 55px; /* Increased from 96px 50px */
    background-color: #fff;
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
}

.hero-content {
    max-width: 50%;
    text-align: left;
}

.hero-content h2 {
    font-size: 3rem; /* Increased from 2.8rem */
    font-weight: 600;
    text-transform: none;
    margin-bottom: 26px; /* Increased from 24px */
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem; /* Increased from 1.3rem */
    margin-bottom: 40px; /* Increased from 36px */
}

.hero-content .button {
    background-color: #000;
    color: #fff;
    padding: 15px 40px; /* Increased from 14px 36px */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem; /* Increased from 1.2rem */
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.hero-content .button:hover {
    background-color: #333;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    width: 90%; /* Increased from 85% */
}

/* Services Section */
.services-cards {
    text-align: center;
    padding: 53px 13px; /* Increased from 48px 12px */
    background-color: #fff;
    border-bottom: 1px solid #000;
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
    width: 100%;
}

.services-cards h2 {
    font-size: 3rem; /* Increased from 2.8rem */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 53px; /* Increased from 48px */
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(260px, 1fr)); /* Increased from 240px */
    gap: 26px; /* Increased from 24px */
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
}

.card {
    background-color: #fff;
    text-align: center;
    padding: 20px; /* Increased from 18px */
}

.card i {
    font-size: 2.6rem; /* Increased from 2.4rem */
    margin-bottom: 20px; /* Increased from 18px */
}

.card h3 {
    font-size: 1.5rem; /* Increased from 1.4rem */
    font-weight: 600;
    margin-bottom: 13px; /* Increased from 12px */
    text-transform: uppercase;
}

.card p {
    font-size: 1.1rem; /* Increased from 1rem */
    color: #000;
}

/* Portfolio Section */
.portfolio-section {
    text-align: center;
    padding: 79px 55px; /* Increased from 72px 50px */
    background-color: #fff;
    border-bottom: 1px solid #000;
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
}

.portfolio-section h2 {
    font-size: 3rem; /* Increased from 2.8rem */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 26px; /* Increased from 24px */
}

.portfolio-section p {
    font-size: 1.4rem; /* Increased from 1.3rem */
    margin-bottom: 53px; /* Increased from 48px */
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); /* Increased from 300px */
    gap: 40px; /* Increased from 36px */
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto 53px; /* Increased from 48px */
}

.portfolio-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

.portfolio-card img {
    width: 100%;
    height: 198px; /* Increased from 180px */
    object-fit: cover;
}

.portfolio-card h3 {
    font-size: 2rem; /* Increased from 1.8rem */
    font-weight: 600;
    margin: 20px 20px 13px; /* Increased from 18px 18px 12px */
    text-transform: uppercase;
}

.portfolio-card p {
    font-size: 1.3rem; /* Increased from 1.2rem */
    margin: 0 20px 20px; /* Increased from 18px */
    color: #000;
}

.portfolio-section .button {
    background-color: #000;
    color: #fff;
    padding: 15px 40px; /* Increased from 14px 36px */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem; /* Increased from 1.2rem */
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.portfolio-section .button:hover {
    background-color: #333;
}

/* About Section */
.about-me {
    text-align: center;
    padding: 79px 55px; /* Increased from 72px 50px */
    background-color: #fff;
    border-bottom: 1px solid #000;
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
}

.about-me h2 {
    font-size: 3rem; /* Increased from 2.8rem */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 53px; /* Increased from 48px */
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 792px; /* Increased from 720px */
    margin: 0 auto;
}

.about-image {
    width: 198px; /* Increased from 180px */
    height: 198px; /* Increased from 180px */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 26px; /* Increased from 24px */
}

.about-container p {
    font-size: 1.3rem; /* Increased from 1.2rem */
    color: #000;
    margin-bottom: 26px; /* Increased from 24px */
}

.linkedin-link {
    font-size: 1.4rem; /* Increased from 1.3rem */
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.linkedin-link i {
    margin-right: 11px; /* Increased from 10px */
    font-size: 1.6rem; /* Increased from 1.5rem */
    vertical-align: middle;
}

.linkedin-link:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 79px 55px; /* Increased from 72px 50px */
    background-color: #fff;
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
    border-bottom: 1px solid #000;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 53px; /* Increased from 48px */
    max-width: 1500px; /* Increased from 1400px */
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2rem; /* Increased from 1.8rem */
    font-weight: 600;
    margin-bottom: 26px; /* Increased from 24px */
    text-transform: uppercase;
}

.contact-info p {
    font-size: 1.3rem; /* Increased from 1.2rem */
    margin-bottom: 13px; /* Increased from 12px */
}

.contact-info i {
    margin-right: 13px; /* Increased from 12px */
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    font-size: 2rem; /* Increased from 1.8rem */
    font-weight: 600;
    margin-bottom: 26px; /* Increased from 24px */
    text-transform: uppercase;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased from 18px */
}

.contact-form input,
.contact-form textarea {
    padding: 13px; /* Increased from 12px */
    font-size: 1.3rem; /* Increased from 1.2rem */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', Arial, sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #000;
    color: #fff;
    padding: 15px 40px; /* Same as previous */
    border: none;
    font-weight: 600;
    font-size: 1.3rem; /* Same as previous */
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #333;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 26px; /* Increased from 24px */
}

footer p {
    margin: 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin-left: 13px; /* Increased from 12px */
}

footer a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 13px; /* Increased from 12px */
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem; /* Increased from 1.4rem */
    margin: 0 13px; /* Increased from 12px */
    text-decoration: none;
}

.social-icons a:hover {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navbar Adjustments */
    .nav-toggle-label {
        display: block;
    }

    .navbar {
        max-width: 100%;
        margin: 0;
        position: relative;
        padding: 16px 28px; /* Increased from 15px 25px */
    }

    .navbar nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 95px; /* Adjusted for larger logo */
        left: 0;
        background-color: #fff;
        padding: 28px; /* Increased from 25px */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .navbar ul {
        flex-direction: column;
        gap: 13px; /* Increased from 12px */
        text-align: center;
    }

    .navbar ul li a {
        font-size: 1.5rem; /* Increased from 1.4rem */
        font-weight: 500;
        display: block;
        padding: 13px 0; /* Increased from 12px */
    }

    .nav-toggle:checked ~ nav {
        display: block;
    }

    /* Page Header Adjustments */
    .page-header {
        padding: 53px 28px; /* Increased from 48px 25px */
    }

    .page-header h2 {
        font-size: 2.4rem; /* Increased from 2.2rem */
    }

    .page-header p {
        font-size: 1.2rem; /* Increased from 1.1rem */
    }

    /* Hero Section Adjustments */
    .hero-section {
        flex-direction: column;
        padding: 53px 28px; /* Increased from 48px 25px */
        max-width: 100%;
        margin: 0;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 53px; /* Increased from 48px */
    }

    .hero-content h2 {
        font-size: 2.4rem; /* Increased from 2.2rem */
    }

    .hero-content p {
        font-size: 1.2rem; /* Increased from 1.1rem */
    }

    .hero-content .button {
        display: inline-block;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image img {
        width: 80%; /* Increased from 75% */
        max-height: 396px; /* Increased from 360px */
        object-fit: contain;
    }

    /* Services Section Adjustments */
    .services-cards {
        padding: 53px 28px; /* Increased from 48px 25px */
    }

    .services-cards h2 {
        font-size: 2.4rem; /* Increased from 2.2rem */
    }

    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Increased from 240px */
    }

    .card h3 {
        font-size: 1.3rem; /* Increased from 1.2rem */
    }

    .card p {
        font-size: 1rem; /* Increased from 0.9rem */
    }

    /* Portfolio Section Adjustments */
    .portfolio-section {
        padding: 53px 28px; /* Increased from 48px 25px */
    }

    .portfolio-section h2 {
        font-size: 2.4rem; /* Increased from 2.2rem */
    }

    .portfolio-section p {
        font-size: 1.2rem; /* Increased from 1.1rem */
    }

    /* About Section Adjustments */
    .about-me {
        padding: 53px 28px; /* Increased from 48px 25px */
    }

    .about-me h2 {
        font-size: 2.4rem; /* Increased from 2.2rem */
    }

    .about-container p {
        font-size: 1.1rem; /* Increased from 1rem */
    }

    /* Contact Section Adjustments */
    .contact-section {
        padding: 53px 28px; /* Increased from 48px 25px */
    }

    .contact-container {
        flex-direction: column;
        gap: 26px; /* Increased from 24px */
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.6rem; /* Increased from 1.5rem */
    }

    .contact-info p {
        font-size: 1.1rem; /* Increased from 1rem */
    }
}