/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(120deg, #f2f8ff, #eefcf7);
    overflow-x: hidden;
}

/* Canvas */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Hero Section */
.hero-section {
    padding: 20px 6%;
}

/* Main Card */
.main-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    animation: fadeUp 1s ease;
}

/* Content */
.card-content {
    flex: 1;
}

.card-content h1 {
    font-size: 2.6rem;
    color: #0a2540;
    margin-bottom: 20px;
}

.card-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 25px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #1f2933;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 35px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn.primary {
    background: #0a7cff;
    color: #fff;
}

.btn.primary:hover {
    background: #005fd1;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #0a7cff;
    color: #0a7cff;
}

.btn.secondary:hover {
    background: #0a7cff;
    color: #fff;
}

/* Image */
.card-image {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image img {
    max-width: 35%;
    width: 400px;
    /* Constrains the image visually */
    height: auto;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
}

/* Highlight Section */
.highlight-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.highlight-card h3 {
    color: #0a2540;
    margin-bottom: 10px;
}

.highlight-card p {
    color: #5a6775;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    margin-top: 80px;
    padding: 20px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(10, 37, 64, 0.08);
}

.site-footer p {
    font-size: 0.95rem;
    color: #4a5568;
    letter-spacing: 0.3px;
}

/* Accent styling */
.site-footer .bharat {
    font-weight: 600;
    color: #0a2540;
}

/* Tricolor underline animation for "Bharath" */
.site-footer .bharat {
    position: relative;
    font-weight: 600;
    color: #0a2540;
    padding-bottom: 4px;
}

/* Tricolor underline */
.site-footer .bharat::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
            #ff9933,
            /* Saffron */
            #ffffff,
            /* White */
            #138808
            /* Green */
        );
    background-size: 300% 100%;
    border-radius: 2px;
    animation: tricolorFlow 3s ease-in-out infinite;
    opacity: 0.9;
}

/* Animation */
@keyframes tricolorFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.site-footer .heart {
    color: #e63946;
    margin: 0 6px;
    animation: pulseHeart 1.8s infinite;
}

/* Subtle animation */
@keyframes pulseHeart {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .main-card {
        flex-direction: column;
        text-align: center;
    }

    .highlight-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .main-card {
        padding: 40px 20px; /* More space for content on small screens */
    }

    .card-content h1 {
        font-size: 2rem;
    }

    .highlight-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Improve CTA button spacing for mobile */
    .cta-buttons {
        padding: 0 5px;
        margin-bottom: 30px;
        flex-direction: column;
        gap: 16px;
    }

    .cta-buttons .btn {
        padding: 16px 24px; /* Native 48px+ tap size */
        font-size: 1rem;
        width: 100%;
        border-radius: 12px;
    }
}