* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --light-lavender: #fbf5ff;
    --purple:#9334ea;
    --almost-black:#424242;
    --light-purple-tint: #f3e8ff;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', 'segoe UI', sans-serif;
    background: var(--white);
    line-height: 1.5;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 5%;
    margin: .5rem 0;
    z-index: 100;
}

/* nav background on scroll*/
nav.scrolled {
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.logo {
    max-width: 50px;
    max-height: 50px;
    opacity: 0;
    animation:  slide-right 1.5s ease forwards;
}

.logo img {
    width: 100%;
    height: 100%
}


.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-menu li {
    display: flex;
    align-items: center;
    gap: .5rem;
    opacity: 0;
    transition: .5s;
    animation: slide-up .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}
@keyframes slide-up {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-menu button {
    display: none;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--almost-black);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    border-bottom: var(--purple) 2px solid;
    color: #6a0dad;
}

.hamburger {
    display: none;
    font-size: 1.3rem;
    border: none;
    margin-right: .5rem;
    background: transparent;
    position: absolute;
    right: 0;
    margin-right: 2rem;
    
}
.navbar .mobile-nav {
    display: none;
    background: transparent;
    z-index: 1000;
}
.navbar .mobile-nav ul {
    display: flex;
    flex-direction: column;
    min-width: 50%;
    height: 100vh;
    background: #ffffff88;
    backdrop-filter: blur(20px);
    transition: .2s ease;
    gap: 1.5rem;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
}

.navbar .mobile-nav ul a {
    color: var(--almost-black);
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    padding: .5rem;
    width: 100%;
    transition: background .1s ease;
}

.navbar .mobile-nav ul a:hover {
    background: var(--purple);
    color: var(--white);
}

.close-btn {
    display: none;
    padding: 10px;
    border: none;
    background: transparent;
    font-size: 1.3rem;
}

/*hamburger icon for samller screens*/
@media (max-width: 860px) {
    .nav-menu {
        display: none;
    }

    .navbar {
        background: var(--white);
        height: auto;
    }

    #mob-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .close-btn {
        display: block;
    }
}


/*home screen */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Classroom.JPEG');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    text-align: center;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: slideleft 1s ease forwards;
    animation-delay: .8s;
}

