/* Lighthouse Electrical Contracting - Custom Styles */

:root {
    --primary-blue: #1e3a8a;
    --dark-navy: #0f172a;
    --accent-yellow: #fbbf24;
    --light-blue: #3b82f6;
    --gray-light: #f8fafc;
    --gray-dark: #64748b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Ensure main content sections are always visible - prevent hiding */
.section-padding,
.about-content,
.service-detail,
.service-detail-content,
.product-detail-content,
.contact-form,
.contact-info-card,
section.section-padding,
section.about-content {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
}

/* Ensure main content sections are always visible */
.section-padding,
.about-content,
.service-detail,
.service-detail-content,
.product-detail-content,
.contact-form,
.contact-info-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

/* Delay Classes */
.delay-1 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

/* Header Top */
.header-top {
    background: var(--dark-navy);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-top-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.header-top-link:hover {
    color: var(--accent-yellow);
}

.header-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.header-top-text {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.header-social-links {
    display: flex;
    gap: 0.5rem;
}

.header-social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.header-social-link:hover {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* Navigation */
.custom-navbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.6s ease-out;
    top: 45px;
    z-index: 1030; 
}

.custom-navbar.scrolled {
    box-shadow: 0 6px 30px rgba(0,0,0,0.12);
    padding: 0.75rem 0;
}

/* Brand Styling */
.custom-brand {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem 0;
}

.custom-brand:hover {
    transform: translateY(-2px);
}

.brand-logo {
    height: 85px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.custom-brand:hover .brand-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .brand-logo {
        height: 50px;
        max-width: 150px;
    }
}

/* Navigation Links */
.custom-nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.3rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-decoration: none;
}

.custom-nav-link span {
    position: relative;
    z-index: 2;
}

.custom-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow) 0%, #f59e0b 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.custom-nav-link:hover::before {
    width: 80%;
}

.custom-nav-link:hover {
    color: var(--accent-yellow) !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.custom-nav-link.active {
    color: var(--accent-yellow) !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.custom-nav-link.active::before {
    width: 80%;
}

/* CTA Button in Nav */
.nav-cta-btn {
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.nav-cta-btn-outline {
    background: transparent !important;
    border: 2px solid var(--accent-yellow) !important;
    color: var(--accent-yellow) !important;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.2) !important;
}

.nav-cta-btn-outline:hover {
    background: var(--accent-yellow) !important;
    color: var(--dark-navy) !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4) !important;
}

/* Toggler Button */
.custom-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    transition: all 0.3s ease;
}

