/* TrustForge360 - Trust Blue Color Scheme */
:root {
    --primary-color: #0A2463;
    --secondary-color: #3E92CC;
    --accent-color: #00D9FF;
    --background-color: #F8F9FA;
    --text-color: #1A1A1A;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #E9ECEF;
    --gray-dark: #6C757D;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-shield {
    width: 28px;
    height: 32px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
}

.logo-360 {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.logo-360-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
}

.logo-360-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.logo-360-dot:nth-child(2) { top: 15%; right: 15%; }
.logo-360-dot:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.logo-360-dot:nth-child(4) { bottom: 15%; right: 15%; }
.logo-360-dot:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.logo-360-dot:nth-child(6) { bottom: 15%; left: 15%; }
.logo-360-dot:nth-child(7) { top: 50%; left: 0; transform: translateY(-50%); }
.logo-360-dot:nth-child(8) { top: 15%; left: 15%; }

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.logo-subtext {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #051a3d 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

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

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--background-color);
    padding: 2rem;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.trust-bar p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-card .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* Competitive Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 50px;
}

.advantage-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.industry-card .industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.industry-card p {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* How We Work */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #051a3d 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

/* Contact Preview */
.contact-preview {
    background: var(--background-color);
    padding: 4rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

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

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

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.info-icon {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 50px;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    margin: 0;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

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

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
    transition: all 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-popup {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.chat-popup.active {
    display: block;
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    font-weight: 600;
}

.chat-body {
    padding: 1rem;
    font-size: 0.95rem;
}

/* Service Detail Pages */
.service-detail-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.service-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--background-color);
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
}

.benefits-list li::before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

/* Compliance Frameworks */
.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.framework-badge {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.framework-badge:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.framework-badge h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .advantages-grid,
    .industries-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-subtext {
        font-size: 0.65rem;
    }
}
