/* TrimKore Main Stylesheet */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Tailwind Configuration */
tailwind.config = {
    theme: {
        extend: {
            colors: {
                primary: '#FF8C42',
                secondary: '#FF2E63',
                accent: '#007BFF'
            }
        }
    }
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
}

/* Ensure Feather icons are properly sized and visible */
[data-feather] {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Ensure icons are visible in all contexts */
svg[data-feather] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Specific styling for process section icons */
#process [data-feather] {
    width: 2rem !important;
    height: 2rem !important;
    color: #FF8C42 !important;
}

/* Ensure process section icon containers are visible */
#process .w-16.h-16 {
    background-color: rgba(255, 140, 66, 0.1) !important;
    border: 2px solid rgba(255, 140, 66, 0.2) !important;
}

/* Service Delivery Model Cards - Icon Visibility */
.service-delivery-card .icon-container {
    transition: all 0.3s ease;
}

.service-delivery-card:hover .icon-container {
    background-color: rgba(255, 107, 53, 0.2) !important;
    transform: scale(1.1);
}

.service-delivery-card .icon-container i {
    color: #374151 !important; /* Dark gray for better contrast */
    transition: color 0.3s ease;
}

.service-delivery-card:hover .icon-container i {
    color: #FF6B35 !important; /* Orange on hover */
}

/* Service Cards - Icon Visibility */
.service-card .w-16 {
    transition: all 0.3s ease;
}

.service-card:hover .w-16 {
    background-color: rgba(255, 107, 53, 0.2) !important;
    transform: scale(1.1);
}

.service-card .w-16 i {
    color: #374151 !important; /* Dark gray for better contrast */
    transition: color 0.3s ease;
}

.service-card:hover .w-16 i {
    color: #FF6B35 !important; /* Orange on hover */
}

/* Hero Background */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* About Background */
.about-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('http://static.photos/construction/1920x1080/8');
    background-size: cover;
    background-position: center;
}

/* Contact Background */
.contact-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('http://static.photos/office/1920x1080/10');
    background-size: cover;
    background-position: center;
}

/* Services Background */
.services-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Team Background */
.team-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Contact Background */
.contact-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* About Background */
.about-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Projects Background */
.projects-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Professional Corporate Timeline - Fixed Layout */
.timeline-container {
    position: relative;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-line-professional {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #FF6B35, #FF8C42, #FF6B35);
    transform: translateX(-50%);
    border-radius: 1px;
    opacity: 0;
    animation: drawProfessionalLine 3s ease-in-out 0.5s forwards;
    z-index: 0;
}

.timeline-arrow-up,
.timeline-arrow-down {
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInArrows 1s ease-in-out 2s forwards;
    z-index: 2;
}

.timeline-arrow-up {
    top: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #FF6B35;
}

.timeline-arrow-down {
    bottom: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #FF6B35;
}

.timeline-item-professional {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInProfessional 1s ease-out forwards;
    clear: both;
}

.timeline-item-professional:nth-child(2) { animation-delay: 0.3s; }
.timeline-item-professional:nth-child(3) { animation-delay: 0.6s; }
.timeline-item-professional:nth-child(4) { animation-delay: 0.9s; }
.timeline-item-professional:nth-child(5) { animation-delay: 1.2s; }
.timeline-item-professional:nth-child(6) { animation-delay: 1.5s; }
.timeline-item-professional:nth-child(7) { animation-delay: 1.8s; }

.timeline-content-left,
.timeline-content-right {
    width: calc(50% - 3rem);
    position: relative;
    z-index: 3;
}

.timeline-content-left {
    float: left;
    text-align: right;
    padding-right: 3rem;
}

.timeline-content-right {
    float: right;
    text-align: left;
    padding-left: 3rem;
}

.timeline-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    max-width: 400px;
}

.timeline-content-left .timeline-card {
    margin-left: auto;
}

