/* Custom Styles for Stay Connected Electrical Services */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    line-height: 1.7;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, #0f3460 0%, #16213e 100%) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 0.8rem 0;
    border-bottom: 3px solid #e94560;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff !important;
}

.navbar-brand i {
    font-size: 1.6rem;
    margin-right: 0.5rem;
}

.nav-link {
    font-weight: 600;
    padding: 0.6rem 1.2rem !important;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.85) !important;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff !important;
    border-bottom: 2px solid #00d4ff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a472a 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-section .lead {
    color: #00d4ff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    font-weight: 600;
}

.hero-section p {
    color: #e8f0f5;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%) !important;
    color: white;
}

/* Cards */
.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
    border-color: #00d4ff;
}

/* Service Cards */
.card-header {
    border-bottom: none;
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(0,212,255,0.1) 100%) !important;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.card-body {
    padding: 2rem !important;
}

.card-body p {
    color: #555;
    line-height: 1.8;
}

.card-body h5 {
    color: #0f3460;
    font-weight: 700;
}

.card-body ul li {
    color: #2c3e50;
    font-weight: 500;
}

/* Gallery Placeholders */
.gallery-placeholder {
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.gallery-placeholder:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Contact Section */
#contact .card {a8cc;
    background-color: rgba(15,52,96,0.05);
}

#contact .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,168,204,0.25) !important;
}

#contact .bg-transparent {
    background: rgba(15,52,96,0.03
#contact .bg-transparent {
    background: rgba(255,255,255,0.05) !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%) !important;
    border: none;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(255,193,7,0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff9800 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,193,7,0.4);
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #00d4ff;
    color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,212,255,0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0,212,255,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0099cc 0%, #006699 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,212,255,0.4);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%) !important;
    color: #000;
    box-shadow: 0 4px 10px rgba(255,193,7,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #0f3460;
    font-weight: 700;
}

.display-5 {
    letter-spacing: -1px;
}

/* Sections */
    background-color: #ffffff;
}

#about {
    background-color: #f8f9fc;
}

#gallery {
    background-color: #f8f9fc
#gallery {
    background: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

/* Scroll Padding for Fixed Navbar */
section {
    scroll-margin-top: 70px;
}

/* List Styles */
.list-unstyled li {
    padding: 0.5rem 0;
}

/* Footer */
footer {
    background: linear-gradient(to right, #0f3460, #16213e) !important;
    border-top: 3px solid #00d4ff;
    padding: 2rem 0;
}

footer p {
    color: #e8f0f5;
    font-weight: 500;
}

footer .text-warning {
    color: #00d4ff !important;
    font-weight: 700;
}

/* Custom Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
}

/* Links */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a.text-warning {
    color: #ffc107 !important;
    font-weight: 600;
}

a.text-warning:hover {
    color: #ffb300 !important;
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* Focus & Accessibility */
:focus-visible {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #00d4ff;
}
