/* General Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F1F2F3;
    color: #1A2A3A;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #1A2A3A;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #1A2A3A;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a.active,
nav ul li a:hover {
    background-color: #1A2A3A;
    color: #fff;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #ffffff;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1A2A3A;
}

.hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #2C3E50;
}

/* Hero Button Styling */
.hero .btn {
    padding: 12px 25px;
    background-color: #FFC107;
    color: #1A2A3A;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.hero .btn:hover {
    background-color: #e0a800;
}

/* Video Section */
.video-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    position: relative;
}

.small-video {
    width: 60%;
    height: auto;
    max-width: 700px;
    border-radius: 8px;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 5px;
}

.control-btn {
    background-color: #1A2A3A;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.control-btn:hover {
    background-color: #333;
}

.volume-control {
    width: 150px;
}

/* Why Section */
.why {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.why h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.why p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background-color: #F1F2F3;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(26, 42, 58, 0.08);
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    margin-bottom: 10px;
    color: #1A2A3A;
    font-size: 1.2em;
}

.feature-card p {
    color: #1A2A3A;
    font-size: 1em;
}

/* AI Section */
.ai {
    background-color: #F1F2F3;
    padding: 60px 20px;
    text-align: center;
}

.ai h2 {
    font-size: 2.2em;
    color: #1A2A3A;
    margin-bottom: 15px;
}

.ai p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Services Preview */
.services-preview {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.services-preview h2 {
    font-size: 2.5em;
    color: #1A2A3A;
    margin-bottom: 40px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card {
    background-color: #F1F2F3;
    border-radius: 12px;
    padding: 25px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    color: #1A2A3A;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.card .btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #1A2A3A;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
}

.card .btn:hover {
    background-color: #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 0.9em;
    color: #1A2A3A;
}

/* Responsive Layout - Mobile Styles */
@media (max-width: 768px) {
    /* Sticky header */
    header {
        position: sticky;
        top: 0;
        padding: 12px 20px;
        z-index: 1000;
    }
    
    /* Compact navigation */
    nav ul {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin: 12px 0 0 0;
        padding: 0;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    /* Hide scrollbar in WebKit browsers */
    nav ul::-webkit-scrollbar {
        display: none;
    }
    
    nav ul li {
        flex-shrink: 0;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 0.9em;
        white-space: nowrap;
    }
    
    /* Adjust hero padding */
    .hero {
        padding: 60px 20px 40px;
    }
    
    /* Slightly smaller heading on mobile */
    header h1 {
        font-size: 1.6em;
    }
    
    /* Grid adjustments */
    .feature-grid,
    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Section padding adjustment */
    section {
        padding: 40px 20px;
    }
    
    /* Button full width on mobile */
    .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 10px auto;
        box-sizing: border-box;
    }
}