.timeline-content-right .timeline-card {
    margin-right: auto;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.timeline-card.current {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    border: none;
}

.timeline-icon-container {
    width: 60px;
    height: 60px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.timeline-icon-container.current {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.timeline-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.timeline-card.current .timeline-title {
    color: white;
}

/* Timeline Text Colors - High Specificity */
.timeline-container .timeline-card .timeline-title {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}

.timeline-container .timeline-card.current .timeline-title {
    color: #ffffff !important;
}

.timeline-container .timeline-card .timeline-description {
    color: #1f2937 !important;
    font-weight: 600 !important;
}

.timeline-container .timeline-card.current .timeline-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

.timeline-container .timeline-card .timeline-subtitle {
    color: #374151 !important;
    font-weight: 500 !important;
}

.timeline-container .timeline-card.current .timeline-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.timeline-description {
    font-size: 1rem;
    color: #1f2937 !important;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-weight: 600;
}

.timeline-card.current .timeline-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

.timeline-subtitle {
    font-size: 0.875rem;
    color: #374151 !important;
    font-style: italic;
    font-weight: 500;
}

.timeline-card.current .timeline-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.timeline-dot-professional {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    background: #FF6B35;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #FF6B35, 0 0 20px rgba(255, 107, 53, 0.6), 0 0 40px rgba(255, 107, 53, 0.4), 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    animation: pulseDot 0.8s ease-out forwards;
    z-index: 10;
}

.timeline-dot-professional.current {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    box-shadow: 0 0 0 4px white, 0 0 25px rgba(255, 107, 53, 0.8), 0 0 50px rgba(255, 107, 53, 0.6), 0 4px 20px rgba(255, 107, 53, 0.5);
    animation: pulseCurrent 2s ease-in-out infinite;
}

.timeline-year {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.timeline-item-professional:nth-child(2) .timeline-dot-professional { animation-delay: 0.3s; }
.timeline-item-professional:nth-child(3) .timeline-dot-professional { animation-delay: 0.6s; }
.timeline-item-professional:nth-child(4) .timeline-dot-professional { animation-delay: 0.9s; }
.timeline-item-professional:nth-child(5) .timeline-dot-professional { animation-delay: 1.2s; }
.timeline-item-professional:nth-child(6) .timeline-dot-professional { animation-delay: 1.5s; }
.timeline-item-professional:nth-child(7) .timeline-dot-professional { animation-delay: 1.8s; }

.timeline-item-professional:hover .timeline-dot-professional {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 6px white, 0 6px 25px rgba(255, 107, 53, 0.5);
}

@keyframes drawProfessionalLine {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 100%;
        opacity: 1;
    }
}

@keyframes fadeInArrows {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes slideInProfessional {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseDot {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes pulseCurrent {
    0%, 100% {
        box-shadow: 0 0 0 4px white, 0 4px 20px rgba(255, 107, 53, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3), 0 6px 30px rgba(255, 107, 53, 0.7);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-container {
        padding: 0 1rem;
    }
    
    .timeline-content-left,
    .timeline-content-right {
        width: 100%;
        float: none;
        text-align: left;
        padding: 0 0 0 4rem;
    }
    
    .timeline-line-professional {
        left: 2rem;
    }
    
    .timeline-dot-professional {
        left: 2rem;
    }
    
    .timeline-card {
        max-width: none;
        margin: 0;
    }
}

/* Core Values Icons - Better Visibility */
.bg-gray-50 .w-12 i {
    color: #374151 !important;
}

/* Stats Animation */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    transition: all 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
    color: #FFE4B5 !important;
}

/* Project Filter Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Button Transitions */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Service Icon */
.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Card Animations */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.project-card {
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-card {
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* Timeline Styles */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #00D4AA;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-bg {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('http://static.photos/construction/640x360/5');
    }
    
    .about-bg {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('http://static.photos/construction/640x360/8');
    }
    
    .contact-bg {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('http://static.photos/office/640x360/10');
    }
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
button:focus,
a:focus {
    outline: 2px solid #00D4AA;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* WhatsApp and Move to Top Buttons */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Remove old conflicting styles */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .move-to-top {
        bottom: 15px;
        right: 80px;
        width: 45px;
        height: 45px;
    }
}

/* Hero Stats Animation */
.hero-stats {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.hero-stats.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-stats:nth-child(1) {
    transition-delay: 0.2s;
}

.hero-stats:nth-child(2) {
    transition-delay: 0.4s;
}

.hero-stats:nth-child(3) {
    transition-delay: 0.6s;
}

/* Counter Animation */
.counter {
    font-weight: bold !important;
    color: #FF8C42 !important;
}

.hero-stats .counter {
    font-weight: bold !important;
    color: #FF8C42 !important;
}

/* Stats Card Hover Effects */
.hero-stats:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 140, 66, 0.15);
}

/* Staggered Animation for Hero Elements */
.hero-title {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.9s forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Number Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.counter-animate {
    animation: countUp 0.6s ease-out;
}

/* Alternative Section Background Colors */
section:nth-child(even) {
    background-color: var(--grey-800) !important;
    color: white;
}

section:nth-child(even) h1,
section:nth-child(even) h2,
section:nth-child(even) h3,
section:nth-child(even) h4,
section:nth-child(even) h5,
section:nth-child(even) h6 {
    color: white !important;
}

section:nth-child(even) p {
    color: var(--grey-200) !important;
}

section:nth-child(even) .text-gray-600,
section:nth-child(even) .text-gray-700,
section:nth-child(even) .text-gray-800 {
    color: var(--grey-200) !important;
}

section:nth-child(even) .text-gray-500 {
    color: var(--grey-300) !important;
}

section:nth-child(even) .text-gray-400 {
    color: var(--grey-400) !important;
}

/* Specific section adjustments */
section:nth-child(even) .bg-white {
    background-color: var(--grey-700) !important;
}

section:nth-child(even) .bg-gray-50 {
    background-color: var(--grey-800) !important;
}

section:nth-child(even) .bg-gray-100 {
    background-color: var(--grey-700) !important;
}

/* Card adjustments for dark sections */
section:nth-child(even) .bg-white {
    background-color: var(--grey-700) !important;
    color: white;
}

section:nth-child(even) .bg-white h1,
section:nth-child(even) .bg-white h2,
section:nth-child(even) .bg-white h3,
section:nth-child(even) .bg-white h4,
section:nth-child(even) .bg-white h5,
section:nth-child(even) .bg-white h6 {
    color: white !important;
}

section:nth-child(even) .bg-white p {
    color: var(--grey-200) !important;
}

section:nth-child(even) .bg-white .text-gray-600,
section:nth-child(even) .bg-white .text-gray-700,
section:nth-child(even) .bg-white .text-gray-800 {
    color: var(--grey-200) !important;
}

/* Process step adjustments */
section:nth-child(even) .process-step {
    background-color: var(--grey-700) !important;
    color: white;
}

section:nth-child(even) .process-step h3,
section:nth-child(even) .process-step h4,
section:nth-child(even) .process-step h5 {
    color: white !important;
}

section:nth-child(even) .process-step p {
    color: var(--grey-200) !important;
}

section:nth-child(even) .process-step ul li {
    color: var(--grey-300) !important;
}

/* Service path card adjustments */
section:nth-child(even) .service-path-card {
    background-color: var(--grey-700) !important;
    color: white;
}

section:nth-child(even) .service-path-card h5 {
    color: white !important;
}

section:nth-child(even) .service-path-card p {
    color: var(--grey-200) !important;
}

/* Service Path Cards Font Colors */
.service-path-card h5 {
    color: var(--primary-black) !important;
    font-weight: 600;
}

.service-path-card p {
    color: var(--grey-700) !important;
}

/* Ensure text visibility in dark sections */
section:nth-child(even) .service-path-card h5 {
    color: white !important;
}

section:nth-child(even) .service-path-card p {
    color: var(--grey-200) !important;
}

/* Additional dark section adjustments */
section:nth-child(even) .border-gray-200 {
    border-color: var(--grey-600) !important;
}

section:nth-child(even) .border-t {
    border-color: var(--grey-600) !important;
}

/* Testimonial card adjustments for dark sections */
section:nth-child(even) .testimonial-card {
    background-color: var(--grey-700) !important;
    color: white;
}

section:nth-child(even) .testimonial-card h4,
section:nth-child(even) .testimonial-card h5 {
    color: white !important;
}

section:nth-child(even) .testimonial-card p {
    color: var(--grey-200) !important;
}

section:nth-child(even) .testimonial-card .text-gray-600 {
    color: var(--grey-300) !important;
}

:root {
    --primary-orange: #FF8C42; /* Vibrant Orange - "T" color */
    --primary-black: #000000; /* Pure Black - "K" color */
    --accent-orange: #FFA500; /* Lighter Orange for accents */
    --grey-100: #F8F9FA; /* Light Grey */
    --grey-200: #E9ECEF; /* Light Grey */
    --grey-300: #DEE2E6; /* Medium Light Grey */
    --grey-400: #CED4DA; /* Medium Grey */
    --grey-500: #ADB5BD; /* Medium Dark Grey */
    --grey-600: #6C757D; /* Dark Grey */
    --grey-700: #495057; /* Darker Grey */
    --grey-800: #343A40; /* Very Dark Grey */
    --grey-900: #212529; /* Almost Black Grey */
    --gradient-orange: linear-gradient(135deg, #FF8C42, #FFA500);
    --gradient-black: linear-gradient(135deg, #000000, #343A40);
    --gradient-mixed: linear-gradient(135deg, #FF8C42, #000000);
}

/* TrimKore Logo Styling */
.trimkore-logo {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    color: white;
}

.trimkore-logo .letter-t {
    color: var(--primary-orange);
    text-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
}

.trimkore-logo .letter-k {
    color: var(--primary-black);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trimkore-logo .letter-rimore {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Header Logo Styling */
nav .trimkore-logo {
    color: var(--grey-800);
}

nav .trimkore-logo .letter-rimore {
    color: var(--grey-800);
}

/* Compact Navigation Styling */
nav {
    min-height: 60px;
}

nav .container {
    min-height: 60px;
}

nav .nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

nav .nav-link:hover {
    background-color: rgba(255, 140, 66, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        min-height: 56px;
    }
    
    nav .container {
        min-height: 56px;
    }
}

/* Footer Logo Styling */
footer .trimkore-logo {
    color: white;
}

footer .trimkore-logo .letter-rimore {
    color: white;
}

/* Updated Primary Colors */
.text-primary { color: var(--primary-orange) !important; }
.bg-primary { background-color: var(--primary-orange) !important; }
.border-primary { border-color: var(--primary-orange) !important; }

.text-black { color: var(--primary-black) !important; }
.bg-black { background-color: var(--primary-black) !important; }
.border-black { border-color: var(--primary-black) !important; }

/* Professional Grey Shades */
.text-grey-100 { color: var(--grey-100) !important; }
.text-grey-200 { color: var(--grey-200) !important; }
.text-grey-300 { color: var(--grey-300) !important; }
.text-grey-400 { color: var(--grey-400) !important; }
.text-grey-500 { color: var(--grey-500) !important; }
.text-grey-600 { color: var(--grey-600) !important; }
.text-grey-700 { color: var(--grey-700) !important; }
.text-grey-800 { color: var(--grey-800) !important; }
.text-grey-900 { color: var(--grey-900) !important; }

.bg-grey-100 { background-color: var(--grey-100) !important; }
.bg-grey-200 { background-color: var(--grey-200) !important; }
.bg-grey-300 { background-color: var(--grey-300) !important; }
.bg-grey-400 { background-color: var(--grey-400) !important; }
.bg-grey-500 { background-color: var(--grey-500) !important; }
.bg-grey-600 { background-color: var(--grey-600) !important; }
.bg-grey-700 { background-color: var(--grey-700) !important; }
.bg-grey-800 { background-color: var(--grey-800) !important; }
.bg-grey-900 { background-color: var(--grey-900) !important; }

/* Jazzy Animations */
@keyframes jazzBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-5px) scale(1.05); }
    50% { transform: translateY(-10px) scale(1.1); }
    75% { transform: translateY(-5px) scale(1.05); }
}

@keyframes jazzPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes jazzSlide {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes jazzGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 140, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 140, 0, 0.6), 0 0 40px rgba(255, 140, 0, 0.4); }
}

/* Enhanced Process Flow with Jazz */
.process-flow {
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-mixed);
    border-radius: 2px;
    z-index: 1;
    animation: jazzPulse 3s ease-in-out infinite;
}

.process-step {
    position: relative;
    z-index: 2;
    background: white;
    border: 3px solid var(--primary-orange);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 140, 0, 0.25);
    border-color: var(--primary-black);
    animation: jazzBounce 0.6s ease-in-out;
}

.process-step::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.process-step:hover::before {
    border-bottom-color: var(--primary-black);
    animation: jazzGlow 2s ease-in-out infinite;
}

/* Jazz Step Numbers */
.step-number {
    background: var(--gradient-orange);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
    animation: jazzGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.step-number:hover {
    transform: scale(1.1) rotate(5deg);
    animation: jazzBounce 0.6s ease-in-out;
}

/* Jazz Floating Icons */
.floating-icon {
    position: absolute;
    animation: jazzFloat 8s ease-in-out infinite;
    opacity: 0.15;
    z-index: 0;
}

.floating-icon:nth-child(1) { 
    top: 10%; left: 5%; 
    color: var(--primary-orange); 
    animation-delay: 0s; 
}
.floating-icon:nth-child(2) { 
    top: 20%; right: 10%; 
    color: var(--primary-black); 
    animation-delay: 2s; 
}
.floating-icon:nth-child(3) { 
    bottom: 15%; left: 15%; 
    color: var(--primary-orange); 
    animation-delay: 4s; 
}
.floating-icon:nth-child(4) { 
    bottom: 5%; right: 20%; 
    color: var(--primary-black); 
    animation-delay: 6s; 
}

@keyframes jazzFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-20px) rotate(5deg) scale(1.1); }
    50% { transform: translateY(-30px) rotate(10deg) scale(1.2); }
    75% { transform: translateY(-20px) rotate(5deg) scale(1.1); }
}

/* Jazz Phase Indicators */
.phase-indicator {
    background: var(--gradient-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    animation: jazzSlide 1s ease-out;
}

.phase-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: jazzShimmer 3s infinite;
}

@keyframes jazzShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Service Path Cards Animation */
.service-path-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    animation: cardSlideIn 0.8s ease-out;
}

.service-path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mixed);
    border-radius: inherit;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-path-card:hover::before {
    opacity: 1;
}

