/* Custom CSS Variables - QuicKFix Brand Colors */
:root {
    --primary-color: #0af2d0;
    --secondary-color: ##00ffbc;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
    
    /* Additional Colors */
    --white-75: rgba(255, 255, 255, 0.75);
    --white-50: rgba(255, 255, 255, 0.5);
    --light-50: rgba(236, 240, 241, 0.5);
    --primary-light: #7db3a7;
    --secondary-light: #b8ccc6;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}
.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps aspect ratio while covering */
    z-index: -1; /* push video behind content */
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* dark overlay for text visibility */
    z-index: 0;
}
.hero-section .container {
    z-index: 1;
    position: relative;
}

.hero-content {
  opacity: 0;
  transform: translateY(40px); /* start lower */
  transition: opacity 1s ease, transform 1s ease;
}

.hero-content.show {
  opacity: 1;
  transform: translateY(0); /* move to original position */
}

/* Custom Bootstrap Overrides */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-white-75 { color: var(--white-75) !important; }
.text-white-50 { color: var(--white-50) !important; }
.text-light-50 { color: var(--light-50) !important; }
.text-secondary-light { color: var(--secondary-light) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: var(--transition-normal);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(92, 154, 145, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

/* Add this to your CSS file */
.hero-section .container {
    z-index: 2; /* This must be higher than the overlay's z-index of 1 */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Floating Elements Animation */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn-hero {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.btn-hero:hover {
    background: transparent;
    /* color: var(--primary-color); */
    color: white;

    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-hero {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-outline-hero:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Stats Section */
.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
}

/* Service Cards */
.service-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.25rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.service-features li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.btn-servic{
    color: #5c9a91;
}
/* Portfolio Cards */
.portfolio-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    background: white;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92, 154, 145, 0.9), rgba(157, 191, 182, 0.9));
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-tech .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Company Logos */
.company-logo {
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: center;
}

.company-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.company-logo img {
    max-height: 40px;
    width: auto;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.company-logo:hover img {
    opacity: 1;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author h6 {
    color: var(--dark-color);
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .display-1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .btn-hero,
    .btn-outline-hero {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}






/* ------------------------------ */
/* --- Additional Page Styles --- */

/* Page Header */
.page-header {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

.page-header h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Team Page Styles */
.team-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-card-img-container {
    position: relative;
}

.team-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(92, 154, 145, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.team-card:hover .team-social-overlay {
    opacity: 1;
}

.team-social-overlay a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: var(--transition-fast);
}

.team-social-overlay a:hover {
    transform: scale(1.2);
}

.team-card-body {
    padding: 20px;
}

.team-name {
    font-weight: 700;
    color: var(--dark-color);
}

.team-designation {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Portfolio Page Styles */
.portfolio-filter .btn {
    border-radius: 50px;
    margin: 0 5px;
    font-weight: 500;
}

.portfolio-filter .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.portfolio-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-item.hide {
    transform: scale(0.8);
    opacity: 0;
    display: none;
}

/* Contact Page Styles */
.contact-info-list .contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.contact-info-item h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-item p {
    margin: 0;
    color: #6c757d;
}

.social-links-contact .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-links-contact .social-icon:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}