/*html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
a{
    text-decoration: none;
}
body {
    font-family: "Inter", sans-serif;
}*/
/*.malabar_container {*/
/*    width: 90%;*/
/*    margin: 0 auto;*/
/*    max-width: 1200px;*/
/*}*/
/*.malabar_container {
    width: 90%;
    margin: 0 auto;
    max-width: 880px;
}
.header_flex {
    display: flex;
    justify-content: space-between;
}
header#malabar__header {*/
/*padding: 27px 0;*/
/*padding: 20px 0;
    box-shadow: 1px 0 6.7px 1px #00000040;
}
.footer_flex {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}
.box-footer li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    gap: 5px;
    font-size: 8.31px;
    line-height: 14px;
}
.box-footer li i {
    color: #FCDF8F;
}
.box-footer li {
    list-style: none;
    padding: 3px 0;
}
.footer1 {
    background: #9A0056;
}
.footer-copyright {
    display: block;
    padding: 12px 0;
    text-align: center;
    font-size: 8.2px;
    background: #F5F3ED;
    color: #455560;
}
.box-footer h3 {
    color: #FCDF8F;
    padding-bottom: 5px;
    border-bottom: 1px solid #FCDF8F;
    margin-bottom: 10px;
    font-weight: 500;
   font-size: 9.25px;
}
li.address a i {
    margin-top: 2px;
}
li.address a {
    align-items: flex-start;
}
ul.flex-social a i {
    color: white;
}
ul.flex-social a {
    width: 20px;
    height: 20px;
    background: #989898;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
ul.flex-social {
    display: flex;
    gap: 5px;
}
.box-footer {
    width: 20%;
}
.malabar_header_button i {
    color: #E5D5A8;
}
.malabar_header_button a {
    background: #283793;
    color: white;
    display: block;
    width: 148px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    border-radius: 10px;
    text-transform: uppercase;
}
.malabar_header_button {
    display: flex;
    align-items: center;
}*/

/* ******************************************************************************** */

/*p.right_text span {*/
/* color: #9A0056;*/
/*color: #171919;
    font-weight: 500;
}
p.right_text {
    display: block;
    text-align: right;
    color: #000000;
    font-size: 12px;
    margin: 20px 0 25px;
    font-weight: 400;
}
.box-hover {
    border: 1px solid #DDDDDD;
    border-radius: 9px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    height: 212px;
    overflow: hidden;
    transition: height .4s ease;
    position: relative;
    box-shadow: 0;
    transition: box-shadow 0.5s ease;
    cursor: pointer;
    background: white;
}
.box-hover:before {
    height: 260px;
    content: '';
    width:100%;
    position: absolute;
    left: 0;
    top: 0;   
    transition: height .5s ease;

}
.box-hover:hover:before {   
    box-shadow: 0.74px 0.75px 6.68px 0.74px #00000040; 
    height: 100%;
}
.box-hover:hover:after {
    content: '';
    width: 100%;
    height: 10px;
    background: #9A0056;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    
}
.box-hover:hover {
    height: 325px;
    box-shadow: 0.74px 0.75px 6.68px 0.74px #00000040;
    
}
.box-hover:hover h4 {
    margin-bottom: 12px;
}
.box-hover img {
    width: 100%;*/
/*max-height: 175px;*/
/*max-height: 135px;
    object-fit: cover;
    border-radius: 9px;
}*/
/*.box-hover h4 {*/
/*    color: #092B5F;*/
/*    font-size: 18px;*/
/*    margin: 25px 0 20px;*/
/*}*/
/*.box-hover h4 {
    color: #092B5F;
    font-size: 15px;
    margin: 25px 0 25px;
}

.box-hover p {*/
/*font-size: 12px;*/
/*font-size: 10px;
    color: #172D50;*/
/*line-height: 1.5;*/
/*font-weight: 400;
}
.main_flex {
    gap: 12px;
    min-height: 375px;
    padding-bottom: 0px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: 60px;
}


.box-hover a {
    display: block;
    position: relative;
    z-index: 9;
}*/

/* ********************************* */
/*span.fileNamePlaceholder {
    font-size: 12px;
}
section.innerpage-bg {
    background: #F5F5F5;
    padding-bottom: 40px;
}
.bread_crumb_malabar {
    color: #01375F;
    font-size: 12px;
    font-weight: 500;
    padding: 20px 0 22px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.bread_crumb_malabar i {
    color: #CFCFCF;
    font-size: 9px;
}
.innerpage_malabar h2 {
    font-size: 20px;*/
