/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* Variables */
:root {
    --primary-color: #1b304c;
    --primary-dark: #122134;
    --secondary-color: #dcb56a;
    --secondary-hover: #c4a15a;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #666666;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--secondary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

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

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.main-logo {
    height: auto;
    max-width: 250px;
    width: 100%;
    object-fit: contain;
    transition: max-width 0.3s ease;
}

.logo img {
    height: auto;
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 750px;
    background: linear-gradient(rgba(10, 25, 45, 0.7), rgba(10, 25, 45, 0.7)), url('../images/banner_PDPC.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    color: var(--text-light);
    padding-top: 180px;
}

.hero-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--secondary-color);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    margin-bottom: 20px;
    border-radius: 4px;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.hero-desc {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Highlights Bar */
.highlights {
    background-color: rgba(12, 34, 63, 0.85);
    padding: 40px 0;
    width: 100%;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
}

.highlight-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-title {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 10px;
}

.highlight-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-icon {
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.why-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.why-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.why-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Practice Areas */
.practice-areas {
    padding: 80px 0;
    background: url('../images/justica_PDPC.png') right center/contain no-repeat, var(--light-bg);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.practice-card {
    background-color: rgba(229, 233, 236, 0.9); /* #e5e9ec with 90% opacity */
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    backdrop-filter: blur(2px); /* Slight blur if supported */
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.practice-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.practice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Us */
.about {
    background: linear-gradient(90deg, var(--primary-color) 50%, var(--primary-dark) 50%);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding-right: 40px;
}

.about-subtitle {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-image img {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 150%;
    opacity: 0.6;
}

/* Process */
.process {
    padding: 80px 0;
    background-color: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    background-color: #e5e9ec;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
}

.process-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: #b0b8c1;
    line-height: 1;
}

.process-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.process-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-images {
    position: relative;
    height: 400px;
}

.cta-images img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-img-1 {
    width: 70%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.cta-img-2 {
    width: 60%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.cta-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #f4f6f8;
    border: 1px solid #e0e4e8;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.info-text h5 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-text p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e9ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #a0abb8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-img-logo {
    height: auto;
    max-width: 220px;
    width: 100%;
    object-fit: contain;
}

.footer-logo img {
    height: 40px;
    margin-right: 15px;
}

.footer-col h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .highlights-grid, .why-grid, .practice-grid, .about-container, .process-grid, .cta-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .main-logo {
        max-width: 180px;
    }
    
    .footer-img-logo {
        max-width: 180px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding-top: 150px;
        justify-content: flex-start;
    }
    
    .hero-container {
        padding-bottom: 40px;
    }

    .about-image {
        display: none;
    }
    
    .about {
        background: var(--primary-color);
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        padding: 20px 0;
        gap: 15px;
        border-bottom: 1px solid var(--secondary-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    header .btn {
        display: none !important;
    }
    
    .highlight-item {
        padding: 30px 20px;
    }
    
    .highlight-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}
