:root {
    /* Colors extracted from Logo */
    --primary-color: #1e2a4a; /* Dark Navy Blue */
    --secondary-color: #5d6d7e; /* Greyish Blue */
    --accent-color: #2c3e50; /* Darker Slate */
    --text-dark: #1f2937;
    --text-light: #f3f4f6;
    --text-muted: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc; /* Light Gray for sections */
    --bg-dark: #111827;
    --footer-bg: #0f172a;
    --success-color: #10b981;

    /* Fonts */
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    transition: color .25s ease, transform .15s ease;
}

/* Bootstrap Overrides & Custom Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-light {
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-light {
    color: var(--text-light) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* Navbar */
.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Dropdown specific overrides */
.dropdown-item:active, .dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Hero Section */
/* Note: Background images are now handled inline or via specific classes in HTML for better flexibility, 
   but we can keep a default hero class if needed. */

/* Feature/Service Boxes */
.service-box,
.feature-box,
.vertical-card,
.testimonial-card,
.offer-box {
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-box:hover,
.feature-box:hover,
.vertical-card:hover,
.testimonial-card:hover,
.offer-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2,6,23,0.06) !important;
}

/* Vertical Card Specifics */
/* Industry Cards (New Design) */
.industry-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-box {
    width: 60px;
    height: 60px;
}

.icon-box img {
    width: 32px;
    height: auto;
}

/* Icon Box Backgrounds */
.bg-teal-light { background-color: #e0f2f1; } /* Teal 50 */
.bg-orange-light { background-color: #fff3e0; } /* Orange 50 */
.bg-cyan-light { background-color: #e0f7fa; } /* Cyan 50 */
.bg-blue-light { background-color: #e3f2fd; } /* Blue 50 */

/* Offer Section */
.offer-box .ending {
    background: #00ff44;
    display: inline-block;
    padding: .45rem .6rem;
    font-weight: 700;
    margin: .85rem 0;
    border-radius: 6px;
    color: #052400;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.timer div {
    background: #0d1117;
    color: white;
    padding: .5rem;
    border-radius: 8px;
    width: 60px;
    text-align: center;
}

.timer div span {
    display: block;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
}

.timer div p {
    margin-top: .2rem;
    font-size: .7rem;
    opacity: .85;
    margin-bottom: 0;
}

/* Testimonials */
.testimonial-card {
    border-left: 4px solid var(--primary-color);
}

/* Process Steps (New Design) */
.working-process-section {
    background-color: #fff;
}

.process-container {
    padding: 20px 0;
}

.process-bar {
    position: absolute;
    top: 110px; /* Adjust based on circle position */
    left: 10%;
    right: 10%;
    height: 100px;
    background: linear-gradient(to right, #e0f2f1, #e0f7fa, #e3f2fd, #e0e7ff); /* Slightly darker for visibility */
    border-radius: 0;
    z-index: 0;
    box-shadow: none;
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%); /* Chevron arrow shape */
}

/* Connecting line effect between circles */
.process-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to right, #84cc16, #10b981, #06b6d4, #3b82f6);
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.3;
    filter: blur(4px);
}

.process-step {
    position: relative;
    z-index: 1;
}

.step-number-text {
    font-size: 1.5rem;
    opacity: 0.8;
}

.process-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    border: 5px solid #fff; /* White border to separate from bar */
}

.process-circle:hover {
    transform: scale(1.05);
}

/* Gradients for circles */
.circle-1 {
    background: linear-gradient(135deg, #a3e635 0%, #65a30d 100%); /* Lime/Green */
    box-shadow: 0 10px 25px rgba(101, 163, 13, 0.3) !important;
}

.circle-2 {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%); /* Emerald/Teal */
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3) !important;
}

.circle-3 {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%); /* Cyan */
    box-shadow: 0 10px 25px rgba(8, 145, 178, 0.3) !important;
}

.circle-4 {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%); /* Blue */
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3) !important;
}

