﻿/* ===== GLOBAL ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: linear-gradient(to bottom, #eef2ff, #f8fafc);
    color: #111;
}

/* Center content */
section {
    max-width: 1100px;
    margin: auto;
}

/* ===== NAVBAR ===== */
.nav {
    display: flex;
    justify-content: space-between; /* logo left, links right */
    align-items: center; /* vertically center logo */
    padding: 2px 40px; /* compact padding */
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(240,245,255,0.9));
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

    .logo img {
        height: 110px; 
        width: auto;
        display: block;
        filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1)); /* This will now wrap tightly around the letters */
    }

/* NAV LINKS */
.nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
}

    .nav a:hover {
        color: #2563eb;
    }

    .nav a::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, #2563eb, #7c3aed);
        left: 0;
        bottom: -4px;
        transition: 0.3s;
    }

    .nav a:hover::after {
        width: 100%;
    }

/* ===== HERO / PAGE SECTIONS ===== */
section.hero {
    text-align: center;
    padding-top: 40px; /* reduced top padding */
    padding-bottom: 40px; /* reduced bottom padding */
    max-width: 800px;
    margin: auto;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    max-width: 700px;
    margin: 10px auto;
    line-height: 1.6;
    color: #555;
    font-size: 18px;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
    transition: 0.2s;
    margin-top: 15px;
}

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

/* ===== FEATURES / CARDS ===== */
.features {
    display: flex;
    gap: 25px;
    padding: 50px 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    width: 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
}

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

/* Card icons */
.card-icon {
    width: 50px;
    margin-bottom: 10px;
}

/* ===== PAGE LISTS / CAPABILITIES ===== */
.cap-list {
    list-style: none;
    padding: 0;
    margin-top: 10px; /* tighter spacing */
    margin-bottom: 20px;
}

    .cap-list li {
        margin: 8px 0;
        color: #555;
    }

/* ===== SPLIT SECTION ===== */
.split {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.split-text {
    flex: 1;
}

.split-img img {
    width: 320px;
    border-radius: 20px;
}

/* ===== PAGE / CONTACT CARDS ===== */
.page {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.page-card {
    background: white;
    max-width: 700px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
}

    .page-card h2 {
        margin-bottom: 15px;
    }

    .page-card p {
        color: #555;
        line-height: 1.6;
    }

/* Email link */
.contact-email {
    margin-top: 20px;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

    .contact-email:hover {
        text-decoration: underline;
    }

/* ===== STATS SECTION ===== */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 20px;
    text-align: center;
    flex-wrap: wrap;
}

.stat h3 {
    font-size: 28px;
    color: #2563eb;
}

.stat p {
    color: #555;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card {
    animation: float 8s ease-in-out infinite;
}

/* ===== ANIMATED BACKGROUND ===== */
body {
    background: linear-gradient(-45deg, #eef2ff, #f8fafc, #e0e7ff, #f1f5f9);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 30px;
    color: #777;
}
