/* ================================================
   Ascend Advocacy — Authentic 2015 Template Style
   Bootstrap 3 era, Open Sans 14px, navbar-inverse,
   carousel slider, panels & wells, tighter spacing
   Color: Warm Blue #1565C0
   ================================================ */

/* --- Reset (minimal, 2015 style) --- */
*, *:before, *:after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.43;
    color: #333;
    background: #fff;
}

a {
    color: #1565C0;
    text-decoration: none;
    -webkit-transition: color .25s;
    transition: color .25s;
}
a:hover { color: #0D47A1; }

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* --- Container (Bootstrap 3: 1170px) --- */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Grid (float + flex fallback for equal height) --- */
.row {
    margin: 0 -15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.col {
    padding: 0 15px;
    min-height: 1px;
}

.col-2 { width: 50%; }
.col-3 { width: 33.333%; }

/* ========== TOP BAR ========== */
.top-bar {
    background: #263238;
    color: #B0BEC5;
    font-size: 12px;
    padding: 6px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 30px;
}

.top-bar .container {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}

.top-left,
.top-right {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.top-bar i {
    margin-right: 5px;
    color: #78909C;
}

.top-bar .sep {
    margin: 0 12px;
    color: #455A64;
}

/* ========== NAVBAR (navbar-inverse) ========== */
.navbar {
    background: #222;
    border-bottom: 1px solid #080808;
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 50px;
}

.navbar .container {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 50px;
}

.navbar-brand {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    -webkit-transition: color .25s;
    transition: color .25s;
    white-space: nowrap;
    margin-right: auto;
}

.navbar-brand:hover { color: #90CAF9; }

.navbar-nav {
    display: -webkit-box;
    display: flex;
    margin: 0;
}

.navbar-nav li { margin: 0; }

.navbar-nav a {
    display: block;
    color: #9d9d9d;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 14px;
    letter-spacing: .5px;
    -webkit-transition: color .25s, background .25s;
    transition: color .25s, background .25s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #fff;
    background: #1565C0;
}

.navbar-toggle {
    display: none;
    background: none;
    border: 1px solid #444;
    color: #aaa;
    font-size: 18px;
    padding: 6px 10px;
    border-radius: 3px;
    cursor: pointer;
}

/* ========== CAROUSEL ========== */
.carousel {
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    background: #111;
}

.carousel-inner {
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: none;
    position: relative;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: -webkit-linear-gradient(top, transparent, rgba(0,0,0,0.6));
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
}

.carousel-caption h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.carousel-caption p {
    color: #ddd;
    font-size: 15px;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-carousel {
    display: inline-block;
    background: #1565C0;
    color: #fff;
    padding: 8px 24px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: none;
    -webkit-transition: background .25s;
    transition: background .25s;
}

.btn-carousel:hover {
    background: #0D47A1;
    color: #fff;
}

.carousel-ctrl {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 40px;
    height: 60px;
    font-size: 20px;
    cursor: pointer;
    -webkit-transition: background .25s;
    transition: background .25s;
    z-index: 5;
}

.carousel-ctrl:hover { background: rgba(0,0,0,0.6); }

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 5;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    margin: 0 4px;
    cursor: pointer;
    -webkit-transition: background .25s;
    transition: background .25s;
}

.dot.active { background: #fff; }

/* ========== SECTIONS ========== */
.section {
    padding: 50px 0;
}

.section-alt {
    background: #f5f5f5;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #1565C0;
    margin: 8px auto 30px;
}

.lead {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* ========== INFO BLOCK (About columns) ========== */
.info-block {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 25px;
    height: 100%;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.section-alt .info-block {
    background: #fff;
}

.info-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-block h3 i {
    color: #1565C0;
    margin-right: 8px;
}

.info-block p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

/* --- Feature list (About - What Sets Us Apart) --- */
.feature-list li {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li > i {
    color: #1565C0;
    font-size: 16px;
    margin-right: 12px;
    margin-top: 2px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.feature-list span {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ========== SERVICE PANELS ========== */
.service-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    -webkit-transition: border-color .25s, -webkit-box-shadow .25s;
    transition: border-color .25s, box-shadow .25s;
}

.service-panel:hover {
    border-color: #90CAF9;
    -webkit-box-shadow: 0 4px 12px rgba(21,101,192,0.1);
    box-shadow: 0 4px 12px rgba(21,101,192,0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #1565C0;
    color: #fff;
    font-size: 28px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 0 auto 18px;
    -webkit-box-shadow: 0 3px 8px rgba(21,101,192,0.3);
    box-shadow: 0 3px 8px rgba(21,101,192,0.3);
}

.service-panel h3 {
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #333;
    margin-bottom: 12px;
}

.service-panel p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1565C0;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.read-more:hover {
    color: #0D47A1;
}

.read-more i {
    margin-left: 4px;
    -webkit-transition: margin-left .2s;
    transition: margin-left .2s;
}

.read-more:hover i {
    margin-left: 8px;
}

/* ========== FOUNDER ========== */
.founder-block {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: start;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.founder-initials {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #1565C0;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    margin-right: 25px;
    -webkit-box-shadow: 0 3px 8px rgba(21,101,192,0.3);
    box-shadow: 0 3px 8px rgba(21,101,192,0.3);
}

.founder-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.founder-role {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1565C0;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 15px;
}

.founder-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.founder-info p:last-child {
    margin-bottom: 0;
}

/* ========== CTA BAND ========== */
.cta-band {
    background: #1565C0;
    padding: 40px 0;
    color: #fff;
}

.cta-band h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cta-band p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 18px;
}

.btn-light {
    display: inline-block;
    background: #fff;
    color: #1565C0;
    padding: 10px 28px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    -webkit-transition: background .25s, color .25s;
    transition: background .25s, color .25s;
}

.btn-light:hover {
    background: #E3F2FD;
    color: #0D47A1;
}

.btn-light i { margin-left: 6px; }

/* ========== CONTACT PANELS ========== */
.contact-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 25px;
    margin-bottom: 20px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.contact-panel h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.contact-panel h3 i {
    color: #1565C0;
    margin-right: 8px;
}

/* --- Form row (2 inputs side by side) --- */
.form-row-2 {
    display: -webkit-box;
    display: flex;
    margin: 0 -8px;
}

.form-row-2 .form-group {
    -webkit-box-flex: 1;
    flex: 1;
    padding: 0 8px;
}

/* --- Contact table --- */
.contact-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-table td {
    padding: 10px 8px;
    vertical-align: top;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.contact-table tr:last-child td {
    border-bottom: none;
}

.contact-table td:first-child {
    width: 30px;
    color: #1565C0;
    font-size: 16px;
    text-align: center;
}

.contact-table a {
    color: #555;
}

.contact-table a:hover {
    color: #1565C0;
}

/* --- Photo panel (below contact info) --- */
.photo-panel {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.photo-panel img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.photo-label {
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.photo-label i {
    color: #1565C0;
    margin-right: 5px;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-block;
    background: -webkit-linear-gradient(#1E88E5, #1565C0);
    background: linear-gradient(#1E88E5, #1565C0);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
    -webkit-transition: background .25s;
    transition: background .25s;
}

.btn-primary:hover {
    background: -webkit-linear-gradient(#1976D2, #0D47A1);
    background: linear-gradient(#1976D2, #0D47A1);
}

.btn-primary i { margin-right: 6px; }

.btn-block { width: 100%; }

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color .15s, -webkit-box-shadow .15s;
    transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1565C0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px rgba(21,101,192,0.25);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px rgba(21,101,192,0.25);
}

.form-group textarea { resize: vertical; }

.form-status {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    min-height: 18px;
}
.form-status.success { color: #5cb85c; }
.form-status.error { color: #d9534f; }

/* ========== FOOTER ========== */
.footer {
    background: #222;
    padding: 35px 0 12px;
    color: #999;
    font-size: 13px;
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer p {
    line-height: 1.6;
    margin-bottom: 8px;
}

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

.footer ul a {
    color: #999;
    font-size: 13px;
}

.footer ul a:hover { color: #90CAF9; }

.footer-contact li {
    padding: 3px 0;
}

.footer-contact i {
    width: 18px;
    text-align: center;
    color: #78909C;
    margin-right: 6px;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 25px;
    padding-top: 12px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #666;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    background: #1565C0;
    color: #fff;
    border-radius: 3px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 14px;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s, visibility .3s;
    transition: opacity .3s, visibility .3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0D47A1;
    color: #fff;
}

/* ========== FADE IN ========== */
.fade-in {
    opacity: 0;
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
    -webkit-transition: opacity .5s, -webkit-transform .5s;
    transition: opacity .5s, transform .5s;
}

.fade-in.visible {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* ========== RESPONSIVE (desktop-first) ========== */

@media (max-width: 991px) {
    .carousel-slide img {
        height: 350px;
    }

    .carousel-caption h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .top-bar .container {
        -webkit-box-orient: vertical;
        flex-direction: column;
        gap: 2px;
    }

    .top-bar .sep {
        display: none;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        background: #222;
        -webkit-box-orient: vertical;
        flex-direction: column;
        border-top: 1px solid #333;
    }

    .navbar-nav.open {
        display: -webkit-box;
        display: flex;
    }

    .navbar-nav a {
        padding: 12px 15px;
        border-bottom: 1px solid #333;
    }

    .navbar-toggle {
        display: block;
    }

    .row {
        -webkit-box-orient: vertical;
        flex-direction: column;
    }

    .col-2,
    .col-3 {
        width: 100%;
    }

    .col {
        margin-bottom: 20px;
    }

    .carousel-slide img {
        height: 260px;
    }

    .carousel-caption {
        padding: 15px 20px;
    }

    .carousel-caption h2 {
        font-size: 20px;
    }

    .carousel-caption p {
        font-size: 13px;
    }

    .carousel-ctrl {
        width: 32px;
        height: 46px;
        font-size: 16px;
    }

    .section {
        padding: 35px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-band h3 {
        font-size: 22px;
    }

    .lead {
        font-size: 14px;
    }

    .founder-block {
        -webkit-box-orient: vertical;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        text-align: center;
    }

    .founder-initials {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .form-row-2 {
        -webkit-box-orient: vertical;
        flex-direction: column;
    }

    .form-row-2 .form-group {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        height: 200px;
    }

    .carousel-caption h2 {
        font-size: 17px;
    }
}
