/* Root Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #d4af37;
    --dark-blue: #0f172a;
    --light-blue: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

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

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

.btn-consultation {
    background: var(--secondary-color);
    color: var(--dark-blue);
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-consultation:hover {
    background: #c19b2e;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: var(--dark-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--white);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.contact-info i {
    margin-right: 5px;
}

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

.social-links a {
    color: var(--white);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--dark-blue);
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.nav-menu > li > a:not(.btn-consultation):hover,
.nav-menu > li > a.active {
    color: var(--primary-color);
}

.nav-menu > li > a:not(.btn-consultation)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu > li > a:not(.btn-consultation):hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 15px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(30, 58, 138, 0.85)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600') center/cover;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    margin-top: 140px;
    padding: 80px 0;
}

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

.hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-weight: 600;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.hero-feature i {
    font-size: 24px;
    color: var(--secondary-color);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Practice Areas Section */
.practice-areas {
    padding: 100px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.practice-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.practice-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 32px;
}

.practice-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.practice-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    color: var(--secondary-color);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.reason-item {
    text-align: center;
}

.reason-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color), #e6c654);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--dark-blue);
    font-size: 40px;
}

.reason-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 100px;
    color: var(--secondary-color);
    font-family: serif;
    opacity: 0.3;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--dark-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-column h3 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 20px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-column ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 13px;
    font-style: italic;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(30, 58, 138, 0.85)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600') center/cover;
    padding: 120px 0 80px;
    color: var(--white);
    text-align: center;
    margin-top: 140px;
}

.service-hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-content {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-main h2 {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.service-main h2:first-child {
    margin-top: 0;
}

.service-main p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-main ul {
    list-style: none;
    margin: 20px 0;
}

.service-main ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: var(--text-light);
}

.service-main ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

.service-sidebar {
    position: sticky;
    top: 160px;
    height: fit-content;
}

.sidebar-card {
    background: var(--light-gray);
    padding: 35px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.sidebar-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 15px;
}

.sidebar-card ul li a {
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sidebar-card ul li a:hover {
    background: var(--white);
    color: var(--primary-color);
    padding-left: 20px;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

.sidebar-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.sidebar-cta .btn {
    width: 100%;
}

/* Contact Page Styles */
.contact-info-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.contact-info-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-light);
}

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

.contact-form-section {
    padding: 80px 0;
}

.form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

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

.contact-form .btn {
    width: 100%;
    font-size: 18px;
}

.map-container h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* About Page Styles */
.about-intro {
    padding: 80px 0;
}

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

.about-intro-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.about-intro-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.values-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.value-card i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

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

/* Blog Page Styles */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: var(--dark-blue);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-grid,
    .form-map-grid,
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 600px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        max-height: 0;
        overflow: hidden;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .hero {
        margin-top: 120px;
        min-height: 600px;
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .practice-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2,
    .cta-content h2 {
        font-size: 32px;
    }
    
    .service-hero {
        margin-top: 120px;
        padding: 80px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}
