/* ============================================================
   Site-specific CSS overrides
   Loaded AFTER the template's style.css and responsive.css
   so anything declared here wins.
   ============================================================ */

/* Footer social icons — template has rules for facebook/twitter/google-plus/linkedin
   but is missing one for Instagram, so the IG icon shows up unstyled. Match
   Facebook's circular treatment using Instagram's brand gradient. */
.social-links-two li.instagram a {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-box-shadow: 0px 0px 0px 4px rgba(220, 39, 67, 0.50);
    -ms-box-shadow:     0px 0px 0px 4px rgba(220, 39, 67, 0.50);
    box-shadow:         0px 0px 0px 4px rgba(220, 39, 67, 0.50);
}

/* ============================================================
   About-us page: 4 navigation cards (Philosophy / Approach / etc.)
   Styled as clickable cards with an icon, title, description and link.
   Equal heights via flexbox so cards line up regardless of copy length.
   ============================================================ */
.about-cards {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}
.about-cards > [class*="col-"] {
    display: flex;
    padding: 12px;
    margin-bottom: 0;
}
.about-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #ececef;
    border-radius: 14px;
    padding: 36px 26px 30px;
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    cursor: pointer;
}
.about-card:hover, .about-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    border-color: #fed7aa;
    color: inherit !important;
    text-decoration: none !important;
}
.about-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #f6921e;
    transition: background .25s ease, transform .25s ease;
}
.about-card:hover .about-card-icon {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    transform: scale(1.05);
}
.about-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}
.about-card p {
    margin: 0 0 20px;
    color: #6b7280;
    line-height: 1.65;
    font-size: 14.5px;
    flex: 1; /* pushes the link to the bottom of the card */
}
.about-card-link {
    color: #f6921e;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    display: inline-block;
    transition: transform .2s ease;
}
.about-card:hover .about-card-link {
    transform: translateX(3px);
}
@media (max-width: 480px) {
    .about-card { padding: 28px 22px 24px; }
    .about-card-icon { width: 60px; height: 60px; font-size: 24px; }
}

/* ============================================================
   Page content lists — the template's global reset removes bullets
   sitewide (ul,li{list-style:none}) which makes content lists look
   flat. Add proper orange-dot bullets back for content lists only.
   We target unclassed <ul>/<ol> inside .welcome-section so nav/footer/
   social lists (which all have classes) are left alone.
   ============================================================ */
section.welcome-section ul:not([class]),
section.welcome-section ol:not([class]) {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 18px 0 24px;
}
section.welcome-section ul:not([class]) > li,
section.welcome-section ol:not([class]) > li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    line-height: 1.75;
}
section.welcome-section ul:not([class]) > li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background: #f6921e;
    border-radius: 50%;
    transform: translateY(-50%);
}
/* Numbered lists keep numbers, but in the brand orange */
section.welcome-section ol:not([class]) { counter-reset: page-ol; }
section.welcome-section ol:not([class]) > li { counter-increment: page-ol; }
section.welcome-section ol:not([class]) > li::before {
    content: counter(page-ol) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    text-align: right;
    color: #f6921e;
    font-weight: 700;
}
/* Nested lists get a smaller, hollow bullet so they're visually distinct */
section.welcome-section ul:not([class]) > li > ul:not([class]) {
    margin: 8px 0 4px;
}
section.welcome-section ul:not([class]) > li > ul:not([class]) > li::before {
    width: 6px;
    height: 6px;
    background: transparent;
    border: 1.5px solid #f6921e;
}

/* ============================================================
   Contact page — modern card-based layout
   Two equal-height cards (Get in Touch + Send Message) plus a
   map card below.
   ============================================================ */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: -12px;
    margin-right: -12px;
}
.contact-col {
    display: flex;
    padding: 12px;
    margin-bottom: 0;
}
.contact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 38px 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    width: 100%;
}
@media (max-width: 600px) {
    .contact-card { padding: 28px 24px; border-radius: 10px; }
}
.contact-card-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}
.contact-card-sub {
    margin: 0 0 28px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

/* Contact info list (left card) */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6921e;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info-content { flex: 1; min-width: 0; }
.contact-info-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}
.contact-info-value {
    color: #111827;
    font-size: 15px;
    line-height: 1.55;
    word-wrap: break-word;
}
.contact-info-value a { color: #111827; text-decoration: none; }
.contact-info-value a:hover { color: #f6921e; }
.contact-info-action {
    display: inline-block;
    margin-top: 8px;
    color: #f6921e !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.contact-info-action:hover { color: #c2410c !important; }

/* Contact alert messages */
.contact-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.5;
}
.contact-alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}
.contact-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}
.contact-alert a { color: inherit; text-decoration: underline; }

/* Map card — same card treatment as the others */
.contact-map-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 36px 40px 30px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    margin-top: 30px;
}
@media (max-width: 600px) {
    .contact-map-card { padding: 26px 22px; border-radius: 10px; }
}
.contact-map-frame {
    border: 0;
    border-radius: 10px;
    display: block;
    width: 100%;
    height: 400px;
    margin-top: 14px;
}

/* ============================================================
   Booking form — modern, distinct, breathing room
   ============================================================ */