/* Custom Text Colors */
.text-teal { color: #10b981 !important; }
.text-info { color: #06b6d4 !important; }

/* Responsive */
@media (max-width: 991.98px) {
    .process-bar {
        display: none; /* Hide horizontal bar on mobile/tablet */
    }
    
    .process-circle {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem !important;
    }
    
    .process-circle i {
        font-size: 1.5em;
    }
}

/* Footer */
#main-footer {
    position: relative;
    overflow: hidden; /* Ensure particles don't spill out */
}

#footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#main-footer .container {
    position: relative;
    z-index: 1;
}

.social-links a {
    transition: transform .12s ease, background-color .12s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

#main-footer .text-secondary {
    color: #94a3b8 !important; /* Lighter grey for better contrast on dark bg */
}

#main-footer a.text-secondary:hover {
    color: #ffffff !important; /* White on hover */
    padding-left: 5px;
    transition: all 0.2s ease;
}

#main-footer .social-links a {
    color: #ffffff;
    border-color: rgba(255,255,255,0.2);
}

#main-footer .social-links a:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
    transform: translateY(-3px);
}

#main-footer .text-primary {
    color: #60a5fa !important; /* Lighter blue for visibility on dark bg */
}

.hover-primary:hover {
    color: #ffffff !important;
    padding-left: 5px;
    transition: padding-left 0.2s ease;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .contact-form-wrapper {
        order: 2;
        padding: 1.5rem;
    }

    .info-item {
        justify-content: center; /* Center icons and text in contact info */
        text-align: left; /* Keep inner text left aligned for readability */
    }

    /* Footer */
    .footer-grid {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
    
    .footer-col ul li a:hover {
        padding-left: 0; /* Disable padding shift on mobile for better UX */
    }
}

/* Client Logos Section */
.client-logos-section {
    overflow: hidden;
}

.logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    width: calc(200px * 16); /* 200px slide width * 16 slides (8 original + 8 copy) */
    animation: scroll 35s linear infinite; /* Increased duration slightly for more content */
}

.slide {
    width: 200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    max-height: 80px; /* Ensure uniform height limitation */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8)); /* Move by half the total width (8 slides) */
    }
}


/* Technology Cards */
.tech-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

/* Custom Tech Colors */
.text-orange { color: #e34c26; }
.text-blue { color: #2965f1; }
.text-purple { color: #7952b3; }
.text-indigo { color: #777bb3; }

/* --- Web Development Page Specifics --- */

/* Web Dev Hero */
.web-dev-hero {
    background-color: #0f172a; /* Dark Navy similar to design */
    padding: 100px 0;
}

/* Feature Cards (Mobile First Section) */
.feature-card-web {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card-web:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* Development Process Grid */
.dev-process-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: all 0.3s ease;
}

.dev-process-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.process-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--primary-color);
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #f8fafc;
    color: var(--primary-color);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.125);
}

.faq-accordion .accordion-body {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section Tweaks */
.contact-form-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Page Specific Utilities */
.bg-primary-light { background-color: rgba(30, 42, 74, 0.1); }
.bg-success-light { background-color: rgba(16, 185, 129, 0.1); }
.bg-info-light { background-color: rgba(6, 182, 212, 0.1); }

/* --- App Development Page Specifics --- */

/* App Dev Hero */
.app-dev-hero {
    background-color: #0f3d46; /* Dark Teal/Cyan mix from design */
    background: linear-gradient(135deg, #0d343c 0%, #1e5562 100%);
    padding: 100px 0;
}

/* Feature Icons Green Theme */
.feature-icon-green {
    color: #10b981;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* --- Website Designing Page Specifics --- */
/* Note: Website Designing page now uses standard brand colors (Navy #1e2a4a). 
   We can omit specific overrides or add them here if needed in future. */

/* Project Cards */
.project-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-card-img-wrapper {
    background: #f8fafc;
    padding: 2rem 2rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.project-card-img-wrapper img {
    max-width: 80%;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
    border-radius: 1rem 1rem 0 0;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card-img-wrapper img {
    transform: translateY(-10px) scale(1.05);
}

.project-card-body {
    padding: 2rem;
}

.project-link {
    color: #10b981; /* Default Green for App Dev, can override for Web Design if needed or keep consistent */
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.project-link:hover {
    gap: 0.8rem;
    color: #059669;
}
