:root {
    --primary-color: #2c6eb5;
    --secondary-color: #64b5f6;
    --accent-color: #1a237e;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-medium: 0 20px 60px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-img {
    width: 40px;
    height: 40px;
    margin: 4px;
    padding: 2px;
    border-radius: 8px;
    object-fit: cover;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 110, 181, 0.8), rgba(100, 181, 246, 0.6));
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding-top: 80px; /* Add padding to account for fixed header */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::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;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

/* Make the Real-time Monitoring card clickable */
#realtime-monitoring-card {
    cursor: pointer;
}

#realtime-monitoring-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(44, 110, 181, 0.2);
}

/* Make service cards clickable */
.service-card:nth-child(2),
.service-card:nth-child(3) {
    cursor: pointer;
}

.service-card:nth-child(2):hover,
.service-card:nth-child(3):hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

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

/* Features Section */
.features {
    padding: 5rem 1rem;
}

.feature-container {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 3rem;
    align-items: center;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.feature-item i {
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Demo Section */
.demo {
    padding: 5rem 1rem;
    background-color: var(--white);
}

.demo-content {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 3rem;
    align-items: center;
}

.demo-text {
    flex: 1;
}

.demo-video {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-height: 300px;
}

.demo-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.demo-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    margin-top: 1rem;
}

.demo-button:hover {
    transform: translateY(-2px);
    background-color: var(--accent-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 3rem;
    align-items: center;
}

.about-video {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-height: 300px;
}

.about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 110, 181, 0.1), rgba(100, 181, 246, 0.1));
    z-index: 1;
}

.learn-more {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 2rem auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, select, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

textarea {
    height: 150px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    margin: 4px;
    padding: 2px;
    border-radius: 6px;
    object-fit: cover;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .feature-container,
    .about-content,
    .contact-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .demo-content {
        flex-direction: column;
    }
    
    /* Video responsive adjustments */
    .hero-video-container video,
    .about-video video,
    .demo-video video {
        min-height: 250px;
    }
    
    .about-video,
    .demo-video {
        min-height: 250px;
    }
    
    /* Adjust hero content padding for mobile */
    .hero-content {
        padding-top: 100px;
    }
} 

/* Dashboard Modal Styles */
#dashboardModal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}
#dashboardModal.active {
    display: flex;
}
#dashboardModal .modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    animation: fadeIn 0.2s;
}
#dashboardModal .close-dashboard-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    z-index: 10;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
} 

/* Enhanced Demo Modal Styles */
#demoModal .modal-content {
    background: linear-gradient(135deg, #f8fafc 60%, #e3f0fc 100%);
    box-shadow: 0 8px 32px rgba(44, 110, 181, 0.18), 0 1.5px 6px rgba(26, 35, 126, 0.08);
    border-radius: 24px;
    border: 1.5px solid #e3f0fc;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    animation: fadeIn 0.5s cubic-bezier(0.4,0,0.2,1);
    position: absolute;
    max-width: 420px;
    width: 95%;
    cursor: move;
    user-select: none;
}

#demoModal .close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
    font-size: 2rem;
    color: #2c6eb5;
    background: #e3f0fc;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(44,110,181,0.08);
}
#demoModal .close-modal:hover {
    background: #2c6eb5;
    color: #fff;
}

#demoModal h2 {
    text-align: center;
    color: #2c6eb5;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

#demoModal form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
#demoModal .form-group input,
#demoModal .form-group select {
    background: #f8fafc;
    border: 1.5px solid #e3f0fc;
    border-radius: 8px;
    font-size: 1.05rem;
    padding: 0.9rem 1rem;
    transition: border 0.2s;
}
#demoModal .form-group input:focus,
#demoModal .form-group select:focus {
    border: 1.5px solid #2c6eb5;
    outline: none;
}
#demoModal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c6eb5;
    font-size: 0.95rem;
}
#demoModal button[type="submit"] {
    background: linear-gradient(90deg, #2c6eb5 60%, #64b5f6 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(44,110,181,0.08);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
#demoModal button[type="submit"]:hover {
    background: linear-gradient(90deg, #1a237e 60%, #2c6eb5 100%);
    transform: translateY(-2px) scale(1.03);
} 