:root {
    --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #ff9f1c 100%);
    --accent-color: #ff6b35;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Global Styles */
body {
    background: var(--bg-light);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-primary) !important;
}

.navbar-brand i {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
    padding-top: 120px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b35' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    animation: move-bg 60s linear infinite;
    pointer-events: none;
}

.bottom-hero-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    display: block;
}

/* Cards and Features */
.card {
    border: none;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}


.feature-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image {
    transform: translateY(-5px);
}

.feature-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}


.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

/* Network services vendor panel (index) */
.network-vendor-panel {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.network-vendor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
    flex: 1;
    align-content: center;
    width: 100%;
}

.network-vendor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 6.5rem;
    padding: 0.5rem;
    width: 100%;
}

.network-vendor-item img {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.network-vendor-item .network-vendor-hp {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1;
}

/* Network Management Feature */
.feature-icon {
    color: var(--accent-color);
    font-size: 2rem;
    margin-right: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 1rem;
}

.feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border-radius: 16px;
    padding: 2rem;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.feature-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    position: relative;
}


.pricing-card.border-primary {
    border: 2px solid transparent !important;
    background: 
        linear-gradient(white, white) padding-box,
        var(--primary-gradient) border-box;
}

.pricing-card .card-body {
    position: relative;
    z-index: 1;
}

.price {
    color: var(--accent-color);
}

.price .display-4 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card ul li {
    position: relative;
    padding-left: 2rem;
}

.pricing-card ul li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.pricing-card .btn {
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-2px);
}

.pricing-card h3 {
    color: var(--accent-color);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9f1c 0%, #ff6b35 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Forms */
.form-control {
    border: 2px solid #e2e8f0;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

/* Dashboard Components */
.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-card {
    background: var(--primary-gradient);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dashboard-preview {
    width: 100%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-preview:hover {
    transform: translateY(-5px);
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Animations */
@keyframes move-bg {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

@media (prefers-reduced-motion: no-preference) {
    .feature-card {
        animation: fade-in-up 0.6s ease-out;
    }
    
    @keyframes fade-in-up {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
}

/* Image Comparison Slider */
.image-comparison-slider {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.image-comparison-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.image-comparison-before,
.image-comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.image-comparison-before {
    position: relative;
    height: auto;
    display: block;
}

.image-comparison-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.image-comparison-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.image-comparison-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
}

.image-comparison-slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.image-comparison-slider-circle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.image-comparison-slider-circle i {
    color: #666;
    font-size: 14px;
}

.image-comparison-labels {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
}

.label-before,
.label-after {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Mobile responsiveness for image slider */
@media (max-width: 768px) {
    .image-comparison-slider-circle {
        width: 32px;
        height: 32px;
    }
    
    .image-comparison-slider-circle i {
        font-size: 12px;
    }
    
    .label-before,
    .label-after {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.dev-banner {
    background: #111;
    color: #fff;
    width: 100%;
    padding: 0.75rem 2rem 0.75rem 1rem;
    position: relative;
    z-index: 1050;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

@media (max-width: 768px) {
    .dev-banner {
        font-size: 0.95rem;
        padding: 0.75rem 1rem 0.75rem 1rem;
    }
    .dev-banner button {
        right: 0.5rem;
    }
}

/* Blog Styles */
.blog-container {
    max-width: 700px;
    margin: 4rem auto 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
}

.blog-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-post {
    margin-bottom: 2.5rem;
}

.blog-post-title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.blog-post-date {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blog-post-content {
    font-size: 1.08rem;
    color: var(--text-primary);
}

.blog-post-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
}

.author-title {
    color: #666;
    font-size: 0.85rem;
}

/* Blog Image Styles */
.blog-image {
    max-width: 100%;
    border: 1px solid #ddd;
}

/* Video Embed Container */
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 1.5rem 0;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* About Page Styles */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img,
.card .card-body img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.team-member .social-links {
    margin-top: 1rem;
}

.team-member .social-links a {
    color: var(--text-secondary);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.team-member .social-links a:hover {
    color: var(--accent-color);
}

.value-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}


.value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stats-section {
    background: var(--primary-gradient);
    color: white;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    padding: 2rem;
    position: relative;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.mission-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: zoom-out;
}

.mission-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    transform: scale(1.2);
}

.mission-image-container:hover img {
    transform: scale(1);
}

/* Features Page Styles */
.text-orange {
    color: #ff6600 !important;
}

/* Contact Page Styles */
.contact-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.contact-info-card {
    background: var(--primary-gradient);
    color: white;
    padding: 2rem;
    height: 100%;
}

.contact-info-card h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-info .social-links {
    display: flex;
    gap: 1rem;
}

.contact-info .social-links a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.contact-info .social-links a:hover {
    opacity: 0.8;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Carousel Styles */
#adminCarousel .carousel-indicators button {
    background-color: rgba(255, 107, 53, 0.5);
}

#adminCarousel .carousel-indicators button.active {
    background-color: #ff6b35;
}

#adminCarousel .carousel-control-prev-icon,
#adminCarousel .carousel-control-next-icon {
    background-color: #ff6b35;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

#adminCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#adminCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Services Carousel (Respect Where Due) Styles */
#servicesCarousel .carousel-control-prev-icon,
#servicesCarousel .carousel-control-next-icon {
    background-color: #ff6b35;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 1;
}

#servicesCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#servicesCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#servicesCarousel .carousel-control-prev,
#servicesCarousel .carousel-control-next {
    opacity: 1;
}

#servicesCarousel .carousel-control-prev:hover,
#servicesCarousel .carousel-control-next:hover {
    opacity: 0.8;
}