/* color: #9A0056;*/
/*color: #171919;
    font-weight: 600;
    margin-bottom: 20px;
}
.innerpage_malabar {
    background: #FFFFFF;
    border-radius: 8px;
    min-height: 384px;
    box-sizing: border-box;
    padding: 50px;
    font-family: "Poppins", sans-serif;
}
.form_field_malabar label {
    font-size: 15px;
    color: #01375F;
    font-weight: 500;
}

.innerpage_malabar form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.form_field_malabar {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 75%;
}
.form_field_malabar label {
    width: 40%;
    display: block;
    display: flex;
    justify-content: space-between;
}
    .form_field_malabar input, .form_field_malabar textarea {
        width: 60%;*/
/*border: 1px solid #EFEFEF;*/
/*border: 1px solid #ced4da;
        padding: 6px;
        border-radius: 5px;
        color: #272727;
        font-weight: 500;
        font-size: 15px;
        box-sizing: border-box;
    }
.form_field_malabar.field_textarea textarea {
    height: 100px;
    resize: none;
}
.form_field_malabar.field_textarea {
    align-items: flex-start;
}
.verify_Button {
    display: block;*/
/*  background: #058312;*/
/*background: #171919;
    color: white;
    font-size: 12px;
    width: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    border-radius: 5px;
    border: unset;
    cursor: pointer;
}
.innerpage_malabar {
    background-image: url(../images/bglogo.png);
    background-size: initial;
    background-position: center top;
    background-repeat: no-repeat;
}

.form_field_malabar > div {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    width: 60%;
}
.form_field_malabar.check-mark input {
    width: 80%;
}
.form_field_malabar.field_captcha img {
    max-width: 60%;
}
.form_field_malabar > div i {
    color: green;
}

.sumbit_button_malabar {*/
/* background: #9A0056;*/
/*background: #171919;
    color: white;
    border-radius: 10px;
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    font-size: 15px;
    cursor: pointer;
}
.form_field_submit {
    display: block;
    text-align: right;
    width: 100%;
    margin-top: 30px;
}
.form_field_malabar.attach_files > div {
    width: 50%;
    align-items: center;
}
.form_field_malabar.attach_files {
    width: 100%;
}
.form_field_malabar.attach_files > div input {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}
.form_field_malabar.attach_files > div > div {
    position: relative;
    display: flex;
    align-items: center;
}
.form_field_malabar.attach_files label {
    width: 60%;
}
.form_field_malabar.attach_files > div img {
    position: relative;
    z-index: 1;
}
.otp-field {
    flex-direction: row;
    column-gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}


  
  .otp-field input {
    height: 35px;
    width: 50px;
    border-radius: 5px;
    color: #272727;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    border: 1px solid #EFEFEF;
    background: white;
  }
  .otp-field input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  }
  .otp-field input::-webkit-inner-spin-button,
  .otp-field input::-webkit-outer-spin-button {
    display: none;
  }
  .otp-verification h2 {
    text-align: center;
}
p.malabar_form_text {
    display: block;
    text-align: center;
    color: #8C8C8C;
    font-size: 14px;
    padding: 5px 0;
}

.resend_otp_malabar button {
    background: transparent;
    border: unset;
    color: #01375F;
    font-size: 13px;
}
.resend_otp_malabar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.innerpage_malabar.otp-verification form > div {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.resend_otp_malabar {
    justify-content: flex-end !important;
    width: 75% !important;
}
p#timer {
    font-size: 12px;
    color: #454545;
}
.form_field_malabar.calculation_fields {
    width: 100%;
    align-items: flex-start;
}
.form_field_malabar.calculation_fields > label {
    width: 35%;
    margin-top: 5px;
}
.payment_calc label {
    flex-wrap: wrap;
    font-size: 10px;
    columns: #000000;
}
.payment_calc label span {
    font-size: 8px;
    display: block;
    width: 100%;
}
.payment_calc input {
    width: 110px;
    display: block;
    width: 100%;
    margin-bottom: 5px;
    box-sizing: border-box;
    text-align: center;
}
.payment_calc {
    display: flex;
    align-items: flex-start !important;
    width: 50% !important;
}
.payment_calc label {
    width: auto !important;
}
.payment_calc > span i {
    margin-top: 8px;
}
.payment_calc label {
    width: 33% !important;
    text-align: center;
    justify-content: center;
}

.form_field_malabar.yesNo_fields {
    color: #2E2E2E;
    font-size: 12px;
}
.flex_yes {
    width: 40% !important;
}
.flex_yes input {
    margin: 0;
}
.flex_yes label {
    width: auto !important;
    color: black;
    font-size: 12px;
    align-items: center !important;
    gap: 5px;
}
.flex_yes input {
    accent-color: #424242;
}
p.malabar_form_text.text_left_malabar {
    text-align: left;
}
.width_change .sumbit_button_malabar {
    width: 190px;
}

.innerpage_malabar.successPayment {
    padding: 0 !important;*/
