/*
Theme Name: Elcaro Premium
Theme URI: https://elcaro.co.za/
Author: Antigravity
Description: A premium, high-performance custom theme for Elcaro Management Consulting.
Version: 1.0
*/

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #ffffff;
    --accent-color: #007bff;
    --bg-dark: #000000;
    --footer-bg: #050505;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --text-dark: #222;
    --text-muted-dark: #555;
    --color-accent: #d12026;
    --bg-light: #ffffff;
}

/* Legal Sections */
.legal-section {
    padding: 12rem 5% 8rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-container h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted-dark);
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.legal-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-muted-dark);
}

.legal-content .highlight {
    font-weight: 700;
    color: var(--text-dark);
}

.legal-content .intro-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: var(--font-main);
    color: var(--primary-color);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
}

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Light Navbar Variant for Light Backgrounds */
.navbar-light {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    backdrop-filter: none;
}

.navbar-light .nav-links a:not(.nav-cta) {
    color: #222;
}

.navbar-light .nav-links a:not(.nav-cta):hover {
    color: #d12026;
}

.navbar-light .logo-img {
    filter: brightness(0);
    /* Make white logo black on white bg */
}

.nav-cta {
    background-color: #d12026;
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    margin-left: 3rem;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background-color: #b01a1f;
    transform: scale(1.05);
}

/* Mobile Navigation Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: all 0.3s ease;
}

.navbar-light .hamburger span {
    background-color: #222;
}

/* Mobile Navigation Menu */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        backdrop-filter: blur(15px);
    }

    .navbar-light .nav-links {
        background-color: #ffffff;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 2rem 0;
        font-size: 2rem;
        margin-left: 0;
    }

    .logo-img {
        height: 70px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Background Overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #eee;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    text-align: center;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    justify-content: center;
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #d12026;
    color: white;
    border: 2px solid #d12026;
}

.btn-primary:hover {
    background-color: #b01a1f;
    border-color: #b01a1f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Our Solutions Section - Light Theme */
.solutions-section {
    padding: 8rem 5%;
    background-color: #fafafa;
    /* Very light grey, almost white */
    color: #444;
}

.solutions-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    color: #222;
    letter-spacing: 2px;
}

.solutions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-card {
    background: #ffffff;
    /* Pure white */
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: #d12026;
    /* Elcaro Red accent */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.solution-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.solution-info {
    padding: 2.5rem;
}

.solution-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #d12026;
    /* Elcaro Red accent */
}

.solution-info p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Our Services Section */
.services-section {
    padding: 8rem 5%;
    background-color: #f2f2f2;
    /* Slightly darker grey for better contrast */
    color: #333;
}

.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.services-section .section-title {
    color: #333;
}

.section-desc {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
}

.services-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 0;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 1.5rem 3rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.tab-btn svg {
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: #d12026;
    /* Elcaro Red accent as seen in screenshot */
    border-bottom-color: #d12026;
}

.tab-btn.active svg {
    transform: scale(1.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.points-list {
    list-style: none;
}

.points-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    color: #444;
    position: relative;
    padding-left: 25px;
    opacity: 0;
    transform: translateX(-20px);
}

.tab-content.active .points-list li {
    animation: slideInLeft 0.5s forwards;
}

/* Staggered animation for points */
.points-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.points-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.points-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.points-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.points-list li:nth-child(5) {
    animation-delay: 0.5s;
}

.points-list li:nth-child(6) {
    animation-delay: 0.6s;
}

.points-list li:nth-child(7) {
    animation-delay: 0.7s;
}

.points-list li:nth-child(8) {
    animation-delay: 0.8s;
}

.points-list li:nth-child(9) {
    animation-delay: 0.9s;
}

.points-list li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #d12026;
    font-weight: bold;
}

.tab-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stats Banner */
.stats-banner {
    background-color: #d12026;
    /* Elcaro Red */
    padding: 5rem 5%;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Adding a subtle pattern similar to the screenshot */
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: capitalize;
    opacity: 0.9;
}

