/*
Theme Name: Company Pro
Theme URI: https://wpnova.com/company-pro
Author: WPNOVA
Author URI: https://wpnova.com
Description: A modern, flexible, and professional multipurpose WordPress theme designed for corporate business, agency, portfolio, and startup websites. Built with Bootstrap 5, it offers a responsive design with customizable sections for services, projects, testimonials, gallery, team, and more. Compatible with WP Job Manager and WooCommerce.
Version: 1.3.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: company-pro
Tags: blog, one-column, two-columns, flexible-header, custom-background, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, right-sidebar, threaded-comments, translation-ready, business, portfolio
Requires at least: 6.3
Requires PHP: 8.0
Tested up to: 6.7
Copyright: (c) 2025 WPNOVA — https://wpnova.com
*/

/* Image captions */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1em;
    text-align: center;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
}

/* Gallery captions */
.gallery-caption {
    font-size: 0.85em;
    color: #888;
    text-align: center;
}

/* Highlight author comments */
.bypostauthor {
    font-weight: bold;
}

/* Image alignment */
.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ── Cookie Consent Bar ─────────────────────────────────────────── */
#company-pro-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 18px 24px;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#company-pro-cookie-bar.company-pro-cookie-visible {
    transform: translateY(0);
}

.company-pro-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.company-pro-cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.company-pro-cookie-content {
    flex: 1;
    min-width: 220px;
}

.company-pro-cookie-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 4px 0;
    color: inherit !important;
}

.company-pro-cookie-msg {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.88;
    line-height: 1.6;
    color: inherit !important;
}

.company-pro-cookie-policy {
    text-decoration: underline;
    margin-left: 4px;
    white-space: nowrap;
    opacity: 0.9;
}

.company-pro-cookie-actions {
    flex-shrink: 0;
}