/* max-width: 900px; */
/*margin: 0 auto;
    max-height: 340px;
    background-image: url(../images/bglogo.png);
    background-size: initial;
    background-position: center top;
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-bottom: 5px;
    min-height: 330px;
}
.success_header {
    width: 100%;
    height: 95px;
    background: #178110;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    color: white;
    background-image: url(../images/bgsuccess.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 8px 8px 0 0;
}
.success_body p {
    font-size: 18px;
    font-weight: 400;
}
.success_body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    padding-bottom: 20px;
}
.success_body {
    padding: 35px;
    box-sizing: border-box;
}

.success_body a {
    margin-top: 23px;
}*/

/* Re captcha */
/*.g-recaptcha {
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    transform-origin: 0 0;
    -webkit-transform-origin: 60px 90px;
    width: 65%;
}
.form_field_malabar.field_captcha > div {
    max-height: 65px;
}*/

/*.innerpage_malabar.otp-verification {*/
/*    min-height: 340px;*/
/*}*/
/*.form_field_malabar.field_textarea textarea {
    height: 70px;
}
.form_field_submit {
    margin-top:10px;
}*/



/*                */

/* ==========================================================================
   CSR Donation Page Styles - Enhanced Design
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    text-align: center;
    background-image: url(../images/BG-Pattern.png);
    border-top: solid 1px #171919;
    border-bottom: solid 2px #171919;
    padding: 40px 0px;
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/ /* grey to white background for the cards*/ /*#530038*/ /*#540238*/
    min-height: 100vh;
    line-height: 1.6;
}

.container, .malabar_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header#malabar__header {
    background: rgba(83, 0, 56);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.malabar_header_button a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
}

    .malabar_header_button a:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

.malabar_header_button i {
    color: #E5D5A8;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Tax Benefits Note */
p.right_text, .tax-benefit-note {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #744210;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin: 30px 0;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

    p.right_text span, .tax-benefit-note span {
        font-weight: 700;
        color: #c53030;
    }

/* Donation Grid */
.main_flex, .donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 200px; /* Extra space to accommodate floating cards */
    min-height: auto;
}

/* Donation Cards */
.box-hover, .donation-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #DDDDDD;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    height: 300px;
    padding: 0;
    box-sizing: border-box;
}

    .donation-card::before, .box-hover::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .donation-card:hover::before, .box-hover:hover::before {
        opacity: 1;
        box-shadow: 0.74px 0.75px 6.68px 0.74px #00000040;
    }

    .donation-card:hover, .box-hover:hover {
        transform: translateY(-75px) scale(1.05);
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
        height: 450px;
        z-index: 50;
    }

        .box-hover:hover:after {
            content: '';
            width: 100%;
            height: 10px;
            background: #9A0056;
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 2;
        }

    /* Card Links */
    .card-link, .box-hover a {
        display: block;
        text-decoration: none;
        color: inherit;
        height: 100%;
        position: relative;
        z-index: 5;
    }

/* Card Images */
.card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.donation-card:hover .card-image, .box-hover:hover .card-image {
    height: 140px;
}

.card-img, .box-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s ease;
    max-height: none;
}

.donation-card:hover .card-img, .box-hover:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Card Icons */
.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    transition: all 0.3s ease;
    z-index: 3;
}

.donation-card:hover .card-icon, .box-hover:hover .card-icon {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

/* Card Content */
.card-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.card-title, .box-hover h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #092B5F;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    margin-top: 25px;
}

.donation-card:hover .card-title, .box-hover:hover h4 {
    color: #667eea;
    margin-bottom: 12px;
}

.card-description, .box-hover p {
    color: #172D50;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    font-weight: 400;
}

