html, body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

:root {
    --primary: #FF3001;
    --primary-dark: #E62B01;
    --primary-light: #FF4721;
    --primary-rgb: 255, 48, 1;
    --dark: #000000;
    --light: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    padding-top: 70px;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    box-shadow: none;
}

.navbar.bg-white {
    background-color: #fff !important;
}

.navbar-light .nav-link,
.navbar-light .navbar-brand {
    color: #000 !important;
    transition: color 0.3s;
}

.navbar-dark .nav-link,
.navbar-dark .navbar-brand {
    color: #fff !important;
    transition: color 0.3s;
}

.navbar.scrolled {
    background-color: #181818 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: inherit !important;
        padding: 1.5rem 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
        transition: background-color 0.3s;
    }
    .navbar .nav-link {
        color: inherit !important;
        font-size: 1.2rem;
        padding: 1rem 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        transition: color 0.3s;
    }
    .navbar .nav-link:last-child {
        border-bottom: none;
    }
    .navbar .nav-link.active,
    .navbar .nav-link:hover {
        color: var(--primary) !important;
    }
    .navbar-brand img {
        max-height: 35px;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .navbar {
        background-color: #fff;
        box-shadow: none;
    }
    .navbar.scrolled {
        background-color: #181818 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }
    .navbar .nav-link {
        color: #000 !important;
        font-size: 1rem;
        padding: 0.5rem 1.2rem !important;
        border-bottom: none;
        transition: color 0.3s;
    }
    .navbar .nav-link.active,
    .navbar .nav-link:hover {
        color: var(--primary) !important;
    }
    .navbar-brand img {
        max-height: 40px;
    }
}

/* Hero Section */
.hero {
    padding-top: 100px;
    background-color: #f8f9fa;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 48, 1, 0.05), rgba(255, 48, 1, 0.1));
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

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

.hero .contact-form,
.hero .contact-info {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Classes */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .navbar-brand img {
        max-height: 30px;
    }
    
    .hero {
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Services Section */
.services .card {
    transition: all 0.3s ease;
}

.services .card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
}

.bg-gradient {
    background: linear-gradient(45deg, var(--primary), #ff4721) !important;
}

/* Card Hover Effects */
.card {
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 48, 1, 0.1), rgba(255, 71, 33, 0.1));
    clip-path: circle(0% at 100% 0%);
    transition: all 0.5s ease;
}

.card:hover::after {
    clip-path: circle(150% at 100% 0%);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

/* Projects Section */
.project-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border: none;
    margin-bottom: 20px;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 16px 48px rgba(0,0,0,0.16);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

/* Universal Card Image Container - for any image, any card */
.card-img-top-container {
    background: #fff; /* Change or override as needed */
    border: 1px solid #f0f0f0;
    border-radius: 16px 16px 0 0;
    
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s, border 0.3s;
}

.card-img-top {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* Example: Custom container style for a specific card */
.card-img-top-container.alt-bg {
    background: #f8f9fa;
    border: 2px dashed #ff3001;
}

@media (max-width: 767.98px) {
    .card-img-top-container {
        height: 120px;
        padding: 12px 0;
    }
}

.project-card:hover .card-img-top {
    transform: scale(1.13);
}

.project-card:hover .card-img-top-container {
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

.project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card .project-content .btn {
    background: linear-gradient(135deg, #666666, #333333);
    color: white;
    border: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-content .btn {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .project-content .btn:hover {
    background: linear-gradient(135deg, #333333, #666666);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card .card-body {
    padding: 1.5rem;
    background: transparent;
    transition: all 0.3s ease;
}

.project-card:hover .card-body {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
}

.project-card .badge.bg-primary {
    background: linear-gradient(135deg, #666666, #333333) !important;
    border: none;
}

.project-card .badge.bg-light.text-primary {
    background: rgba(102, 102, 102, 0.1) !important;
    color: #333333 !important;
}

.project-card .badge {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 30px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.project-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.project-card .card-text {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-stack {
    margin-bottom: 1rem;
}

.tech-stack h6 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tech-stack .badge {
    padding: 5px 10px;
    margin: 2px;
    border-radius: 15px;
    font-size: 0.75rem;
}

.solution-type {
    padding: 10px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 12px;
    margin-top: 10px;
}

.solution-type p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.solution-type p.fw-bold {
    font-size: 0.9rem;
}

.project-content .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Project Modal Styles */
.modal-content {
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.modal-header {
    padding: 1.5rem 2rem 1rem;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header .modal-title {
    font-size: 1.75rem;
    background: linear-gradient(45deg, var(--primary), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.modal-header .btn-close {
    background-color: rgba(var(--primary-rgb), 0.1);
    padding: 0.75rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.modal-header .btn-close:hover {
    background-color: var(--primary);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-body img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.modal-body h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.modal-body .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
}

.modal-body .badge {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    margin: 0.3rem;
    transition: all 0.3s ease;
}

.modal-body .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.modal-body .project-overview {
    background: rgba(var(--primary-rgb), 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.modal-body .social-links a {
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.modal-body .social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.9) translateY(-30px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h3 {
        font-size: 1.5rem;
    }
    
    .modal-body .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .card-img-top-container {
        height: 120px;
        padding: 12px 0;
    }
    .card-img-top {
        max-width: 80px;
        max-height: 80px;
    }
    .project-card {
        border-radius: 16px;
    }
}

/* Loading Animation for Modal Images */
.modal-body img {
    position: relative;
}

.modal-body img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* View All Projects Button */
.view-all-projects {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
}

.view-all-projects:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.3);
}

/* Team Section */
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none;
    margin-bottom: 20px;
}

.team-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-card .team-img {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f5f5f5;
}

.team-card .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 48, 1, 0.1) 0%, rgba(255, 71, 33, 0.1) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.team-card:hover::after {
    opacity: 1;
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 48, 1, 0.9), rgba(255, 71, 33, 0.9));
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px) scale(1.1);
}

.team-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-card:hover h5 {
    color: var(--primary);
}

.team-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-card:hover p {
    color: var(--primary-dark);
}

/* Contact Section */
.contact-info {
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
    border: 1px solid #e9ecef;
    padding: 0.8rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Footer Content Color Enhancement */
.footer {
    background-color: #212529;
}

.footer p, 
.footer a, 
.footer li {
    color: rgba(255, 255, 255, 0.7) !important;
}

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

.footer ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
}

.footer ul li a:hover {
    color: var(--primary) !important;
}

.footer .text-light {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer .text-light:hover {
    color: var(--primary) !important;
}

/* Footer Quick Links Enhancement */
.footer ul li a i {
    color: var(--primary);
    transition: all 0.3s ease;
}

.footer ul li a:hover i {
    color: var(--primary-light);
}

/* Footer Social Links Enhancement */
.footer .social-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 48, 1, 0.1);
}

.footer .social-links a:hover {
    color: var(--light) !important;
    background: var(--primary);
}

/* Footer Contact Info Enhancement */
.footer .contact-info i {
    color: var(--primary);
}

.footer .contact-info a:hover {
    color: var(--primary) !important;
}

/* Footer Email Link Enhancement */
.footer a[href^="mailto:"] {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
}

.footer a[href^="mailto:"]:hover {
    color: var(--primary) !important;
}

/* Footer Privacy and Terms Links */
.footer .text-decoration-none {
    transition: all 0.3s ease;
}

.footer .text-decoration-none:hover {
    color: var(--primary) !important;
}

/* Copyright Text */
.footer .copyright {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Footer Input Group */
.footer .input-group .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer .input-group .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 48, 1, 0.25);
}

/* Footer */
.footer h4, .footer h5 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.footer h4::after, .footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 18px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.social-links a:last-child {
    margin-right: 0;
}

.social-links i {
    line-height: 1;
}

.footer ul li a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    padding: 0.4rem 0;
    position: relative;
}

.footer ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    transition: all 0.3s ease;
    border-radius: 2px;
}

.footer ul li a:hover {
    color: var(--primary) !important;
    transform: translateX(8px);
}

.footer ul li a:hover::before {
    width: 100%;
}

.footer hr {
    opacity: 0.1;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .footer h4::after, .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Project Card Hover Effect Enhancement */
.project-card {
    transition: all 0.3s ease;
}

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

.project-card[data-bs-toggle="modal"] {
    cursor: pointer;
}

.project-overlay {
    background: rgba(255, 48, 1, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Contact Page Social Buttons */
.contact-social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 48, 1, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-btn:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 48, 1, 0.2);
}

.contact-social-btn i {
    font-size: 1.2rem;
}

.contact-social-btn.linkedin:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.contact-social-btn.twitter:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.contact-social-btn.facebook:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.contact-social-btn.instagram:hover {
    background: linear-gradient(45deg, var(--primary), #FF4721);
    border-color: var(--primary);
}

/* Enhanced Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 5px 15px rgba(255, 48, 1, 0.3);
    transform: translateY(-2px);
}

.btn-primary:active {
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary-dark) 100%);
    transform: translateY(0);
}

.btn-outline-primary:hover {
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 48, 1, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary:active {
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(0);
}

/* Project Filter Button Effects */
.project-filter .btn-outline-primary:hover {
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: transparent;
    transform: translateY(-2px);
}

.project-filter .btn-outline-primary.active {
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* Contact Form Submit Button */
.contact-form .btn-primary {
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    transition: all 0.4s ease;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 5px 15px rgba(255, 48, 1, 0.3);
    transform: translateY(-2px);
}

/* Quick Contact Button */
.footer .btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: all 0.3s ease;
}

.footer .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.footer .btn-primary:hover::before {
    opacity: 1;
}

.footer .btn-primary i {
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer .btn-primary:hover i {
    transform: translateX(3px);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

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

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    left: 50%;
    top: 0;
    margin-left: -8px;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-year {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item::before {
        left: 31px;
        margin-left: 0;
    }
    
    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
    }
}

/* Form Styles */
.form-check-input:checked {
    background-color: #FF3001 !important;
    border-color: #FF3001 !important;
}

.form-check-input:focus {
    border-color: #FF3001;
    box-shadow: 0 0 0 0.25rem rgba(255, 48, 1, 0.25);
}

/* Button Active and Focus States */
.btn:active,
.btn:focus,
.btn.active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 48, 1, 0.25) !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary.active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 48, 1, 0.25) !important;
}

.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary.active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: white !important;
}

/* Form Control Focus */
.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 48, 1, 0.25) !important;
}

/* AOS Animation Styles */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Team Modal Styles */
.modal.team-modal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal.team-modal .modal-header {
    border: none;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 48, 1, 0.05) 0%, rgba(255, 71, 33, 0.05) 100%);
}

.modal.team-modal .modal-body {
    padding: 2rem;
}

.modal.team-modal .btn-close {
    background-color: rgba(255, 48, 1, 0.1);
    border-radius: 50%;
    padding: 0.75rem;
    margin: 0;
    transition: all 0.3s ease;
}

.modal.team-modal .btn-close:hover {
    background-color: rgba(255, 48, 1, 0.2);
    transform: rotate(90deg);
}

.modal.team-modal img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.modal.team-modal .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 48, 1, 0.1);
    color: var(--primary);
    font-size: 18px;
    transition: all 0.3s ease;
}

.modal.team-modal .social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

/* Team Card Hover Overlay */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 48, 1, 0.9);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.team-card:hover .team-overlay-content {
    transform: translateY(0);
    opacity: 1;
}

