/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.logo-icon i {
    font-size: 24px;
    color: white;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1;
}

.logo-text span {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #3b82f6;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #3b82f6;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    pointer-events: auto;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #3b82f6;
    border-left-color: #3b82f6;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    margin-right: 10px;
    color: #64748b;
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: #3b82f6;
}

.cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #475569;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-btn i {
    font-size: 18px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: #3b82f6;
    transform: translateY(-2px);
}

/* Statistics Section */
.statistics {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.stat-circle:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.stat-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number.animate {
    animation: countUp 0.8s ease-out;
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-overview-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.service-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-overview-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.service-overview-card .service-icon i {
    font-size: 32px;
    color: white;
}

.service-overview-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-overview-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
}

.service-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
}

.service-actions .btn-secondary {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
}

.service-actions .btn-secondary:hover {
    background: #1d4ed8;
    color: white;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: #ffffff;
}

/* Base Features Grid - Clean default behavior */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}


/* CCTV Page - Installation Process - Force 4 columns on desktop */
.cctv-page .installation-process .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    display: grid;
}

.cctv-page .installation-process .feature-card {
    padding: 1.2rem 0.8rem;
    min-width: 0;
}

.cctv-page .installation-process .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.cctv-page .installation-process .feature-card p {
    font-size: 0.8rem;
    line-height: 1.3;
}

.cctv-page .installation-process .feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
}

.cctv-page .installation-process .feature-card .feature-icon i {
    font-size: 20px;
}

/* CCTV Page - System Specifications - Force 4 columns on desktop */
.cctv-page .cctv-specifications .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    display: grid;
}

.cctv-page .cctv-specifications .feature-card {
    padding: 1.2rem 0.8rem;
    min-width: 0;
}

.cctv-page .cctv-specifications .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.cctv-page .cctv-specifications .feature-card p {
    font-size: 0.8rem;
    line-height: 1.3;
}

.cctv-page .cctv-specifications .feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
}

.cctv-page .cctv-specifications .feature-card .feature-icon i {
    font-size: 20px;
}

/* Fire Alarm Page - Installation Process - Force 4 columns */
.fire-alarm-page .fire-alarm-installation-process .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    display: grid;
}
.fire-alarm-page .fire-alarm-installation-process .feature-card {
    padding: 1.2rem 0.8rem;
    min-width: 0;
}
.fire-alarm-page .fire-alarm-installation-process .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.fire-alarm-page .fire-alarm-installation-process .feature-card p {
    font-size: 0.8rem;
    line-height: 1.3;
}
.fire-alarm-page .fire-alarm-installation-process .feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
}
.fire-alarm-page .fire-alarm-installation-process .feature-card .feature-icon i {
    font-size: 20px;
}

/* Security Alarm Page - Installation Process - Force 4 columns */
.security-alarm-page .security-alarm-installation-process .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    display: grid;
}
.security-alarm-page .security-alarm-installation-process .feature-card {
    padding: 1.2rem 0.8rem;
    min-width: 0;
}
.security-alarm-page .security-alarm-installation-process .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.security-alarm-page .security-alarm-installation-process .feature-card p {
    font-size: 0.8rem;
    line-height: 1.3;
}
.security-alarm-page .security-alarm-installation-process .feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
}
.security-alarm-page .security-alarm-installation-process .feature-card .feature-icon i {
    font-size: 20px;
}

/* PA System Page - Installation Process - Force 4 columns */
.pa-system-page .pa-system-installation-process .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    display: grid;
}
.pa-system-page .pa-system-installation-process .feature-card {
    padding: 1.2rem 0.8rem;
    min-width: 0;
}
.pa-system-page .pa-system-installation-process .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.pa-system-page .pa-system-installation-process .feature-card p {
    font-size: 0.8rem;
    line-height: 1.3;
}
.pa-system-page .pa-system-installation-process .feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
}
.pa-system-page .pa-system-installation-process .feature-card .feature-icon i {
    font-size: 20px;
}

/* Networking Page - Installation Process - Force 4 columns */
.networking-page .networking-installation-process .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    display: grid;
}
.networking-page .networking-installation-process .feature-card {
    padding: 1.2rem 0.8rem;
    min-width: 0;
}
.networking-page .networking-installation-process .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.networking-page .networking-installation-process .feature-card p {
    font-size: 0.8rem;
    line-height: 1.3;
}
.networking-page .networking-installation-process .feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
}
.networking-page .networking-installation-process .feature-card .feature-icon i {
    font-size: 20px;
}

/* Access Control Page - Installation Process - Force 4 columns */
.access-control-page .access-control-installation-process .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    display: grid;
}
.access-control-page .access-control-installation-process .feature-card {
    padding: 1.2rem 0.8rem;
    min-width: 0;
}
.access-control-page .access-control-installation-process .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.access-control-page .access-control-installation-process .feature-card p {
    font-size: 0.8rem;
    line-height: 1.3;
}
.access-control-page .access-control-installation-process .feature-card .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
}
.access-control-page .access-control-installation-process .feature-card .feature-icon i {
    font-size: 20px;
}

