/* Kylinkin Website Styles */

/* Color Variables - Based on Logo */
:root {
    --primary-orange: #FF6B35;
    --primary-teal: #00D4AA;
    --dark-text: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    --gradient-secondary: linear-gradient(135deg, var(--primary-teal), var(--primary-orange));
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

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

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Anchor offset to account for fixed navbar */
.service-detail-card[id] {
    scroll-margin-top: 120px;
}

/* Additional anchor targets */
section[id], div[id] {
    scroll-margin-top: 120px;
}

/* Highlight effect for anchor targets */
.service-detail-card.highlight {
    animation: highlightFade 2s ease-in-out;
    border: 2px solid var(--primary-orange);
}

@keyframes highlightFade {
    0% {
        background-color: rgba(255, 107, 53, 0.1);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }
    100% {
        background-color: transparent;
        box-shadow: var(--shadow-light);
    }
}

.container {
    max-width: 1200px;
}



/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background: var(--white);
    box-shadow: var(--shadow-light);
    padding: 0.5rem 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-orange);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex !important;
    align-items: center !important;
    margin-left: auto;
    margin-right: 1rem;
    order: 3;
}

.language-buttons-group {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem;
    border-radius: 35px;
    border: 2px solid var(--primary-orange);
}

.language-btn {
    border: 1px solid transparent !important;
    color: var(--primary-orange);
    background: transparent;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 60px;
    justify-content: center;
}

.language-btn.active {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    color: var(--white);
    border-color: var(--primary-orange) !important;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.language-btn:hover:not(.active) {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    transform: translateY(-1px);
}

.language-btn.active:hover {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-orange));
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.language-btn i {
    font-size: 0.9rem;
    color: inherit;
    transition: transform 0.3s ease;
}

.language-btn:hover i {
    transform: rotate(360deg);
}

.language-btn span {
    font-weight: 700;
    font-size: 0.7rem;
}

/* Navbar layout adjustments */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-toggler {
    order: 2;
    margin-left: auto;
    margin-right: 1rem;
}

/* Mobile layout adjustments */
@media (max-width: 991.98px) {
    .language-switcher {
        margin-left: auto;
        margin-right: 0.5rem;
        order: 2;
    }
    
    .navbar-toggler {
        order: 3;
        margin-left: 0.5rem;
        margin-right: 0;
    }
    
    .language-buttons-group {
        gap: 0.15rem;
        padding: 0.2rem;
        border-radius: 30px;
    }
    
    .language-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        min-width: 50px;
        gap: 0.2rem;
    }
    
    .language-btn i {
        font-size: 0.8rem;
    }
    
    .language-btn span {
        font-size: 0.65rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff 0%, var(--light-gray) 100%);
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transform: rotate(45deg);
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons .btn {
    margin-bottom: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Graphics */
.hero-image {
    position: relative;
    height: 500px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.floating-card span {
    font-weight: 600;
    color: var(--dark-text);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-teal);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-secondary);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--dark-text);
    position: relative;
    padding-left: 2rem;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-teal);
}

.services-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-module {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 120px;
    text-align: center;
}

.service-module:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.service-module:nth-child(1) {
    top: 10%;
    left: 10%;
}

.service-module:nth-child(2) {
    top: 10%;
    right: 10%;
}

.service-module:nth-child(3) {
    bottom: 10%;
    left: 10%;
}

.service-module:nth-child(4) {
    bottom: 10%;
    right: 10%;
}

.service-module i {
    font-size: 2rem;
    color: var(--primary-orange);
}

.service-module span {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-orange);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), var(--primary-teal), transparent);
}

.footer-brand {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-brand:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.footer-brand img {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    height: 45px;
    width: auto;
    max-width: 200px;
    display: block;
    opacity: 1;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 400;
    max-width: none;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-teal);
    text-decoration: none;
}

