/*
Theme Name: Agenio - Creative Agency
Theme URI: https://example.com/agenio
Author: Custom Theme Developer
Author URI: https://example.com
Description: Agenio is a modern, high-performance Creative Agency WordPress Theme crafted with smooth GSAP animations, responsive layouts, and interactive UI components.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agenio
Tags: agency, creative, portfolio, modern, responsive, animation
*/

/* Custom WP alignments and helpers */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}
.wp-caption-text {
    font-size: 0.875rem;
    color: #777;
    margin-top: 0.5em;
}
.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;
}

/* Logo visibility & responsive layout rules */
.logo-area {
    display: flex;
    align-items: center;
}
.logo-area a.logo,
.logo-area a.custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.logo-area a.logo img,
.logo-area a.custom-logo-link img.custom-logo {
    max-height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Footer Logo visibility & styling */
.wpr-footer-area .footer-logo-area a img {
    max-width: 680px;
    width: 100%;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

/* ==========================================================================
   Hero Banner UNIFYCORE Single-Line Responsive Optimization
   ========================================================================== */
.wpr-banner-area .banner-content-area .section-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: clamp(38px, 5.8vw, 92px) !important;
    line-height: 1.1 !important;
}

/* Strictly prevent word-wrapping on banner title text */
.wpr-banner-area .banner-content-area .section-title .text {
    white-space: nowrap !important;
    word-break: keep-all !important;
    display: inline-block !important;
}

/* Equal, flexible allocation for left and right areas around center shape */
.wpr-banner-area .banner-content-area .section-title .left-area,
.wpr-banner-area .banner-content-area .section-title .right-area {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 28px 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Responsive 3D center hero icon scaling */
.wpr-banner-area .banner-content-area .section-title .mid-icon {
    min-width: auto !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
}
.wpr-banner-area .banner-content-area .section-title .mid-icon img {
    max-width: 250px !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Breakpoint fine-tuning for laptops and tablets */
@media (max-width: 1439px) {
    .wpr-banner-area .banner-content-area .section-title {
        font-size: clamp(36px, 5.4vw, 82px) !important;
    }
    .wpr-banner-area .banner-content-area .section-title .mid-icon img {
        max-width: 210px !important;
    }
    .wpr-banner-area .banner-content-area .section-title .left-area,
    .wpr-banner-area .banner-content-area .section-title .right-area {
        padding: 22px 10px !important;
    }
}

@media (max-width: 1200px) {
    .wpr-banner-area .banner-content-area .section-title {
        font-size: clamp(32px, 5.0vw, 68px) !important;
    }
    .wpr-banner-area .banner-content-area .section-title .mid-icon img {
        max-width: 175px !important;
    }
    .wpr-banner-area .banner-content-area .section-title .left-area,
    .wpr-banner-area .banner-content-area .section-title .right-area {
        padding: 18px 8px !important;
    }
}

@media (max-width: 991px) {
    .wpr-banner-area .banner-content-area .section-title {
        font-size: clamp(28px, 4.6vw, 52px) !important;
    }
    .wpr-banner-area .banner-content-area .section-title .mid-icon img {
        max-width: 140px !important;
    }
    .wpr-banner-area .banner-content-area .section-title .left-area,
    .wpr-banner-area .banner-content-area .section-title .right-area {
        padding: 14px 6px !important;
    }
}

@media (max-width: 768px) {
    .wpr-banner-area .banner-content-area .section-title {
        font-size: clamp(24px, 4.2vw, 40px) !important;
    }
    .wpr-banner-area .banner-content-area .section-title .mid-icon img {
        max-width: 110px !important;
    }
    .wpr-banner-area .banner-content-area .section-title .left-area,
    .wpr-banner-area .banner-content-area .section-title .right-area {
        padding: 12px 5px !important;
    }
}

@media (max-width: 576px) {
    .wpr-banner-area .banner-content-area .section-title {
        flex-direction: column !important;
        font-size: 36px !important;
    }
    .wpr-banner-area .banner-content-area .section-title .left-area,
    .wpr-banner-area .banner-content-area .section-title .right-area {
        width: 100% !important;
        padding: 15px 0 !important;
    }
    .wpr-banner-area .banner-content-area .section-title .mid-icon img {
        max-width: 130px !important;
    }
}

/* ==========================================================================
   Breadcrumb Banner Description & Shape Layout Fix (About Us, Services, etc.)
   ========================================================================== */
.wpr-banner-area.breadcrumb .banner-content-area {
    position: relative !important;
    padding: 100px 30px !important;
}

.wpr-banner-area.breadcrumb .banner-content-area .section-title {
    position: relative !important;
    z-index: 3 !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wpr-banner-area.breadcrumb .banner-content-area .desc {
    max-width: 760px !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    position: relative !important;
    z-index: 3 !important;
    line-height: 1.65 !important;
}

/* Ensure background decorative shapes stay strictly behind text and in their corners */
.wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area img {
    z-index: 1 !important;
    pointer-events: none !important;
}

.wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area img.one {
    top: 0 !important;
    left: 0 !important;
    max-width: 180px !important;
}

.wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area img.two {
    bottom: 0 !important;
    right: 0 !important;
    max-width: 180px !important;
}

@media (max-width: 991px) {
    .wpr-banner-area.breadcrumb .banner-content-area {
        padding: 80px 20px !important;
    }
    .wpr-banner-area.breadcrumb .banner-content-area .desc {
        max-width: 580px !important;
    }
    .wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area img.one,
    .wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area img.two {
        max-width: 130px !important;
    }
}

@media (max-width: 768px) {
    .wpr-banner-area.breadcrumb .banner-content-area .desc {
        max-width: 460px !important;
        font-size: 15px !important;
    }
    .wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area img.one,
    .wpr-banner-area.breadcrumb .banner-content-area .banner-shape-area img.two {
        max-width: 100px !important;
        opacity: 0.4 !important;
    }
}

/* ==========================================================================
   Contact Page Form & Location Interactive Card
   ========================================================================== */
.contact-form-card {
    padding: 50px 48px !important;
    text-align: left !important;
    background-color: #F4F4F5 !important;
    border-radius: 32px !important;
    box-shadow: 0px 7.77px 16px 0px rgba(0, 0, 0, 0.06), 0px 3px 3px 0px rgba(0, 0, 0, 0.1), 0px -8px 0px 0px rgba(0, 0, 0, 0.05) inset, 0px 4px 0px 0px rgba(255, 255, 255, 0.6) inset !important;
    position: relative;
    z-index: 2;
}

.contact-form-card .form-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    background: #030712;
    color: #98FF03;
    border-radius: 20px;
    margin-bottom: 12px;
}

.contact-form-card .form-title {
    font-size: 32px;
    font-weight: 700;
    color: #030712;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
}

.contact-form-card .form-subtitle {
    font-size: 15px;
    color: #52525B;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-card .form-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 35px;
}

.contact-form-card .form-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(3, 7, 18, 0.15);
    background: #FFFFFF;
    color: #030712;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contact-form-card .form-tab-btn:hover {
    background: #E4E4E7;
    color: #030712;
}

.contact-form-card .form-tab-btn.active {
    background: #030712;
    color: #FFFFFF;
    border-color: #030712;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.contact-form-card .form-tab-btn.active svg path,
.contact-form-card .form-tab-btn.active i {
    color: #98FF03;
    fill: #98FF03;
}

.contact-form-card .field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #18181B;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
}

.contact-form-card .field-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(3, 7, 18, 0.14);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: #18181B;
    transition: all 0.2s ease;
}

.contact-form-card .field-input:focus {
    border-color: #030712;
    box-shadow: 0 0 0 3px rgba(152, 255, 3, 0.35);
    outline: none;
    background: #FFFFFF;
}

.contact-form-card .field-select {
    cursor: pointer;
    appearance: auto;
}

.contact-form-card .field-textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form-card .attachment-input-wrapper {
    background: #FFFFFF;
    border: 1px solid rgba(3, 7, 18, 0.14);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
}

.contact-form-card .field-input-file {
    font-size: 14px;
    color: #52525B;
    width: 100%;
}

.contact-form-card .submit-btn-wrap {
    text-align: center;
    margin-top: 10px;
}

.contact-form-card .contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 44px;
    background: #030712;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #030712;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-card .contact-submit-btn:hover {
    background: #98FF03;
    color: #030712;
    border-color: #98FF03;
    box-shadow: 0 6px 20px rgba(152, 255, 3, 0.4);
    transform: translateY(-2px);
}

