/*
Theme Name: Skyline Legal
Theme URI: https://rgmediawebglobal.com/
Author: RG MEDIA & WEB
Author URI: https://rgmediawebglobal.com/
Description: Elite Corporate & Trial Law Firm WordPress Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skyline-legal
*/

/* CSS Reset & Sky Blue Variables Framework */
:root {
    --primary-sky: #E3F2FD;
    --accent-sky: #0288D1;
    --accent-sky-hover: #01579B;
    --sky-medium: #B3E5FC;
    --dark-slate: #263238;
    --text-dark: #37474F;
    --text-muted: #78909C;
    --bg-pure-white: #FFFFFF;
    --bg-light-tint: #F5fBFE;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light-tint);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Playfair Display', serif;
    color: var(--dark-slate);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.svg-icon {
    width: 32px;
    height: 32px;
    fill: var(--accent-sky);
    transition: var(--transition-smooth);
    vertical-align: middle;
}

/* Topbar */
.topbar {
    background-color: var(--primary-sky);
    color: var(--dark-slate);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(2, 136, 209, 0.1);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header & Nav */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(2, 136, 209, 0.05);
    padding: 20px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent-sky);
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link-item {
    color: var(--dark-slate);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-sky);
    transition: var(--transition-smooth);
}

.nav-link-item:hover::after, .nav-link-item.active::after {
    width: 100%;
}

.nav-link-item:hover {
    color: var(--accent-sky);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Showcase */
.hero-showcase {
    background: linear-gradient(135deg, var(--bg-pure-white) 0%, var(--primary-sky) 100%);
    color: var(--text-dark);
    padding: 100px 0 140px 0;
    position: relative;
    overflow: hidden;
}

.hero-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-text-content {
    padding-right: 20px;
}

.hero-badge {
    display: inline-block;
    border: 1px solid var(--accent-sky);
    color: var(--accent-sky);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    background-color: rgba(2, 136, 209, 0.05);
    border-radius: 30px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--accent-sky);
    font-style: italic;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.btn-sky {
    display: inline-block;
    background-color: var(--accent-sky);
    color: var(--bg-pure-white);
    padding: 15px 35px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--accent-sky);
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(2, 136, 209, 0.2);
    transition: var(--transition-smooth);
}

.btn-sky:hover {
    background-color: transparent;
    color: var(--accent-sky);
    box-shadow: 0 4px 14px rgba(2, 136, 209, 0);
}

/* Slider Track */
.slider-box {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(38, 50, 56, 0.08);
}

.slide-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide-item {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-sky);
}

.slider-nav-btns {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(2, 136, 209, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active, .slider-dot:hover {
    background-color: var(--accent-sky);
    transform: scale(1.2);
}

/* Floating Metrics */
.metric-cards-row {
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.metric-card-item {
    background-color: var(--bg-pure-white);
    padding: 35px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(2, 136, 209, 0.06);
    border: 1px solid rgba(2, 136, 209, 0.05);
    border-bottom: 4px solid var(--sky-medium);
    transition: var(--transition-smooth);
}

.metric-card-item:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-sky);
}

.metric-card-item .svg-icon {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 5px;
}

.metric-number {
    font-size: 3rem;
    color: var(--accent-sky);
    font-weight: 700;
    margin: 10px 0;
}

.metric-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Sections Global Layout */
.content-section {
    padding: 120px 0;
}

.section-headline-area {
    text-align: center;
    margin-bottom: 60px;
}

.section-mini-tag {
    color: var(--accent-sky);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-main-title {
    font-size: 2.5rem;
    color: var(--dark-slate);
    position: relative;
    padding-bottom: 15px;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-sky);
    border-radius: 2px;
}

/* About Section */
.about-split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-graphic-matrix {
    position: relative;
}

.about-main-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 8px solid var(--bg-pure-white);
    height: 450px;
}

.about-main-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-floating-accent-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-sky);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(2, 136, 209, 0.1);
    border-left: 5px solid var(--accent-sky);
    max-width: 240px;
}

.about-text-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-paragraph {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1rem;
}

.perk-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 35px;
}

.checklist-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Practices Area */
.practice-show-bg {
    background-color: #F0F8FC;
}

.practice-box-node {
    background-color: var(--bg-pure-white);
    padding: 45px 35px;
    border-radius: 8px;
    border: 1px solid rgba(2, 136, 209, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.practice-box-node:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(2, 136, 209, 0.08);
    border-color: var(--sky-medium);
}

.practice-box-node .practice-title-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 10px;
}

.practice-box-node h4 {
    font-size: 1.4rem;
    margin: 10px 0 15px 0;
}

.practice-box-node p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.practice-arrow-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-sky);
    align-self: flex-start;
    border: 1px solid rgba(2, 136, 209, 0.15);
    transition: var(--transition-smooth);
}

.practice-arrow-action .svg-icon {
    width: 20px !important;
    height: 20px !important;
    fill: var(--accent-sky);
}

.practice-box-node:hover .practice-arrow-action {
    background-color: var(--accent-sky);
    border-color: var(--accent-sky);
    transform: translateX(5px);
}

.practice-box-node:hover .practice-arrow-action .svg-icon {
    fill: var(--bg-pure-white);
}

/* Case Studies */
.case-card-link {
    background-color: var(--bg-pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
}

.case-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(2, 136, 209, 0.1);
}

.case-visual-box {
    height: 240px;
    overflow: hidden;
}