.service-path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.15);
}

.service-path-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    transition: all 0.3s ease;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation for Service Cards */
.service-path-card:nth-child(1) { animation-delay: 0.1s; }
.service-path-card:nth-child(2) { animation-delay: 0.2s; }
.service-path-card:nth-child(3) { animation-delay: 0.3s; }
.service-path-card:nth-child(4) { animation-delay: 0.4s; }

/* Jazz Service Icon Gradients */
.service-icon-consultancy {
    background: linear-gradient(135deg, var(--primary-orange), #FFA500);
    animation: jazzGlow 4s ease-in-out infinite;
}

.service-icon-execution {
    background: linear-gradient(135deg, var(--primary-black), var(--grey-800));
    animation: jazzGlow 4s ease-in-out infinite 1s;
}

.service-icon-service {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-black));
    animation: jazzGlow 4s ease-in-out infinite 2s;
}

.service-icon-turnkey {
    background: linear-gradient(135deg, var(--primary-black), var(--primary-orange));
    animation: jazzGlow 4s ease-in-out infinite 3s;
}

/* Jazz Hero Elements */
.hero-title {
    opacity: 0;
    transform: translateY(50px);
    animation: jazzSlide 1.2s ease-out 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: jazzSlide 1.2s ease-out 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: jazzSlide 1.2s ease-out 0.9s forwards;
}

