/* RESET & BASICS */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Lato', sans-serif; color: #333; line-height: 1.6; background-color: #ffffff; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: #00204c; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* TOP BANNER */
.top-banner { background-color: #00204c; color: white; text-align: center; padding: 8px 0; font-size: 0.9rem; }

/* HEADER */
header { background: white; padding: 10px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo img { height: 90px; width: auto; } 

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #00204c; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.nav-links a:hover { color: #C5A059; }

.header-contact { text-align: right; display: flex; flex-direction: column; }
.phone-link { font-size: 1.3rem; font-weight: bold; color: #00204c; }
.lang-text { font-size: 0.8rem; color: #666; }

/* HERO SECTION */
.hero { background-color: #f4f4f4; padding: 80px 0; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
.hero-sub { font-size: 1.2rem; color: #555; margin-bottom: 30px; }
.hero-image img { width: 100%; border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s; }
.hero-image img:hover { transform: scale(1.02); }

/* BUTTONS */
.btn-primary { background-color: #00204c; color: white; padding: 15px 30px; border-radius: 2px; font-weight: bold; display: inline-block; margin-right: 15px; }
.btn-primary:hover { background-color: #C5A059; }
.btn-secondary { color: #00204c; border: 2px solid #00204c; padding: 13px 30px; font-weight: bold; border-radius: 2px; display: inline-block; }
.btn-secondary:hover { background-color: #00204c; color: white; }

/* INTRO */
.intro-section { padding: 80px 0; text-align: center; }
.intro-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
.intro-section p { max-width: 800px; margin: 0 auto 50px auto; font-size: 1.1rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-box { background: white; padding: 30px; border: 1px solid #e0e0e0; }
.feature-box h3 { color: #C5A059; margin-bottom: 10px; }
.feature-box i { font-size: 2rem; margin-bottom: 15px; color: #00204c; }

/* AREAS OF PRACTICE BLOCK */
.services-wrapper { 
    background-color: #ffffff; 
    padding: 60px 0; 
}
.services-card {
    background-color: #1a3c5e; 
    color: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    margin: 0 auto; 
    max-width: 1100px;
}
.services-card h2, .services-card h3 { color: white; }
.services-card h2 { text-align: center; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: #ccc; margin-bottom: 50px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.service-item ul { list-style: none; padding-left: 0; }
.service-item li { margin-bottom: 8px; font-size: 0.95rem; color: #e0e0e0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px;}
.service-item h3 { border-bottom: 2px solid #C5A059; padding-bottom: 10px; margin-bottom: 15px; display: inline-block; font-size: 1.2rem;}
.service-item i { margin-right: 10px; color: #C5A059; }

/* TEAM */
.team-section { padding: 80px 0; background-color: #f9f9f9; }
.team-section h2 { text-align: center; margin-bottom: 50px; }
.lawyer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.lawyer-card { background: white; padding: 40px; border-top: 5px solid #C5A059; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.lawyer-card:hover { transform: translateY(-5px); }
.card-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.bio-pic { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; }
.lawyer-card .role { display: block; color: #666; font-style: italic; margin-top: 5px; }
.lawyer-card h3 { cursor: pointer; color: #00204c; margin-bottom: 0; }
.lawyer-card h3:hover { color: #C5A059; }

/* OFFICE GALLERY */
.office-gallery { padding: 60px 0; text-align: center; background: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* TESTIMONIAL SLIDER */
.testimonials { padding: 80px 0; text-align: center; background: #f4f4f4; }
.testi-header { margin-bottom: 40px; }
.testimonial-slider { max-width: 800px; margin: 0 auto; position: relative; min-height: 200px;}
.testimonial-slide { display: none; animation: fade 0.5s; }
.testimonial-slide.active { display: block; }
.testimonials blockquote { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-style: italic; color: #555; margin-bottom: 20px; }
@keyframes fade { from {opacity: .4} to {opacity: 1} }

.slider-controls { margin-top: 20px; }
.slider-controls button { background: none; border: 1px solid #00204c; color: #00204c; padding: 10px 15px; cursor: pointer; border-radius: 50%; font-size: 1.2rem; margin: 0 10px; transition: 0.3s; }
.slider-controls button:hover { background: #00204c; color: white; }

/* FOOTER */
footer { background-color: #1a3c5e; color: #ccc; padding: 60px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-info h3 { color: white; margin-bottom: 20px; }
.footer-info a { color: #C5A059; }
.footer-info i { width: 20px; text-align: center; margin-right: 10px; }
.bottom-bar { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; }

/* FORCE FOOTER HEADERS TO WHITE */
footer .footer-links h4, 
.footer-links h4 {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* SOCIAL ICONS */
.social-list { padding: 0; }
.social-list li { margin-bottom: 12px; }
.social-list a { 
    color: white; 
    font-size: 1rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
}
.social-list a i { 
    width: 30px; 
    height: 30px; 
    background: rgba(255,255,255,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    transition: 0.3s; 
}
.social-list a:hover i { background-color: #C5A059; }
.social-list a:hover { color: #C5A059; }

/* MOBILE */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; }
    .nav-links { flex-direction: column; align-items: center; gap: 10px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .services-card { padding: 30px; }
}

/* TEAM PAGE STYLES */
.team-hero {
    background: linear-gradient(rgba(0,32,76,0.8), rgba(0,32,76,0.8)), url('kirtinaslund4.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.bio-section { padding: 60px 0; background: white; border-bottom: 1px solid #eee; }
.bio-container { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; }
.bio-image img { width: 100%; border-radius: 5px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.bio-text h2 { color: #00204c; margin-bottom: 10px; font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.bio-role { color: #C5A059; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 20px; }
.bio-text p { margin-bottom: 15px; font-size: 1.1rem; color: #444; }
.bio-text h3 { margin-top: 30px; margin-bottom: 15px; color: #00204c; border-bottom: 2px solid #C5A059; display: inline-block; }
.bio-text ul { list-style: none; padding: 0; }
.bio-text li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.bio-text li:before { content: "•"; color: #C5A059; font-weight: bold; position: absolute; left: 0; }

@media (max-width: 768px) { .bio-container { grid-template-columns: 1fr; } }

/* SERVICES PAGE STYLES */
.service-header { background: #f4f4f4; padding: 80px 0; text-align: center; }
.service-header h1 { font-size: 3rem; margin-bottom: 20px; }
.service-detail { padding: 60px 0; border-bottom: 1px solid #eee; }
.service-detail:nth-child(even) { background-color: #fafafa; } 
.service-detail h2 { color: #00204c; margin-bottom: 20px; font-family: 'Playfair Display', serif; font-size: 2rem; }
.service-detail h2 i { color: #C5A059; margin-right: 15px; }
.service-detail p { font-size: 1.1rem; color: #444; max-width: 800px; }
.service-detail ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.service-detail li { padding-left: 25px; position: relative; font-size: 1.05rem; }
.service-detail li:before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #C5A059; position: absolute; left: 0; }
@media (max-width: 768px) { .service-detail ul { grid-template-columns: 1fr; } }

/* CONTACT PAGE STYLES */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 80px 0; }
.contact-info-box { background: #f9f9f9; padding: 40px; border-radius: 10px; }
.contact-item { margin-bottom: 25px; }
.contact-item i { color: #C5A059; font-size: 1.2rem; margin-right: 15px; width: 25px; text-align: center;}
.map-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin-top: 30px; }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.office-exterior { margin-top: 30px; width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Lato', sans-serif; }
.contact-form button { background-color: #00204c; color: white; border: none; padding: 15px 30px; cursor: pointer; font-weight: bold; }
.contact-form button:hover { background-color: #C5A059; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }