/*!
 * LawyerDiary Pro - Custom Styles
 * Based on Start Bootstrap Creative Theme
 * Updated with brand colors and modern design elements
 */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Merriweather,'Helvetica Neue',Arial,sans-serif;
}

hr {
    max-width: 50px;
    border-color: #3A6BD6;
    border-width: 3px;
}

hr.light {
    border-color: #fff;
}

a {
    color: #3A6BD6;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a:hover,
a:focus {
    color: #2851B8;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.bg-primary {
    background-color: #3A6BD6;
    color: #fff;
}

.bg-dark {
    color: #fff;
    background-color: #222;
}

.bg-grey-download {
    color: #fff;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    padding: 50px 0;
}

.bg-light {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.bg-warning {
    background-color: #fff3cd;
    padding: 80px 0;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: #3A6BD6;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(58, 107, 214, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #2851B8;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(58, 107, 214, 0.6);
}

.scroll-to-top i {
    margin: 0;
}

@media(max-width: 768px) {
    .scroll-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

.text-faded {
    color: rgba(255,255,255,.7);
}

.text-bold {
    font-weight: bold;
}

section {
    padding: 100px 0;
}

aside {
    padding: 50px 0;
}

.no-padding {
    padding: 0;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 40px;
}

/* Old User Notice Banner (Compact) */
.old-user-notice-banner {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #3A6BD6;
    border-left: 5px solid #3A6BD6;
    border-radius: 10px;
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 3px 15px rgba(58, 107, 214, 0.15);
}

.old-user-notice-banner .notice-icon {
    flex-shrink: 0;
    margin-right: 20px;
}

.old-user-notice-banner .notice-icon i {
    font-size: 48px;
    color: #3A6BD6;
}

.old-user-notice-banner .notice-content-banner {
    flex: 1;
}

.old-user-notice-banner h4 {
    color: #2851B8;
    margin: 0 0 10px 0;
    font-size: 22px;
}

.old-user-notice-banner p {
    color: #333;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.old-user-notice-banner .banner-link {
    color: #3A6BD6;
    text-decoration: underline;
    font-weight: bold;
}

.old-user-notice-banner .banner-link:hover {
    color: #2851B8;
}

@media(max-width: 768px) {
    .old-user-notice-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .old-user-notice-banner .notice-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Navigation */
.navbar-default {
    border-color: rgba(34,34,34,.05);
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    background-color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.navbar-icon {
    height: 32px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

@media(max-width: 767px) {
    .navbar-icon {
        height: 28px;
    }
}

.navbar-default .navbar-header .navbar-brand {
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    font-weight: 700;
    color: #3A6BD6;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.navbar-default .navbar-header .navbar-brand i {
    margin-right: 5px;
}

.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
    color: #2851B8;
}

.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
    color: #3A6BD6;
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
    color: #3A6BD6!important;
    background-color: transparent;
}

.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover {
    background-color: transparent;
}

@media(min-width:768px) {
    .navbar-default {
        border-color: rgba(255,255,255,.3);
        background-color: transparent;
    }

    .navbar-default .navbar-header .navbar-brand {
        color: rgba(255,255,255,.9);
    }

    .navbar-default .navbar-header .navbar-brand:hover,
    .navbar-default .navbar-header .navbar-brand:focus {
        color: #fff;
    }

    .navbar-default .nav > li>a,
    .navbar-default .nav>li>a:focus {
        color: rgba(255,255,255,.8);
    }

    .navbar-default .nav > li>a:hover,
    .navbar-default .nav>li>a:focus:hover {
        color: #fff;
    }

    .navbar-default.affix {
        border-color: rgba(34,34,34,.05);
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,.1);
    }

    .navbar-default.affix .navbar-header .navbar-brand {
        font-size: 16px;
        color: #3A6BD6;
    }

    .navbar-default.affix .navbar-header .navbar-brand:hover,
    .navbar-default.affix .navbar-header .navbar-brand:focus {
        color: #2851B8;
    }

    .navbar-default.affix .nav > li>a,
    .navbar-default.affix .nav>li>a:focus {
        color: #222;
    }

    .navbar-default.affix .nav > li>a:hover,
    .navbar-default.affix .nav>li>a:focus:hover {
        color: #3A6BD6;
    }
}

/* Header */
header {
    position: relative;
    width: 100%;
    min-height: auto;
    text-align: center;
    color: #fff;
    background-image: linear-gradient(rgba(58, 107, 214, 0.7), rgba(40, 81, 184, 0.8)), url(../img/Law-banner3.jpg);
    background-position: center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

header .header-content {
    position: relative;
    width: 100%;
    padding: 150px 15px 100px;
    text-align: center;
}

header .header-content .header-content-inner h1 {
    margin-top: 0;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 42px;
}

header .header-content .header-content-inner hr {
    margin: 30px auto;
    border-color: #fff;
}

header .header-content .header-content-inner p {
    margin-bottom: 50px;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.header-buttons {
    margin-top: 30px;
}

.header-buttons .btn {
    margin: 10px;
}

@media(min-width:768px) {
    header {
        min-height: 100vh;
    }

    header .header-content {
        position: absolute;
        top: 50%;
        padding: 0 50px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    header .header-content .header-content-inner {
        margin-right: auto;
        margin-left: auto;
        max-width: 1000px;
    }

    header .header-content .header-content-inner h1 {
        font-size: 52px;
    }

    header .header-content .header-content-inner p {
        font-size: 20px;
    }
}

/* Trial Badge */
.trial-badge {
    background: rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    display: inline-block;
}

.trial-badge i {
    font-size: 40px;
    margin-bottom: 10px;
}

.trial-badge h4 {
    margin: 10px 0 5px 0;
    color: #fff;
    font-weight: bold;
}

.trial-badge p {
    margin: 0;
    color: rgba(255,255,255,.9);
}

/* Section Heading */
.section-heading {
    margin-top: 0;
    font-weight: 700;
}

/* Service Box */
.service-box {
    margin: 50px auto 0;
    max-width: 400px;
}

@media(min-width:992px) {
    .service-box {
        margin: 20px auto 0;
    }
}

.service-box p {
    margin-bottom: 0;
}

.service-box i {
    margin-bottom: 20px;
}

.service-box h3 {
    margin-bottom: 15px;
    font-weight: 700;
}

/* Platform Boxes */
.platform-boxes {
    margin-top: 50px;
}

.platform-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px 20px;
    margin-bottom: 30px;
    transition: all .3s;
}

.platform-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    border-color: #3A6BD6;
}

.platform-box i {
    color: #3A6BD6;
    margin-bottom: 20px;
}

.platform-box h3 {
    margin-bottom: 15px;
    font-weight: 700;
}

.platform-box p {
    color: #666;
    margin-bottom: 20px;
}

.platform-features {
    margin-top: 60px;
}

.platform-features i {
    margin-bottom: 10px;
}

.platform-features p {
    margin-bottom: 10px;
}

/* Pricing Tables */
.pricing-tables {
    margin-top: 50px;
    margin-bottom: 50px;
}

.pricing-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 30px;
    transition: all .3s;
    position: relative;
}

.pricing-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.1);
}

.pricing-box.featured {
    border-color: #3A6BD6;
    border-width: 3px;
    box-shadow: 0 10px 30px rgba(58,107,214,.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3A6BD6;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px 20px;
    border-radius: 8px 8px 0 0;
}

.pricing-box.featured .pricing-header {
    background: linear-gradient(135deg, #3A6BD6 0%, #2851B8 100%);
}

.pricing-header h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
}

.price {
    font-size: 18px;
    margin-bottom: 10px;
}

.price .currency {
    font-size: 24px;
    vertical-align: top;
}

.price .amount {
    font-size: 48px;
    font-weight: bold;
}

.price .period {
    font-size: 18px;
}

.savings {
    background: rgba(255,255,255,.2);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
}

.pricing-features {
    list-style: none;
    padding: 30px 20px;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #3A6BD6;
    margin-right: 10px;
}

.pricing-box .btn {
    margin: 0 20px 30px 20px;
    width: calc(100% - 40px);
}

.trial-info {
    margin-top: 50px;
}

.trial-box {
    background: #f8f9fa;
    border: 2px dashed #3A6BD6;
    border-radius: 10px;
    padding: 30px;
}

.trial-box i {
    color: #3A6BD6;
    margin-bottom: 15px;
}

.trial-box h4 {
    margin-bottom: 10px;
    font-weight: 700;
}

/* Why Premium Section */
.why-premium-content {
    margin-top: 40px;
}

.premium-reason {
    padding: 30px;
    margin-bottom: 30px;
}

.premium-reason i {
    margin-bottom: 20px;
}

.premium-reason h4 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.future-features {
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
}

.future-features i {
    color: #fff;
    margin-bottom: 15px;
}

.future-features h4 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Old App Notice Box */
.old-app-notice-box {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
}

.old-app-notice-box h2 {
    color: #856404;
    margin-bottom: 30px;
}

.old-app-notice-box h4 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.old-app-notice-box .alert {
    margin: 30px 0;
}

.old-app-notice-box .alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 20px;
    border-radius: 5px;
}

.old-app-notice-box .alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 5px;
}

