/* CSS Variables */
:root {
    --primary-color: #5e78fb;
    --primary-light: #b0c4fb;
    --primary-dark: #573cc8;
    --secondary-color: #10adbe;
    --secondary-light: #59f9f3;
    --secondary-dark: #0788b2;
    --accent-color: #de7414;
    --accent-light: #e6d238;
    --accent-dark: #de7f10;
    --success-color: #16b580;
    --success-light: #74ddb7;
    --success-dark: #0b8a70;
    --warning-color: #ef9115;
    --warning-light: #f0c5a3;
    --warning-dark: #e36421;
    --dark-color: #1d2431;
    --light-color: #f8fafc;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #fbfbfc;
    --gray-300: #d6dbe9;
    --gray-400: #a8aeb6;
    --gray-500: #686d73;
    --gray-600: #383e4a;
    --gray-700: #445567;
    --gray-800: #101820;
    --gray-900: #131a2c;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.56rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.58rem;
    color: var(--gray-600);
}

h4 {
    font-size: 1.30rem;
}

h5 {
    font-size: 1.22rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Header */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.58rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--primary-dark);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../CLO_images/hero-bg.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding-top: 250px;
}

.hero-section h2 {
    font-size: 1.64rem;
    color: var(--gray-600);
    margin-bottom: 1.58rem;
}

.hero-section p {
    font-size: 1.23rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: var(--gray-100);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

.bg-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.bg-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

/* Cards */
.feature-card,
.service-card,
.pricing-card,
.review-card,
.case-study-card,
.blog-card,
.career-card,
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 9px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.review-card:hover,
.case-study-card:hover,
.blog-card:hover,
.career-card:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 11px 25px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 13px 8px 0 0;
}

.service-card ul {
    flex-grow: 1;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    color: var(--gray-600);
}

.service-card ul li::before {
    content: '“';
    color: var(--success-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.service-card h5 {
    color: var(--primary-color);
    font-size: 1.53rem;
    font-weight: 700;
    margin-top: auto;
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    background: var(--accent-color);
    border: 2px solid var(--gray-200);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.79rem;
    font-weight: 600;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card h5 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Team Section */
.team-member {
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-light);
    transition: all 0.3s ease;
}

.team-member:hover .team-photo {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Reviews */
.review-card {
    background: var(--white);
    padding: 2rem;
    border-left: 6px solid var(--primary-color);
    position: relative;
}

.review-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    top: -10px;
    left: 1rem;
}

/* Features Items */
.feature-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.feature-icon i {
    color: var(--primary-color);
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.59rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 60%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 60%;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -45px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -45px;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
}

/* Career Cards */
.career-card {
    border-left: 4px solid var(--success-color);
    transition: all 0.3s ease;
}

.career-card:hover {
    border-left-color: var(--primary-color);
}

/* Blog Cards */
.blog-card img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.blog-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Gallery */
#gallery img {
    border-radius: 8px;
    transition: all 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Form */
.form-control {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(75, 105, 236, 0.25);
}

.btn {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96, 111, 230, 0.40);
}

/* FAQ Accordion */
.accordion-button {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-800);
    font-weight: 500;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(117, 129, 255, 0.25);
    border-color: var(--primary-color);
}

.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");
}

.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='%234338ca'%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);
    border-top: 1px solid var(--gray-200);
    padding: 1.25rem;
}

.accordion-item {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    margin-bottom: 0.62rem;
    overflow: hidden;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--gray-300);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-light);
}

.footer ul li {
    margin-bottom: 0.55rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000591;
        --secondary-color: #007370;
        --dark-color: #000000;
        --light-color: #ffffff;
    }
    
    .btn-primary {
        background: var(--primary-color);
        border: 2px solid var(--primary-color);
    }
    
    .card {
        border: 2px solid var(--gray-800);
    }
}

/* Additional Page Styles */
.step-card,
.platform-card,
.doc-card,
.practice-card,
.support-card,
.metric-card,
.innovation-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.step-card:hover,
.platform-card:hover,
.doc-card:hover,
.practice-card:hover,
.support-card:hover,
.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-card .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.31rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.platform-card i,
.doc-card i,
.support-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.practice-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.innovation-card {
    border-left: 4px solid var(--accent-color);
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

/* Image Resolution Specifications */
.hero-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.case-study-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Service Card Structure Fix */
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.service-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    flex-grow: 1;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li::before {
    content: '“';
    color: var(--success-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.service-card h5 {
    color: var(--primary-color);
    font-size: 1.60rem;
    font-weight: 700;
    margin-top: auto;
    text-align: center;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-200);
}

/* Enhanced Accordion */
.accordion-item {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    margin-bottom: 0.62rem;
}

.accordion-button {
    border-radius: 8px;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

/* Enhanced Timeline */
.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.96rem;
    margin-top: 1rem;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    #gallery,
    .btn,
    .breadcrumb-nav {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .step-card,
    .platform-card,
    .doc-card,
    .practice-card,
    .support-card,
    .metric-card,
    .innovation-card {
        page-break-inside: avoid;
        border: 1px solid black;
        margin-bottom: 1rem;
    }
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