/* Legal page specific contact info styles - scoped to avoid footer conflicts */
.contact-section .contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-section .contact-info p:hover {
    background: rgba(0, 123, 191, 0.05);
    padding-left: 0.5rem;
}

.contact-section .contact-info i {
    width: 24px;
    text-align: center;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.contact-section .contact-info strong {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Footer contact info styles - keep original simple styles */
.footer .contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
    padding: 0;
    border-radius: 0;
    transition: none;
}

.footer .contact-info p:hover {
    background: none;
    padding-left: 0;
}

.footer .contact-info i {
    color: var(--primary-teal);
    margin-right: 0.5rem;
    width: auto;
    font-size: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Page Header Styles */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 70px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Page Styles */
.mission-points {
    margin-top: 2rem;
}

.mission-point {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.mission-point i {
    color: var(--primary-teal);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.mission-visual {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.mission-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.mission-card i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.mission-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.value-card, .cert-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.value-card:hover, .cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-teal);
}

.value-icon, .cert-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i, .cert-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.value-card h4, .cert-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.tech-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.tech-category:hover {
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-light);
}

.tech-category h5 {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.5rem 0;
    color: var(--dark-text);
    border-bottom: 1px solid #eee;
}

.tech-list li:last-child {
    border-bottom: none;
}

/* Contact Page Styles */
.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-teal);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary-orange);
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.contact-form-element .form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-form-element .form-control,
.contact-form-element .form-select {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form-element .form-control:focus,
.contact-form-element .form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
}

/* Service Page Styles */
.service-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-teal);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-text);
    position: relative;
    padding-left: 2rem;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-teal);
}

.tech-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
    border-color: var(--primary-teal);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.tech-item span {
    display: block;
    font-weight: 600;
    color: var(--dark-text);
}

/* Solutions Page Styles */
.solution-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-teal);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 2rem;
    color: var(--white);
}

.solution-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.solution-features li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 2rem;
}

.solution-features li::before {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-teal);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-item i {
    color: var(--primary-teal);
    margin-right: 1rem;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.benefit-item h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--medium-gray);
    margin: 0;
}

.benefits-visual {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.benefit-metric {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    flex: 1;
    min-width: 150px;
}

.benefit-metric h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.benefit-metric p {
    color: var(--dark-text);
    font-weight: 600;
    margin: 0;
}

.implementation-timeline {
    position: relative;
    padding: 2rem 0;
}

.implementation-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-teal);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
    text-align: left;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    max-width: 45%;
}

.timeline-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--medium-gray);
    margin: 0;
}

/* Solutions Page Specific Styles */
.solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 212, 170, 0.1));
    border-radius: 50%;
    border: 3px solid var(--primary-orange);
}

/* Module Cards */
.module-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-teal));
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.module-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.module-icon i {
    font-size: 2rem;
    color: var(--white);
}

.module-card h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.module-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.module-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 2rem;
    color: var(--text-muted);
}

.module-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-teal);
}

.module-features li:last-child {
    border-bottom: none;
}

/* Technical Features */
.tech-feature {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-5px);
}

.tech-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-feature h5 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.tech-feature p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Implementation Process Timeline (for Solutions page) */
.implementation-process .process-timeline {
    position: relative;
    padding: 2rem 0;
}

.implementation-process .process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-teal));
    transform: translateX(-50%);
}

.implementation-process .process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.implementation-process .process-step:nth-child(odd) {
    flex-direction: row;
    text-align: right;
}

.implementation-process .process-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
}