.custom-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-yellow);
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(251, 191, 36, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu Styling */
.custom-dropdown-menu {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(251, 191, 36, 0.2) !important;
    color: var(--accent-yellow) !important;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15em;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Enable hover for dropdown on desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .custom-dropdown-menu {
        display: block !important;
    }
    
    .nav-item.dropdown:hover .dropdown-toggle {
        color: var(--accent-yellow) !important;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .custom-nav-link {
        margin: 0.2rem 0;
        padding: 0.75rem 1rem !important;
    }
    
    .nav-cta-btn {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .custom-dropdown-menu {
        background: rgba(30, 58, 138, 0.95) !important;
        margin-left: 1rem;
    }
}

/* Hero Section */
.hero-section {
    /* min-height: 600px; */
    min-height: calc(100vh - 116px); /* Full viewport minus header top (40px) + Navbar (76px) */
    margin-top: 116px; /* Header top (40px) + Navbar (76px) */
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(30, 58, 138, 0.7));
    z-index: 1;
}

/* Hero Slider Indicators */
.hero-slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-slider-indicators .indicator.active {
    background-color: var(--accent-yellow);
    border-color: rgba(255, 255, 255, 0.8);
    width: 30px;
    border-radius: 6px;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-yellow);
    color: var(--dark-navy);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-custom:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-custom:hover {
    background-color: #f59e0b;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.5);
}

.btn-primary-custom:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s;
    z-index: -1;
}

.btn-outline-custom:hover::before {
    left: 0;
}

.btn-outline-custom:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Section Styling */
.section-padding {
    padding: 5rem 0;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #f59e0b 100%);
    color: var(--dark-navy);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%);
    padding: 4rem 0;
    /* margin-top: -2rem; */
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.stat-card {
    padding: 2rem 1rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-number[data-special] {
    font-size: 2.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Intro Section Enhancements */
.intro-image-wrapper {
    position: relative;
}

.intro-image {
    transition: transform 0.3s ease;
}

.intro-image:hover {
    transform: scale(1.02);
}

.intro-badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.badge-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    font-weight: 600;
    color: var(--primary-blue);
}

.badge-item i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid var(--accent-yellow);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-box-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.feature-box h5 {
    color: var(--dark-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Why Choose Us Section */
.why-choose-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.why-choose-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-navy);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-choose-item h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.why-choose-image-wrapper {
    position: relative;
}

.trust-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-badge i {
    font-size: 2rem;
    color: var(--accent-yellow);
}

.trust-badge strong {
    display: block;
    color: var(--dark-navy);
    font-size: 1.1rem;
}

.trust-badge small {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 4rem;
    color: var(--accent-yellow);
    animation: pulse 2s ease-in-out infinite;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid var(--accent-yellow);
    opacity: 1;
    transform: translateY(0);
}

/* Only apply animation styles if JavaScript adds the class */
.service-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

.service-icon {
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-icon {
    font-size: 3rem;
    color: var(--light-blue);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    background: var(--gray-light);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
    opacity: 1;
    transform: translateY(0);
}

/* Only apply animation styles if JavaScript adds the class */
.product-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.product-card.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-8px) scale(1.02);
}

.product-card i {
    transition: transform 0.4s ease;
}

.product-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Staff Cards */
.staff-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border-top: 4px solid var(--accent-yellow);
}

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

.staff-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border: 4px solid var(--accent-yellow);
}

.staff-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.staff-card:hover .staff-image {
    transform: scale(1.1);
}

.staff-name {
    color: var(--dark-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.staff-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .staff-image-wrapper {
        width: 150px;
        height: 150px;
    }
}

/* CTA Section */
.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-navy);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
    transform: scale(1.05);
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #94a3b8;
}

/* Footer Social Links */
.footer-social-links h6 {
    color: var(--accent-yellow);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social-links .social-links {
    gap: 0.5rem;
}

.footer-social-links .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.footer-social-links .social-link:hover {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    margin-top: 116px; /* Header top (40px) + Navbar (76px) */
}

.about-content {
    padding: 3rem 0;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

.about-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Services/Products Detail Pages */
.service-detail {
    padding: 2rem 0;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

.service-detail h3 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-icon {
    font-size: 4rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.contact-form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #f59e0b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-navy);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

/* Form Inputs */
.input-group-custom {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-dark);
    z-index: 3;
    font-size: 1.1rem;
}

.input-icon-textarea {
    top: 20px;
    transform: none;
}

.form-control-custom {
    padding-left: 45px !important;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control-custom:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
    outline: none;
}

.form-control-custom::placeholder {
    color: #94a3b8;
}

.form-select.form-control-custom {
    padding-left: 45px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
}

textarea.form-control-custom {
    padding-top: 15px !important;
    resize: vertical;
}

.custom-checkbox .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.custom-checkbox .form-check-label {
    margin-left: 0.5rem;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* Contact Info Cards */
.contact-info-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.contact-info-content {
    flex: 1;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

.business-hours li {
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    color: white !important;
}

/* Map Container */
.map-container {
    background: var(--gray-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.map-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.map-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon-wrapper {
        margin: 0 auto;
    }
}

/* Privacy Policy */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.privacy-content h2 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content h3 {
    color: var(--dark-navy);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Utilities */
.bg-light-custom {
    background-color: var(--gray-light);
}

.text-primary-custom {
    color: var(--primary-blue) !important;
}

.bg-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%) !important;
}

.text-accent {
    color: var(--accent-yellow) !important;
}

/* Service Detail Page */
.service-hero-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--dark-navy);
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

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

.service-detail-content {
    line-height: 1.8;
    opacity: 1 !important;
}

.service-detail-content h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

.process-step {
    padding: 1.5rem;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* Product Detail Page */
.product-hero-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
}

.product-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.product-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.product-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--dark-navy);
    font-size: 1.5rem;
}

.product-specs {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-yellow);
}

.product-detail-content {
    line-height: 1.8;
    opacity: 1 !important;
}

.product-detail-content h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

.product-category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: var(--light-blue);
}