.contact-form-card .form-notification {
    display: none;
    padding: 15px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
}

.contact-form-card .form-notification.success {
    display: block !important;
    background: #DCFCE7 !important;
    color: #166534 !important;
    border: 1px solid #BBF7D0 !important;
}

.contact-form-card .form-notification.error {
    display: block !important;
    background: #FEE2E2 !important;
    color: #991B1B !important;
    border: 1px solid #FECACA !important;
}

/* Map Content View */
.contact-map-view {
    display: none;
}

.contact-map-view.active {
    display: block;
}

.contact-form-view {
    display: none;
}

.contact-form-view.active {
    display: block;
}

.contact-map-view .map-info-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(3, 7, 18, 0.1);
}

.contact-map-view .map-frame-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 30px 20px !important;
        border-radius: 24px !important;
    }
    .contact-form-card .form-title {
        font-size: 24px;
    }
    .contact-form-card .form-tabs-nav {
        flex-direction: column;
        gap: 8px;
    }
}

/* Footer Copyright Bar Adjustment */
.wpr-footer-area .copyright-area p.copyright {
    width: auto !important;
    text-align: left !important;
}

.wpr-footer-area .copyright-area .scroll-top-btn {
    width: auto !important;
    max-width: none !important;
    margin-left: auto;
}