/* Jazz CTA Section */
.cta-jazz {
    background: var(--gradient-mixed);
    position: relative;
    overflow: hidden;
}

.cta-jazz::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: jazzPulse 4s ease-in-out infinite;
}

/* Jazz Button Styles */
.btn-jazz {
    background: var(--gradient-orange);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-jazz:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.4);
    animation: jazzBounce 0.6s ease-in-out;
}

.btn-jazz::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-jazz:hover::before {
    left: 100%;
}

/* Client Logos Styling with Background Cards */
.client-logo-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    animation: clientLogoSlideIn 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
    text-align: center;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.client-logo {
    max-height: 70px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
}

.client-logo:hover {
    transform: scale(1.1);
}

.client-name {
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
    line-height: 1.2;
    transition: color 0.3s ease;
    max-width: 100%;
    word-wrap: break-word;
}

.client-logo-card:hover .client-name {
    color: #374151;
}

/* Staggered Animation for Client Logo Cards */
.client-logo-card:nth-child(1) { animation-delay: 0.1s; }
.client-logo-card:nth-child(2) { animation-delay: 0.2s; }
.client-logo-card:nth-child(3) { animation-delay: 0.3s; }
.client-logo-card:nth-child(4) { animation-delay: 0.4s; }
.client-logo-card:nth-child(5) { animation-delay: 0.5s; }
.client-logo-card:nth-child(6) { animation-delay: 0.6s; }
.client-logo-card:nth-child(7) { animation-delay: 0.7s; }
.client-logo-card:nth-child(8) { animation-delay: 0.8s; }
.client-logo-card:nth-child(9) { animation-delay: 0.9s; }
.client-logo-card:nth-child(10) { animation-delay: 1.0s; }

