/* SME Cyber Solutions - Global Styles */

/* EMERGENCY SECURITY TOOLS FIX - ADD AT TOP */
.tool-section { display: none !important; }
.tool-section.active { display: block !important; }
.tool-tab { cursor: pointer; }

:root {
    --primary-blue: #1E90FF;
    --electric-blue: #00D4FF;
    --deep-blue: #0047AB;
    --navy: #1A365D;
    --cyan: #00CED1;
    --light-blue: #E6F7FF;
    --medium-grey: #E0E0E0;
    --dark-grey: #4A5568;
    --success-green: #10B981;
    --accent-orange: #FF6B35;
    --accent-purple: #8B5CF6;
    --white: #FFFFFF;
    --text-dark: #1A202C;
    --gradient-1: linear-gradient(135deg, #1E90FF 0%, #00D4FF 100%);
    --gradient-2: linear-gradient(135deg, #0047AB 0%, #1E90FF 100%);
    --gradient-3: linear-gradient(135deg, #00CED1 0%, #1E90FF 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 2rem;
}

/* Case study headings within cards */
.card h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.card h3:first-of-type {
    margin-top: 1rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    min-height: 80px;
}

.logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 250px;
}

.logo img {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    max-width: 240px !important;
    object-fit: contain;
    display: block;
}

.logo span {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.4);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--dark-blue);
    border: 3px solid #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    font-weight: 700;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.5);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(30, 144, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero .subheadline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero .supporting-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--medium-grey);
}

.trust-badge {
    font-size: 0.9rem;
    color: var(--dark-grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge::before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #10B981 0%, #00CED1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
section {
    padding: 80px 0;
}

section.grey-bg {
    background: linear-gradient(to bottom, #F8FAFC 0%, #E6F7FF 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .subheadline {
    font-size: 1.2rem;
    color: var(--dark-grey);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Card content and button alignment */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Case study specific styling */
.card .grid-2 {
    margin: 0;
}

.card .grid-2 > div {
    display: flex;
    flex-direction: column;
}

.card .grid-2 > div > .testimonial {
    margin-bottom: 1.5rem;
}

.card > * {
    flex-shrink: 0;
}

.card > p {
    flex-grow: 1;
}

.card > .btn,
.card > a.btn {
    margin-top: auto;
}

.card .btn {
    align-self: flex-start;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.2);
    border-top-color: var(--primary-blue);
}

.card-icon {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--navy);
}

/* Case study metadata spacing */
.card p strong {
    color: var(--navy);
}

.card > div > div > h2 {
    margin-bottom: 0.75rem;
}

.card > div > div > p {
    margin-bottom: 0.5rem;
}

.card > div > div > h3 {
    margin-top: 1.5rem;
}

.card p {
    color: var(--dark-grey);
}

.card ul {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.card ul li {
    padding: 0.5rem 0;
    color: var(--dark-grey);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.card.comparison-negative ul li::before {
    content: "✗";
    color: #dc3545;
}

/* Card content and button alignment */
.card > p {
    flex-grow: 1;
}

.card > .btn,
.card > a.btn {
    margin-top: auto;
}

/* Button group alignment for side-by-side buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Testimonials */
.testimonial {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-1);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}

.testimonial:hover {
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.2);
    transform: translateY(-3px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--dark-grey);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--dark-grey);
}

/* Key takeaway cards within case studies */
.card .card {
    margin-top: 1.5rem;
    padding: 1.5rem;
}

.card .card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Team Members */
.team-member {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--primary-blue);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.team-member p {
    color: var(--dark-grey);
    text-align: left;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.step-timeline {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--medium-grey);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-weight: 600;
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--dark-grey);
}

/* Footer */
footer {
    background: var(--gradient-2);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.5) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-grey);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.partner-logo {
    background: linear-gradient(135deg, #F8FAFC 0%, #E6F7FF 100%);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    border: 1px solid rgba(30, 144, 255, 0.2);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

/* CTA Sections */
.cta-section {
    background: var(--gradient-2);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section .subheadline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
    background: var(--light-grey);
}

.cta-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 60px 0;
    }

    .process-step {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* Animations */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
    }
    50% {
        box-shadow: 0 8px 20px rgba(30, 144, 255, 0.5);
    }
}

.btn-primary {
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero {
    background: var(--gradient-1);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}
/* ========== SECURITY TOOLS PAGE ========== */
.tool-tabs {
    display: flex;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tool-tab {
    flex: 1;
    padding: 1.2rem 2rem;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    color: var(--dark-grey);
}

.tool-tab.active,
.tool-tab:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.tool-section {
    display: none;
}

.tool-section.active {
    display: block;
}

.tool-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.tool-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--medium-grey);
    border-radius: 12px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.tool-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.tool-button {
    background: var(--gradient-1);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.tool-button:hover:not(:disabled) {
    background: var(--gradient-2);
    transform: translateY(-2px);
}

.tool-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results-container {
    margin-top: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.result-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.result-item.pass { 
    background: #d4edda; 
    color: #155724; 
    border: 2px solid #c3e6cb; 
}

.result-item.warning { 
    background: #fff3cd; 
    color: #856404; 
    border: 2px solid #ffeaa7; 
}

.result-item.fail { 
    background: #f8d7da; 
    color: #721c24; 
    border: 2px solid #f5c6cb; 
}

.info-box {
    background: var(--light-blue);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 2rem;
}

.info-box h4 {
    margin-bottom: 1rem;
    color: var(--navy);
}

.info-box ul {
    margin: 0;
    padding-left: 0;
}

.info-box ul li {
    padding: 0.5rem 0;
    color: var(--dark-grey);
    line-height: 1.8;
}
/* ========== SECURITY TOOLS - ADD THIS SECTION ONLY ========== */
.tool-tabs {
    display: flex;
    margin: 2rem 0;
    border-radius: 12px;
    overflow