/* Force 4 columns on larger screens only */
@media (min-width: 1024px) {
    .cctv-page .installation-process .features-grid,
    .cctv-page .cctv-specifications .features-grid,
    .fire-alarm-page .fire-alarm-installation-process .features-grid,
    .security-alarm-page .security-alarm-installation-process .features-grid,
    .pa-system-page .pa-system-installation-process .features-grid,
    .networking-page .networking-installation-process .features-grid,
    .access-control-page .access-control-installation-process .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
    
    .cctv-page .installation-process .feature-card,
    .cctv-page .cctv-specifications .feature-card,
    .fire-alarm-page .fire-alarm-installation-process .feature-card,
    .security-alarm-page .security-alarm-installation-process .feature-card,
    .pa-system-page .pa-system-installation-process .feature-card,
    .networking-page .networking-installation-process .feature-card,
    .access-control-page .access-control-installation-process .feature-card {
        padding: 1rem 0.6rem;
        min-width: 0;
    }
}

.feature-card {
    background: #f8fafc;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.feature-card .feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #ffffff;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f8fafc;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-content {
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #e2e8f0;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-icon i {
    font-size: 20px;
    color: white;
}

.footer-logo .logo-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

.footer-logo .logo-text span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.contact-detail i {
    width: 20px;
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3b82f6;
}

/* Quick Contact Form Section */
.quick-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-form-section {
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.quick-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-actions .btn {
    flex: 1;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.form-actions .btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.form-actions .btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.95rem;
}

.info-item i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slider-nav {
        padding: 0 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn i {
        font-size: 14px;
    }
    
    .slider-dots {
        bottom: 1rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Service Content */
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Features Grid */
    
    /* CTA Content */
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-circle {
        width: 120px;
        height: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Checkbox Group */
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-overview .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-overview-card {
        padding: 2rem 1.5rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    
    /* CCTV Page - Installation Process responsive */
    .cctv-page .installation-process .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cctv-page .installation-process .feature-card {
        padding: 1.5rem;
    }
    
    /* CCTV Page - Specifications responsive */
    .cctv-page .cctv-specifications .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cctv-page .cctv-specifications .feature-card {
        padding: 1.5rem;
    }
    
    /* Fire Alarm Page - Installation Process responsive */
    .fire-alarm-page .fire-alarm-installation-process .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fire-alarm-page .fire-alarm-installation-process .feature-card {
        padding: 1.5rem;
    }
    
    /* Security Alarm Page - Installation Process responsive */
    .security-alarm-page .security-alarm-installation-process .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .security-alarm-page .security-alarm-installation-process .feature-card {
        padding: 1.5rem;
    }
    
    /* PA System Page - Installation Process responsive */
    .pa-system-page .pa-system-installation-process .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pa-system-page .pa-system-installation-process .feature-card {
        padding: 1.5rem;
    }
    
    /* Networking Page - Installation Process responsive */
    .networking-page .networking-installation-process .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .networking-page .networking-installation-process .feature-card {
        padding: 1.5rem;
    }
    
    /* Access Control Page - Installation Process responsive */
    .access-control-page .access-control-installation-process .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .access-control-page .access-control-installation-process .feature-card {
        padding: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Quick Contact Form Responsive */
    .quick-contact {
        padding: 60px 0;
    }
    
    .contact-form-section {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.contact-item:hover {
    transform: translateX(5px);
}

/* Focus States for Accessibility */
.nav-link:focus,
.btn:focus,
.social-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(226, 232, 240, 0.5);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .nav-list li {
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 18px;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .dropdown-toggle {
        position: relative;
    }
    
    .dropdown-toggle::after {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f1f5f9;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        border-left: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.3);
        font-size: 16px;
    }
    
    .dropdown-item:hover {
        transform: none;
        background: #e2e8f0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #475569;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Service Pages Styles */
.service-details {
    padding: 80px 0;
    background: #ffffff;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.service-info p {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}


.feature-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.service-benefits {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: fit-content;
}

.service-benefits h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #475569;
    font-weight: 500;
}

.benefits-list li i {
    color: #10b981;
    font-size: 16px;
}

.contact-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}



/* Responsive Service Pages */

/* Page-specific Styles */

/* About Page Styles */
.about-page .statistics {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 4rem 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-circle {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Contact Page Styles */
.contact-page .contact-cta {
    background: #dc2626;
}

.contact-page .contact-cta h3,
.contact-page .contact-cta p {
    color: white;
}


/* Quote Page Styles */
.quote-page .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.checkmark {
    font-size: 0.9rem;
    color: #64748b;
}

/* Form Enhancements */
.quick-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.quick-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

/* Additional Responsive Styles */

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
}
