/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.site-wrapper {
    width: 80%;
    margin: 0 auto;   /* centers the website */
}


/* Body Style */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    padding: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin: auto;
}

/* Header */
header {
    background-color: rgb(180, 51, 255); /* Purple */
    color: white;
    padding: 20px 0;
    text-align: center;
    border-radius: 8px;
    position: relative; /* Relative positioning for the shine effect */
    overflow: hidden; /* Ensure the shine effect is contained */
            grid-column: 1 / -1; /* Full width */
            margin-bottom: 20px;
            color: white;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Shine Line Effect */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Start off the left side */
    width: 150%; /* Wider than the header to allow for full coverage */
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shineAnimation 3s linear infinite; /* Continuous shine animation */
    transform: skewX(-30deg); /* Angle for the shine effect */
}

/* Continuous Shine Animation */
@keyframes shineAnimation {
    0% {
        left: -100%; /* Start off the left side */
    }
    100% {
        left: 100%; /* Move to the right side */
    }
}


/* Adjusted Card Styles */
/* Card Styles */
.card {
    background:      #f2f2f2; /* Transparent background for glassmorphism */
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    border: 1px solid #ff00ff;
    overflow: hidden;
}

.card-title {
    background: linear-gradient(to right, #ff66cc 0%, #cc33ff 100%);/* Bold, modern gradient */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px ;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px); /* Subtle glass blur */
}

.card-title:hover {
    transform: scale(1.08); /* Enhanced zoom effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Spinner inside the card */
.card:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg);}


}


/* Mobile Optimization */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
}

/* Back Container */
header .logo-container {
    position: absolute;
    left: 20px;
    top: 20px;
}

/* Logo Styles */
header .logo {
    position: relative; /* Needed for the shine effect positioning */
    width: 100%; /* Take full width of the container */
    max-width: 80px; /* Set a smaller maximum width */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 50%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: logoRotate 10s ease-in-out infinite; /* Slower, smoother rotation */
    transform-style: preserve-3d; /* Enable 3D transformations */
}

/* Continuous Rotation Animation */
@keyframes logoRotate {
    0% {
        transform: rotateY(0deg); /* Start at 0 degrees on Y-axis */
    }
    50% {
        transform: rotateY(180deg); /* Halfway point */
    }
    100% {
        transform: rotateY(360deg); /* Complete rotation */
    }
}

/* Click Animation for Logo */
header .logo:active {
    animation: none; /* Disable rotation during the click */
    transform: scale(2) rotateY(0deg) translate(-50%, -50%); /* Enlarge and center */
    position: fixed; /* Make the logo fixed during animation */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    z-index: 1000; /* Bring it to the front */
}

/* Entry Animation */
header .logo:active:before {
    content: '';
    animation: rotateIn 0.5s ease forwards; /* Animation for entering */
}

/* Animation for Entry */
@keyframes rotateIn {
    0% {
        transform: scale(0) rotateY(-90deg); /* Start small and rotated */
    }
    100% {
        transform: scale(1) rotateY(0deg); /* End at original size and position */
    }
}

/* Return to Original Position with Delay */
header .logo:active:after {
    content: '';
    animation: returnToOriginal 0.5s ease forwards 2s; /* 2 seconds delay before starting return animation */
}

/* Animation to Return Logo to Original Position */
@keyframes returnToOriginal {
    0% {
        transform: scale(2) translate(-50%, -50%); /* Start enlarged and centered */
    }
    100% {
        transform: scale(1) translate(0, 0); /* Return to original size and position */
    }
}

/* Subtle Hover Effect */
header .logo:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Softer shadow on hover */

}


/* Responsive adjustments */
@media (max-width: 600px) {
    header .logo-container {
        left: 10px;
        top: 10px;
    }

    header .logo {
        max-width: 60px; /* Further reduce size for smaller screens */
    }
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}


/* Animation Keyframes for logo */
@keyframes logoAnimation {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* Styling for all h3 elements */
h3 {
    font-size: 2rem;  /* Larger font size */
    color: #6c5ce7;  /* Custom color (purple or adjust as needed) */
    font-weight: bold;
    margin-bottom: 20px;  /* Add some space below the h3 */
    text-align: center;  /* Center the heading */
}
/* Vision Content Card Styling */
.vision-section {
    padding: 40px 20px;
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}





/* Responsive Styles */
@media (max-width: 768px) {
    .features-grid,
    .stats-grid,
    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-item,
    .stat-item,
    .team-member {
        flex: 1 1 100%;
    }
}



/* Footer */
footer {
    background-color: rgb(180, 51, 255);
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif; /* Consider using a more elegant font */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px; /* Limiting max-width for a cleaner look */
    margin: 0 auto; /* Centering footer */
}

.footer-section {
    flex: 1 1 200px; /* Responsive behavior */
    margin: 20px;
    min-width: 200px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.2em; /* Increased font size for headers */
}

.footer-section p,
.footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

.footer-section a:hover {
    color: rgba(255, 255, 255, 0.7); /* Lighter color on hover */
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 20px;
}

.newsletter {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter h4 {
    margin-bottom: 10px;
    font-weight: bold;
}

.newsletter form {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.newsletter input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px; /* Rounded corners */
    outline: none; /* Remove outline */
}

.newsletter button {
    padding: 10px 15px;
    border: none;
    background-color: white;
    color: rgb(180, 51, 255);
    border-radius: 0 5px 5px 0; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth background transition */
}

.newsletter button:hover {
    background-color: rgba(255, 255, 255, 0.8); /* Lighter background on hover */
}

/* Mobile Styling */
@media screen and (max-width: 768px) {

    /* General Body Padding Reduction */
    body {
        padding: 10px;
    }

    /* Header - Smaller Padding and Font Size */
    header {
        padding: 10px 0;
    }

    header h1 {
        font-size: 1.8rem;
    }


    /* Logo Container */
    header .logo {
        width: 50px;
    }
}

/* Image Button */
#backButton {
    position: absolute;
    left: -10px;
    top: 45%;
    transform: translateY(-50%);
    width: 100px;
    height: auto;
    cursor: pointer;
    mix-blend-mode: multiply; /* Removes white background */
}

#backButton:hover {
    transform: translateY(-50%) scale(1.1); /* Slight zoom effect */
    opacity: 0.8; /* Slight transparency on hover */
    color:green;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

