/**
 * Gulf Coast Dock Masters - WordPress Theme Overrides
 * These styles ensure WordPress-specific elements integrate with the original design.
 *
 * @package GCDM
 */

/* ============================================
   WordPress Core Overrides
   ============================================ */

/* WordPress admin bar spacing */
body.admin-bar .main-header {
    top: 32px;
}

body.admin-bar .sticky-header.animated.slideInDown {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .main-header {
        top: 46px;
    }
    body.admin-bar .sticky-header.animated.slideInDown {
        top: 46px;
    }
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 15px;
}

.wp-caption-text {
    font-size: 13px;
    color: #777;
    text-align: center;
    padding: 5px 0;
}

/* WordPress Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.gallery-item {
    padding: 5px;
    box-sizing: border-box;
}

.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33.33%; }
.gallery-columns-4 .gallery-item { width: 25%; }

/* WordPress block editor styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Gravity Forms Integration
   ============================================ */

/* Global Gravity Forms Reset */
.gform_wrapper.gravity-theme {
    margin: 0 !important;
}

.gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 12px !important;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 6px !important;
}

/* All form inputs */
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: none !important;
    -webkit-appearance: none;
}

.gform_wrapper.gravity-theme input:focus,
.gform_wrapper.gravity-theme select:focus,
.gform_wrapper.gravity-theme textarea:focus {
    border-color: #f7941d !important;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1) !important;
    outline: none !important;
}

.gform_wrapper.gravity-theme textarea {
    min-height: 120px !important;
    resize: vertical;
}

.gform_wrapper.gravity-theme select {
    height: auto !important;
    cursor: pointer;
}

/* Submit Buttons */
.gform_wrapper.gravity-theme .gform_button,
.gform_wrapper.gravity-theme input[type="submit"],
.gform_wrapper.gravity-theme .gform_footer input[type="submit"] {
    display: inline-block !important;
    width: 100% !important;
    padding: 14px 30px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
}

