:root {
    --primary: #2c5282;
    --secondary: #4299e1;
    --accent: #f6ad55;
    --light: #f7fafc;
    --dark: #2d3748;
    --success: #48bb78;
    --error: #e53e3e;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--dark);
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
}

    .skip-link:focus {
        top: 0;
    }

/* Header and Navigation */
.sticky-header {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    .sticky-header.scrolled {
        padding: 0.5rem 1rem;
        background-color: rgba(44, 82, 130, 0.95);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: bold;
}

    .logo a {
        color: white;
        text-decoration: none;
    }

    .logo span {
        color: var(--accent);
    }

.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 1rem;
}

    .search-container form {
        display: flex;
        align-items: center;
    }

    .search-container input {
        background: transparent;
        border: none;
        color: white;
        padding: 0.5rem 1rem;
        width: 200px;
    }

        .search-container input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

    .search-container button {
        background: transparent;
        border: none;
        color: white;
        padding: 0.5rem;
        cursor: pointer;
    }

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
}

    .nav-links li {
        margin-left: 2rem;
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        position: relative;
        transition: color var(--transition-speed);
    }

        .nav-links a:hover {
            color: var(--accent);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent);
            transition: width var(--transition-speed);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            color: var(--accent);
        }

        .nav-links a:focus::after {
            width: 100%;
        }

/* Buttons */
.cta-button {
    background-color: var(--accent);
    color: var(--dark);
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .cta-button:hover {
        background-color: #e69f3b;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .cta-button.secondary {
        border: 2px solid var(--light);
        color: var(--light);
    }

        .cta-button.secondary:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

    .cta-button:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
        text-decoration: none;
    }

.service-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Main Content */
main {
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.7)), url('../images/hero-bg2.webp') no-repeat center center/cover;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 4rem 1rem;
}

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
        opacity: 0.9;
    }

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1rem;
        position: relative;
        display: block;
        width: 100%;
        text-align: center;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--accent);
            transform: none;
        }

    .section-title p {
        font-size: 1.1rem;
        max-width: none;
        width: 100%;
        margin: 1rem 0 0;
        color: var(--gray-600);
        text-align: center;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    background-color: var(--secondary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 1.5rem 1.5rem;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
}

    .footer-logo span {
        color: var(--accent);
    }

.footer-about p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .social-icons a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        transition: all 0.3s ease;
    }

        .social-icons a:hover {
            background-color: var(--accent);
            color: var(--dark);
            transform: translateY(-3px);
        }

.footer-links h4, .footer-contact h4, .footer-certifications h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-links h4::after, .footer-contact h4::after, .footer-certifications h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 90%;
        height: 2px;
        background-color: var(--accent);
    }

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

    .footer-links a:hover {
        color: var(--accent);
        transform: translateX(5px);
    }

    .footer-links a:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
        color: var(--accent);
    }

.footer-contact p {
    margin-bottom: 0.8rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

    .footer-contact p i {
        color: var(--accent);
        width: 20px;
    }

.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

    .footer-legal a {
        color: var(--gray-500);
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-legal a:hover {
            color: var(--accent);
        }

        .footer-legal a:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            color: var(--accent);
        }

/* Forms */
.form-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-intro {
    margin-bottom: 2rem;
}

    .form-intro h2 {
        color: var(--primary);
        margin-bottom: 1rem;
        font-size: 2rem;
    }

.form-section {
    margin-bottom: 2.5rem;
}

    .form-section h3 {
        color: var(--primary);
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--gray-200);
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--gray-700);
        font-weight: 500;
    }

        .form-group label.required::after {
            content: '*';
            color: var(--error);
            margin-left: 0.25rem;
        }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
    }

.text-danger {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.inline-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .inline-row .form-group {
        flex: 1;
        min-width: 200px;
    }

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .search-container {
        order: 3;
        width: 100%;
        margin: 1rem 0 0;
    }

        .search-container input {
            width: 100%;
        }

    .nav-container {
        flex-wrap: wrap;
    }

    .nav-right {
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

        .nav-right.active {
            display: flex;
        }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

        .nav-links.active {
            max-height: 300px;
        }

        .nav-links li {
            margin: 0.5rem 0;
            width: 100%;
        }

        .nav-links a {
            display: block;
        }

    .cta-button {
        margin-top: 1rem;
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
    }

    .search-container {
        margin-top: 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.9)), url('../images/hero-bg2.webp') no-repeat center center/cover;
    padding: 5rem 1.5rem;
    color: white;
    position: relative;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title.light h2 {
    color: white;
}

.section-title.light p {
    color: rgba(255, 255, 255, 0.9);
}

.section-title.light h2::after {
    background-color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s;
}

    .stat-card:hover {
        transform: translateY(-10px);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-label {
    font-size: 1.1rem;
    color: white;
}

/* Process Section */
.process-section {
    padding: 6rem 1.5rem;
    background-color: var(--gray-100);
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.process-step {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

    .process-step:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .process-step::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -20px;
        width: 40px;
        height: 2px;
        background-color: var(--gray-300);
        z-index: 1;
    }

    .process-step:last-child::after {
        display: none;
    }

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.process-step p {
    color: var(--gray-600);
}

.process-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

    .process-cta h3 {
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
        color: var(--primary);
    }

/* Testimonial Section */
.testimonial-section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-slider {
    margin: 4rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

    .testimonial-content i {
        color: var(--accent);
        font-size: 2rem;
        opacity: 0.3;
        position: absolute;
        top: -10px;
        left: -10px;
    }

    .testimonial-content p {
        font-size: 1.2rem;
        line-height: 1.8;
        color: var(--gray-700);
        font-style: italic;
        padding-left: 2rem;
    }

.testimonial-author h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.trust-indicators {
    margin-top: 4rem;
    text-align: center;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s;
}

    .client-logo:hover {
        opacity: 1;
        filter: grayscale(0);
    }

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    padding: 4rem 1.5rem;
    color: white;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: white;
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

    .cta-section .cta-button:hover {
        background-color: var(--accent);
        color: var(--dark);
    }

@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-content p {
        font-size: 1.1rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .clients-logos {
        gap: 2rem;
    }
}

/* Demo Page Styles */
.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.demo-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.demo-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.demo-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.demo-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.demo-content iframe {
    display: block;
    border: none;
    width: 100%;
    min-height: 800px;
}

.demo-footer {
    text-align: center;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 8px;
    margin-top: 2rem;
}

.demo-footer p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.cta-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-speed);
}

.cta-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .demo-header h1 {
        font-size: 2rem;
    }
    
    .demo-header p {
        font-size: 1rem;
    }
    
    .demo-content iframe {
        min-height: 600px;
    }
    
    .demo-footer {
        padding: 1.5rem;
    }
}
