/* =========================================
   GLOBAL RESET
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f8f9fb;
    color: #1e1e2f;
    line-height: 1.6;
}

/* =========================================
   COLORS
========================================= */
:root {
    --navy: #0d1b2a;
    --navy-light: #1b263b;
    --gold: #d4af37;
    --text-light: #ffffff;
    --gray: #e6e6e6;
    --accent: #0d1b2a;
}

/* =========================================
   GENERAL STYLES
========================================= */

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}


/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn-gold {
    background: var(--gold);
    color: #000;
}

.btn-gold:hover {
    background: #f1d270;
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}


/* =========================================
   HEADER + NAVIGATION
========================================= */

.header {
    background: var(--navy);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h2 {
    color: var(--text-light);
    font-family: "Playfair Display", serif;
    font-size: 1.7rem;
}

.logo span {
    color: var(--gold);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu ul li a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
}

.nav-menu ul li a:hover {
    color: var(--gold);
}

.desktop-cta {
    display: inline-block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100%;
    background: var(--navy-light);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    transition: 0.4s ease;
    z-index: 9999;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    align-self: flex-end;
}

.mobile-cta {
    margin-top: 30px;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
}

.hero-bg img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.45);
    z-index: -2;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    width: 55%;
    color: #fff;
}

.hero-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #f2f2f2;
    margin-bottom: 28px;
    font-size: 1.15rem;
}

.hero-buttons {
    margin-bottom: 22px;
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat h3 {
    font-size: 2rem;
    color: var(--gold);
}

.stat p {
    color: #ddd;
}

.hero-image {
    position: relative;
    width: 40%;
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
}

.hero-badge-card {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: center;
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    position: relative;
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
}

.about-experience {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gold);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.about-text {
    flex: 1.2;
}

.signature {
    margin-top: 20px;
    max-width: 200px;
}


/* =========================================
   SERVICES
========================================= */

/* Section spacing */
.py-120 {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* CARD DESIGN */
.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all .35s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border-color: #d5b567; /* gold tone */
}

/* ICON BOX */
.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f2e9;
    border-radius: 50%;
    font-size: 28px;
    color: #c7a148;
    transition: .3s ease;
}

.service-card:hover .icon-box {
    background: #c7a148;
    color: #fff;
}

/* TEXT */
.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Banner background */
.services-banner {
    background-image: url('your-slider-image.jpg'); /* Replace with your actual image */
    background-size: cover;
    background-position: center;
    height: 50vh;
    width: 100%;
    border-radius: 20px;
    margin-bottom: 60px;
    opacity: 0.35;
}

/* Dark theme section */
.dark-section {
    background: #0e0e0e;
    color: #fff;
}

.section-header h2 {
    color: #f6d06f;
}

.section-header p {
    color: #bdbdbd;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 45px;
}

/* Card */
.service-card {
    background: #161616;
    padding: 50px 35px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #2b2b2b;
    transition: .35s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: #f6d06f;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}

/* Numbered steps */
.step-number {
    position: absolute;
    top: 18px;
    left: 25px;
    font-size: 32px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
}

/* Icon box */
.icon-box {
    width: 75px;
    height: 75px;
    background: rgba(246, 208, 111, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: #f6d06f;
    transition: .3s ease;
}

.service-card:hover .icon-box {
    background: #f6d06f;
    color: #000;
}

/* Text */
.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
}

.service-card p {
    font-size: 16px;
    color: #cfcfcf;
}



/* =========================================
   LEAD ATTORNEY FEATURE - PREMIUM
========================================= */

.attorney-bg {
    position: relative;
    background: linear-gradient(135deg, #fdf6f0 0%, #ffffff 100%);
    padding: 100px 0;
    overflow: hidden;
}

.attorney-bg::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: rgba(255, 215, 0, 0.1); /* soft gold */
    transform: rotate(45deg);
    border-radius: 20px;
    z-index: 1;
}

.attorney-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.attorney-photo {
    flex: 1 1 300px;
    max-width: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.attorney-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.attorney-photo:hover {
    transform: scale(1.03);
}

.attorney-details {
    flex: 2 1 400px;
}

.attorney-details .subheading {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.attorney-details h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--navy);
}

.attorney-details p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.attorney-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.attorney-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #333;
}