.old-app-notice-box .feature-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.old-app-notice-box .feature-list li {
    padding: 8px 0;
    font-size: 16px;
}

.old-app-notice-box .feature-list i {
    color: #28a745;
    margin-right: 10px;
}

.notice-content {
    color: #333;
}

.notice-content ol,
.notice-content ul {
    margin: 15px 0;
}

/* Portfolio/Screenshots */
.portfolio-box {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 650px;
}

.portfolio-box img {
    width: 100%;
    height: auto;
}

.portfolio-box .portfolio-box-caption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    background: rgba(58,107,214,.9);
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    padding: 0 15px;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

/* Download Section */
.download-section h2 {
    margin-bottom: 20px;
    font-weight: 700;
}

.download-section > p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 40px;
}

.download-buttons {
    margin-bottom: 40px;
}

.download-buttons .btn {
    margin: 10px;
}

.web-app-link {
    margin: 40px 0;
}

.web-app-link p {
    color: #ccc;
    margin-bottom: 20px;
}

.download-info {
    margin-top: 40px;
}

.download-info p {
    color: #aaa;
    font-size: 14px;
    margin: 5px 0;
}

/* Contact Section */
.contact-methods {
    margin-top: 50px;
}

.contact-methods i {
    margin-bottom: 20px;
}

