* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
    --primary-color: #1a5f7a;
    --primary-text-color: #d8fdfc;
    --secondary-color: #082A4B;
    --secondary-text-color: #cafcff;
    --accent-color: #B4D4FF;
    --background-color: #EEF5FF;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url("./bg2.jpg");
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #333;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar {
    background: rgba(255, 255, 255, 0.2);
    background-color: transparent;
    backdrop-filter: blur(10px);
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar img:hover {
    transform: scale(1.05);
}

.main-content {
    margin-top: 100px;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.main-content-title {
    margin: 2rem 0 4rem;
    text-align: center;
    position: relative;
}

.main-content-title h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-text-color), var(--secondary-text-color));
    -webkit-background-clip: text;
    background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.3;
    position: relative;
}

.main-content-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.card-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.card-section a {
    text-decoration: none;
}

.card {
    /* background: rgba(255, 255, 255, 0.7); */
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transition: opacity 0.3s ease;
    opacity: 0;
}

.card:hover::before {
    opacity: 1;
}

.card-inner {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.card-inner img {
    max-width: 80%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.card:hover .card-inner img {
    transform: scale(1.1);
}

.title {
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.card:hover .title::after {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .main-content-title h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .card-section {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        padding: 0.5rem;
    }

    .card-inner {
        height: 180px;
    }

    .navbar {
        padding: 0.8rem 1rem;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card:hover {
    animation: float 3s ease-in-out infinite;
}


/* CSS Changes */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.cursor-text {
    position: fixed;
    background: #1F2937;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    z-index: 9999;
    display: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card:hover {
    cursor: none;
}

.card:hover .cursor-text {
    display: block;
}

.custom-cursor.visible,
.cursor-text.visible {
    display: block;
}