.attorney-highlights i {
    color: var(--gold);
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .attorney-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .attorney-details {
        flex: 1 1 100%;
    }
}




/* Animate elements */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-animate].animate {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="slide-in-left"] {
    transform: translateX(-50px);
}

[data-animate="slide-in-left"].animate {
    transform: translateX(0);
}

[data-animate="fade-in-up"] {
    transform: translateY(30px);
}

[data-animate="fade-in-up"].animate {
    transform: translateY(0);
}


/* =========================================
   TESTIMONIALS
========================================= */

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-card p {
    font-size: 1.15rem;
    margin: 20px 0;
}

.client-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.client-info img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}


/* =========================================
   BLOG / RESOURCES (Enhanced)
========================================= */

.resources {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

/* BLOG CARD */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-top: 4px solid var(--gold);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 32px rgba(0,0,0,0.12);
}

/* Image */
.blog-img {
    overflow: hidden;
    height: 210px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

/* Content */
.blog-content {
    padding: 25px;
}

.blog-content .tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(190, 158, 103, 0.15);
    color: var(--gold);
    font-size: 0.8rem;
    border-radius: 4px;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--navy);
    line-height: 1.3;
}

.blog-content p {
    color: #6d6d6d;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

/* Read More */
.read-more {
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: 0.3s;
}

.read-more i {
    margin-left: 6px;
    transition: 0.3s;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* Center Button */
.center-btn {
    text-align: center;
    margin-top: 45px;
}

/* Mobile */
@media (max-width: 600px) {
    .blog-img {
        height: 180px;
    }
}


/* =========================================
   CONTACT
========================================= */

/* =========================================
   CONTACT SECTION (Enhanced)
========================================= */

.contact {
    padding: 100px 0;
    background: #f6f8fc;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.08);
}

/* Titles */
.section-title {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #6d6d6d;
    margin-bottom: 25px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-grid input,
.form-grid select {
    width: 100%;
}

.contact-form textarea,
.form-grid input,
.form-grid select {
    padding: 14px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s border ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--gold);
}

.full-width {
    width: 100%;
    margin-top: 20px;
}

/* Contact Info */
.contact-info .contact-heading {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.contact-info .contact-tagline {
    font-size: 0.95rem;
    color: #6d6d6d;
    margin-bottom: 30px;
}

.info-block {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.info-block i {
    font-size: 1.4rem;
    color: var(--gold);
}

.info-block h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--navy);
}

/* Action Buttons */
.contact-actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
}

.btn.btn-outline {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold);
    transition: 0.3s ease;
}

.btn.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

/* Mobile */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   FOOTER
========================================= */

/* =========================================
   FOOTER (Enhanced)
========================================= */

.footer {
    background: var(--navy);
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: 4px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}

.footer-logo span {
    color: var(--gold);
}

.footer-desc {
    margin: 15px 0 20px;
    color: #d2d2d2;
    font-size: 0.95rem;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.12);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: var(--gold);
    color: #000;
}

.footer-heading {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links li a {
    text-decoration: none;
    color: #d7d7d7;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact li {
    color: #d7d7d7;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--gold);
    margin-right: 10px;
}

.footer-newsletter-form {
    display: flex;
    margin-top: 10px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: 5px 0 0 5px;
    border: none;
    outline: none;
}

.footer-newsletter-form button {
    background: var(--gold);
    border: none;
    color: #000;
    padding: 0 18px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

.footer-newsletter-form button:hover {
    background: #f3d77f;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    color: #c9c9c9;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.footer-legal {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #a6a6a6;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 30px;
    }
}


/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        width: 100%;
    }
    .hero-image {
        width: 80%;
        max-width: 330px;
    }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .desktop-cta { display: none; }
    .mobile-menu-btn { display: block; }

    .about-wrapper,
    .attorney-wrapper,
    .contact-wrapper {
        flex-direction: column;
    }
}
