/* --- Hero Banner Layout --- */
.hero-section {
    background: url('https://www.alhudacs.org/wp-content/uploads/2026/03/acs-donation-banner-scaled.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: white;
}

/* --- Improved Donation Form --- */
.donation-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    color: #4a4a4a; /* Logo Charcoal Grey */
    position: relative;
    border-top: 5px solid #22ada8; /* Logo Teal */
}

/* Heading color matched to the logo's charcoal text */
.donation-form h2 { 
    color: #4a4a4a; 
    font-weight: 800; 
    text-align: center; 
    font-size: 26px; 
    margin-bottom: 15px; 
    line-height: 1.2; 
}

/* Grid Layouts */
.amounts, .types { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px; 
    margin-bottom: 20px; 
}

.amount-btn, .type-btn {
    padding: 12px 5px; 
    border-radius: 8px; 
    border: 2px solid #f1f1f1;
    background: #fdfdfd; 
    color: #4a4a4a; 
    font-weight: 600; 
    font-size: 13px; 
    cursor: pointer; 
    transition: all 0.3s ease;
}

/* Active State: Logo Teal */
.amount-btn.active, .type-btn.active { 
    background: #22ada8; 
    color: #fff; 
    border-color: #22ada8; 
    transform: translateY(-2px); 
}

/* Hover State: Logo Yellow accent */
.amount-btn:hover, .type-btn:hover {
    border-color: #f7d417; /* Logo Yellow */
    background: #fff;
    color: #22ada8;
}

/* Improved Select Dropdown */
.acs-donation-select {
    width: 100%; 
    padding: 14px; 
    border-radius: 8px; 
    border: 2px solid #f1f1f1;
    margin-bottom: 25px; 
    font-weight: 600; 
    color: #4a4a4a;
    background-color: #fdfdfd;
    appearance: none; 
    /* Arrow icon color matched to Logo Charcoal */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

/* Custom "Donate Now" Button: Logo Teal */
.acs-submit-btn {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: 8px;
    background: #22ada8; 
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 173, 168, 0.3);
    margin-top: 10px;
}

.acs-submit-btn:hover {
    background: #1b8e8a; /* Darkened Teal for hover */
    color: #fff;
    transform: scale(1.02);
}

/* --- Mission Section Styling --- */
.acs-mission-container {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.acs-flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.acs-mission-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    flex: 1; /* Ensures equal width */
    min-width: 300px; /* Responsive break point */
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #eef2f3;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Equal Height Hack for Flex */
.acs-mission-card p {
    flex-grow: 1;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* Color Accents from Logo */
.acs-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #1ba597; /* Teal from Logo */
}

/* Animation Style */
.acs-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #f7e233; /* Gold from Logo on hover */
}

.acs-card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #1ba597;
}

.acs-mission-card h3 {
    color: #1E2A5E; /* Deep Navy from Logo */
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Specific button style for "Your Role" if needed */
.highlight-text {
    color: #1ba597;
    font-weight: 700;
}

/* Bank info */
.acs-bank-section {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.acs-bank-card {
    background: #ffffff;
    max-width: 550px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-top: 5px solid #22ada8; /* Logo Teal */
    overflow: hidden;
}

.acs-bank-header {
    background: #fdfdfd;
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
}

.acs-bank-header h2 {
    color: #22ada8;
    margin: 0;
    font-size: 22px;
}

.acs-bank-header p {
    color: #4a4a4a;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 5px 0 0 0;
    font-weight: bold;
}

.acs-bank-body {
    padding: 10px 25px;
}

.acs-detail-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    padding: 15px 0;
    border-bottom: 1px solid #f1f1f1;
    gap: 15px;
}

.acs-detail-row.no-border { border-bottom: none; }

.acs-col { display: flex; flex-direction: column; }

.acs-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
    font-weight: 600;
}

.acs-value {
    font-size: 15px;
    color: #4a4a4a;
    font-weight: 500;
}