.implementation-process .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.implementation-process .step-content {
    flex: 1;
    max-width: 40%;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.implementation-process .process-step:nth-child(odd) .step-content {
    margin-right: 60%;
}

.implementation-process .process-step:nth-child(even) .step-content {
    margin-left: 60%;
}

.implementation-process .step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.implementation-process .step-content h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.implementation-process .step-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Service Process Steps (for Services page) */
.service-process .process-step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.service-process .process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-process .step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-process .process-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.service-process .process-step p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Success Metrics */
.metric-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-teal));
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    /* Solutions page timeline adjustments */
    .implementation-process .process-timeline::before {
        left: 30px;
    }
    
    .implementation-process .process-step {
        flex-direction: row !important;
        text-align: left !important;
    }
    
    .implementation-process .step-number {
        left: 30px !important;
        transform: none !important;
        position: relative;
        margin-right: 2rem;
        flex-shrink: 0;
    }
    
    .implementation-process .step-content {
        max-width: none !important;
        margin: 0 !important;
        flex: 1;
    }
    
    /* Services page process adjustments */
    .service-process .process-step {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-process .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-process .process-step h4 {
        font-size: 1.1rem;
    }
    
    .module-card,
    .metric-card {
        margin-bottom: 2rem;
    }
    
    .tech-feature {
        margin-bottom: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .floating-card {
        position: relative;
        margin: 1rem auto;
        display: flex;
        max-width: 200px;
    }
    
    .floating-card:nth-child(1),
    .floating-card:nth-child(2),
    .floating-card:nth-child(3) {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .hero-graphic {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-visual {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }
    
    .service-module {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
}

/* FAQ Section Styling */
.faq-section {
    background: linear-gradient(135deg, #fff 0%, var(--light-gray) 100%);
}

.accordion-item {
    border: 1px solid rgba(255, 107, 53, 0.2);
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(0, 212, 170, 0.05));
    color: var(--dark-text);
    border: none;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
    border-color: var(--primary-orange);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    background: var(--white);
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.accordion-body p {
    margin-bottom: 0;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Enhanced accordion hover effects */
.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.15);
    transition: all 0.3s ease;
}

.accordion-button:hover:not(:focus) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 212, 170, 0.1));
}

/* Technical Architecture enhancements */
.tech-feature:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.tech-feature:hover .tech-icon i {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.tech-icon i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Legal Pages Specific Styles */
.privacy-commitment-card,
.terms-intro-card {
    background: linear-gradient(135deg, rgba(0, 123, 191, 0.1), rgba(255, 111, 15, 0.1));
    border: 2px solid rgba(0, 123, 191, 0.2);
}

.amazon-compliance-highlight {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(0, 123, 191, 0.1));
    border: 2px solid rgba(255, 153, 0, 0.3);
}

.amazon-icon {
    background: linear-gradient(135deg, #ff9900, #ff6600) !important;
}

.data-protection-highlight {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(0, 123, 191, 0.1));
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.protection-icon {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.ip-highlight {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1), rgba(0, 123, 191, 0.1));
    border: 2px solid rgba(108, 117, 125, 0.3);
}

.ip-icon {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
}

.liability-warning-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(220, 53, 69, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.4);
}

.warning-icon {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
}

.contact-section {
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 123, 191, 0.2);
    border-left: 4px solid var(--primary-teal);
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-orange);
}

.contact-section h4 {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 2px solid rgba(0, 123, 191, 0.1);
    padding-bottom: 0.5rem;
}

/* These styles are now handled by the specific .contact-section .contact-info and .footer .contact-info rules above */

/* Enhanced legal page contact sections */
#contact .value-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 123, 191, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#contact .bg-light {
    background: linear-gradient(135deg, rgba(0, 123, 191, 0.03), rgba(255, 255, 255, 0.95)) !important;
}

/* Enhanced table styles for legal pages */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 191, 0.05);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

/* Accordion enhancements for legal pages */
.accordion-button {
    background: rgba(0, 123, 191, 0.05);
    border: none;
    font-weight: 600;
    color: var(--dark-text);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-teal);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 191, 0.25);
    border-color: var(--primary-teal);
}