.case-visual-box img {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.case-card-link:hover .case-visual-box img {
    transform: scale(1.08);
}

.case-brief-info {
    padding: 30px;
}

.case-brief-info span {
    font-size: 0.8rem;
    color: var(--accent-sky);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.case-brief-info h4 {
    font-size: 1.3rem;
    margin: 10px 0 15px 0;
}

.case-brief-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Consultation Split */
.consult-split-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    background-color: var(--bg-pure-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(2, 136, 209, 0.05);
    border: 1px solid rgba(2, 136, 209, 0.05);
}

.consult-side-banner {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.consult-side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.consult-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(38, 50, 56, 0.1), rgba(38, 50, 56, 0.75));
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--bg-pure-white);
}

.consult-banner-overlay h3 {
    color: var(--bg-pure-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.consult-form-shell {
    padding: 60px;
    background-color: var(--bg-light-tint);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.form-span-full {
    grid-column: span 2;
}

.form-native-input {
    width: 100%;
    background-color: var(--bg-pure-white);
    border: 1px solid rgba(2, 136, 209, 0.15);
    color: var(--text-dark);
    padding: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.form-native-input:focus {
    outline: none;
    border-color: var(--accent-sky);
    box-shadow: 0 0 0 4px rgba(2, 136, 209, 0.1);
}

textarea.form-native-input {
    height: 140px;
    resize: none;
}

/* Attorneys & Leadership */
.attorney-profile-box {
    background-color: var(--bg-pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(2, 136, 209, 0.05);
    text-align: center;
}

.attorney-avatar-space {
    height: 300px;
    overflow: hidden;
}

.attorney-avatar-space img {
    width: 100%;
    height: 100%;
}

.attorney-details-tab {
    padding: 25px;
    background-color: var(--bg-pure-white);
    border-top: 1px solid rgba(2, 136, 209, 0.05);
}

.attorney-details-tab h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.attorney-details-tab span {
    font-size: 0.85rem;
    color: var(--accent-sky);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Insights & Editorial Blog Module */
.news-card-node {
    background-color: var(--bg-pure-white);
    border-radius: 8px;
    border: 1px solid rgba(2, 136, 209, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.news-card-node:hover {
    box-shadow: 0 15px 35px rgba(2, 136, 209, 0.06);
    transform: translateY(-3px);
}

.news-preview-img {
    height: 200px;
    overflow: hidden;
}

.news-preview-img img {
    width: 100%;
    height: 100%;
}

.news-content-area {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-content-area h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.news-meta-bottom {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(2, 136, 209, 0.05);
    padding-top: 15px;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Newsletter Block */
.news-signup-strip {
    background-color: var(--primary-sky);
    color: var(--dark-slate);
    padding: 60px 0;
    border-top: 1px solid rgba(2, 136, 209, 0.05);
}

.news-signup-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-input-box {
    display: flex;
    width: 100%;
    max-width: 500px;
}

.newsletter-input-box input {
    flex-grow: 1;
    padding: 16px;
    border: 1px solid rgba(2, 136, 209, 0.15);
    border-right: none;
    background-color: var(--bg-pure-white);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px 0 0 4px;
}

.newsletter-input-box input:focus {
    outline: none;
}

.newsletter-submit-btn {
    background-color: var(--accent-sky);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
    transition: var(--transition-smooth);
}

.newsletter-submit-btn:hover {
    background-color: var(--accent-sky-hover);
}

.newsletter-submit-btn .svg-icon {
    fill: var(--bg-pure-white);
}

/* Footer & Subsections */
.editorial-footer {
    background-color: var(--dark-slate);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: var(--bg-pure-white);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-sky);
}

.footer-about-text {
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding-right: 20px;
    line-height: 1.7;
}

.footer-social-wrapper {
    display: flex;
    gap: 12px;
}

.social-circle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-pure-white);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-circle-btn:hover {
    border-color: var(--accent-sky);
    background-color: var(--accent-sky);
    transform: translateY(-2px);
}

.footer-nav-list {
    list-style: none;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    font-size: 0.9rem;
}

.footer-nav-list a:hover {
    color: var(--accent-sky);
    padding-left: 5px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact-row .svg-icon {
    width: 18px;
    height: 18px;
    fill: var(--accent-sky);
    flex-shrink: 0;
    margin-top: 2px;
}

.hours-day-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-sky);
    margin-bottom: 2px;
    font-weight: 600;
}

.hours-time-value {
    font-size: 0.9rem;
    color: var(--bg-pure-white);
    margin-bottom: 12px;
}

.copyright-strip {
    background-color: #1a2327;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.copyright-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-top-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-sky);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.2);
    z-index: 999;
    transition: var(--transition-smooth);
}

.back-top-trigger:hover {
    background-color: var(--accent-sky-hover);
    transform: translateY(-3px);
}

.back-top-trigger .svg-icon {
    fill: var(--bg-pure-white);
    width: 20px;
    height: 20px;
}

/* Media Queries */
@media(max-width: 992px) {
    .hero-split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-text-content {
        padding-right: 0;
        text-align: center;
    }
    .about-split-view {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-floating-accent-box {
        right: 20px;
        bottom: -20px;
    }
    .consult-split-layout {
        grid-template-columns: 1fr;
    }
    .consult-side-banner {
        height: 250px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-pure-white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .nav-links-wrapper.open {
        display: flex;
    }
}

@media(max-width: 768px) {
    .topbar {
        display: none;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .form-span-full {
        grid-column: span 1;
    }
    .consult-form-shell {
        padding: 35px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .copyright-strip .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}