@keyframes clientLogoSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Continuous subtle animation for client logos */
.client-logo-container {
    animation: clientLogoSlideIn 0.8s ease-out forwards, clientLogoFloat 6s ease-in-out infinite;
}

.client-logo-container:nth-child(odd) {
    animation: clientLogoSlideIn 0.8s ease-out forwards, clientLogoFloat 6s ease-in-out infinite;
}

.client-logo-container:nth-child(even) {
    animation: clientLogoSlideIn 0.8s ease-out forwards, clientLogoFloat 6s ease-in-out infinite reverse;
}

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

/* Updated WhatsApp Button */
.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-button i {
    width: 24px;
    height: 24px;
}

.whatsapp-button:hover {
    background: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Updated Move to Top Button */
.move-to-top {
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 80px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.move-to-top i {
    width: 20px;
    height: 20px;
}

.move-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.move-to-top:hover {
    background: #E55A2B;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Responsive Jazz */
@media (max-width: 768px) {
    .process-flow::before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 20px;
        animation: jazzSlide 0.6s ease-out;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .move-to-top {
        bottom: 15px;
        right: 70px;
        width: 45px;
        height: 45px;
    }
    
    .client-logo-card {
        min-height: 80px;
        padding: 15px;
    }
    
    .client-logo {
        max-height: 50px;
        max-width: 120px;
    }
}

/* Improved spacing and visual hierarchy */
.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    margin-top: 2rem;
}

.process-flow {
    margin-bottom: 3rem;
}

.testimonial-text {
    max-width: 65ch;
    margin: 0 auto;
}

.service-path-card {
    min-height: 200px;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .process-step h3 {
        font-size: 1rem;
    }
    
    .service-path-card {
        min-height: auto;
    }
}

/* Accessibility and Focus Styles */
a:focus,
button:focus {
    outline: 2px solid #FF8C42;
    outline-offset: 2px;
}

.whatsapp-button:focus,
.move-to-top:focus {
    outline: 2px solid #FF8C42;
    outline-offset: 2px;
}

/* Footer link focus styles */
footer a:focus {
    outline: 2px solid #FF8C42;
    outline-offset: 2px;
    background-color: rgba(255, 140, 66, 0.1);
}

/* Social media button focus */
footer .w-10:focus {
    outline: 2px solid #FF8C42;
    outline-offset: 2px;
}

/* Performance optimizations */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Font loading optimization */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* Color contrast improvements */
.text-white {
    color: #ffffff !important;
}

.bg-primary {
    background-color: #FF8C42 !important;
}

/* Ensure WCAG AA compliance for orange gradient text */
.cta-jazz .text-white {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Error Page Styles */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon {
    animation: pulse 2s infinite;
}

.error-code {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.error-message {
    line-height: 1.6;
}

.error-card {
    transition: all 0.3s ease;
}

.error-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.error-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.error-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.error-button:hover::before {
    left: 100%;
}

/* Error page animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-content {
    animation: fadeInUp 0.8s ease-out;
}

.error-icon-container {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.error-text {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.error-actions {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Responsive error page adjustments */
@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
    
    .error-message h2 {
        font-size: 2rem;
    }
    
    .error-message p {
        font-size: 1.125rem;
    }
    
    .error-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Error page status indicators */
.status-info {
    border-left: 4px solid #3B82F6;
}

.status-warning {
    border-left: 4px solid #F59E0B;
}

.status-error {
    border-left: 4px solid #EF4444;
}

.status-success {
    border-left: 4px solid #10B981;
}

/* Error page specific logo sizing */
body.error-page nav img {
    width: 1.25rem !important;
    height: 1.25rem !important;
}

body.error-page nav {
    min-height: 48px !important;
}

body.error-page nav .container {
    min-height: 48px !important;
}

body.error-page nav .trimkore-logo {
    font-size: 0.875rem !important;
}

body.error-page nav .nav-link {
    font-size: 0.875rem !important;
    padding: 0.375rem 0.5rem !important;
}

/* Debug: Ensure client logos are visible */
.client-logo-card {
    background: white !important;
    border: 1px solid #e5e7eb !important;
}

.client-logo {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 140px !important;
    max-height: 70px !important;
}

/* Scrolling Ticker Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.ticker-container {
    position: relative;
}

.ticker-container:hover .animate-scroll {
    animation-play-state: paused;
}

.ticker-item {
    min-width: 300px;
}

.ticker-item img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 80px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 0.375rem !important;
}

/* Responsive ticker adjustments */
@media (max-width: 768px) {
    .ticker-item {
        min-width: 250px;
    }
    
    .animate-scroll {
        animation-duration: 25s;
    }
}