/* Copy Styling */
.acs-copyable { cursor: pointer; transition: background 0.2s; }
.acs-copyable:hover { background: #f9fdfd; }
.acs-highlight { color: #22ada8; font-weight: 600; }
.acs-highlight small { margin-left: 5px; opacity: 0.5; }

.acs-bank-footer {
    padding: 20px 25px;
    background: #fdfdfd;
    border-top: 1px solid #f1f1f1;
    text-align: center;
}

.acs-contact-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.acs-contact-box a {
    color: #22ada8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.acs-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.acs-btn-group a {
    background: #4a4a4a;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 500px) {
    .acs-detail-row { grid-template-columns: 1fr; gap: 10px; }
    .acs-contact-box { flex-direction: column; gap: 10px; }
}

/* --- CSS Only Clipboard Icon --- */
.acs-icon-copy {
    display: inline-block;
    width: 12px;
    height: 14px;
    border: 2px solid #22ada8;
    border-radius: 2px;
    position: relative;
    margin-left: 8px;
    vertical-align: middle;
}

.acs-icon-copy::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 3px;
    background: #22ada8;
    top: -4px;
    left: 1px;
    border-radius: 1px;
}

/* --- Contact Icon Fixes --- */
.acs-contact-box a {
    display: inline-flex;
    align-items: center;
    color: #22ada8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Using standardized unicode hex codes for better compatibility */
.acs-contact-box a[href^="tel"]::before {
    content: "\260E"; /* Telephone symbol */
    margin-right: 8px;
}

.acs-contact-box a[href^="mailto"]::before {
    content: "\2709"; /* Envelope symbol */
    margin-right: 8px;
}

/* --- Hover Effect for Copyable Areas --- */
.acs-copyable:hover .acs-icon-copy {
    background: #22ada8;
}
.acs-copyable:hover .acs-icon-copy::before {
    background: #4a4a4a; /* Darker accent on hover */
}

:root {
    --brand-teal: #1ca6a3;
    --charcoal: #606062;
    --white: #ffffff;
    --lemon: #eede2c;
}   
 * { margin: 0; padding: 0; box-sizing: border-box; }

        .kinetic-frame {
            width: 100%;
            height: 550px;
            background-color: var(--brand-teal);
background: url('https://www.alhudacs.org/wp-content/uploads/2026/03/Ayat-Background-scaled.jpg');
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.1);            
font-family: 'Tenor Sans', sans-serif;
display: flex;
            justify-content: center;
            align-items: center;
        }

        /* The Moving "Background Spine" */
        .marquee-bg {
            position: absolute;
            font-family: 'Big Shoulders Display', cursive;
            font-size: 22rem;
            color: rgba(255, 255, 255, 0.12); /* Subtle white overlay on teal */
            white-space: nowrap;
            display: flex;
            gap: 100px;
            z-index: 1;
            user-select: none;
            animation: scrollText 40s linear infinite;
        }

        /* The Focal Card */
        .content-card {
            background: var(--charcoal);
            padding: 60px 80px;
            z-index: 10;
            max-width: 700px;
            position: relative;
            /* Lemon offset shadow for depth */
            box-shadow: 20px 20px 0px var(--lemon);
        }

        .ayat-unbroken {
            color: var(--white);
            font-size: 2.2rem;
            line-height: 1.4;
            letter-spacing: -0.5px;
        }

        /* Lemon highlighting for key text */
        .ayat-unbroken span {
            color: var(--lemon);
            font-weight: bold;
        }

        /* Kinetic Accent: The Moving Lemon Line */
        .kinetic-line {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 5px;
            background: var(--lemon);
            width: 0%;
            animation: lineGrow 4s ease-in-out infinite alternate;
        }

        .footer-meta {
            margin-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .label-quran {
            color: var(--lemon);
            text-transform: uppercase;
            letter-spacing: 8px;
            font-size: 0.85rem;
            font-weight: bold;
        }

        .ref-tag {
            color: var(--white);
            opacity: 0.7;
            font-size: 0.95rem;
            border-left: 2px solid var(--lemon);
            padding-left: 15px;
        }

        /* Animations */
        @keyframes scrollText {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }

        @keyframes lineGrow {
            0% { width: 0%; left: 0; }
            50% { width: 100%; left: 0; }
            100% { width: 0%; left: 100%; }
        }

        @media (max-width: 1024px) {
            .content-card { margin: 20px; padding: 40px; box-shadow: 10px 10px 0px var(--lemon); }
            .ayat-unbroken { font-size: 1.5rem; }
            .marquee-bg { font-size: 12rem; }
        }
/* button breaking bar */
/* Import the specific font for the "Important" words */
.acs-cta-banner {
    background-color: var(--white); /* White background as requested */
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.acs-cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes text left, button right */
    gap: 30px;
}

/* Text Styling */
.acs-cta-text {
    font-family: 'Poppins', sans-serif; /* Default theme font */
}

.acs-subheading {
    color: var(--brand-teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.acs-cta-text h2 {
    margin: 0;
    color: var(--charcoal);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
}

/* Important Word Styling */
.acs-highlight {
    font-family: 'Big Shoulders Display', cursive;
    font-size: 55px; /* Larger size for the transform lives text */
    color: var(--brand-teal);
}

/* The Yellow Button */
.acs-donate-trigger {
    background-color: var(--lemon); /* Yellow button color */
    color: var(--charcoal);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 222, 44, 0.3);
    border: none;
    font-size: 18px;
}

.acs-donate-trigger:hover {
    transform: translateY(-3px);
    background-color: var(--brand-teal);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(28, 166, 163, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .acs-cta-flex {
        flex-direction: column;
        text-align: center;
    }
    .acs-highlight {
        font-size: 45px;
    }
}


/* --- Beautiful Bottom CTA Section --- */
.acs-final-footer {
    padding: 100px 0;
    background-color: var(--brand-teal);
    color: var(--white);
    text-align: center;
}

.acs-final-footer h2 {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    color: var(--lemon);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.acs-final-footer p.sadaqah-intro {
    font-size: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--white);
    font-weight: 300;
}

.acs-final-footer strong {
    font-weight: 700;
    color: var(--lemon);
}

/* Contact Box Styling */
.acs-contact-container {
    display: inline-block;
    padding: 40px 60px;
    border: 2px dashed var(--lemon);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.acs-contact-container:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.acs-contact-container h3 {
    margin-top: 0;
    font-size: clamp(22px, 3vw, 28px);
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.acs-contact-container p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 15px;
    font-size: 16px;
}

.acs-phone-number {
    font-size: clamp(24px, 4vw, 32px);
    color: var(--lemon) !important;
    text-decoration: none;
    font-weight: 800;
    display: block;
    transition: 0.2s;
}

.acs-phone-number:hover {
    color: var(--white) !important;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .acs-contact-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
}



/* --- Donation Detail page Layout Container --- */
.donation-details {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
}
/* --- 3. The Donation Box (Fixed Collapse) --- */
.donation-box {
    background-color: var(--white) !important;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--teal-light);
    max-width: 650px;
    width: 100%;
    display: flow-root; /* Ensures background wraps all content */
}

/* --- 4. Section Headings --- */
.form-section-title {
    background-color: var(--teal-light) !important;
    color: var(--charcoal);
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 20px;
}

.form-section-title span {

            font-family: 'Big Shoulders Display', cursive;

    color: var(--brand-teal);
    font-size: 22px;
}

/* --- 5. Form Grid & Visible Textboxes --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-field {
    position: relative;
    margin-bottom: 5px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 16px 12px;
    border: 1px solid var(--input-border); /* Visible border for outlines */
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--white);
    outline: none;
    transition: all 0.3s ease;
    color: var(--charcoal);
    height: 54px;
border: solid #eaeaea;
}


/* Highlight border on focus */
.form-field input:focus,
.form-field select:focus {
    border: 2px solid var(--brand-teal);
    padding: 15px 11px; /* Offset for border thickness */
}

/* --- 6. Floating Labels --- */
.form-field label {
    position: absolute;
    left: 15px;
    top: 16px;
    color: #888;
    font-size: 14px;
    pointer-events: none;
    transition: 0.2s ease all;
    background-color: var(--white);
    padding: 0 5px;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select:valid + label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    color: var(--brand-teal);
    font-weight: 700;
}

/* --- 7. Proceed Button --- */
.next-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--brand-teal) !important;
    color: var(--white) !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 15px;
}

