/* =================================================================
   THINSEES - Custom Stylesheet
   Colors: Dark Blue Background with Professional Design
   ================================================================= */

:root {
    --primary-blue: #1e3a8a;
    --dark-blue: #1e40af;
    --light-blue: #2563eb;
    --accent-blue: #1d4ed8;
    --hover-blue: #1e40af;
    --dark-bg: #0f172a;
    --secondary-bg: #1e293b;
    --card-bg: #334155;
    --card-hover-bg: #475569;
    --light-section-bg: #334155;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --border-light: rgba(71, 85, 105, 0.5);
    --border-medium: rgba(71, 85, 105, 0.7);
    --border-heavy: rgba(71, 85, 105, 0.9);
    --bg-overlay-light: rgba(51, 65, 85, 0.8);
    --bg-overlay-medium: rgba(51, 65, 85, 0.9);
    --bg-overlay-heavy: rgba(30, 41, 59, 0.95);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-light: linear-gradient(135deg, #334155 0%, #475569 100%);
    --gradient-hover: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    --gradient-card: linear-gradient(135deg, #334155 0%, #475569 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Override Bootstrap bg-light to use our blue theme */
.bg-light {
    background: var(--gradient-light) !important;
    color: var(--text-light) !important;
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 {
    color: var(--text-light) !important;
}

.bg-light .text-muted {
    color: #94a3b8 !important;
}

.bg-light .text-dark {
    color: var(--text-light) !important;
}

/* Override Bootstrap text-primary to use our blue theme */
.text-primary {
    color: var(--accent-blue) !important;
}

/* Override Bootstrap btn-outline-primary */
.btn-outline-primary {
    color: var(--text-light) !important;
    border-color: var(--border-light) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    color: white !important;
    background-color: var(--hover-blue) !important;
    border-color: var(--hover-blue) !important;
}

/* Override Bootstrap primary colors */
.btn-primary, .bg-primary {
    background: var(--gradient-primary) !important;
    border-color: var(--primary-blue) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--gradient-hover) !important;
    border-color: var(--hover-blue) !important;
}

/* Force override all bright blue colors to elegant grays */
.card, .card-body {
    background: var(--gradient-card) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-light) !important;
}

/* Remove any cyan or light blue backgrounds */
.bg-info, .bg-cyan, .bg-light-blue, .text-info {
    background: var(--gradient-card) !important;
    color: var(--text-light) !important;
}

/* Navigation Styles */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-light) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--light-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(59,130,246,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-weight: 700;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-content .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Floating Cards Animation */
.floating-cards {
    position: relative;
    margin-top: 3rem;
    height: 350px;
    width: 100%;
}

.floating-card {
    position: absolute;
    background: var(--bg-overlay-light);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    min-width: 120px;
    box-shadow: var(--shadow-medium);
    animation: float 6s ease-in-out infinite;
    cursor: move;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.floating-card.dragging {
    animation: none;
    z-index: 1000;
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.floating-card:nth-child(1) {
    top: -40px;
    right: 200px;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 100px;
    right: 50px;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    top: 220px;
    right: 160px;
    animation-delay: 4s;
}

.floating-card:nth-child(4) {
    top: 40px;
    right: 350px;
    animation-delay: 1s;
}

.floating-card:nth-child(5) {
    top: 280px;
    right: 80px;
    animation-delay: 3s;
}

.floating-card:nth-child(6) {
    top: 160px;
    right: 280px;
    animation-delay: 5s;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

/* Service Cards */
.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-light);
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Solution Cards */
.solution-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    height: 100%;
    box-shadow: var(--shadow-light);
}

.solution-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-hover-bg) 100%);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.solution-header i {
    font-size: 2rem;
}

.solution-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.solution-item:hover::before {
    width: 200px;
    height: 200px;
}

.solution-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.solution-item * {
    position: relative;
    z-index: 2;
}

.solution-item:hover {
    background: var(--gradient-hover);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
    border-color: var(--hover-blue);
}

.solution-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--dark-bg);
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Circle Diagram */
.circle-diagram {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: var(--shadow-medium);
}

.center-circle i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.orbit-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-blue);
    font-size: 1.2rem;
    animation: orbit 20s linear infinite;
}

.orbit-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 5s; }
.orbit-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 10s; }
.orbit-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 15s; }

/* Stats Cards */
.stats-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.03), transparent);
    opacity: 0;
    transition: all 0.6s ease;
    animation: rotate 8s linear infinite;
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.stats-card * {
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sector Cards - New Modern Design */
.sector-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.sector-card:hover::before {
    opacity: 1;
}

.sector-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.sector-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.sector-card:hover .sector-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.sector-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    text-align: center;
}