.contact-methods h4 {
    margin-bottom: 10px;
    font-weight: 700;
}

.legal-links {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.legal-links a {
    margin: 0 10px;
    font-size: 14px;
}

/* Footer */
footer {
    padding: 30px 0;
}

.footer-content {
    color: #aaa;
}

.footer-content .copyright {
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    display: inline-block;
    margin: 0 10px;
    color: #aaa;
    font-size: 24px;
    transition: all .3s;
}

.footer-links a:hover {
    color: #3A6BD6;
}

.footer-content .tagline {
    margin: 15px 0 0 0;
    font-size: 13px;
    color: #888;
}

/* Text Color Classes */
.text-primary {
    color: #3A6BD6;
}

/* Utility Classes */
.no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

/* Buttons */
.btn {
    border: 0;
    border-radius: 300px;
    text-transform: uppercase;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    font-weight: 700;
}

.btn-xl {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-lg {
    padding: 12px 25px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-default {
    border: 2px solid #fff;
    color: #fff;
    background-color: transparent;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active {
    border-color: #fff;
    color: #222;
    background-color: #fff;
}

.btn-primary {
    border: 2px solid #3A6BD6;
    color: #fff;
    background-color: #3A6BD6;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
    border-color: #2851B8;
    color: #fff;
    background-color: #2851B8;
}

.btn-outline {
    border: 2px solid #ccc;
    color: #ccc;
    background-color: transparent;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: #fff;
    color: #fff;
    background-color: transparent;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn .badge {
    color: #fff;
    background-color: #222;
}

/* Selection Styles */
::-moz-selection {
    text-shadow: none;
    color: #fff;
    background: #3A6BD6;
}

::selection {
    text-shadow: none;
    color: #fff;
    background: #3A6BD6;
}

img::selection {
    color: #fff;
    background: 0 0;
}

img::-moz-selection {
    color: #fff;
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #3A6BD6;
}

/* Responsive Adjustments */
@media(max-width: 768px) {
    .pricing-box {
        margin-bottom: 30px;
    }
    
    .platform-box {
        margin-bottom: 20px;
    }
    
    .header-buttons .btn {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }
    
    .download-buttons .btn {
        display: block;
        margin: 15px auto;
        max-width: 300px;
    }
}