/* Responsiveness for Stats */
@media (max-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

/* Footer style as requested */
.footer {
    background-color: var(--footer-bg);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-links {
    margin: 1.5rem 0;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.8rem !important;
    color: #555 !important;
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* About Us Section */
.about-section {
    padding: 8rem 5%;
    background-color: #f2f2f2;
}

.about-section .section-title {
    color: #000000;
    /* Pure black for visibility */
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 4.5rem;
    text-align: left;
    /* Image shows it on the left */
    letter-spacing: 1.5px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    text-align: center;
    /* Center text as requested */
}

.about-content h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #000000;
    /* Pure black */
    font-weight: 800;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #000000;
    /* Pure black */
}

/* Responsiveness for About */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content h3 {
        font-size: 2rem;
    }
}

/* Engagement Process Section */
.process-section {
    padding: 10rem 5%;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.process-header {
    text-align: center;
    max-width: 1000px;
    /* Increased to allow title to breathe */
    margin: 0 auto 6rem;
    /* More space before the cards */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-header .section-title {
    color: #1a1a1a;
    font-size: 3.5rem;
    /* Larger, more authoritative */
    font-weight: 800;
    margin-bottom: 2rem;
    width: 100%;
    text-align: center;
}

.process-header .section-desc {
    color: #555;
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 750px;
    /* Controlled width for readability */
    margin: 0 auto;
    text-align: center;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.process-step {
    flex: 1;
    position: relative;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(209, 32, 38, 0.1);
    /* Very light Elcaro Red */
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #d12026;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.process-step p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    position: relative;
    z-index: 1;
}

.step-line {
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: #d12026;
    opacity: 0.2;
    z-index: 0;
}

@media (max-width: 1024px) {
    .process-timeline {
        flex-direction: column;
        gap: 3rem;
    }

    .step-line {
        display: none;
    }

    .process-step {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Why Choose Us Section */
.choose-section {
    padding: 8rem 5%;
    background-color: #ffffff;
    /* Plain white background */
    text-align: center;
    border-top: 1px solid #eee;
}

.choose-section .section-title {
    color: #222;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
}

.choose-section .section-desc {
    color: #555;
    /* Darker description */
}

.choose-header {
    margin-bottom: 5rem;
}

.choose-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.choose-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.choose-icon {
    width: 100px;
    /* Slightly larger */
    height: 100px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    padding: 10px;
}

.choose-icon img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.choose-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .choose-grid {
        gap: 3rem;
    }

    .choose-item {
        max-width: 100%;
    }
}

/* Founder Section */
.founder-section {
    padding: 8rem 5%;
    background-color: #f2f2f2;
    /* Back to the grey background */
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.founder-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.founder-content h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 1rem;
}

.founder-content h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 2.5rem;
}

.founder-content p,
.founder-bio {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 3rem;
}

/* Skills Progress Bars */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #222;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #d12026;
    /* Elcaro Red */
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

/* Responsiveness for Founder */
@media (max-width: 968px) {
    .founder-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .founder-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 8rem 5%;
    background-color: #ffffff;
    text-align: center;
}

.contact-cta-section .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 2rem;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.cta-card {
    padding: 5rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-red {
    background-color: #d12026;
    color: #ffffff;
}

.cta-cream {
    background-color: #fef0b3;
    color: #d12026;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid currentColor;
    transition: transform 0.3s ease;
}

.cta-card:hover .arrow-circle {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-card h2 {
        font-size: 2rem;
    }
}

/* Request Service Form Styles */
.form-section {
    padding: 12rem 5% 8rem;
    background-color: #ffffff;
    min-height: 100vh;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.name-field {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-weight: 700;
    color: #222;
    font-size: 1.1rem;
}

.form-group label span {
    color: #d12026;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d12026;
}

.name-subtext {
    font-size: 0.85rem;
    color: #666;
    margin-top: -0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: background 0.2s ease;
    border-radius: 5px;
}

.checkbox-group:hover {
    background: #f9f9f9;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d12026;
}

.checkbox-group span {
    font-size: 1rem;
    color: #444;
}

.terms-box {
    margin-top: 3rem;
    padding: 2rem;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 10px;
}

.submit-btn {
    background-color: #d12026;
    color: white;
    border: none;
    padding: 1.2rem 4rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 2rem;
}

.submit-btn:hover {
    background-color: #b01a1f;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d12026;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 0.8rem;
}

.btn-link .arrow {
    transition: transform 0.3s ease;
}

/* Solution Pages Specific Styles */
.solution-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cybersecurity-hero {
    background-image: url('third_party_support_solutions.webp');
}

.solution-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
}

.solution-hero .container {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.solution-intro {
    padding: 8rem 5%;
    background-color: #fff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 2rem;
}

.intro-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

.floating-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: floating 6s ease-in-out infinite;
}

.partner-solutions {
    padding: 8rem 5%;
    background-color: #f8f9fa;
}

.partner-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.partner-card.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.partner-card:hover {
    transform: translateY(-10px);
}

.partner-content {
    padding: 4rem;
}

.partner-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(209, 32, 38, 0.1);
    color: #d12026;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-content h3 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 1.5rem;
}

.partner-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.feature-list,
.feature-list-static ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0;
    margin-top: 2rem;
}

.feature-list li,
.feature-list-static ul li {
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.feature-list li::before,
.feature-list-static ul li::before {
    content: '✓';
    color: #d12026;
    font-weight: 900;
    flex-shrink: 0;
}

.partner-logo-pill {
    display: inline-flex;
    align-items: center;
    background: #fdf2f2;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(209, 32, 38, 0.1);
}

.partner-logo-pill img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}

.partner-logo-box {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner-display-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-visual {
    width: 15rem;
    height: 15rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-pulse {
    width: 20px;
    height: 20px;
    background: #d12026;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(209, 32, 38, 0.7);
    animation: pulse 2s infinite;
}

.icon-shield {
    width: 60px;
    height: 80px;
    background: #d12026;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.dark-bg {
    background-color: #050505 !important;
    color: white !important;
}

.cta-subtitle {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(209, 32, 38, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(209, 32, 38, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(209, 32, 38, 0);
    }
}

@media (max-width: 968px) {

    .intro-grid,
    .partner-card,
    .partner-card.zafehouse {
        grid-template-columns: 1fr;
    }

    .partner-logo-box {
        height: 300px;
        order: -1;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .partner-content {
        padding: 2.5rem;
    }
}