/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
}

.logo img {
    height: 40px;
}

nav {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Welcome section */
.welcome {
    display: flex;
    align-items: center;
    padding: 2rem;
    background-color: #fff;
}

.welcome-text h1 {
    font-size: 4.2rem;
    margin-bottom: 1rem;
    color: #0072ff;
    font-family: "Apple Chancery", cursive;
}

.welcome-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.welcome-text button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 25px;
}

.welcome-image {
    height: 300px;
    margin-left: 2rem;
    border-radius: 10%;
    animation: float 3s ease-in-out infinite;
}

/* Ticker */
.ticker {
    border-top: 4px solid hsl(213, 39%, 53%);
    border-bottom: 3px solid #09406d;
    padding: 0.5rem;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

.ticker p {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Content */
.content {
    padding: 2rem;
}

.card-group-heading {
    text-align: center;
    font-size: 2.5rem;
    color: #0072ff;
    margin-bottom: 1.5rem;
    font-family: "Apple Chancery", cursive;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem; /* Add space between card groups */
}

.card {
    background: linear-gradient(to bottom, #00c6ff, #0072ff);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.09);
    text-align: center;
    color: #fff;
    font-family: "Cambria", sans-serif;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1rem;
}

.card a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #fff;
    color: #0072ff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Card background images */
.digital-marketing-card {
    background-image: url('digitalmarketing.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.computer-operator-card {
    background-image: url('computeroperator.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ethical-hacking-card {
    background-image: url('eathicalhack.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.plan-cards .card img {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
}


/* Plan card styles */
.golden-plan-card {
    background: linear-gradient(to right, #FFD700, #F0A500);
    animation: box-animation 2s infinite alternate;
}

.diamond-plan-card {
    background: linear-gradient(to right, #b9f2ff, #c3a1f2);
    animation: diamond-animation 3s infinite;
}

.silver-plan-card {
    background: linear-gradient(to right, #C0C0C0, #A9A9A9);
    animation: cute-animation 1.5s infinite alternate;
}


/* Keyframes for animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes box-animation {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

@keyframes diamond-animation {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes cute-animation {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}


/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    color: #333;
}

footer a {
    color: #333;
    text-decoration: none;
}
