/* General Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    padding-top: 56px;
}

section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Navigation */
.navbar {
    background-color: rgba(33, 37, 41, 0.9);
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url("../assets/security.png"); */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    transition: background-image 1s ease-in-out; /* Increase duration for smoother transition */

}




.hero-content h1 {
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
}

.service-card ul {
    margin-top: 1rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
}



















/* About Section */
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Team Cards */
.team-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-card .card-img-top {
    height: 300px;
    object-fit: cover;
}

.team-card .card-body {
    padding: 1.5rem;
}

.team-card .badge {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}


/* About section */
.shadow{
    box-shadow: none !important;
}

.imageTransition {
    animation: upDown 2s ease-in-out infinite;
}

@keyframes upDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
    
}

/* Testimonials */
.testimonial-item img {
    border: 3px solid white;
}

#contact{
    background-color: rgba(211, 211, 211, 0.349);
}
/* Contact Form */
.contact-form .form-control,
.contact-form .form-select {
    padding: 12px;
    border-radius: 5px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

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

.btn, .hoverSocialIcon {
  transition: all 0.3s ease;
}

.btn:hover, .hoverSocialIcon:hover {
  background-color: blue;
  color: white;
}

.btn:hover i, .hoverSocialIcon:hover {
  color: white;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
}

.back-to-top:hover {
    background: #0b5ed7;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .d-flex.gap-3 {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .counter {
        font-size: 1.8rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
}