
/* custom */
.text-center {text-align: center;}
.col-2 {display:flex;align-items:center;gap:4rem;}
.col-2 > div {flex: 1;}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease; 
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #227da0;
}


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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #227da0;
}

/* Hero Section */
.hero {
    background-image: url(../img/hero.webp);
    background-size: cover;
    background-position: center center;
    /*background: linear-gradient(135deg, #2383a3 0%, #1f6a9b 100%);*/
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color:#227da0;
}

.btn-secondary {
    background:#227da0;
    color: white;
    border:0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Features Section */
.features {
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.section-title-white {
    color: white;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgb(146 160 168 / 13%);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 16px rgb(146 160 168 / 15%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: block;
}

.feature-card:hover .feature-icon svg {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-card:hover .ai-icon { animation: rotate 2s linear infinite; }
.feature-card:hover .speed-icon { animation: pulse 1s ease-in-out infinite; }
.feature-card:hover .chart-icon .bar { animation: chartGrow 1s ease-in-out infinite; }
.feature-card:hover .money-icon { animation: pulse 1s ease-in-out infinite; }

@keyframes chartGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.feature-card h3 {
    color: #227da0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Products Section */
.products-section {
    background: linear-gradient(135deg, #2383a3 0%, #1f6a9b 100%);
    color: white;
    text-align: center;
}

.products-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.products-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgb(146 160 168 / 13%);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgb(146 160 168 / 15%);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background-size:cover;
    background-position: center center;
}

.product-image.ai-vision {
    background-image: url(../img/ai-vision.webp);
}

.product-image.health-monitor {
    background-image: url(../img/health-monitor.webp);
}

.product-image.mobile-platform {
    background-image: url(../img/mobile-platform.webp);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.product-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #227da0;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more:hover {
    gap: 1rem;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

.about-stats {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #227da0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #227da0;
    display: block;
}

.stat-label {
    color: #64748b;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.about-img {
    text-align: center;
}

.about-img img {width:90%}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2383a3 0%, #1f6a9b 100%);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 3rem 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #2da2d3;
}

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

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

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2da2d3;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #227da0;
    padding: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle.active {
    transform: rotate(90deg);
}

.nav-links {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* custom */
    .col-2 {flex-direction: column}

    .logo img {height:42px;}

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .container {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}