/*
Theme Name: Petros Bootstrap Theme
Theme URI: http://petrosglobalexim.com/
Author: Antigravity
Author URI: https://google.com/
Description: A premium, ultra-professional Bootstrap theme converted for Petros Global Exim.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: petros-bootstrap
*/

/* ==========================================================================
   Petros Global Exim / Joiz - Premium Custom Design System
   ========================================================================== */

:root {
    --primary-color: #0957A2;     /* Original Blue */
    --primary-light: #1e78d0;     /* Light Blue */
    --primary-dark: #053768;      /* Deep Dark Blue */
    --accent-color: #C2A990;      /* Original Sand Gold */
    --accent-light: #f6f1ec;      /* Warm beige background */
    --accent-dark: #9f8367;       /* Rich sand bronze */
    --text-color: #1a222c;        /* Elegant Dark Charcoal */
    --text-light: #5f6e80;        /* Soft Slate Gray */
    --bg-color: #ffffff;          /* Pure White Background */
    --bg-alt: #f8fafc;            /* Clean cool gray background */
    --white: #ffffff;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 18px;
    --border-radius-lg: 36px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 30px rgba(9, 87, 162, 0.03);
    --shadow-medium: 0 16px 45px rgba(9, 87, 162, 0.06);
    --shadow-strong: 0 24px 60px rgba(9, 87, 162, 0.1);
}

/* Base resets & styles */
body {
    background-color: var(--bg-color);
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.section-tag {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-dark);
    display: inline-block;
    margin-bottom: 12px;
}

/* Background Glow Blobs */
.glow-blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float-glow 20s infinite alternate ease-in-out;
}

.glow-blob-1 {
    background-color: rgba(9, 87, 162, 0.12);
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
}

.glow-blob-2 {
    background-color: rgba(194, 169, 144, 0.2);
    width: 450px;
    height: 450px;
    bottom: 10%;
    left: -100px;
    animation-delay: -5s;
}

.glow-blob-3 {
    background-color: rgba(9, 87, 162, 0.08);
    width: 400px;
    height: 400px;
    top: 40%;
    right: 15%;
    animation-delay: -10s;
}

@keyframes float-glow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -40px) scale(1.1); }
    100% { transform: translate(-40px, 50px) scale(0.95); }
}

/* Navbar overrides */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(9, 87, 162, 0.04);
    border-bottom: 1px solid rgba(9, 87, 162, 0.05);
    padding: 12px 0;
    transition: var(--transition-smooth);
}

.navbar-custom .navbar-brand img {
    transition: var(--transition-smooth);
}

.navbar-custom .navbar-brand:hover img {
    transform: scale(1.03);
}

.navbar-custom .nav-link {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #334155 !important;
    letter-spacing: 0.8px;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--primary-color) !important;
}

/* Link active underline */
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 18px;
    right: 18px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Custom buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 15px 36px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 24px rgba(9, 87, 162, 0.18);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(194, 169, 144, 0.35);
}

.btn-primary-custom:hover::after {
    opacity: 1;
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 15px 36px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(9, 87, 162, 0.12);
}

