/* Custom CSS for CCTV Website - Red & White Theme */

:root {
    --primary-red: #dc3545;
    --dark-red: #c82333;
    --light-red: #f8d7da;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-dark: #212529;
    --text-light: #6c757d;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation Styles */
.hero-bg {
	background-image: url("img/slider1.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
	padding: 100px 0;
}
.navbar {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

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

.navbar-brand:hover {
    color: var(--light-gray) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--light-gray) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-text {
    color: var(--white) !important;
    font-weight: 500;
}

.navbar-toggler {
    border: 2px solid var(--white);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Mobile Offcanvas Menu */
.offcanvas {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
}

.offcanvas-title {
    color: var(--white);
    font-weight: bold;
}

.offcanvas .nav-link {
    color: var(--white) !important;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
}

/* Hero Section */
.hero-section {
    background-image: url("img/slider1.jpg");    
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color:#fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
}

.btn-outline-light {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.professional-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Features Section */
.features-section {
    background: var(--white);
    padding: 5rem 0;
}

.features-section h2 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h5 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Services Section */
.services-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.services-section h2 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 1rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.2);
}

.service-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

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

.service-card .card-title {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

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

/* About Section */
.about-section {
    background: var(--white);
    padding: 5rem 0;
}

.about-section h2 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 2rem;
}

.about-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item h3 {
    color: var(--primary-red);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.services-list {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.services-list h5 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.services-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.services-list li i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.contact-section h2 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-section h4 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 2rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    min-width: 30px;
}

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--dark-gray) 100%);
    color: var(--white);
}

.footer h5, .footer h6 {
    color: var(--white);
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    color: var(--white);
    cursor: pointer;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        margin-bottom: 1rem;
        display: block;
        width: 100%;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
}

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

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-red);
}