.company-pro-cookie-btn {
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.company-pro-cookie-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .company-pro-cookie-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .company-pro-cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Jetpack Form – success/error message styling */
.company-pro-contact-form .contact-form-submission-feedback {
    margin: 0 0 16px 0 !important;
    border-radius: 6px;
    font-weight: 600;
}

/* Footer Menu Widget Styling */
.site-footer .widget_nav_menu ul,
.site-footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .widget_nav_menu ul li,
.site-footer .widget ul li {
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.site-footer .widget_nav_menu ul li a,
.site-footer .widget ul li a {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.site-footer .widget_nav_menu ul li a:hover,
.site-footer .widget ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Make bottom footer menu inline */
.site-footer .col-12.text-center .widget_nav_menu ul,
.site-footer .col-12.text-center .widget ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer .col-12.text-center .widget_nav_menu ul li,
.site-footer .col-12.text-center .widget ul li {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Increase gap between top navbar items */
@media (min-width: 992px) {
    .site-header .navbar-nav {
        gap: 15px;
    }

    .site-header .navbar-nav .nav-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Jetpack Form UI Fixes */
.company-pro-contact-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.company-pro-contact-form label span.required {
    color: #e53e3e;
    font-size: 0.85rem;
    font-weight: normal;
    margin-left: 4px;
}

.company-pro-contact-form input[type="text"],
.company-pro-contact-form input[type="email"],
.company-pro-contact-form input[type="url"],
.company-pro-contact-form input[type="tel"],
.company-pro-contact-form textarea,
.company-pro-contact-form .grunion-field {
    width: 100%;
    padding: 12px 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: #333 !important;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.company-pro-contact-form input:focus,
.company-pro-contact-form textarea:focus {
    border-color: var(--company-pro-primary, #092a5b) !important;
    box-shadow: 0 0 0 4px rgba(9, 42, 91, 0.1) !important;
    outline: none;
}

.company-pro-contact-form button[type="submit"],
.company-pro-contact-form input[type="submit"],
.company-pro-contact-form .pushbutton-wide {
    background-color: var(--company-pro-primary, #092a5b) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.company-pro-contact-form button[type="submit"]:hover,
.company-pro-contact-form input[type="submit"]:hover,
.company-pro-contact-form .pushbutton-wide:hover {
    background-color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ── Hero Section Polish ── */
.company-pro-hero {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.company-pro-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.company-pro-hero.hg-hero-fullbg::before {
    display: none;
}

.company-pro-hero.hg-hero-fullbg {
    color: #fff;
}

.hero-image-wrapper {
    position: relative;
    display: block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-wrapper:hover {
    transform: scale(1.02);
}

.hero-image-wrapper img {
    max-height: 550px;
    object-fit: cover;
}

/* Float Animation */
@keyframes heroFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-image-wrapper {
    animation: heroFloat 6s ease-in-out infinite;
}

@media (max-width: 991.98px) {
    .company-pro-hero {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
}

/* ==========================================================================
   Accessibility: Screen Reader and Skip Link styles
   ========================================================================== */
.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;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 4px;
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.4);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    height: auto;
    left: 10px;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    text-decoration: none;
    top: 10px;
    width: auto;
    z-index: 100000;
}. t e s t i m o n i a l - c a r d : h o v e r   {   t r a n s f o r m :   t r a n s l a t e Y ( - 5 p x ) ;   b o x - s h a d o w :   0   1 5 p x   3 5 p x   r g b a ( 0 , 0 , 0 , 0 . 1 )   ! i m p o r t a n t ;   }  
 . n a v b a r - n a v   . n a v - l i n k : h o v e r ,   . n a v b a r - n a v   . n a v - l i n k : f o c u s ,   . n a v b a r - n a v   . c u r r e n t - m e n u - i t e m   >   . n a v - l i n k ,   . n a v b a r - n a v   . c u r r e n t - m e n u - a n c e s t o r   >   . n a v - l i n k   {   c o l o r :   v a r ( - - c o m p a n y - p r o - p r i m a r y )   ! i m p o r t a n t ;   }  
 
/* --- Section Fixes --- */
.company-pro-contact-desc { max-width: 600px; line-height: 1.8; }
.company-pro-contact-box { background-color: rgba(255, 255, 255, 0.07); }
.company-pro-contact-icon-wrapper { font-size: 2.5rem !important; width: 80px; height: 80px; border-radius: 100%; display: flex; align-items: center; justify-content: center; background-color: rgba(255, 255, 255, 0.12); }
.company-pro-contact-icon-wrapper i { font-size: 2.5rem !important; }
.company-pro-contact-link { color: inherit; }

.company-pro-gallery-thumb { aspect-ratio: 16/10; }

.footer-about-text, .footer-about-text * { font-size: 0.95rem !important; line-height: 1.6 !important; font-weight: 400 !important; color: rgba(255, 255, 255, 0.85) !important; }
.company-pro-gallery-thumb img { object-fit: cover; }
.company-pro-gallery-modal-content { background: transparent !important; border: none !important; box-shadow: none !important; position: relative; }
.company-pro-gallery-modal-body { min-height: 180px; }

.company-pro-playstore-img { height: 54px; width: auto; object-fit: contain; }
.company-pro-split-video-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; }
.company-pro-split-video-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.company-pro-hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.company-pro-hero-content { z-index: 2; }

.company-pro-testi-desc { max-width: 700px; }
.company-pro-testi-img { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto; padding: 4px; border: 2px solid var(--company-pro-primary); }
.company-pro-testi-initials { width: 70px; height: 70px; line-height: 58px; border-radius: 50%; background: var(--company-pro-primary); color: #fff; font-size: 1.4rem; font-weight: bold; padding: 4px; border: 2px solid var(--company-pro-primary); background-clip: content-box; }
.company-pro-testi-card { transition: transform 0.3s ease; }
.company-pro-testi-rating { font-size: 0.75rem; }
.company-pro-testi-quote-icon { font-size: 3rem; color: var(--bs-primary); opacity: 0.1; z-index: 0; }
.company-pro-testi-quote-text { font-size: 0.95rem; line-height: 1.6; }
.company-pro-testi-name { font-size: 1rem; }

.company-pro-blog-desc { max-width: 900px; }
.company-pro-blog-img-wrapper { height: 190px; }


/* Hide Google Translate Banner and Popups */
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.skiptranslate iframe, .goog-te-banner-frame { display: none !important; }
body { top: 0px !important; }

/* Utility classes replacing inline styles for performance */
.text-inherit { color: inherit; }
.company-pro-fixed-img { height: 190px; }
.company-pro-max-width { max-width: 900px; }
.company-pro-gap { gap: .35rem; }

.company-pro-max-width-700 { max-width: 700px; margin: 0 auto; }