/* Responsive */
@media (max-width: 991px) {
    .custom-navbar {
        top: 84px !important;
    }
}
@media (max-width: 768px) {
    .header-top {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .header-top-left {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .header-top-link {
        font-size: 0.75rem;
    }
    
    .header-top-right {
        justify-content: flex-start;
    }
    
    .header-top-text {
        display: none;
    }
    
    .header-social-link {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    /* Calculate header top height on mobile - adjust based on actual content height */
    /* Header top is approximately 60-70px on mobile with stacked content */
    .custom-navbar {
        top: 64px !important; /* Position navbar below header top on mobile */
        position: fixed !important;
        z-index: 1030 !important;
    }
    
    .hero-section {
        margin-top: 130px; /* Header top (60px) + Navbar (70px) on mobile */
        min-height: calc(100vh - 130px);
    }
    
    .about-hero {
        margin-top: 130px; /* Header top (60px) + Navbar (70px) on mobile */
    }
    
    /* Button fixes for mobile - ensure buttons stack properly */
    .d-flex.gap-3.flex-wrap,
    .d-flex.gap-3.justify-content-center.flex-wrap {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .d-flex.gap-3.flex-wrap .btn,
    .d-flex.gap-3.justify-content-center.flex-wrap .btn {
        width: 100%;
        margin: 0 !important;
    }
    
    /* Fix buttons with me-3 margin on mobile - make them stack vertically */
    .btn.me-3 {
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
        display: block;
        width: 100%;
    }
    
    .btn.me-3:last-child {
        margin-bottom: 0;
    }
    
    /* Ensure button groups stack on mobile - catch all button pairs */
    .mt-4 .btn {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
        display: block;
    }
    
    .mt-4 .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Fix buttons in CTA sections and other containers */
    .cta-section .d-flex .btn,
    .cta-content .d-flex .btn,
    .cta-section .btn,
    .cta-content .btn {
        width: 100%;
        margin: 0 0 0.75rem 0 !important;
        display: block;
    }
    
    .cta-section .d-flex .btn:last-child,
    .cta-content .d-flex .btn:last-child,
    .cta-section .btn:last-child,
    .cta-content .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Fix inline button pairs - any button next to another button */
    .btn + .btn {
        margin-left: 0 !important;
        margin-top: 0.75rem;
        display: block;
    }
    
    /* Fix buttons in text-center containers - stack on mobile */
    .text-center .btn.me-3 {
        display: block;
        width: 100%;
        margin: 0 0 0.75rem 0 !important;
    }
    
    .text-center .btn.me-3:last-child {
        margin-bottom: 0;
    }
    
    /* Ensure all button pairs stack on very small screens */
    @media (max-width: 576px) {
        .btn {
            width: 100% !important;
            margin-right: 0 !important;
            margin-left: 0 !important;
        }
        
        .btn + .btn {
            margin-top: 0.75rem;
        }
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .service-hero-icon,
    .product-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-section {
        padding: 3rem 0;
        margin-top: 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .intro-badge-overlay {
        position: static;
        margin-top: 1rem;
    }
    
    .trust-badge {
        position: static;
        margin-top: 1rem;
        display: inline-flex;
    }
    
    .cta-icon {
        font-size: 3rem;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .portfolio-card {
        margin-bottom: 1.5rem;
    }
    
    .portfolio-image-wrapper {
        height: 200px;
    }
}

/* Portfolio Page Styles */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover {
    background: var(--light-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.portfolio-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(30, 58, 138, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.portfolio-content h4 {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.portfolio-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.portfolio-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.portfolio-info h5 {
    color: var(--dark-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.portfolio-info p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.portfolio-item {
    transition: all 0.4s ease;
}

/* home hero responsive */
@media (max-width: 576px){
    .hero-slider-indicators {
        bottom: 10px;
    }
}