@keyframes slideleft {
        0% {
            transform: translateX(1000px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

.hero-content {
    color: var(--white);
    height: 100%;
    width: 100%;
    padding: 10%;
    margin: 1rem;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0;
    animation: slide-down 1s ease forwards;
    animation-delay: 1.5s;
}

@keyframes slide-down {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-content p {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    margin-bottom: 30px;
    opacity: 0;
    animation: slide-right 1s ease forwards;
    animation-delay: 1.8s;
}

@keyframes slide-right {
    0% {
        transform: translateX(-500px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.hero-btn {
    margin: 1.5rem 0 3rem;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slidebtn .5s ease forwards;
    animation-delay: 2s;
}

@keyframes slidebtn{
    from {
        transform: translateY(500px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.admit-btn {
    background: var(--purple);
    color: var(--white);
}

.admit-btn:hover {
    background: #580b9e;
    translate: translateY(-3px);
}


.enroll-btn {
    background: #f3f3f3;
    color: #333;
    transition: background .3s ease, transform .3s ease;
}

.enroll-btn:hover {
    background: #e4e4e4;
    transform: translateY(-3px);
}

.rating {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.small-img img {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 20px;
    margin-left: -15px;
}

.star-rate .fa-star, .star-icon {
    color: goldenrod;
}
.star-text p {
    font-size: 1rem;
}

.star-rate{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mark-down{
    display: flex;
    justify-content: center;
    font-size: 1rem;
    color: #6a0dad;
    opacity: 0.8;
    cursor: pointer;
}

.mark-down i {
    background: var(--white);
    color: var(--almost-black);
    width: 40px;
    height: 40px;
    border-radius: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease;
}

.mark-down i:hover {
    background: var(--almost-black);
    color: var(--white);
}

.about {
    padding: 80px 10%;
    margin: 2rem 0;
    text-align: center;
}

.about .about-text {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
}

.about-text h1 {
    color: var(--purple);
    margin-bottom: 20px;
    font-size: 1.7rem;
    font-weight: bold;
    position: relative;
}

.fadeUp {
    animation: fadeUp both;
    animation-timeline: view();
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about-text p {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--almost-black);
}

.about-grid, .testimonial-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


.about-grid .card, .grid-card {
    background: var(--light-lavender);
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card:hover, .grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}
.about-grid .card i {
background: var(--light-purple-tint);
color: var(--purple);
padding: 1.5rem;
margin-bottom: 1.5rem;
border-radius: 50%;
font-size: 1.5rem;
}

.about-grid .card h1 {
    color: var(--purple);
    font-size: 1.1rem;
    margin: 1rem 0;
}

.about-grid .card p {
    color: var(--almost-black);
}

/*mobile view for about-cards*/
@media (max-width: 600px) {
    .about-grid {
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: center;
    }
}
/*===============================*/


.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    margin: 2rem .5rem;
    gap: 1rem;
    background-color: var(--purple);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.m-v-info {
    padding: 1.5rem;
}

.m-v-info h1,
.m-v-info p,
.check {
    color: var(--white);
    margin-bottom: 1rem;
}

.m-v-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.m-v-info p {
    font-size: 1rem;
}

.check {
    margin-top: 1.5rem;
    background: #ffffff54;
    backdrop-filter: blur(5px);
    padding: .1rem .8rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.img-card {
    background-image: url('images/services-career-day.JPEG');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 20px 20px 0;
}

/*mission and vision mobile view*/
@media (max-width: 660px) {
    .mission-vision {
    grid-template-columns: 1fr;
    }
.img-card {
    display: none;
}
}
/*==============================*/


/*Gallery section */
.gallery-container {
    margin: 1.5rem 0;
    padding: 1.5rem;
}

.gallery-text {
    text-align: center;
    color: var(--purple);
    margin-bottom: 2.5rem;
}

.gallery-text h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-text p {
    color: var(--almost-black);
}

.gallery-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-img {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 0 0 7px;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s ease, opacity .6s ease;   
}

.gallery-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: .7em;
    transition: transform 0.5s ease;
}


.gallery-img.visible {
    opacity: 1;
    transform: scale(1);
}


.gallery-img p {
    color: var(--purple);
    margin: 5px 0 5px 10px;
}

.gallery-container .more-photos {
    text-align: center;
    margin-top: 1.5rem;
}

.gallery-container .more-photos a {
    text-decoration: none;
    color: var(--purple);
}

/*--mobile view of Gallery--*/
@media (max-width: 620px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/*=== What parents say ===*/
.testimonials {
    background: var(--light-lavender);
    margin: 1.5rem 0;
    padding: 1rem;
}

.testimonials-top-text {
    text-align: center;
}

.testimonials-top-text span {
    margin: 1rem;
    padding: .75rem;
    background: silver;
    border-radius: 20px;
}

.testimonials-top-text h1 {
    font-size: 1.5rem;
    color: var(--purple);
    margin: 2rem 1rem 1rem;
}

.testimonials-top-text p {
    color: var(--almost-black);
    margin-bottom: 2rem;
}


.grid-card {
    background: var(--light-purple-tint);
    margin-bottom: 50px;
}


.grid-card .grid-top {
    display: flex;
    align-items: center;
    margin: .5rem;
}
.grid-card .grid-top .name-class span {
    color: var(--purple);
}
/*--mobile view for testimonials --*/
@media (max-width: 620px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}
/*=========================================*/


.announcement {
    background-color: var(--white);
    margin: 50px auto;
    padding: 20px;
    max-width: 1100px;
}

.announcement .section-header {
    text-align: center;
    margin: 1rem;
}

.section-header h2 {
    color: var(--purple);
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--almost-black);
    margin-bottom: 40px;
}

.calendar-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 1.5rem;
    gap: 1.5rem;
    place-content: center;
}
/*--- announcements and calendar mobile/tablet view */
@media(max-width: 820px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}
/*==========================================*/
.upcoming-events {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upcoming-events h3,
.academic-calendar h3 {
    color: var(--purple);
    font-size: 1.4rem;
}

.event-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.event-card .date-box {
    color: #7b3ff1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    min-width: 60px;
    background: var(--light-purple-tint);
}

.date-box .day {
    font-size: 1.2rem;
    color: var(--purple);
}

.date-box .month {
    font-size: .75rem;
    color: var(--purple);
    text-transform: uppercase;
    display: block;
}

.event-info span {
    color: var(--purple);
    font-weight: 400;
}

.event-info h4 {
    margin: 0 0 5px;
    color: var(--almost-black);
}


.time i {
    margin-right: 5px;
}

.event-info p {
    margin: 0 0 8px;
    color: var(--almost-black);
    font-size: 0.9rem;
}

.academic-calendar {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}


.academic-calendar h3 {
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

table thead {
    background-color: var(--light-purple-tint);
    color: #5b21b6;
}

table th, table td { 
    border-bottom: 1px solid #eee;
    padding: 9px;
    text-align: left;
    font-weight: 400;
}



/*-- Important Dates --*/
.important-dates h4 {
    margin-top: 0;
    color: var(--purple);
}

.important-dates ul {
    list-style: none;
    padding: 0;
}

.important-dates li {
    margin: 8px;
    color: var(--almost-black);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
}

.important-dates i {
    color: var(--purple);
    font-size: .5rem;
    margin-right: 8px;
}



/*---- ===== School Fees and Admission ===== ----- */
.fees-section {
    background-color: var(--light-lavender);
    margin: 2rem 0;
    padding: 2rem .5rem;
}

.fees-header {
    text-align: center;
    margin: 1rem;
    padding: 1rem;
}

.fees-header h2 {
    font-size: 1.5rem;
    color: var(--purple);
    margin-bottom: 10px;
}

.fees-header p {
    color: var(--almost-black);
}

.fees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ---fees mobile/tablet view ---*/
@media(max-width: 748px) {
    .fees-grid {
        grid-template-columns: 1fr;
    }
}

.fees-card {
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fees-card h3 {
    color: var(--purple);
    margin-bottom: 15px;
}

.fees-card table {
    border-radius: 10px 10px 0 0;
}
.fees-card table tbody {
    background-color: var(--white);
}

table tbody tr {
    border-bottom: 1px solid #ccc;
}


.highlight {
    font-weight: bold;
    color: var(--purple);
}

.fees-card h4 {
    color: var(--purple);
    font-size: 1rem;
    margin: 1.5rem .5rem
}

.info-list, .req-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    margin-bottom: .5rem;
    color: var(--almost-black);
}

.info-list i, .req-list i {
    color: var(--purple);
    margin-right: 8px;
}

.req-list {
    padding: .5rem;
}

.req-list-grid {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: .8rem;
}

.req-list-content {
    color: var(--almost-black);
}

.admission-card {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admission-card h3 {
    color: var(--purple);
    margin-bottom: 15px;
}

.admission-card .documents, .process {
    background-color: var(--white);
    padding: 1rem .5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.process h4 {
    margin-bottom: 10px;    
}

.process-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.process-group span {
    background-color: var(--light-purple-tint);
    color: var(--purple);
    padding: 8px 16px;
    border-radius: 50%;
    font-weight: bold;
}

.process-item {
    color: var(--almost-black);
}

.download-container {
    text-align: center;
    margin-top: 30px;
}

.download-btn {
    background: var(--purple);
    color: var(--white);
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, .1)
}

.download-btn i {
    margin-right: 8px;
}

/*----- Online fee payment ----------*/
.payment-container {
    background-color: var(--white);
    margin: 1rem;
    padding: 1rem;
}

.payment-header {
    margin: 1.5rem .5rem 1rem;
    text-align: center;
}

.payment-header h2 {
    font-size: 1.3rem;
    color: var(--purple);
}

.payment-header p {
    color: var(--almost-black);
    font-size: 1.1rem;
}

.payment-form h4 {
    color: var(--purple);
    margin-bottom: .7rem;
}

.group-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 600px) {
    .group-row {
        flex-direction: column;
    }
}

.form-group i {
    position: absolute;
    top: 2.2rem;
    left: .5rem;
    color: var(--almost-black);
}


.form-group input::placeholder {
    position: relative;
    left: 1rem;
}

.payment-form h3 {
    margin-bottom: 1rem;
}
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 500px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

.method {
    background: var(--light-purple-tint);
    color: var(--purple);
    padding: .7rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.method .icon i {
    font-size: 2rem;
    margin-left: 5px;
}

.payment-form button {
    width: 100%;
    padding: 1.3rem 0;
    background: var(--purple);
    color: var(--white);
    margin-top: 1rem;
    border: none;
    border-radius: 20px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.payment-form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}
.payment-instruction {
    margin: 1rem 0;
}

.payment-instruction h3 {
    color: var(--purple);
}

.payment-instru-content ul {
    list-style: none;
    color: var(--almost-black);
}

.payment-instru-content ul li i {
    color: var(--purple);
    margin-right: 8px;
}



/*==========Contact section =============*/
.Contact-container {
    background-color: var(--light-lavender);
    width: 100%;
}

.contact-header {
    text-align: center;
    margin: 1rem;
    padding: 1.5rem;
}

.contact-header h2 {
    color: var(--purple);
    margin-bottom: .5rem;
    font-size: 1.5rem;
}

.contact-header p {
    color: var(--almost-black);
    font-size: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1rem;
}

/*contact mobile view */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-form h3, .contact-info h3 {
    color: var(--purple);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    position: relative;
}

.form-group input, select, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    outline: none;
    border-radius: 7px;
    width: 100%;
}

.form-group textarea {
    height: 100px;
}
.form-group label {
    font-weight: 400;
    font-size: 1rem;
    color: var(--almost-black);
}


.form-group textarea::placeholder {
    margin: 1rem;
}

.message-btn {
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    background-color: var(--purple);
    color: var(--white);
}

.contact-info {
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 12px;
}


.info-group {
    display: flex;
    align-items: center;
    color: var(--almost-black);
    padding: .7rem 1rem;
}

.info-group i, .follow-media-sci i{
    background-color: var(--light-purple-tint);
    padding: 15px;
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--purple);
    transition: background .3s ease;
}

.info-group i:hover, .follow-media-sci i:hover {
    background-color: var(--purple);
    color: var(--white);
}

.info-group span {
    font-weight: bold;
}

.follow-media {
    display: grid;
    gap: 1rem;
}
.follow-media span {
    color: var(--almost-black);
    font-weight: bold;
    margin-bottom: 1rem;
}
.follow-media-sci {
    display: flex;
}


/*=======Map section ============*/
.map-section {
    height: 50vh;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ----------Footer section -----------*/
.footer-container {
    background-color: rgba(79, 11, 124, 0.932);
    width: 100%;
    padding: .75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--purple);
}

/* Mobile view for footer */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 550px) and (max-width: 767px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/*-------------------------------------------*/
.footer-card {
    color: var(--light-purple-tint);
    padding: 1rem;
}

.footer-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}


.footer-card p, .footer-card a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: .5rem;
    cursor: pointer;
    color: var(--light-purple-tint);
}

.footer-card a {
    display: block;
}
.footer-card div {
    display: flex;
    align-items: center;
}
.footer-card form {
    display: flex;
}
.footer-card form input {
    border: none;
    outline: none;
    border-radius: 7px 0 0 7px;
    padding: 1rem;
}

.footer-card button {
    border: none;
    border-radius: 0 7px 7px 0;
    background-color: var(--purple);
}

.footer-card button i {
    color: var(--light-purple-tint);
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--light-purple-tint);
}

@media (max-width: 620px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}
.policy-group .policy-card {
    display: flex;
    gap: 1.5rem;
}

.policy-card a {
    text-decoration: none;
    color: var(--light-purple-tint);
}

/*inputs*/
input, textarea, select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 8px rgba(63, 8, 116, 0.4);
}

input.error {
    border-color: red;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0% {transform: translateX(0);}
    25% {transform: translateX(-4px);}
    50% {transform: translateX(4px);}
    75% {transform: translateX(-4px);}
    100% {transform: translateX(0);}
}