.bt-form-wrap {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 40px 42px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
@media (max-width: 600px) {
    .bt-form-wrap { padding: 28px 22px; border-radius: 10px; }
}

/* Slot callout at top of form */
.bt-slot-callout {
    background: #fff7ed;
    border-left: 4px solid #f6921e;
    padding: 16px 22px;
    border-radius: 8px;
    margin-bottom: 36px;
}
.bt-slot-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #92400e;
    font-weight: 700;
    margin-bottom: 5px;
}
.bt-slot-text {
    font-size: 18px;
    color: #111827;
    font-weight: 600;
    line-height: 1.4;
}
.bt-slot-change {
    background: none; border: 0;
    color: #f6921e;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    text-decoration: underline;
    font-family: inherit;
    font-weight: 500;
}
.bt-slot-change:hover { color: #c2410c; }

/* Section structure */
.bt-section { margin-bottom: 42px; }
.bt-section:last-of-type { margin-bottom: 0; }
.bt-section-title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}
.bt-section-subtitle {
    margin: 0 0 24px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
}

/* Row layout */
.bt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    margin-bottom: 22px;
}
.bt-row:last-child { margin-bottom: 0; }
.bt-row-half {
    grid-template-columns: 1fr 1fr;
}
.bt-row-half .bt-field { grid-column: 1; }
@media (max-width: 600px) {
    .bt-row, .bt-row-half { grid-template-columns: 1fr; gap: 20px; }
    .bt-row-half .bt-field { grid-column: auto; }
}

.bt-field { display: block; }
.bt-help {
    margin: 8px 0 0;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}
.bt-label-hint {
    color: #9ca3af;
    font-weight: 400;
    font-size: 13px;
    margin-left: 4px;
}

/* All form fields */
.bt-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    letter-spacing: 0.005em;
}
.bt-form input[type="text"],
.bt-form input[type="email"],
.bt-form input[type="tel"],
.bt-form select,
.bt-form textarea {
    width: 100%;
    padding: 13px 16px;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #111827;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s, background .15s;
    box-sizing: border-box;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}
.bt-form input::placeholder, .bt-form textarea::placeholder {
    color: #9ca3af;
}
.bt-form input:hover, .bt-form select:hover, .bt-form textarea:hover {
    border-color: #9ca3af;
}
.bt-form input:focus, .bt-form select:focus, .bt-form textarea:focus {
    outline: none;
    border-color: #f6921e;
    box-shadow: 0 0 0 3px rgba(246, 146, 30, 0.18);
    background: #fffefb;
}
.bt-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 42px;
    cursor: pointer;
}
.bt-form textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}
.req {
    color: #dc2626;
    font-weight: 600;
    margin-left: 2px;
}

/* Date dropdown groups (DOB / Month-Year) */
.bt-date-group { display: grid; gap: 10px; }
.bt-dob        { grid-template-columns: 1fr 1.4fr 1.1fr; }
.bt-month-year { grid-template-columns: 1.4fr 1.1fr; }

/* Child blocks — distinct, not flat */
.child-block {
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 90px);
    border: 1.5px solid #fed7aa;
    border-radius: 12px;
    padding: 28px 30px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
@media (max-width: 600px) {
    .child-block { padding: 22px 20px; border-radius: 10px; }
}
.child-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -4px 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #fed7aa;
}
.child-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.child-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f6921e;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.remove-child {
    background: transparent;
    border: 1.5px solid #fecaca;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}
.remove-child:hover { background: #fee2e2; border-color: #f87171; }

/* Day pills */
.days-of-care {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.day-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all .15s;
    margin: 0;
    user-select: none;
}
.day-pill input[type="checkbox"] { width: auto !important; margin: 0 !important; }
.day-pill:hover { border-color: #f6921e; background: #fffaf3; }
.day-pill.checked {
    background: #fff7ed;
    border-color: #f6921e;
    color: #92400e;
    box-shadow: 0 0 0 1px rgba(246, 146, 30, 0.15);
}
.select-all-days {
    background: #f3f4f6;
    border: 1.5px solid #d1d5db;
    color: #374151;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: all .15s;
    margin-left: 4px;
}
.select-all-days:hover { background: #e5e7eb; border-color: #9ca3af; }

/* Add child button */
.add-child-btn {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1.5px dashed #f6921e;
    color: #f6921e;
    padding: 16px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: all .15s;
    margin-top: 6px;
}
.add-child-btn:hover {
    background: #fff7ed;
    border-style: solid;
    box-shadow: 0 2px 8px rgba(246, 146, 30, 0.15);
}

/* Submit area */
.submit-row {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}
@media (min-width: 600px) {
    .submit-row { flex-direction: row; align-items: center; }
}
.submit-btn {
    background: #f6921e;
    color: #ffffff;
    border: 0;
    padding: 16px 36px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    box-shadow: 0 2px 8px rgba(246, 146, 30, 0.25);
}
@media (min-width: 600px) {
    .submit-btn { min-width: 220px; }
}
.submit-btn:hover {
    background: #ea7a04;
    box-shadow: 0 4px 14px rgba(246, 146, 30, 0.4);
    transform: translateY(-1px);
}
.submit-btn:active { transform: translateY(0); }
.bt-submit-note {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}
