/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
   background-image: url('https://img.freepik.com/free-vector/colorful-watercolor-rainbow-background_125540-151.jpg');
    background-repeat: no-repeat; 
    background-size:100% 100%;
    background-position: center;
	
}

/* Header styles */
header {
    background-image: url('https://img.freepik.com/premium-photo/abstract-light-color-soft-feather-blur-bokeh-style-background_726120-921.jpg');
    background-repeat: no-repeat; 
    background-size:100% 100%;
    background-position: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #333;
    font-size:5.8 rem;
    transition: color 0.3s ease;
}

.logo h1:hover {
    color: #007bff;
	
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 1000;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main content styles */
main {
    flex: 1;
    padding: 2rem;
	color:#7DDA58;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease;
}

.hero h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.hero p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards section */
.cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
}

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.5s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.card p {
    color:#CC6CE7;
    margin-bottom: 1.5rem;
}

.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color:#7DDA58;
    transform: scale(1.05);
}

/* Footer styles */
footer {
    background-color:#8A2BE2 ;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 300px;
    }
}
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #faebd7;
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.modal-content input {
    width: 90%;
    padding: 0.5rem;
    margin-bottom: 1 rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

