/* Global Styles - TCS Style Dark & Blue Theme */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3399ff;
    --secondary-color: #00aaff;
    --secondary-dark: #0088cc;
    --accent-color: #00d4ff;
    --accent-light: #66e6ff;
    --dark-color: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
    --light-color: #f8f9fa;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --text-secondary: #cccccc;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00aaff 50%, #00d4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #004499 0%, #0066cc 50%, #3399ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    --shadow-light: 0 2px 20px rgba(0, 102, 204, 0.1);
    --shadow-medium: 0 4px 30px rgba(0, 102, 204, 0.2);
    --shadow-heavy: 0 8px 40px rgba(0, 102, 204, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 400;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    background: rgba(0, 102, 204, 0.1);
}

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

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

/* Main Content */
.main-content {
    padding-top: 80px;
    background: var(--dark-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 170, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,102,204,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-medium);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::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: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.btn-outline-light {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Code Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.code-animation {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: var(--border-radius);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 1rem;
    line-height: 1.8;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.code-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.2s; }
.code-line:nth-child(3) { animation-delay: 0.3s; }
.code-line:nth-child(4) { animation-delay: 0.4s; }
.code-line:nth-child(5) { animation-delay: 0.5s; }
.code-line:nth-child(6) { animation-delay: 0.6s; }

.indent { margin-left: 2rem; }
.indent-2 { margin-left: 4rem; }

.keyword { color: #ff6b6b; }
.class-name { color: #4ecdc4; }
.property { color: #45b7d1; }
.string { color: #96ceb4; }

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

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

/* Features Section */
.feature-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
    padding: 2rem;
}

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

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

.feature-card .text-muted {
    color: var(--text-muted) !important;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Services Section */
.service-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
    border-color: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.service-card h4 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tech-stack .badge {
    background: rgba(0, 102, 204, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(0, 102, 204, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    transition: var(--transition);
}

.tech-stack .badge:hover {
    background: rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

/* Development Process Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
    box-shadow: var(--shadow-glow);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0; /* For animation */
}

.timeline-item:nth-child(odd) {
    left: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.timeline-item:nth-child(even) {
    left: 50%;
    animation: slideInRight 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--dark-tertiary);
    border: 4px solid var(--accent-color);
    top: 32px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
    animation: pulse-dot 2.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

.timeline-item:nth-child(2)::after {
    animation-delay: -1.25s;
}

.timeline-item:hover::after {
    background-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.timeline-item:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 40px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid rgba(0, 102, 204, 0.2);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(0, 102, 204, 0.2);
    transition: var(--transition-fast);
}

.timeline-item:nth-child(odd):hover::before {
    border-left-color: var(--accent-color);
}

.timeline-item:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 40px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid rgba(0, 102, 204, 0.2);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(0, 102, 204, 0.2) transparent transparent;
    transition: var(--transition-fast);
}

.timeline-item:nth-child(even):hover::before {
    border-right-color: var(--accent-color);
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

.timeline-content {
    padding: 2rem;
    background: var(--gradient-card);
    position: relative;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 102, 204, 0.2);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.timeline-icon {
    position: absolute;
    top: 30px;
    right: -25px; /* Position for odd items, centered on the timeline */
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-medium);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px; /* Position for even items, centered on the timeline */
    right: auto;
}

.timeline-title {
    color: var(--accent-color);
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-secondary) !important;
    margin-bottom: 0;
}

.timeline-step {
    position: absolute;
    right: 2rem;
    top: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 102, 204, 0.1);
    z-index: 0;
}

@media screen and (max-width: 992px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid rgba(0, 102, 204, 0.2);
        border-width: 10px 10px 10px 0;
        border-color: transparent rgba(0, 102, 204, 0.2) transparent transparent;
    }

    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 15px;
    }
    
    .timeline-icon {
        left: 6px; /* Position icon on the timeline (31px - 25px) */
        right: auto; /* Reset right property for all items */
    }
}

/* Technology Stack */
.tech-category {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.tech-category h5 {
    color: var(--accent-color);
    font-weight: 600;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-item {
    background: rgba(0, 102, 204, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 102, 204, 0.3);
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

/* Case Study Cards */
.case-study-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-study-header h4 {
    color: var(--accent-color);
    margin-bottom: 0;
    font-weight: 600;
}

.case-study-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.case-study-tech .badge {
    background: rgba(0, 102, 204, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(0, 102, 204, 0.3);
    font-weight: 500;
}

.case-study-results h5 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.case-study-results small {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Success Stories Section */
.case-studies {
    background: var(--dark-tertiary);
    color: var(--text-color);
}

.case-studies .section-title {
    color: var(--text-color);
    font-weight: 700;
}

.case-studies .section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Advertisement and Marketing Section */
.advertisement-services {
    background: var(--dark-color);
    color: var(--text-color);
}

.advertisement-services .display-5 {
    color: var(--text-color);
    font-weight: 700;
}

.advertisement-services .lead {
    color: var(--text-secondary);
}

.advertisement-services .text-muted {
    color: var(--text-muted) !important;
}

/* Success Stories Section */
.case-studies {
    background: var(--dark-tertiary);
    color: var(--text-color);
}

.case-studies .section-title {
    color: var(--text-color);
}

.case-studies .section-subtitle {
    color: var(--text-muted);
}

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

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.cta-section h2 {
    color: var(--text-color);
    font-weight: 700;
}

.cta-section p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--dark-secondary);
    border-top: 1px solid rgba(0, 102, 204, 0.2);
}

.footer h5, .footer h6 {
    color: var(--accent-color);
    font-weight: 600;
}

.footer p, .footer li {
    color: var(--text-muted);
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Modal Styles */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-heavy);
    background: var(--gradient-card);
    color: var(--text-color);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-title {
    color: white;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    background: var(--gradient-card);
    color: var(--text-color);
}

.modal-footer {
    background: var(--gradient-card);
    border-top: 1px solid rgba(0, 102, 204, 0.2);
}

/* Modal Backdrop and Positioning */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 1040;
}

.modal.show {
    display: block !important;
    z-index: 1050;
}

.modal-open {
    overflow: hidden;
}

/* Ensure modal is properly positioned */
.modal-dialog {
    margin: 1.75rem auto;
    max-width: 800px;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
}

/* Additional Modal Enhancements */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

/* Ensure modal content is properly styled */
.modal-content {
    background: var(--gradient-card) !important;
    border: 1px solid rgba(0, 102, 204, 0.2) !important;
    backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 102, 204, 0.2) !important;
    background: rgba(0, 102, 204, 0.1) !important;
}

.modal-title {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.modal-body {
    color: var(--text-color) !important;
}

.modal-footer {
    border-top: 1px solid rgba(0, 102, 204, 0.2) !important;
    background: rgba(0, 102, 204, 0.05) !important;
}

/* Apply Now Button Styles */
.btn-primary[data-bs-toggle="modal"] {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transition: var(--transition);
}

.btn-primary[data-bs-toggle="modal"]:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Career Application Form */
.career-application-form {
    color: var(--text-color);
}

.career-application-form h6 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
    font-size: 1.1rem;
}

.career-application-form .form-label {
    color: var(--accent-color) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.career-application-form .form-control,
.career-application-form .form-select,
.career-application-form textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 102, 204, 0.3) !important;
    color: var(--text-color) !important;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
}

.career-application-form .form-control:focus,
.career-application-form .form-select:focus,
.career-application-form textarea:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25) !important;
    color: var(--text-color) !important;
}

.career-application-form textarea {
    resize: vertical;
    min-height: 100px;
}

.career-application-form .form-control::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

.career-application-form .form-text {
    color: var(--text-muted) !important;
    font-size: 0.875rem;
}

.career-application-form .invalid-feedback {
    color: #ff6b6b !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Position Cards */
.position-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

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

.position-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.position-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.position-card .text-muted {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

.position-header {
    margin-bottom: 1.5rem;
}

.position-tags .badge {
    background: var(--dark-tertiary) !important;
    color: var(--text-color) !important;
    border: 1px solid rgba(0, 102, 204, 0.3);
    font-weight: 500;
    font-size: 0.8rem;
}

.position-details {
    border-top: 1px solid rgba(0, 102, 204, 0.2);
    padding-top: 1rem;
}

.position-details small {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    font-weight: 500;
}

.position-details i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Additional Enhancements */
.service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.tech-category {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

.tech-category:nth-child(1) { animation-delay: 0.1s; }
.tech-category:nth-child(2) { animation-delay: 0.2s; }
.tech-category:nth-child(3) { animation-delay: 0.3s; }
.tech-category:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effects for Cards */
.service-card:hover .service-icon i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Glow Effects */
.service-card:hover {
    box-shadow: 
        0 10px 40px rgba(0, 102, 204, 0.3),
        0 0 30px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 102, 204, 0.1);
}

/* Text Selection */
::selection {
    background: var(--accent-color);
    color: var(--dark-color);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--dark-color);
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .code-animation {
        font-size: 0.7rem;
        padding: 0.75rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.me-0 { margin-right: 0; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }

.ms-auto { margin-left: auto; }

.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.p-4 { padding: 1.5rem; }
.p-3 { padding: 1rem; }

.h-100 { height: 100%; }

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

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
    border-color: var(--primary-color);
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--accent-color) !important;
}

.text-success {
    color: #00ff88 !important;
}

.text-info {
    color: var(--accent-light) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-success {
    background: linear-gradient(135deg, #00ff88, #00cc6a) !important;
}

.bg-light {
    background: var(--dark-tertiary) !important;
    color: var(--text-color) !important;
}

.bg-light.text-dark {
    color: var(--text-color) !important;
}

/* Fix all badge visibility issues */
.badge.bg-light {
    background: var(--dark-tertiary) !important;
    color: var(--text-color) !important;
    border: 1px solid rgba(0, 102, 204, 0.3);
}

.badge.bg-light.text-dark {
    color: var(--text-color) !important;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
    color: white !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #00ff88, #00cc6a) !important;
    color: white !important;
}

/* Info Cards (Why Hire Us Section) */
.info-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.info-card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

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

.info-card-title {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.info-card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}
/* Ensure proper text visibility in sections with bg-light */
.bg-light {
    color: var(--text-color) !important;
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 {
    color: var(--text-color) !important;
}

.bg-light p {
    color: var(--text-secondary) !important;
}

.bg-light .text-muted {
    color: var(--text-muted) !important;
}

.footer .text-muted,
.footer .text-muted a {
    color: var(--text-muted) !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Leadership Section Styles */
.leadership-section {
    background: var(--dark-secondary);
    color: var(--text-color);
}

.leadership-section .section-title {
    color: var(--text-color);
    font-weight: 700;
}

.leadership-section .section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.leadership-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    color: var(--text-color);
}

/* Contact Page Styles */
.contact-hero {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.contact-form-container {
    position: relative;
    z-index: 2;
}

.contact-form-container .card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form-container .card-title {
    color: var(--accent-color);
    font-weight: 700;
}

/* Form Labels */
.form-label {
    color: var(--accent-color) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Form Controls */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 102, 204, 0.3) !important;
    color: var(--text-color) !important;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-select option {
    /* Set background and text color for dropdown options to ensure visibility */
    /* This fixes the issue of white text on a white background in the dropdown */
    background: var(--light-color);
    color: var(--dark-color);
}

/* Modal Styles */
.modal-content {
    background: var(--gradient-card) !important;
    border: 1px solid rgba(0, 102, 204, 0.2) !important;
    backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 102, 204, 0.2) !important;
    background: rgba(0, 102, 204, 0.1) !important;
}

.modal-title {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.modal-body {
    color: var(--text-color) !important;
}

.modal-footer {
    border-top: 1px solid rgba(0, 102, 204, 0.2) !important;
    background: rgba(0, 102, 204, 0.05) !important;
}

/* Apply Now Button Styles */
.btn-primary[data-bs-toggle="modal"] {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transition: var(--transition);
}

.btn-primary[data-bs-toggle="modal"]:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Modal Backdrop and Positioning */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal.show {
    display: block !important;
}

.modal-open {
    overflow: hidden;
}

/* Ensure modal is properly positioned */
.modal-dialog {
    margin: 1.75rem auto;
    max-width: 800px;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25) !important;
    color: var(--text-color) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

/* Form Validation */
.invalid-feedback {
    color: #ff6b6b !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1) !important;
    border: 1px solid rgba(0, 255, 136, 0.3) !important;
    color: #00ff88 !important;
}

/* Tab Navigation */
.nav-tabs {
    border-bottom: 1px solid rgba(0, 102, 204, 0.3);
}

.nav-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
}

.nav-tabs .nav-link:hover {
    color: var(--accent-color);
    background: rgba(0, 102, 204, 0.1);
}

.nav-tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--gradient-card);
    border-bottom: 2px solid var(--accent-color);
}

/* Section Headers */
.text-primary {
    color: var(--accent-color) !important;
}

/* Contact Info */
.contact-hero .text-white-50 {
    color: var(--text-secondary) !important;
}

.contact-hero .text-white {
    color: var(--text-color) !important;
}

.contact-info {
    color: var(--text-secondary) !important;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-info i {
    color: var(--accent-color);
}

/* Form Sections */
.project-form h6,
.form-section-header {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

/* Button Enhancements */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form-container .card-body {
        padding: 2rem 1.5rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Contact Info Section */
.contact-info-section {
    background: var(--dark-tertiary);
}

.contact-info-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

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

.contact-info-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-icon i {
    color: var(--accent-color);
}

/* Office Locations Section */
.office-locations-section {
    background: var(--dark-secondary);
}

.office-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    height: 100%;
}

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

.office-card h5 {
    color: var(--accent-color);
    font-weight: 600;
}

.office-card p {
    color: var(--text-secondary);
}

.office-icon i {
    color: var(--accent-color);
}

/* Business Hours Section */
.business-hours-section {
    background: var(--dark-tertiary);
}

.business-hours-title {
    color: var(--accent-color);
    font-weight: 700;
}

.business-hours-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.business-hours-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.cta-title {
    color: var(--text-color);
    font-weight: 700;
    font-size: 2.5rem;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--dark-secondary);
    border-top: 1px solid rgba(0, 102, 204, 0.2);
}

.footer h5, .footer h6 {
    color: var(--accent-color);
    font-weight: 600;
}

.footer p, .footer li {
    color: var(--text-secondary);
}

.footer a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer .social-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer .social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px) scale(1.1);
}

.footer hr {
    border-color: rgba(0, 102, 204, 0.2);
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.leadership-card:hover::before {
    transform: scaleX(1);
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy), var(--shadow-glow);
    border-color: var(--accent-color);
}

.leadership-photo img {
    border: 4px solid var(--gradient-primary);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.leadership-card:hover .leadership-photo img {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.leadership-card h3 {
    color: var(--accent-color);
    font-weight: 700;
}

.leadership-card .text-primary {
    color: var(--accent-color) !important;
}

.leadership-card .text-muted {
    color: var(--text-muted) !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    opacity: 0.9 !important;
}

.leadership-card .social-links a {
    transition: var(--transition);
    display: inline-block;
}

.leadership-card .social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px) scale(1.1);
}

/* Value Cards (About Page) */
.value-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

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

.value-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.value-card .text-muted {
    color: var(--text-muted) !important;
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Culture Cards (Careers Page) */
.culture-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

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

.culture-card h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.culture-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.culture-card .text-muted {
    color: var(--text-muted) !important;
}

.culture-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Benefit Items (Careers Page) */
.benefit-item {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

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

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-item .text-muted {
    color: var(--text-muted) !important;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Position Cards (Careers Page) */
.position-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

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

.position-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.position-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.position-card .text-muted {
    color: var(--text-muted) !important;
}

/* Mission and Vision Cards (About Page) */
.mission-card, .vision-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.mission-card h3, .vision-card h3 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.mission-card p, .vision-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.mission-icon, .vision-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Mission Vision Section */
.mission-vision {
    background: var(--dark-tertiary);
    color: var(--text-color);
}

.mission-vision .section-title {
    color: var(--text-color);
}

.mission-vision .section-subtitle {
    color: var(--text-muted);
}

/* Values Section */
.values-section {
    background: var(--dark-color);
    color: var(--text-color);
}

.values-section .section-title {
    color: var(--text-color);
}

.values-section .section-subtitle {
    color: var(--text-muted);
}

/* Our Story Section (About Page) */
.our-story-section {
    background: var(--dark-color);
    color: var(--text-color);
}

.our-story-section .section-title {
    color: var(--text-color);
}

.our-story-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Marketing Feature Section */
.marketing-feature-section {
    background: var(--dark-tertiary);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.marketing-logo-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-glow);
    animation: logo-pulse 4s infinite ease-in-out;
}

.marketing-logo-wrapper i {
    font-size: 6rem;
    color: white;
}

@keyframes logo-pulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(0, 212, 255, 0.5); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); }
}

.marketing-service-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.marketing-service-item:hover {
    background: rgba(0, 102, 204, 0.1);
}

.marketing-service-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.marketing-service-item h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.marketing-service-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Override to ensure text-muted is visible on dark backgrounds */
.our-story-section .text-muted {
    color: var(--text-secondary) !important;
}

/* About Hero Section */
.about-hero {
    background: var(--gradient-dark);
    color: var(--text-color);
}

.about-hero .hero-title {
    color: var(--text-color);
}

.about-hero .hero-subtitle {
    color: var(--text-secondary);
}

/* Services Hero Section */
.services-hero {
    background: var(--gradient-dark);
    color: var(--text-color);
}

.services-hero .hero-title {
    color: var(--text-color);
}

.services-hero .hero-subtitle {
    color: var(--text-secondary);
}

/* Main Services Section */
.main-services {
    background: var(--dark-secondary);
    color: var(--text-color);
}

/* Development Process Section */
.development-process {
    background: var(--dark-tertiary);
    color: var(--text-color);
}

.development-process .section-title {
    color: var(--text-color);
}

.development-process .section-subtitle {
    color: var(--text-muted);
}

/* Tech Stack Section */
.tech-stack-section {
    background: var(--dark-secondary);
    color: var(--text-color);
}

.tech-stack-section .section-title {
    color: var(--text-color);
}

.tech-stack-section .section-subtitle {
    color: var(--text-muted);
}

/* Career Hero Section */
.career-hero {
    background: var(--gradient-dark);
    color: var(--text-color);
}

.career-hero .hero-title {
    color: var(--text-color);
}

.career-hero .hero-subtitle {
    color: var(--text-secondary);
}

/* Stat Items */
.stat-item {
    text-align: center;
    color: var(--text-color);
}

.stat-number {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Company Stats */
.company-stats .stat-item {
    color: var(--text-color);
}

.company-stats .stat-number {
    color: var(--accent-color);
}

.company-stats .stat-label {
    color: var(--text-secondary);
}

/* Career Stats */
.career-stats .stat-item {
    color: var(--text-color);
}

.career-stats .stat-number {
    color: var(--accent-color);
}

.career-stats .stat-label {
    color: var(--text-secondary);
}

/* Benefits Section */
.benefits-section {
    background: var(--dark-secondary);
    color: var(--text-color);
}

.benefits-section .section-title {
    color: var(--text-color);
}

.benefits-section .section-subtitle {
    color: var(--text-muted);
}

/* Culture Section */
.culture-section {
    background: var(--dark-tertiary);
    color: var(--text-color);
}

.culture-section .section-title {
    color: var(--text-color);
}

.culture-section .section-subtitle {
    color: var(--text-muted);
}

/* Positions Section */
.positions-section {
    background: var(--dark-tertiary);
    color: var(--text-color);
}

.positions-section .section-title {
    color: var(--text-color);
}

.positions-section .section-subtitle {
    color: var(--text-muted);
}

.portfolio-section .section-title {
    color: var(--text-color);
    font-weight: 700;
}

.portfolio-section .section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
.section-title a:hover {
    color: var(--accent-color);
}

.portfolio-filters {
    margin-bottom: 2rem;
}

.portfolio-filter-btn {
    background: transparent;
    border: 2px solid rgba(0, 102, 204, 0.3);
    color: var(--text-muted);
    font-weight: 600;
    margin: 0 0.5rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.portfolio-filter-btn:hover {
    background: rgba(0, 102, 204, 0.2);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.portfolio-filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.portfolio-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    height: 350px; /* Fixed height for all cards */
}

/* Override for the main portfolio page to prevent animation conflicts with Isotope.js */
.portfolio-grid .portfolio-card {
    animation: none;
    opacity: 1;
}

/* Staggered animation for cards */
.portfolio-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.portfolio-section .portfolio-item:nth-child(1) .portfolio-card { animation-delay: 0.1s; }
.portfolio-section .portfolio-item:nth-child(2) .portfolio-card { animation-delay: 0.2s; }
.portfolio-section .portfolio-item:nth-child(3) .portfolio-card { animation-delay: 0.3s; }
.portfolio-section .portfolio-item:nth-child(4) .portfolio-card { animation-delay: 0.4s; }
.portfolio-section .portfolio-item:nth-child(5) .portfolio-card { animation-delay: 0.5s; }
.portfolio-section .portfolio-item:nth-child(6) .portfolio-card { animation-delay: 0.6s; }

.isotope-hidden.portfolio-item {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.85) 50%, transparent 100%);
    color: white;
    transform: translateY(calc(100% - 90px)); /* Initially show only the title area */
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h4 {
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-content h4 {
    color: var(--accent-color);
}

.portfolio-content p,
.portfolio-content .portfolio-tech {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.portfolio-card:hover .portfolio-content p,
.portfolio-card:hover .portfolio-content .portfolio-tech {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.portfolio-links {
    display: flex;
    gap: 1rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.portfolio-card:hover .portfolio-links {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: var(--shadow-light);
}

.portfolio-link:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.portfolio-tech {
    margin-bottom: 1.5rem;
}

.portfolio-tech .badge {
    background: rgba(0, 102, 204, 0.2) !important;
    color: var(--accent-color) !important;
    border: 1px solid rgba(0, 102, 204, 0.3);
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--dark-secondary);
    color: var(--text-color);
}

.testimonials-section .section-title {
    color: var(--text-color);
    font-weight: 700;
}

.testimonials-section .section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    color: var(--text-color);
}

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

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-rating {
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark-tertiary);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.8rem;
    flex-shrink: 0; /* Prevent shrinking */
}

.testimonial-info h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: var(--text-muted) !important;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Development Process Section - Redesigned */
.development-process-section {
    background: var(--dark-color);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* The central timeline line */
.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(0, 102, 204, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item-wrapper {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The icon on the timeline */
.timeline-item-wrapper::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-color: var(--dark-secondary);
    border: 3px solid var(--accent-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.timeline-item-wrapper:hover::after {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Specific icons for each step */
.timeline-item-wrapper.step-1::after { content: '\f53f'; } /* drafting-compass */
.timeline-item-wrapper.step-2::after { content: '\f51e'; } /* object-group */
.timeline-item-wrapper.step-3::after { content: '\f021'; animation: spin 2s linear infinite; } /* sync-alt with spin */
.timeline-item-wrapper.step-4::after { content: '\f093'; } /* cloud-upload-alt */

/* Position the containers */
.timeline-item-wrapper:nth-child(odd) {
    left: 0;
}

.timeline-item-wrapper:nth-child(odd) {
    left: 0;
}

.timeline-item-wrapper:nth-child(even) {
    left: 50%;
}

.timeline-item-wrapper:nth-child(even)::after {
    left: -25px;
}

/* The card content */
.timeline-card {
    padding: 2rem;
    background: var(--gradient-card);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.timeline-item-wrapper:hover .timeline-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
    border-top-color: var(--accent-color);
}

.timeline-step {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 102, 204, 0.1);
}

.timeline-title {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-timeline::after {
        left: 35px;
    }
    .timeline-item-wrapper,
    .timeline-item-wrapper:nth-child(odd) {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item-wrapper:nth-child(even) {
        left: 0%;
    }
    .timeline-card {
        width: 100%;
    }
    .timeline-item-wrapper::after,
    .timeline-item-wrapper:nth-child(even)::after {
        left: 10px;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* Meet Our Leadership Section (About Page) */
.team-section {
    background: var(--dark-secondary);
}

.leadership-card-main, .leadership-card-small {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leadership-card-main:hover, .leadership-card-small:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

/* Main CEO Card */
.leadership-card-main {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.leadership-card-main .main-icon-wrapper {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.leadership-card-main .main-icon-wrapper i {
    font-size: 4rem;
    color: white;
}

.leadership-card-main h5 {
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
}

.leadership-card-main .role {
    font-size: 1rem;
    color: var(--accent-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.leadership-card-main .quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Smaller Leadership Cards */
.leadership-card-small .leadership-icon {
    width: 80px;
    height: 80px;
    background: var(--dark-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.leadership-card-small:hover .leadership-icon {
    background: var(--primary-color);
}

.leadership-card-small .leadership-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.leadership-card-small:hover .leadership-icon i {
    color: white;
    transform: rotate(-10deg);
}

.leadership-card-small h5 {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.leadership-card-small .role {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.leadership-card-small .bio {
    color: var(--text-muted);
    font-size: 0.9rem;
}
/* Hire Developers Section on Home Page */
.hire-developers-section {
    background: var(--dark-secondary);
}

.hire-developers-section ul i {
    color: var(--accent-color);
}

.developer-avatars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    align-items: center;
    max-width: 400px;
    margin: auto;
}

.developer-avatars-grid img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: var(--transition);
}

.developer-avatars-grid img:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.developer-avatars-grid .avatar-more {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* Hire Developers Page Styles */
.developer-profile-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.developer-profile-card:nth-child(1) { animation-delay: 0.1s; }
.developer-profile-card:nth-child(2) { animation-delay: 0.2s; }
.developer-profile-card:nth-child(3) { animation-delay: 0.3s; }
.developer-profile-card:nth-child(4) { animation-delay: 0.4s; }
.developer-profile-card:nth-child(5) { animation-delay: 0.5s; }
.developer-profile-card:nth-child(6) { animation-delay: 0.6s; }

.developer-profile-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.developer-profile-card:hover::before {
    width: 400px;
    height: 400px;
}

.developer-profile-card > * {
    position: relative;
    z-index: 1;
}

.developer-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.profile-image-wrapper {
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.developer-profile-card:hover .profile-image-wrapper {
    transform: scale(1.05);
}

.developer-profile-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.developer-profile-card:hover img {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow);
}

.developer-profile-card h5 {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.developer-profile-card:hover h5 {
    color: white;
}

.developer-profile-card .role {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.developer-profile-card .skills {
    min-height: 70px; /* Reserve space for tags */
}

.developer-profile-card .skills .badge {
    background: var(--dark-tertiary) !important;
    color: var(--text-color) !important;
    border: 1px solid rgba(0, 102, 204, 0.3);
    font-weight: 500;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.developer-profile-card:hover .skills .badge {
    opacity: 1;
    transform: translateY(0);
}

.developer-profile-card:hover .skills .badge:nth-child(1) { transition-delay: 0.1s; }
.developer-profile-card:hover .skills .badge:nth-child(2) { transition-delay: 0.15s; }
.developer-profile-card:hover .skills .badge:nth-child(3) { transition-delay: 0.2s; }
.developer-profile-card:hover .skills .badge:nth-child(4) { transition-delay: 0.25s; }
.developer-profile-card:hover .skills .badge:nth-child(5) { transition-delay: 0.3s; }
.developer-profile-card:hover .skills .badge:nth-child(6) { transition-delay: 0.35s; }

/* Advertisement Summary Card */
.advertisement-summary-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.advertisement-summary-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.advertisement-summary-card img {
    height: 100%;
    object-fit: cover;
}

.advertisement-summary-card h3 {
    color: var(--accent-color);
    font-weight: 600;
}

.service-list-compact {
    list-style: none;
    padding-left: 0;
}

.service-list-compact li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.service-list-compact li i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* Chatbot Toggle FAB */
.chatbot-toggle-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    cursor: pointer;
    z-index: 9998;
    transition: var(--transition);
}
.chatbot-toggle-fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}
.chatbot-toggle-fab i {
    color: white;
    font-size: 1.5rem;
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-width: 90vw;
    background: var(--dark-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(0, 102, 204, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.chatbot-widget.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close-btn:hover {
    transform: scale(1.2);
}

.chatbot-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    height: 400px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    line-height: 1.4;
}

.bot-message {
    background: var(--dark-tertiary);
    color: var(--text-secondary);
    align-self: flex-start;
}

.user-message {
    background: var(--primary-color);
    color: white;
    align-self: flex-end;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.chat-option {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.chat-option:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.chatbot-footer {
    padding: 0.5rem;
    border-top: 1px solid rgba(0, 102, 204, 0.2);
}

.chatbot-footer form {
    display: flex;
    gap: 0.5rem;
}

.chatbot-footer input {
    width: 100%;
    background: transparent;
    border: none;
    background: var(--dark-tertiary);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    color: var(--text-color);
    outline: none;
}

.chatbot-footer input:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

.chatbot-footer button {
    background: var(--primary-color);
    border: none;
    color: white;
    border-radius: var(--border-radius);
    width: 40px;
    flex-shrink: 0;
    transition: var(--transition);
}

.chatbot-footer button:hover {
    background: var(--accent-color);
}

/* Testimonial Carousel Styles */
.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
    width: 5%;
}

.testimonials-section .carousel-control-prev-icon,
.testimonials-section .carousel-control-next-icon {
    background-color: rgba(0, 102, 204, 0.5);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50% 50%;
    transition: var(--transition);
}

.testimonials-section .carousel-control-prev-icon:hover,
.testimonials-section .carousel-control-next-icon:hover {
    background-color: var(--primary-color);
}

.testimonials-section .testimonial-rating .fa-star {
    color: #ffc107;
}

.testimonial-card {
    min-height: 320px; /* Ensure consistent height for all cards in carousel */
}

/* Case Studies Section */
.case-studies-section {
    background: var(--dark-secondary);
}

.case-study-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.case-study-icon-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-tertiary);
    position: relative;
    overflow: hidden;
}

.case-study-icon {
    font-size: 5rem;
    color: var(--accent-color);
    transition: var(--transition);
    z-index: 2;
}

.case-study-card:hover .case-study-icon {
    transform: scale(1.1) rotate(-5deg);
    text-shadow: 0 0 20px var(--accent-color);
}

.case-study-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    animation: icon-pulse 5s infinite ease-in-out;
    z-index: 1;
}

.case-study-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-study-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.case-study-title {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.case-study-excerpt {
    color: var(--text-secondary);
    flex-grow: 1;
}

.case-study-results {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(0, 102, 204, 0.2);
    padding-top: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.case-study-results h5 {
    color: var(--accent-color);
    font-size: 1.75rem;
    margin-bottom: 0;
}

.case-study-results p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

@keyframes icon-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Hire Developers Page Styles */
.hire-hero {
    background: var(--gradient-dark);
    color: var(--text-color);
}

.why-hire-us-section .rounded-lg {
    border-radius: var(--border-radius-lg);
}

.why-hire-us-section .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* Logo Animation */
.navbar-brand .fa-code {
    display: inline-block; /* Needed for transforms */
    transition: var(--transition);
}

.navbar-brand:hover .fa-code {
    transform: scale(1.1);
    color: var(--accent-color);
}

.developer-profile-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.developer-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.developer-profile-card .developer-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 auto;
    font-size: 2.5rem;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.developer-profile-card:hover .developer-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.developer-profile-card h5 {
    color: var(--accent-color);
    font-weight: 600;
}

.developer-profile-card .role {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hiring-process-section .feature-card .feature-icon h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Technology Expertise Section */
.tech-expertise-section {
    background: var(--dark-color);
}

.tech-category-card {
    background: var(--gradient-card);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.tech-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.tech-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
    padding-bottom: 1rem;
}

.tech-category-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.tech-category-header h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-items .tech-item {
    background: var(--dark-tertiary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-items .tech-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}
