/* custom.css - The Mintable
   Accent: #1abc9c
   All values in px. NO rem.
   Extends tooplate-strategic-style.css — does NOT replace it.
*/

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
    --accent: #1abc9c;
    --accent-dark: #16a085;
    --accent-light: rgba(26, 188, 156, 0.15);
    --bg-primary: #f8fafc;
    --bg-dark: #1e293b;
    --bg-mid: #475569;
    --text-primary: #1a202c;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: rgba(255, 255, 255, 0.85);
    --border-light: rgba(71, 85, 105, 0.1);
    --card-radius: 20px;
    --section-pad: 80px;
}

/* ============================================================
   Typography Overrides (px only, no rem)
   ============================================================ */
body {
    font-size: 18px;
    color: var(--text-primary);
}

h1 { font-size: 60px; }
h2 { font-size: 42px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.navbar .nav-links a {
    font-size: 15px;
}

/* ============================================================
   Nav Cleanup (R77)
   ============================================================ */
.nav-item { margin-bottom: 0 !important; background-image: none !important; }
.site-logo { max-width: none !important; }

/* Accent underline on hover for nav links */
.nav-links a::after {
    background: var(--accent) !important;
}
.nav-links a:hover { color: var(--accent) !important; }
.nav-links a.active { color: var(--accent) !important; }

/* ============================================================
   Logo
   ============================================================ */
.logo {
    background: none !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    color: var(--text-primary) !important;
    font-size: 20px;
}

.logo-icon {
    background: var(--accent) !important;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================================
   Hero Section Overrides
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important;
}

.hero h1 {
    font-size: 60px !important;
    letter-spacing: -2px;
    color: #ffffff;
}

.hero p {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA button (white background on dark hero) */
.cta-button {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--bg-dark) !important;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
}

.cta-button:hover {
    background: #ffffff !important;
    color: var(--bg-dark) !important;
}

/* Geometric shapes use accent color */
.geo-shape:nth-child(1) {
    background: linear-gradient(45deg, var(--accent), transparent) !important;
    opacity: 0.2;
}
.geo-shape:nth-child(2) {
    background: linear-gradient(135deg, var(--accent), transparent) !important;
    opacity: 0.15;
}
.geo-shape:nth-child(3) {
    background: linear-gradient(90deg, var(--accent), transparent) !important;
    opacity: 0.2;
}
.geo-shape:nth-child(4) {
    background: linear-gradient(180deg, var(--accent), transparent) !important;
    opacity: 0.15;
}
.geo-shape:nth-child(5) {
    background: linear-gradient(270deg, var(--accent), transparent) !important;
    opacity: 0.12;
}

/* R79: Hero container transparent */
.header-thumb { background: transparent !important; border: none !important; }

/* R89: Template overlay must not block clicks */
.tm-bg-overlay, [class*="overlay"] { pointer-events: none !important; }

/* ============================================================
   Section Title Override (R77 - remove uppercase/letter-spacing)
   ============================================================ */
.section-title {
    text-transform: none !important;
    letter-spacing: -1px !important;
    font-size: 42px !important;
}

/* ============================================================
   Services Section - Accent color overrides
   ============================================================ */
.feature-check {
    background: var(--accent) !important;
    color: #ffffff !important;
}

.service-tab:hover,
.service-tab.active {
    border-color: var(--accent) !important;
}

.service-tab.active::before {
    background: var(--accent) !important;
}

.service-tab:hover .tab-icon,
.service-tab.active .tab-icon {
    background: var(--accent) !important;
    color: #ffffff !important;
}

/* ============================================================
   About Section Overrides (R85 - dark section solid text)
   ============================================================ */
.about-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 100%) !important;
}

.about-content .highlight {
    color: var(--accent) !important;
}

.about-content .highlight,
.about-content h2,
.about-content p,
.about-content a {
    /* Solid text colors on dark bg */
    opacity: 1 !important;
}

.stat-number {
    color: var(--accent) !important;
}

/* R86: Avatar object-position center */
.member-avatar img {
    object-position: center !important;
}

/* R85: Dark sections solid text */
.about-section .about-content p { color: rgba(255, 255, 255, 0.85); }
.about-section .stat-label { color: rgba(255, 255, 255, 0.8); }
.about-section .feature-text { color: rgba(255, 255, 255, 0.9); }

/* R81: Force accent color on all icons */
.feature-icon .fa,
.card-icon .fa,
.step-icon .fa {
    color: var(--accent) !important;
}

.feature-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
}

/* ============================================================
   Team Section - Card equal height (K17)
   ============================================================ */
.team-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 32px;
}

.team-member {
    display: flex !important;
    flex-direction: column !important;
}

.member-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    border: 2px solid var(--accent-light) !important;
}

.member-card:hover {
    border-color: var(--accent) !important;
}

.member-role {
    color: var(--accent) !important;
}