.next-btn:hover {
    background-color: var(--charcoal) !important;
    transform: translateY(-2px);
}

/* --- 8. Responsive --- */
@media (max-width: 767px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
.contact-form button {
    margin-top: 10px !important;
}

.donation-message {
  max-width: 550px;
  margin: 80px auto;
  padding: 40px 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 25px rgba(0, 90, 120, 0.1);
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  border-top: 5px solid transparent;
  animation: fadeIn 0.6s ease-in-out;
}

.donation-message.warning {
  border-top-color: #D6AD0C;
}

.donation-message.success {
  border-top-color: #0CAED6;
}

.donation-message.failed {
  border-top-color: #D9534F;
}

.donation-message h2 {
  font-size: 28px;
  color: #1E2A5E;
  margin-bottom: 10px;
}

.donation-message p {
  font-size: 15px;
  color: #333;
  margin: 8px 0;
}

.donation-message .details {
  margin-top: 15px;
  text-align: left;
  background: #F4FBFC;
  padding: 15px 20px;
  border-radius: 10px;
}

.donation-message .details p {
  margin: 5px 0;
  color: #1E2A5E;
}

.donation-message .icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.footer-note {
  margin-top: 25px;
  font-size: 14px;
  color: #7A8C99;
}

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

@media (max-width: 600px) {
  .donation-message {
    margin: 40px 15px;
    padding: 30px 20px;
  }
}
/*buttons*/
.btn-group {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 25px;
}

.donate-acs-btn.link {
  display: inline-block;
  text-decoration: none;
  background: #0CAED6;
  color: #fff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(12, 174, 214, 0.2);
}

.donate-acs-btn.link:hover {
  background: #13C2E3; /* slightly lighter teal */
  box-shadow: 0 4px 14px rgba(12, 174, 214, 0.35);
}

.donate-acs-btn.link.alt {
  background: #1E2A5E;
  box-shadow: 0 3px 10px rgba(30, 42, 94, 0.2);
}

.donate-acs-btn.link.alt:hover {
  background: #263578; /* richer navy tone */
  box-shadow: 0 4px 14px rgba(30, 42, 94, 0.35);
}

.donation-message .btn-group {
    margin-top: 20px;
}

/* updated buttons*/
.donation-message h2 {
    font-size: 28px;
    color: #1E2A5E;
    margin-bottom: 10px;
}
.donation-message.warning {
    border-top-color: #eede2c;
}

.donation-message {
    max-width: 550px;
    margin: 160px auto;
    padding: 40px 30px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 90, 120, 0.1);
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    border-top: 5px solid transparent;
    animation: fadeIn 0.6s ease-in-out;
}

.donate-acs-btn.link {
  display: inline-block;
  text-decoration: none;
  background: #1ca6a3;
  color: #fff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(12, 174, 214, 0.2);
}

.donate-acs-btn.link:hover {
  background: #13C2E3; /* slightly lighter teal */
  box-shadow: 0 4px 14px rgba(12, 174, 214, 0.35);
}

.donate-acs-btn.link.alt {
  background: #1ca6a3;
  box-shadow: 0 3px 10px rgba(30, 42, 94, 0.2);
}

.donate-acs-btn.link.alt:hover {
     color:#606062;
    
  background: #eede2c; /* richer navy tone */
  box-shadow: 0 4px 14px rgba(30, 42, 94, 0.35);
}