/* Sections */
.section-padding {
    padding: 100px 0;
    position: relative;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(16px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(120%) !important;
    border: 1px solid rgba(9, 87, 162, 0.07) !important;
    box-shadow: var(--shadow-subtle) !important;
}

/* Hero elements */
.hero-section {
    padding: 160px 0 120px;
    background-color: #fafbfd;
    position: relative;
    overflow: hidden;
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(194, 169, 144, 0.25);
    z-index: -1;
    border-radius: 4px;
}

/* Floating Statistics bar */
.stats-floating-bar {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.stats-container {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(9, 87, 162, 0.05);
    padding: 30px;
}

.stats-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stats-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premium card lifts */
.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(9, 87, 162, 0.05);
    padding: 45px 35px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(194, 169, 144, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    background-color: rgba(9, 87, 162, 0.06);
    color: var(--primary-color);
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(9, 87, 162, 0.2);
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

/* Checklists styling */
.info-check-list li {
    font-size: 15.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
}

.info-check-list li i {
    color: var(--primary-color);
    margin-right: 14px;
    font-size: 18px;
    margin-top: 4px;
}

/* Product card redesigned to look like premium boxed card */
.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(9, 87, 162, 0.06);
    box-shadow: var(--shadow-subtle);
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(194, 169, 144, 0.35);
}

.product-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--bg-alt);
    margin-bottom: 18px;
    position: relative;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-card-body {
    padding: 8px 6px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.product-btn {
    background-color: var(--bg-alt);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    padding: 13px 0;
    border-radius: 50px;
    border: 1px solid rgba(9, 87, 162, 0.1);
    box-shadow: none;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.product-card:hover .product-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(9, 87, 162, 0.2);
}

/* Category Filter Tab Selector */
.nav-pills-custom {
    background-color: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(9, 87, 162, 0.05);
}

.nav-pills-custom .nav-link {
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    transition: var(--transition-smooth);
}

.nav-pills-custom .nav-link.active,
.nav-pills-custom .nav-link:hover {
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(9, 87, 162, 0.08);
}

/* Custom tab animation grid */
.tab-pane {
    transition: opacity 0.4s ease-in-out;
}

/* Blog Cards styling */
.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(9, 87, 162, 0.05);
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(194, 169, 144, 0.3);
}

.blog-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.06);
}

.blog-content {
    padding: 28px;
}

.blog-date {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--primary-dark);
}

.blog-title a:hover {
    color: var(--primary-color);
}

/* Footer Section Overrides */
.footer-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #031c36 100%);
    color: #e2e8f0;
    padding: 90px 0 45px;
    border-top: 4px solid var(--accent-color);
    position: relative;
}

.footer-heading {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 2.5px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(6px);
}

.footer-contact-info li {
    font-size: 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info li i {
    color: var(--accent-color);
    margin-right: 14px;
    font-size: 16px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 60px;
    font-size: 13.5px;
    color: #94a3b8;
}

/* Split-layout modal overrides */
.modal-custom .modal-content {
    border-radius: var(--border-radius-md);
    border: none;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    max-width: 860px;
}

.modal-custom .modal-dialog {
    max-width: 860px;
}

.modal-split-left {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #031c36 100%);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-split-right {
    padding: 40px;
    background-color: var(--bg-color);
}

.modal-custom .btn-close-white {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.modal-custom .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 11px 16px;
    font-size: 14px;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.modal-custom .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(9, 87, 162, 0.08);
}

/* ==========================================================================
   WordPress Entry Content Styling (Typography & Layout Enhancements)
   ========================================================================== */

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(9, 87, 162, 0.05);
}

.entry-content p {
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.entry-content h2, 
.entry-content h3 {
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 750;
    font-family: var(--font-heading);
}

.entry-content ul, 
.entry-content ol {
    margin-bottom: 30px;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 12px;
    color: var(--text-light);
}

.entry-content blockquote {
    background-color: var(--accent-light);
    border-left: 4px solid var(--accent-color);
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 4px;
    font-style: italic;
    color: var(--accent-dark);
}

.entry-content b, 
.entry-content strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* ==========================================================================
   Agent Form Placeholder Contrast & Inputs Design Improvements
   ========================================================================== */

#agentForm .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

#agentForm .form-control {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

#agentForm .form-control:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(194, 169, 144, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

#agentForm .form-select {
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

#agentForm .form-select:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(194, 169, 144, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   Partner Logo Grid Premium Aesthetics
   ========================================================================== */

.partner-logo-box {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(9, 87, 162, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.partner-logo-box img {
    max-height: 44px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: var(--transition-smooth);
}

.partner-logo-box:hover {
    transform: translateY(-6px) scale(1.05);
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    border-color: rgba(9, 87, 162, 0.12);
}

.partner-logo-box:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.04);
}

/* Override external text-primary color back to brand primary blue */
.text-primary {
    --bs-text-opacity: 1;
    color: var(--primary-color) !important;
}