/* R87: Feature cards uniform sizing */
.member-info h3 { font-size: 20px !important; }
.member-info p { font-size: 16px !important; }
.member-avatar { width: 144px; height: 144px; }

/* ============================================================
   Contact Form Overrides
   ============================================================ */
.contact .section-title { color: #e2e8f0 !important; }

.submit-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #ffffff !important;
    font-size: 16px;
}

.submit-btn:hover {
    box-shadow: 0 15px 30px rgba(26, 188, 156, 0.4) !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(26, 188, 156, 0.2) !important;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: #0f172a;
    color: #ffffff;
}

.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: var(--accent) !important; }
.footer-copyright { color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   Cookie Banner
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px 40px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--accent);
    flex-wrap: wrap;
}

.cookie-banner.visible {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    flex: 1;
    min-width: 200px;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.cookie-btn-accept:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

/* ============================================================
   Container Narrow (for legal and article pages)
   ============================================================ */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

/* ============================================================
   Legal Content Styles
   ============================================================ */
.legal-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--bg-dark);
    margin-top: 48px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}

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

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-content address {
    font-style: normal;
    background: var(--bg-primary);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-top: 24px;
}

/* Cookie Policy table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.cookie-table th {
    background: var(--bg-dark);
    color: #e2e8f0;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
}

.cookie-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-light);
    color: #475569;
    vertical-align: top;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even) td {
    background: var(--bg-primary);
}

/* ============================================================
   Insights / Blog Grid (K17 equal height, R78 fixed grid)
   ============================================================ */
.blog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
    margin-top: 0;
}

.blog-grid > * {
    display: flex !important;
    flex-direction: column !important;
}

.blog-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(71, 85, 105, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(71, 85, 105, 0.15);
    border-color: var(--accent);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-primary);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
}

/* R-IMG rule */
.blog-card-image img,
.about-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

.blog-card-image {
    height: 220px;
}

.blog-card-image img {
    height: 220px !important;
    object-fit: cover !important;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.blog-category {
    font-size: 12px;
    font-weight: 700;
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card-content h2 {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content h2 a {
    color: var(--bg-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-content h2 a:hover {
    color: var(--accent);
}

.blog-card-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.blog-read-more:hover { color: var(--accent-dark); }

/* ============================================================
   Values / Feature Grid
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--card-radius);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-card h3 {
    color: #e2e8f0 !important;
    font-size: 20px !important;
    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 16px !important;
    line-height: 1.7;
}

/* When values-grid used on light background */
.services .values-grid .value-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(71, 85, 105, 0.08);
}

.services .values-grid .value-card h3 {
    color: var(--bg-dark) !important;
}

.services .values-grid .value-card p {
    color: var(--text-muted) !important;
}

/* ============================================================
   Steps Grid (How We Work section)
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
    text-align: center;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #e2e8f0;
}

.step-item p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   Pricing Cards
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}

.pricing-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    border: 2px solid var(--border-light);
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(26, 188, 156, 0.12);
    transform: translateY(-4px);
}

.pricing-featured {
    border-color: var(--accent) !important;
    box-shadow: 0 8px 32px rgba(26, 188, 156, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-tier {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 900;
    color: var(--bg-dark);
    line-height: 1;
    margin-bottom: 12px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.pricing-unavailable {
    color: var(--text-muted) !important;
    text-decoration: line-through;
    opacity: 0.6;
}

.pricing-unavailable span {
    color: #cbd5e1;
    font-weight: 700;
}

.pricing-cta {
    margin-top: auto;
}

/* R75: White bg buttons with dark text */
.btn-pricing-outline {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: var(--bg-dark) !important;
    border: 2px solid var(--bg-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-pricing-outline:hover {
    background: var(--bg-dark);
    color: #ffffff !important;
}

.btn-pricing-accent {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--accent);
    border: 2px solid var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pricing-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
}

/* ============================================================
   Team CTA
   ============================================================ */
.team-cta {
    text-align: center;
    margin-top: 48px;
}

.cta-button-secondary {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--bg-dark) !important;
    border: 2px solid var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: var(--bg-dark);
    color: #ffffff !important;
}

/* R-BTN: Outline button on dark bg = white */
.btn-outline-white {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

/* ============================================================
   Testimonials (R85 - dark section solid text)
   ============================================================ */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
    .pricing-grid,
    .values-grid,
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
    .pricing-grid,
    .values-grid,
    .testimonials-container {
        grid-template-columns: 1fr !important;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 40px !important;
    }
    .section-title {
        font-size: 32px !important;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .contact-layout {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   Fix pricing card label clipping
   ============================================================ */
.pricing-card, .price-card, .card-inner, [class*="pricing"] > [class*="col"] > div {
  overflow: visible !important;
}

/* ============================================================
   Fix 3: Pricing badge overflow fix
   ============================================================ */
.pricing-card,
.pricing-featured {
    overflow: visible !important;
}
.pricing-badge {
    z-index: 10;
    white-space: nowrap;
}