.accordion-item {
    border: 1px solid rgba(0, 123, 191, 0.2);
    margin-bottom: 0.5rem;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-body {
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Legal page responsive improvements */
@media (max-width: 768px) {
    .privacy-commitment-card .row,
    .terms-intro-card .row,
    .amazon-compliance-highlight .row,
    .data-protection-highlight .row,
    .ip-highlight .row,
    .liability-warning-card .row {
        text-align: center;
    }
    
    .privacy-commitment-card .col-md-2,
    .terms-intro-card .col-md-2,
    .amazon-compliance-highlight .col-md-2,
    .data-protection-highlight .col-md-2,
    .ip-highlight .col-md-2,
    .liability-warning-card .col-md-2 {
        margin-bottom: 1rem;
    }
    
    .contact-section {
        margin-bottom: 2rem;
    }
}

/* Legal pages sidebar navigation styles - moved to bottom of file */

/* Legal page responsive improvements */
@media (max-width: 991.98px) {
    .sticky-top {
        position: relative !important;
        top: auto !important;
    }
    
    .legal-sidebar {
        margin-bottom: 2rem;
    }
    
    .nav.flex-column {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .nav.flex-column .nav-link {
        flex: 1;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.5rem;
        border-left: none;
        border-bottom: 2px solid transparent;
    }
    
    .nav.flex-column .nav-link:hover,
    .nav.flex-column .nav-link.active {
        transform: none;
        border-left: none;
        border-bottom-color: var(--primary-teal);
    }
}

/* Enhanced legal page content sections */
.legal-section {
    scroll-margin-top: 120px;
}

.legal-section .section-title {
    border-bottom: 2px solid rgba(0, 123, 191, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section .section-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Improved list styling for legal pages */
.legal-list {
    list-style: none;
    padding-left: 0;
}

.legal-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Enhanced card hover effects for legal pages */
.legal-page .value-card:hover,
.legal-page .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Legal page header improvements */
/* Legal page header - consistent with other pages */
.legal-page .page-header {
    /* Uses default page-header styles */
}

.legal-page .page-title {
    color: var(--white);
    font-weight: 700;
}

.legal-page .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.legal-page .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Legal page typography improvements */
.legal-page h3 {
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-page h4 {
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.legal-page .lead {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Legal warning and highlight boxes */
.legal-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(220, 53, 69, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.legal-info {
    background: linear-gradient(135deg, rgba(0, 123, 191, 0.1), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(0, 123, 191, 0.2);
    border-left: 4px solid var(--primary-teal);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Table of contents animation - integrated with main nav styles */

/* Enhanced sidebar navigation colors */
.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-teal), #0066cc) !important;
    border: none;
}

.nav.flex-column .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav.flex-column .nav-link:hover {
    color: var(--primary-teal);
    background: linear-gradient(90deg, rgba(0, 123, 191, 0.08), rgba(0, 123, 191, 0.02));
    border-left-color: var(--primary-teal);
    transform: translateX(3px);
}

.nav.flex-column .nav-link.active {
    color: var(--primary-teal);
    background: linear-gradient(90deg, rgba(0, 123, 191, 0.15), rgba(0, 123, 191, 0.05));
    border-left-color: var(--primary-teal);
    font-weight: 600;
}

.nav.flex-column .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 191, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.nav.flex-column .nav-link:hover::before {
    left: 100%;
}

.nav.flex-column .nav-link > * {
    position: relative;
    z-index: 1;
}

/* Improved card shadows and visibility */
.legal-page .card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 123, 191, 0.1);
}

.legal-page .value-card,
.legal-page .feature-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 123, 191, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Fix text color and contrast issues */
.legal-page .text-muted:not(.page-header .text-muted) {
    color: #6c757d !important;
    font-size: 0.95rem;
}

.legal-page h1, .legal-page h2, .legal-page h3, .legal-page h4 {
    color: var(--dark-text);
    font-weight: 600;
}

.legal-page .container p:not(.contact-info p),
.legal-page .main-content p:not(.contact-info p) {
    color: #495057;
    line-height: 1.6;
}

/* Ensure footer text is visible on legal pages */
.legal-page .footer .footer-brand p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
} 