/* Expertise Badges */
.badge.bg-light.text-primary {
    background-color: rgba(255, 48, 1, 0.1) !important;
    color: var(--primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Modal Responsive Adjustments */
@media (max-width: 767.98px) {
    .modal.team-modal .modal-dialog {
        margin: 1rem;
    }
    
    .modal.team-modal .modal-body {
        padding: 1rem;
    }
    
    .team-card:hover {
        transform: translateY(-10px) scale(1.01);
    }
}

/* Project Page Specific Styles */
.project-filter {
    margin-bottom: 2rem;
}

.project-filter .btn {
    padding: 8px 20px;
    margin: 5px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.project-filter .btn:hover,
.project-filter .btn.active {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.project-card .btn {
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-card .btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    border: none;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.project-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.project-overlay .btn {
    background: white;
    color: var(--primary);
    border: 2px solid white;
    padding: 10px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.project-overlay .btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

.load-more-btn {
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

/* Custom wider modal */
@media (min-width: 992px) {
    .modal-dialog {
        max-width: 1000px;
    }
}

.modal-content {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
}

/* Stats Counter Section */
#stats .stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* Trusted By Section */
.trusted-by .logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 1rem;
}

.trusted-by .logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    border-color: transparent;
}

.trusted-by .client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trusted-by .logo-card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials Section */
.testimonial-card {
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo-img {
    /* background: #fff; */
    padding: 16px;
    /* border-radius: 12px; */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.06); */
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
    transition: box-shadow 0.3s, background 0.3s;
}

@media (max-width: 767.98px) {
    .logo-img { padding: 8px; }
}

.corporate-section {
    background: linear-gradient(135deg, #fff8f3 0%, #f8f9fa 100%);
}

.corporate-info-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: visible;
}

.corporate-info-card img[aria-hidden="true"] {
    position: absolute;
    right: 24px;
    bottom: 12px;
    width: 110px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.llpin {
    font-family: 'Courier New', Courier, monospace;
    background-color: #ffc107 !important;
    color: #222 !important;
    padding: 0.2rem 0.7rem;
    border-radius: 6px;
    font-weight: bold;
    border: 2px solid #222;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

@media (max-width: 767.98px) {
    .corporate-info-card {
        padding: 1rem;
    }
    .corporate-info-card img[aria-hidden="true"] {
        width: 70px;
        right: 10px;
        bottom: 6px;
    }
    .llpin {
        font-size: 1rem;
        padding: 0.15rem 0.5rem;
    }
}

.logo-boost {
    transform: scale(1.35);
    transition: transform 0.2s;
}
@media (max-width: 767.98px) {
    .logo-boost {
        transform: scale(1.15);
    }
}

/*--------------------------------------------------------------
# Responsive Design Media Queries
--------------------------------------------------------------*/

/* Tablets and larger devices */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* General Mobile Styles (up to 767px) */
@media (max-width: 767.98px) {
    h1, .display-4 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    h2, .display-5 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero p.lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .team-card, .project-card, .service-card {
        margin-bottom: 2rem;
    }

    .footer {
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }

    body {
        padding-top: 60px;
    }

    .hero, .contact, .services, .about, .projects, .team, .process, .timeline-section, .trusted-by {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

/* Smaller mobile devices (up to 576px) */
@media (max-width: 575.98px) {
    .hero {
        text-align: center;
    }
    .hero .d-flex.gap-3 {
        flex-direction: column;
        align-items: center;
    }

    #countdown {
        flex-direction: column;
        gap: 1rem;
    }

    .countdown-item {
        min-width: unset;
        width: 80%;
        margin: 0 auto;
    }
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
} 