.donation-card:hover .card-description, .box-hover:hover p {
    opacity: 1;
    max-height: 200px;
    margin-top: 15px;
}

/* Learn More Button */
.learn-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    margin-top: 15px;
}

.donation-card:hover .learn-more-btn, .box-hover:hover .learn-more-btn {
    opacity: 1;
    transform: translateY(0);
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Specific Card Colors */
.card-hunger {
    --accent-color: #e53e3e;
}

.card-scholarship {
    --accent-color: #3182ce;
}

.card-medical {
    --accent-color: #38a169;
}

.card-housing {
    --accent-color: #d69e2e;
}

.card-clinic {
    --accent-color: #805ad5;
}

.card-marriage {
    --accent-color: #dd6b20;
}

.card-misc {
    --accent-color: #319795;
}

.donation-card[class*="card-"]:hover .card-icon {
    background: var(--accent-color);
}

.donation-card[class*="card-"] .learn-more-btn {
    background: var(--accent-color);
}

/* Footer Styles */
.footer1 {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer_flex {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.box-footer {
    width: 20%;
}

    .box-footer h3 {
        color: #FCDF8F;
        padding-bottom: 5px;
        border-bottom: 1px solid #FCDF8F;
        margin-bottom: 10px;
        font-weight: 500;
        font-size: 9.25px;
    }

    .box-footer li {
        list-style: none;
        padding: 3px 0;
    }

        .box-footer li a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #FFFFFF;
            gap: 5px;
            font-size: 8.31px;
            line-height: 14px;
        }

        .box-footer li i {
            color: #FCDF8F;
        }

li.address a {
    align-items: flex-start;
}

    li.address a i {
        margin-top: 2px;
    }

ul.flex-social {
    display: flex;
    gap: 5px;
}

    ul.flex-social a {
        width: 20px;
        height: 20px;
        background: #989898;
        font-size: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

        ul.flex-social a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        ul.flex-social a i {
            color: white;
        }

.footer-copyright {
    display: block;
    padding: 12px 0;
    text-align: center;
    font-size: 8.2px;
    background: #F5F3ED;
    color: #455560;
}

/* Enhanced card interactions */
.donation-card, .box-hover {
    animation: fadeInUp 0.6s ease forwards;
}

    /* Ensure hovered cards stay on top of adjacent cards */
    .donation-card:hover, .box-hover:hover {
        z-index: 999 !important;
    }

/* Adjust grid container to handle floating cards */
.main_flex, .donation-grid {
    overflow: visible;
    position: relative;
}

.donation-card:nth-child(1), .box-hover:nth-child(1) {
    animation-delay: 0.1s;
}

.donation-card:nth-child(2), .box-hover:nth-child(2) {
    animation-delay: 0.2s;
}

.donation-card:nth-child(3), .box-hover:nth-child(3) {
    animation-delay: 0.3s;
}

.donation-card:nth-child(4), .box-hover:nth-child(4) {
    animation-delay: 0.4s;
}

.donation-card:nth-child(5), .box-hover:nth-child(5) {
    animation-delay: 0.5s;
}

.donation-card:nth-child(6), .box-hover:nth-child(6) {
    animation-delay: 0.6s;
}

.donation-card:nth-child(7), .box-hover:nth-child(7) {
    animation-delay: 0.7s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .donation-grid, .main_flex {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 150px; /* Reduced padding for mobile */
    }

    .donation-card, .box-hover {
        height: 280px;
        min-width: auto;
    }

        .donation-card:hover, .box-hover:hover {
            height: 420px;
            transform: translateY(-50px) scale(1.03); /* Less dramatic movement on mobile */
        }

    .container, .malabar_container {
        width: 90%;
        max-width: 880px;
    }

    .footer_flex {
        flex-wrap: wrap;
    }

    .box-footer {
        width: 48%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .card-content {
        padding: 20px;
    }

    .card-title, .box-hover h4 {
        font-size: 1.2rem;
    }

    .card-description, .box-hover p {
        font-size: 0.9rem;
    }

    .donation-card:hover, .box-hover:hover {
        transform: translateY(-30px) scale(1.02); /* Even less movement on small screens */
    }

    .main_flex, .donation-grid {
        padding-bottom: 120px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .donation-card, .box-hover {
        transition: none;
        animation: none;
    }

        .card-img, .box-hover img {
            transition: none;
        }

        .card-description, .box-hover p {
            transition: none;
        }

    .learn-more-btn {
        transition: none;
    }
}