.sector-items {
    text-align: left;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.sector-tag {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.7rem 0;
    font-size: 0.9rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.8rem;
}

.sector-tag::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--light-blue);
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sector-tag:last-child {
    border-bottom: none;
}

.sector-card:hover .sector-tag {
    padding-left: 2.2rem;
    color: rgba(255, 255, 255, 0.95);
}

.sector-card:hover .sector-tag::before {
    color: white;
    transform: translateX(3px);
}

.sector-footer {
    position: relative;
    z-index: 2;
}

.sector-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.sector-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(5px);
}

.sector-link i {
    transition: transform 0.3s ease;
}

.sector-link:hover i {
    transform: translateX(3px);
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Contact Cards */
.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--dark-bg);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* Contact Form */
.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    color: var(--dark-bg);
}

.form-control, .form-select {
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-primary);
    filter: brightness(1.1);
}

.btn-outline-primary {
    border: 2px solid var(--light-blue);
    color: var(--light-blue);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-primary:hover {
    background: var(--light-blue);
    border-color: var(--light-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
footer {
    background: var(--dark-bg) !important;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-blue);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--light-blue);
    color: white !important;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .floating-card:nth-child(1) { right: 150px; }
    .floating-card:nth-child(4) { right: 280px; }
    .floating-card:nth-child(6) { right: 220px; }
}

@media (max-width: 992px) {
    .floating-card:nth-child(1) { right: 120px; }
    .floating-card:nth-child(4) { right: 220px; }
    .floating-card:nth-child(6) { right: 180px; }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .floating-cards {
        display: none;
    }
    
    .circle-diagram {
        width: 250px;
        height: 250px;
    }
    
    .orbit-item {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .service-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-top: 3px solid var(--light-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--light-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Additional styles for better contrast */
.feature-content h5 {
    color: var(--dark-bg) !important;
    font-weight: bold;
}

.feature-content p {
    color: #6c757d !important;
}

/* IoT Solution Cards */
.iot-solution-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--dark-bg);
    height: 100%;
    box-shadow: var(--shadow-light);
}

.iot-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.iot-solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.iot-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tech-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-spec:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.02);
}

.tech-spec i {
    font-size: 1.2rem;
    width: 20px;
    flex-shrink: 0;
}

.tech-spec div {
    flex: 1;
}

.tech-spec strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-bg);
}

.tech-spec small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.application-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-features-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.tech-feature {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.tech-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-feature h5 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.tech-feature p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Form Enhancements */
.form-check-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.form-check-inline {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.form-check-label {
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
}

.form-check-input:checked + .form-check-label {
    background: var(--light-blue);
    color: white;
    border-color: var(--light-blue);
}

.form-check-label:hover {
    background: rgba(59, 130, 246, 0.1);
}

.form-check-input {
    display: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Demo Cards */
.demo-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
}

.demo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.demo-card:hover::after {
    opacity: 1;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.demo-card * {
    position: relative;
    z-index: 2;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.demo-header i {
    font-size: 1.5rem;
    color: var(--light-blue);
}

.demo-header h4 {
    color: var(--text-light);
    margin: 0;
}

.demo-body {
    color: var(--text-light);
}

/* Complete Bootstrap Color Override */
:root {
    --bs-primary: #1e3a8a !important;
    --bs-primary-rgb: 30, 58, 138 !important;
}

/* Force override of any cyan/light blue colors */
.text-info, .text-cyan, .text-light-blue {
    color: var(--light-blue) !important;
}

.bg-info, .bg-cyan, .bg-light-blue {
    background-color: var(--primary-blue) !important;
}

/* Service Icons specific override */
.service-card .service-icon {
    background: var(--gradient-primary) !important;
}

.service-card:hover .service-icon {
    background: var(--gradient-hover) !important;
}

/* Global Override for ALL remaining bright blue colors */
.floating-card,
.feature-item,
.tech-feature,
.contact-card,
.iot-solution-card,
.tech-spec {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-light) !important;
}

/* Force all borders and backgrounds to use our palette */
.orbit-item,
.form-check-container,
.contact-form .form-control {
    background: var(--card-bg) !important;
    border-color: var(--border-light) !important;
    color: var(--text-light) !important;
}

/* Complete elimination of blue colors on hover */
*:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Remove any remaining blue backgrounds */
.bg-primary, .btn-primary {
    background: var(--card-bg) !important;
    border-color: var(--border-light) !important;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}