/* Homepage Quick Contact Form - inside dark box */
.book-form-box .gform_wrapper.gravity-theme .gform_button,
.book-form-box .gform_wrapper.gravity-theme input[type="submit"] {
    background: linear-gradient(135deg, #f7941d, #e8830c) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3) !important;
}

.book-form-box .gform_wrapper.gravity-theme .gform_button:hover {
    background: linear-gradient(135deg, #e8830c, #d4720a) !important;
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4) !important;
    transform: translateY(-1px);
}

/* Sidebar Quote Form */
.leave-comments .gform_wrapper.gravity-theme .gform_button,
.leave-comments .gform_wrapper.gravity-theme input[type="submit"] {
    background: linear-gradient(135deg, #0a3d62, #0d2b4e) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.3) !important;
}

.leave-comments .gform_wrapper.gravity-theme .gform_button:hover {
    background: linear-gradient(135deg, #0d2b4e, #0a1628) !important;
    box-shadow: 0 6px 20px rgba(10, 61, 98, 0.4) !important;
    transform: translateY(-1px);
}

/* Contact Page Form */
.default-form .gform_wrapper.gravity-theme .gform_button,
.default-form .gform_wrapper.gravity-theme input[type="submit"],
body .gform_wrapper.gravity-theme .gform_button,
body .gform_wrapper.gravity-theme input[type="submit"],
body .gform_wrapper input[type="submit"],
body .gform_wrapper .gform_footer .gform_button {
    background: linear-gradient(135deg, #0a3d62, #0d2b4e) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.3) !important;
    border-radius: 4px !important;
    border: none !important;
    padding: 14px 30px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
}

body .gform_wrapper.gravity-theme .gform_button:hover,
body .gform_wrapper.gravity-theme input[type="submit"]:hover,
body .gform_wrapper input[type="submit"]:hover,
body .gform_wrapper .gform_footer .gform_button:hover {
    background: linear-gradient(135deg, #0d2b4e, #0a1628) !important;
    box-shadow: 0 6px 20px rgba(10, 61, 98, 0.4) !important;
    transform: translateY(-1px);
}

/* Homepage quick contact form - orange button */
.book-form-box .gform_wrapper.gravity-theme .gform_button,
.book-form-box .gform_wrapper.gravity-theme input[type="submit"],
.book-form-box .gform_wrapper input[type="submit"] {
    background: linear-gradient(135deg, #f7941d, #e8830c) !important;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3) !important;
}

.book-form-box .gform_wrapper.gravity-theme .gform_button:hover,
.book-form-box .gform_wrapper input[type="submit"]:hover {
    background: linear-gradient(135deg, #e8830c, #d4720a) !important;
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4) !important;
}

/* Validation errors */
.gform_wrapper.gravity-theme .gfield_error input,
.gform_wrapper.gravity-theme .gfield_error select,
.gform_wrapper.gravity-theme .gfield_error textarea {
    border-color: #dc3545 !important;
}

.gform_wrapper.gravity-theme .gfield_error .gfield_label {
    color: #dc3545 !important;
}

.gform_wrapper.gravity-theme .validation_message {
    color: #dc3545 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    padding: 4px 0 !important;
}

.gform_wrapper.gravity-theme .validation_error {
    border: 1px solid #dc3545 !important;
    background: #fff5f5 !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    color: #dc3545 !important;
    margin-bottom: 20px !important;
}

/* Confirmation success message */
.gform_confirmation_message,
.gcdm-success {
    background: #e8f5e9 !important;
    border: 1px solid #4caf50 !important;
    border-radius: 6px !important;
    padding: 20px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    color: #2e7d32 !important;
    text-align: center !important;
    line-height: 1.6 !important;
}

/* Footer area spacing */
.gform_wrapper.gravity-theme .gform_footer {
    margin-top: 10px !important;
    padding: 0 !important;
}

/* Required asterisk */
.gform_wrapper.gravity-theme .gfield_required {
    color: #dc3545 !important;
}

/* Placeholder text */
.gform_wrapper.gravity-theme input::placeholder,
.gform_wrapper.gravity-theme textarea::placeholder {
    color: #999 !important;
    font-style: italic;
}

/* ============================================
   Breadcrumb Styling
   ============================================ */

.bread-crumb li {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-transform: none !important;
}

.bread-crumb li::after {
    content: ' / ';
    margin: 0 5px;
}

.bread-crumb li:last-child::after {
    content: '';
}

.bread-crumb li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bread-crumb li a:hover {
    color: #f7941d;
}

/* ============================================
   WP PageNavi Pagination
   ============================================ */

.wp-pagenavi {
    text-align: center;
    padding: 30px 0;
}

.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
    background: #0a3d62;
    color: #fff;
    border-color: #0a3d62;
}

/* Default WordPress pagination */
.nav-links {
    text-align: center;
    padding: 30px 0;
}

.nav-links .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
    background: #0a3d62;
    color: #fff;
    border-color: #0a3d62;
}

/* ============================================
   Post Navigation
   ============================================ */

.post-navigation {
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.post-navigation .nav-title {
    font-size: 14px;
    color: #333;
}

/* ============================================
   Schema & SEO
   ============================================ */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   Styled List (Service Detail Pages)
   ============================================ */

.styled-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.styled-list li {
    position: relative;
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    line-height: 1.7;
}

.styled-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 12px;
    color: #0a3d62;
    font-size: 12px;
}

.styled-list li strong {
    color: #0a3d62;
}

/* ============================================
   Caption Images (Gallery in Service Pages)
   ============================================ */

.caption-image {
    margin-bottom: 25px;
    position: relative;
}

.caption-image img {
    width: 100%;
    height: auto;
    display: block;
}

.caption-image .image-title {
    position: relative !important;
    display: block !important;
    right: auto !important;
    bottom: auto !important;
    background: none !important;
    padding: 10px 0 0 !important;
    font-size: 13px;
    font-weight: 600;
    color: #061138;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

/* Sidebar styling */
@media only screen and (min-width: 992px) {
    .sidebar-page-container .sidebar-side {
        position: relative;
    }
}

.sidebar-page-container .sidebar {
    background: none;
    padding: 0;
}

.sidebar-page-container .sidebar:before {
    display: none !important;
}

.sidebar-page-container .blog-sidebar {
    padding-left: 0 !important;
}


/* Each sidebar widget as a card */
.sidebar-page-container .sidebar .leave-comments,
.sidebar-page-container .sidebar .sidebar-widget,
.sidebar-page-container .sidebar .widget {
    background: #f7f8fa;
    padding: 25px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Sidebar titles */
.sidebar .sidebar-title h4,
.sidebar .widget-inner .sidebar-title h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #061138;
    padding-bottom: 12px;
    border-bottom: 2px solid #f15b29;
    margin-bottom: 20px;
}

/* Search widget */
.sidebar .search-widget .form-group {
    position: relative;
}

.sidebar .search-widget input[type="search"] {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.sidebar .search-widget button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: #f15b29;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
}

/* Category list */
.sidebar .blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .blog-cat-list li {
    border-bottom: 1px solid #e8e8e8;
}

.sidebar .blog-cat-list li:last-child {
    border-bottom: none;
}

.sidebar .blog-cat-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sidebar .blog-cat-list li a:hover,
.sidebar .blog-cat-list li.active a {
    color: #f15b29;
    text-decoration: none;
}

.sidebar .blog-cat-list li a .count {
    color: #999;
    font-size: 13px;
}

/* Recent posts */
.sidebar .recent-post-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
}

.sidebar .recent-post-item:last-child {
    border-bottom: none;
}

.sidebar .recent-post-item .post-thumb {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
}

.sidebar .recent-post-item .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar .recent-post-item .post-info {
    flex: 1;
}

.sidebar .recent-post-item .post-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.sidebar .recent-post-item .post-date .icon {
    color: #f15b29;
    margin-right: 4px;
}

.sidebar .recent-post-item h5 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.sidebar .recent-post-item h5 a {
    color: #061138;
    transition: color 0.3s ease;
}

.sidebar .recent-post-item h5 a:hover {
    color: #f15b29;
    text-decoration: none;
}

/* Archives list */
.sidebar .blog-archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .blog-archives-list li {
    border-bottom: 1px solid #e8e8e8;
}

.sidebar .blog-archives-list li:last-child {
    border-bottom: none;
}

.sidebar .blog-archives-list li a {
    display: block;
    padding: 10px 0;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sidebar .blog-archives-list li a:hover {
    color: #f15b29;
    text-decoration: none;
}

/* CTA widget */
.sidebar .cta-widget .cta-box {
    background: #0a3d62 !important;
    text-align: center;
    padding: 30px 20px !important;
    border-radius: 6px;
}

.sidebar .cta-widget .cta-icon {
    font-size: 40px;
    color: #f15b29;
    margin-bottom: 15px;
}

.sidebar .cta-widget h4 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.sidebar .cta-widget p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sidebar .cta-widget .cta-phone a {
    color: #f7941d;
    font-size: 22px;
    font-weight: 700;
}

.sidebar .cta-widget .cta-btn {
    margin-top: 15px;
}

.sidebar .cta-widget .cta-btn .theme-btn {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.sidebar .cta-widget .cta-btn .theme-btn .btn-title {
    background: #f15b29 !important;
    color: #fff !important;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border: none !important;
    transition: all 0.3s ease !important;
}

.sidebar .cta-widget .cta-btn .theme-btn:hover .btn-title {
    background: #f7941d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 91, 41, 0.4);
}

.sidebar .cta-widget .cta-btn .theme-btn:hover {
    background: #d94e1f;
    text-decoration: none;
}

@media only screen and (max-width: 991px) {
    .sidebar-page-container .sidebar-side {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .page-banner h1 {
        font-size: 30px;
    }

    .about-section .upper-row .image-box {
        margin-bottom: 20px;
    }
}

/* ============================================
   Contact Page - Address Boxes
   ============================================ */

.contact-address-section {
    padding: 60px 0;
}

.contact-address-section .address-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.contact-address-section .address-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-address-section .address-icon {
    margin-bottom: 20px;
}

.contact-address-section .address-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.contact-address-section .address-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #061138;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-address-section .address-sub {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 20px;
}

.contact-address-section .address-details {
    margin-bottom: 25px;
    min-height: 60px;
}

.contact-address-section .address-details p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.contact-address-section .address-cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #061138;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #061138;
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-address-section .address-cta:hover {
    color: #f15b29;
    border-color: #f15b29;
    text-decoration: none;
}

/* Contact Intro (heading + content above form) */
.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #061138;
    margin-bottom: 15px;
}

.contact-intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Contact Page - Centered Form
   ============================================ */

.mx-auto {
    margin-left: auto;
    margin-right: auto;
    float: none;
}

#contact-form .leave-comments {
    background: #f7f8fa;
    padding: 40px 40px;
    border-radius: 8px;
}

@media only screen and (max-width: 767px) {
    #contact-form .leave-comments {
        padding: 25px 20px;
    }
}

/* ============================================
   Contact Page - Responsive
   ============================================ */

@media only screen and (max-width: 991px) {
    .contact-address-section {
        padding: 40px 0;
    }

    .contact-address-section .address-box {
        padding: 25px 20px;
    }
}

@media only screen and (max-width: 767px) {
    .contact-address-section {
        padding: 20px 0;
    }

    .contact-address-section .col-lg-3,
    .contact-address-section .col-md-6,
    .contact-address-section .col-sm-6 {
        margin-bottom: 20px;
    }

    .contact-address-section .address-box {
        margin-bottom: 0;
        padding: 25px 20px;
    }

    .contact-address-section .address-box h4 {
        font-size: 18px;
    }

    .contact-address-section .address-details {
        min-height: auto;
    }

    .contact-intro h2 {
        font-size: 24px;
    }

    .contact-intro-text {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .contact-address-section .address-box {
        padding: 20px 15px;
    }
}

/* ============================================
   Fix font paths for WordPress
   ============================================ */

/* The original CSS references fonts relative to the css/ directory.
   Since our assets structure mirrors the original, paths should work. */

/* Blog listing - equal image sizes */
.news-block-six .image-box {
    position: relative;
    overflow: hidden;
}

.news-block-six .image-box .image {
    height: 350px;
    overflow: hidden;
}

.news-block-six .image-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 991px) {
    .news-block-six .image-box .image {
        height: 280px;
    }
}

@media only screen and (max-width: 575px) {
    .news-block-six .image-box .image {
        height: 220px;
    }
}

/* Clean up spacing and decorative lines on blog posts */
.news-block-six .content-box .inner {
    padding-left: 0 !important;
    min-height: auto !important;
    border-left: none !important;
}

.news-block-six .content-box .content:before,
.news-block-six .content .text:before {
    display: none !important;
}

/* ============================================
   Blog Single - FAQ Section
   ============================================ */

.blog-faq-wrapper {
    padding: 50px 0 60px;
    background: #f7f8fa;
    border-top: 1px solid #e0e0e0;
}

@media only screen and (max-width: 767px) {
    .blog-faq-wrapper {
        padding: 30px 0 40px;
    }
}

.blog-faq-section {
    margin-top: 0;
    padding-top: 0;
}

.blog-faq-intro {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

.blog-faq-section .faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.blog-faq-section .faq-item.active .faq-question {
    background: #f15b29;
}

.blog-faq-section .faq-item.active .faq-question h5 {
    color: #fff;
}

.blog-faq-section .faq-item.active .faq-question .faq-icon {
    color: #fff;
}

.blog-faq-section .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-faq-section .faq-question h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #061138;
}

.blog-faq-section .faq-question .faq-icon {
    color: #f15b29;
    font-size: 14px;
    flex-shrink: 0;
    margin-left: 15px;
}

.blog-faq-section .faq-answer {
    display: none;
    padding: 15px 20px 20px;
}

.blog-faq-section .faq-answer .text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

@media only screen and (max-width: 767px) {
    .blog-faq-section h2 {
        font-size: 22px;
    }

    .blog-faq-section .faq-question h5 {
        font-size: 14px;
    }
}

/* ============================================
   Header Top Bar - CTA Left, Social Right
   ============================================ */

@media only screen and (max-width: 991px) {
    .header-top-one .my-account {
        width: auto !important;
        text-align: left !important;
        position: static !important;
        background: none !important;
        display: inline-block !important;
        padding: 11px 15px !important;
        height: auto !important;
    }

    .main-header .header-top-one .top-right {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        background: #f15b29 !important;
        float: none !important;
        text-align: left !important;
    }

    .header-top-one .top-bar-social {
        margin-left: auto !important;
        padding-right: 15px !important;
    }

    .header-top-one .top-bar-social ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        gap: 18px !important;
        align-items: center !important;
    }

    .header-top-one .top-bar-social ul li {
        display: inline-block !important;
        margin: 0 !important;
        float: none !important;
    }

    .header-top-one .top-bar-social ul li::before {
        display: none !important;
    }

    .header-top-one .top-bar-social ul li a {
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .header-top-one .top-bar-social ul li a:hover {
        opacity: 0.8;
    }
}

/* Desktop: hide top-bar-social (icons already in nav) */
@media only screen and (min-width: 992px) {
    .top-bar-social {
        display: none !important;
    }
}

/* Nav bar social icons - fit all 4 without overflow */
.header-style-one .other-links .social-links {
    margin-left: 15px;
}

.header-style-one .other-links .social-links-one li {
    margin-left: 6px;
}

.header-style-one .other-links .social-links-one li a {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 13px;
}

@media only screen and (max-width: 1699px) {
    .header-style-one .other-links .social-links {
        margin-left: 10px;
    }

    .header-style-one .other-links .social-links-one li {
        margin-left: 5px;
    }

    .header-style-one .other-links .social-links-one li a {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 12px;
    }
}

/* ============================================
   About Section - Quick Contact floats into Hero
   ============================================ */

.about-section {
    position: relative;
}

.about-section {
    padding: 40px 0 20px !important;
}

.about-section .left-col .inner {
    padding: 0 !important;
}

.about-section .right-col .book-form-box {
    margin-top: -180px;
    position: relative;
    z-index: 10;
    background: #0a3d62;
    padding: 35px 30px;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.about-section .right-col .book-form-box .title h4 {
    color: #fff;
}

/* Form labels visible on dark blue background */
body .about-section .book-form-box .gform_wrapper.gravity-theme .gfield_label,
body .book-form-box .gform_wrapper.gravity-theme .gfield_label,
body .book-form-box .gform_wrapper .gfield_label,
body .book-form-box .gform_wrapper label,
body .book-form-box label,
body .book-form-box .gfield_label * {
    color: #ffffff !important;
}

body .book-form-box .gform_wrapper.gravity-theme .gfield_required,
body .book-form-box .gfield_required,
body .book-form-box .gfield_required * {
    color: #f7941d !important;
}

/* Book Form - change red validation colors to orange (only this form) */
body .book-form-box .gform_wrapper.gravity-theme .validation_message,
body .book-form-box .gform_wrapper .validation_message,
body .book-form-box .gform_wrapper.gravity-theme .gfield_validation_message,
body .book-form-box .gform_wrapper .gfield_validation_message,
body .book-form-box .gform_wrapper.gravity-theme .gfield_description.validation_message,
body .book-form-box .validation_error,
body .book-form-box .gform_wrapper.gravity-theme .validation_error,
body .book-form-box .gform_wrapper .gform_validation_errors,
body .book-form-box .gform_wrapper .gform_validation_errors h2,
body .book-form-box .gform_wrapper .gform_validation_errors * {
    color: #f7941d !important;
    border-color: #f7941d !important;
}

body .book-form-box .gform_wrapper .gform_validation_errors {
    background: rgba(247, 148, 29, 0.1) !important;
    border: 1px solid #f7941d !important;
}

body .book-form-box .gform_wrapper.gravity-theme .gfield_error input,
body .book-form-box .gform_wrapper.gravity-theme .gfield_error select,
body .book-form-box .gform_wrapper.gravity-theme .gfield_error textarea {
    border-color: #f7941d !important;
}

body .book-form-box .gform_wrapper.gravity-theme .gfield_error .gfield_label {
    color: #ffffff !important;
}

@media only screen and (max-width: 991px) {
    .about-section {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .about-section .right-col .book-form-box {
        margin-top: 30px;
        padding: 25px 20px;
    }
}

@media only screen and (max-width: 767px) {
    .about-section {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .about-section .right-col .book-form-box {
        margin-top: 20px;
        padding: 20px 15px;
    }

    .services-section-two {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .services-section .title-box {
        padding: 40px 0;
    }
}

/* ============================================
   Equal Section Spacing
   ============================================ */

.about-section {
    padding-bottom: 20px !important;
}

.services-section-two {
    padding-top: 30px !important;
    padding-bottom: 60px !important;
}

.services-section .title-box {
    padding: 80px 0;
}

/* ============================================
   Gallery - Full Width, Larger Images
   ============================================ */

.gallery-section .gallery-container .auto-container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.gallery-section .gallery-block .inner-box {
    margin-bottom: 20px;
}

.gallery-section .gallery-block .inner-box .image {
    height: 380px;
    overflow: hidden;
}

.gallery-section .gallery-block .inner-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 1199px) {
    .gallery-section .gallery-block .inner-box .image {
        height: 320px;
    }
}

@media only screen and (max-width: 991px) {
    .gallery-section .gallery-block .inner-box .image {
        height: 260px;
    }
}

@media only screen and (max-width: 575px) {
    .gallery-section .gallery-block .inner-box .image {
        height: 200px;
    }
}

/* ============================================
   Consistent Page Spacing
   ============================================ */

/* Uniform spacing after banner on all pages */
.sidebar-page-container {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* Uniform spacing above footer */
.main-footer {
    margin-top: 0;
}

/* 404 page - reduce spacing */
.error-section {
    padding: 40px 0 50px !important;
}

.error-404 .page-banner {
    margin-bottom: 0;
}

/* Thank you / generic pages - tighter spacing */
.page-template-default .sidebar-page-container {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* ============================================
   Global Responsive Fixes
   ============================================ */

/* --- Responsive Typography --- */

/* Tablet */
@media only screen and (max-width: 991px) {
    h1 { font-size: 32px !important; }
    h2 { font-size: 26px !important; }
    h3 { font-size: 22px !important; }
    h4 { font-size: 18px !important; }
    h5 { font-size: 16px !important; }
    h6 { font-size: 14px !important; }
    p, .text { font-size: 15px; line-height: 1.7; }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    h1 { font-size: 26px !important; }
    h2 { font-size: 22px !important; }
    h3 { font-size: 19px !important; }
    h4 { font-size: 17px !important; }
    h5 { font-size: 15px !important; }
    h6 { font-size: 13px !important; }
    p, .text { font-size: 14px; line-height: 1.7; }
}

/* Small phones */
@media only screen and (max-width: 480px) {
    h1 { font-size: 22px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 18px !important; }
    h4 { font-size: 16px !important; }
    h5 { font-size: 14px !important; }
    h6 { font-size: 13px !important; }
    p, .text { font-size: 14px; line-height: 1.6; }
}

/* --- Tablet (768px - 991px) --- */
@media only screen and (max-width: 991px) {
    .sidebar-page-container {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .header-top-one .top-bar-social ul {
        gap: 14px !important;
    }

    .header-top-one .top-bar-social ul li a {
        font-size: 16px !important;
    }
}

/* --- Mobile (max 767px) --- */
@media only screen and (max-width: 767px) {
    .sidebar-page-container {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    /* Breadcrumbs */
    .bread-crumb li {
        font-size: 12px;
    }

    .bread-crumb li::after {
        margin: 0 3px;
    }

    /* Pagination */
    .wp-pagenavi,
    .nav-links {
        padding: 20px 0;
    }

    .wp-pagenavi a,
    .wp-pagenavi span,
    .nav-links .page-numbers {
        padding: 6px 10px;
        margin: 0 2px;
        font-size: 12px;
    }

    /* Sidebar widget cards */
    .sidebar-page-container .sidebar .leave-comments,
    .sidebar-page-container .sidebar .sidebar-widget,
    .sidebar-page-container .sidebar .widget {
        padding: 20px 15px;
    }
}

/* --- Small phones (max 480px) --- */
@media only screen and (max-width: 480px) {
    /* Form inputs - prevent iOS zoom */
    .gform_wrapper.gravity-theme input[type="text"],
    .gform_wrapper.gravity-theme input[type="email"],
    .gform_wrapper.gravity-theme input[type="tel"],
    .gform_wrapper.gravity-theme input[type="number"],
    .gform_wrapper.gravity-theme input[type="url"],
    .gform_wrapper.gravity-theme select,
    .gform_wrapper.gravity-theme textarea {
        padding: 10px 12px !important;
        font-size: 16px !important;
    }

    .gform_wrapper.gravity-theme .gfield_label {
        font-size: 13px !important;
    }

    /* About section form */
    .about-section .right-col .book-form-box {
        padding: 15px 12px;
    }

    /* FAQ accordion */
    .blog-faq-section .faq-question {
        padding: 12px 15px;
    }

    .blog-faq-section .faq-question h5 {
        font-size: 13px;
        word-break: break-word;
    }

    .blog-faq-section .faq-question .faq-icon {
        margin-left: 10px;
        font-size: 12px;
    }

    .blog-faq-section .faq-answer {
        padding: 12px 15px 15px;
    }

    .blog-faq-section .faq-answer .text {
        font-size: 14px;
    }

    /* Gallery 2 columns on small phones */
    .gallery-section .gallery-block {
        width: 50% !important;
        float: left;
    }

    .gallery-section .gallery-block .inner-box .image {
        height: 160px;
    }

    /* Styled list */
    .styled-list li {
        padding: 8px 0 8px 15px;
        font-size: 14px;
    }

    .styled-list li::before {
        font-size: 10px;
        top: 10px;
    }

    /* Top bar */
    .header-top-one .top-bar-social ul {
        gap: 12px !important;
    }

    .header-top-one .top-bar-social ul li a {
        font-size: 15px !important;
    }

    .header-top-one .my-account {
        padding: 11px 10px !important;
        font-size: 13px !important;
    }
}
