/* Cyberm8 Website Replica - Main Stylesheet */

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

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

/* Header & Navigation */
header {
    background-color: #fff;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-left: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #0090ff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 20px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.highlight-blue {
    color: #0090ff;
}

.highlight-underline {
    text-decoration: underline;
    text-decoration-color: #0090ff;
}

/* Animation Section */
.animation-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.animation-section video {
    /* Styles moved to .video-container */
    width: 100%;
}

/* Divider */
.divider {
    height: 80px;
    background: linear-gradient(180deg, #e8f4fc 0%, #fff 100%);
}

.divider-reverse {
    height: 80px;
    background: linear-gradient(180deg, #fff 0%, #e8f4fc 100%);
}

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

.testimonials-title {
    font-style: italic;
    font-size: 20px;
    color: #333;
    margin-bottom: 40px;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: #0090ff;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 16px;
    color: #666;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 5px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-arrow {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.nav-arrow:hover {
    color: #0090ff;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #333;
}

/* Footer */
footer {
    background-color: #fff;
    padding: 40px 50px;
    border-top: 1px solid #eee;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-address {
    text-align: left;
}

.footer-address strong {
    display: block;
    margin-bottom: 5px;
}

.footer-address p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #0090ff;
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: #666;
}

.social-links a:hover svg {
    fill: #fff;
}

.footer-copyright {
    text-align: right;
    font-size: 14px;
    color: #666;
}

/* Page Sections */
.section {
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-center {
    text-align: center;
}

.section h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.section h2 .highlight-blue {
    color: #0090ff;
}

.section p {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

/* Comparison Section (Power of AI) */
.comparison {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-item {
    flex: 1;
    /* max-width: 500px; */
}

.comparison-title {
    font-style: italic;
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.comparison-item img,
.comparison-item video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.feature-card img {
    width: 100%;
    height: 450px; /* Fixed height for alignment */
    /* object-fit: contain; Maintain aspect ratio */
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: auto; /* Push to bottom */
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.use-case-card {
    padding: 20px;
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.use-case-icon {
    width: 60px;
    height: 60px;
}

.use-case-role {
    font-style: italic;
    font-size: 14px;
    color: #666;
}

.use-case-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.use-case-card p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

/* Deployment Section */
.deployment-diagram {
    text-align: center;
    padding: 40px 20px;
}

.deployment-diagram img {
    max-width: 100%;
    height: auto;
}

/* Action List Image */
.action-list-container {
    text-align: center;
    padding: 40px 20px;
}

.action-list-container video,
.action-list-container img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 20px;
}

.cta-section p {
    font-style: italic;
    font-size: 20px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison {
        flex-direction: column;
        align-items: center;
    }

    .animation-section {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-address,
    .footer-copyright {
        text-align: center;
    }
}

.video-container {
    position: relative;
    max-width: 500px;
}

.video-container video {
    width: 100%;
    border-radius: 10px;
}

/* Robot Icon */
.robot-icon {
    width: 80px;
    height: 80px;
}

/* Chat bubble styling */
.chat-bubble {
    background-color: #e8f4fc;
    border-radius: 20px;
    padding: 15px 20px;
    display: inline-block;
}

/* Video Cropping Utilities */
.video-crop-x {
    object-fit: cover;
    aspect-ratio: 16 / 9;
    width: 100%;
    transform: scale(1.02);
}

.video-crop-selenium {
    object-fit: cover;
    aspect-ratio: 13 / 8;
    width: 100%;
    transform: scale(1.02);
}

.video-crop-horizontal {
    object-fit: cover;
    aspect-ratio: 1 / 1.03;
    width: 100%;
    /* transform: scale(1.02); */
}
    

.video-crop-y {
    object-fit: cover;
    aspect-ratio: 24 / 16;
    width: 100%;
}

.video-full-width {
    width: 100%;
}
