/* ===== Fonts ===== */
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Amiri';
    src: url('../fonts/4_5805562707671255225.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Amiri';
    src: url('../fonts/Amiri Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ===== CSS Variables ===== */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary-color: #FFD700;
    --accent-color: #8BC34A;
    --text-primary: #2E2E2E;
    --text-secondary: #666666;
    --text-light: #999999;
    --background: #FAFAFA;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Amiri', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.sadaqa {
    color: #4CAF50;
    font-weight: 600;
    font-size: 1.1em;
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.5), 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    min-height: 1.5em;
    line-height: 1.5;
    animation: glow 3s ease-in-out infinite alternate;
}

.sadaqa::after {
    content: '|';
    color: #4CAF50;
    animation: blink 1s infinite;
    margin-left: 2px;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.7), 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

@keyframes glow {
    from { 
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
        filter: brightness(1);
        transform: scale(1);
    }
    to { 
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.6), 0 0 30px rgba(76, 175, 80, 0.4);
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

@keyframes blink {
    0%, 50% { 
        opacity: 1; 
        text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
        transform: scale(1);
    }
    51%, 100% { 
        opacity: 0; 
        text-shadow: 0 0 2px rgba(76, 175, 80, 0.2);
        transform: scale(0.8);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
    background: none;
    border: none;
    outline: none;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.nav-toggle:hover span {
    background: var(--primary-dark);
}

.nav-toggle.active span {
    background: var(--primary-dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== Mobile Navigation ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        box-shadow: var(--shadow);
        z-index: 1000;
        display: flex;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        visibility: hidden;
        opacity: 0;
    }
    
    .nav-menu.active {
        left: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        position: relative;
    }
    
    .nav-link:hover {
        color: var(--primary-color);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: var(--transition);
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
    
    .nav-link.active {
        color: var(--primary-color);
    }
    
    .nav-link.active::after {
        width: 100%;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    opacity: 0.6;
    z-index: 1;
    filter: brightness(1.2) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), rgba(27, 94, 32, 0.2));
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.phone-mockup {
    position: relative;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.app-preview {
    width: 300px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.app-preview:hover {
    transform: scale(1.05);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== Features Section ===== */
.features {
    padding: 6rem 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.1), transparent);
    transition: var(--transition);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== Download Section ===== */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.85) 100%), 
                url('../images/footer_background.jpeg') center/cover no-repeat;
    color: var(--white);
    position: relative;
    background-attachment: fixed;
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.download-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* ===== Store Buttons ===== */
.store-btn {
    display: inline-block;
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
}

.store-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.store-btn img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 8px;
    max-width: 120px;
}

/* ===== Responsive Store Buttons ===== */
@media (max-width: 768px) {
    .store-btn img {
        height: 35px;
        max-width: 100px;
    }
    
    .download-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .store-btn img {
        height: 30px;
        max-width: 80px;
    }
    
    .download-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
}








































































/* ===== Download Section ===== */
.download-image {
    text-align: center;
}

.download-image img {
    max-width: 80%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.download-image img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 4rem 0;
    background: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 4rem 0;
    background: var(--background);
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--primary-dark);
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.submit-btn {
    background: #FF6B35;
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #E55A2B;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Form Validation ===== */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #F44336;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #4CAF50;
}

.form-group input:required:invalid {
    border-color: #F44336;
}

.form-group input:required:valid {
    border-color: #4CAF50;
}

/* ===== Form Loading State ===== */
.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

.form-loading .submit-btn {
    background: #ccc;
    cursor: not-allowed;
}

/* ===== Form Success State ===== */
.form-success {
    background: #E8F5E8;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    color: #2E7D32;
}

.form-success i {
    color: #4CAF50;
    margin-left: 0.5rem;
}

/* ===== Form Error State ===== */
.form-error {
    background: #FFEBEE;
    border: 2px solid #F44336;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
    color: #C62828;
}

.form-error i {
    color: #F44336;
    margin-left: 0.5rem;
}

/* ===== Form Field Error ===== */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #F44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.form-group.error label {
    color: #F44336;
}

.form-group .error-message {
    color: #F44336;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* ===== Form Field Success ===== */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group.success label {
    color: #4CAF50;
}

.form-group .success-message {
    color: #4CAF50;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.success .success-message {
    display: block;
}

/* ===== Form Field Focus ===== */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    transform: translateY(-1px);
}

/* ===== Form Field Hover ===== */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
}

/* ===== Form Field Placeholder ===== */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    opacity: 1;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
}

/* ===== Form Field Animation ===== */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transition: all 0.3s ease;
}

/* ===== Form Field Label Animation ===== */
.form-group label {
    transition: color 0.3s ease;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: var(--primary-color);
}

/* ===== Form Field Icon ===== */
.form-group .field-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.form-group input:focus + .field-icon,
.form-group select:focus + .field-icon,
.form-group textarea:focus + .field-icon {
    color: var(--primary-color);
}

/* ===== Form Field Loading ===== */
.form-group.loading input,
.form-group.loading select,
.form-group.loading textarea {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 11-6.219-8.56"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Form Field Success Icon ===== */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234CAF50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* ===== Form Field Error Icon ===== */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F44336" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6L6 18M6 6l12 12"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* ===== Form Field Required ===== */
.form-group.required label::after {
    content: ' *';
    color: #F44336;
    font-weight: bold;
}

/* ===== Form Field Optional ===== */
.form-group.optional label::after {
    content: ' (اختياري)';
    color: #999;
    font-size: 0.875rem;
    font-weight: normal;
}

/* ===== Form Field Help Text ===== */
.form-group .help-text {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* ===== Form Field Character Count ===== */
.form-group .char-count {
    color: #999;
    font-size: 0.75rem;
    text-align: left;
    margin-top: 0.25rem;
}

.form-group .char-count.warning {
    color: #FF9800;
}

.form-group .char-count.error {
    color: #F44336;
}

/* ===== Form Field Password Toggle ===== */
.form-group .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group .password-toggle:hover {
    color: var(--primary-color);
}

/* ===== Form Field File Upload ===== */
.form-group .file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.form-group .file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-group .file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
    color: #666;
    transition: var(--transition);
    cursor: pointer;
}

.form-group .file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(46, 125, 50, 0.05);
    color: var(--primary-color);
}

/* ===== Form Field Checkbox ===== */
.form-group .checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group .checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-group .checkbox-group label {
    margin: 0;
    cursor: pointer;
}

/* ===== Form Field Radio ===== */
.form-group .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group .radio-group .radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group .radio-group .radio-item input[type="radio"] {
    width: auto;
    margin: 0;
}

.form-group .radio-group .radio-item label {
    margin: 0;
    cursor: pointer;
}

/* ===== Form Field Select ===== */
.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-group select:focus {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232E7D32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
}

/* ===== Form Field Textarea ===== */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

/* ===== Form Field Number ===== */
.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Form Field Date ===== */
.form-group input[type="date"] {
    position: relative;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.form-group input[type="date"]:focus::-webkit-calendar-picker-indicator {
    color: var(--primary-color);
}

/* ===== Form Field Time ===== */
.form-group input[type="time"] {
    position: relative;
}

.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.form-group input[type="time"]:focus::-webkit-calendar-picker-indicator {
    color: var(--primary-color);
}

/* ===== Form Field Color ===== */
.form-group input[type="color"] {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
}

.form-group input[type="color"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* ===== Form Field Range ===== */
.form-group input[type="range"] {
    width: 100%;
    height: 0.5rem;
    background: #e0e0e0;
    border-radius: 0.25rem;
    outline: none;
    -webkit-appearance: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.form-group input[type="range"]::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* ===== Form Field Search ===== */
.form-group input[type="search"] {
    position: relative;
}

.form-group input[type="search"]::-webkit-search-cancel-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.form-group input[type="search"]:focus::-webkit-search-cancel-button {
    color: var(--primary-color);
}

/* ===== Form Field URL ===== */
.form-group input[type="url"] {
    position: relative;
}

.form-group input[type="url"]:valid {
    border-color: #4CAF50;
}

.form-group input[type="url"]:invalid {
    border-color: #F44336;
}

/* ===== Form Field Email ===== */
.form-group input[type="email"] {
    position: relative;
}

.form-group input[type="email"]:valid {
    border-color: #4CAF50;
}

.form-group input[type="email"]:invalid {
    border-color: #F44336;
}

/* ===== Form Field Tel ===== */
.form-group input[type="tel"] {
    position: relative;
}

.form-group input[type="tel"]:valid {
    border-color: #4CAF50;
}

.form-group input[type="tel"]:invalid {
    border-color: #F44336;
}

/* ===== Form Field Password ===== */
.form-group input[type="password"] {
    position: relative;
}

.form-group input[type="password"]:valid {
    border-color: #4CAF50;
}

.form-group input[type="password"]:invalid {
    border-color: #F44336;
}

/* ===== Form Field Text ===== */
.form-group input[type="text"] {
    position: relative;
}

.form-group input[type="text"]:valid {
    border-color: #4CAF50;
}

.form-group input[type="text"]:invalid {
    border-color: #F44336;
}

/* ===== Form Field Submit ===== */
.form-group input[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 1rem;
}

.form-group input[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group input[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Form Field Reset ===== */
.form-group input[type="reset"] {
    background: #F44336;
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 1rem;
}

.form-group input[type="reset"]:hover {
    background: #D32F2F;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.form-group input[type="reset"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Form Field Button ===== */
.form-group button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    marginrem;
}

.form-group button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Form Field Button Secondary ===== */
.form-group button.secondary {
    background: #6C757D;
    color: var(--white);
}

.form-group button.secondary:hover {
    background: #5A6268;
}

/* ===== Form Field Button Success ===== */
.form-group button.success {
    background: #28A745;
    color: var(--white);
}

.form-group button.success:hover {
    background: #218838;
}

/* ===== Form Field Button Danger ===== */
.form-group button.danger {
    background: #DC3545;
    color: var(--white);
}

.form-group button.danger:hover {
    background: #C82333;
}

/* ===== Form Field Button Warning ===== */
.form-group button.warning {
    background: #FFC107;
    color: var(--text-primary);
}

.form-group button.warning:hover {
    background: #E0A800;
}

/* ===== Form Field Button Info ===== */
.form-group button.info {
    background: #17A2B8;
    color: var(--white);
}

.form-group button.info:hover {
    background: #138496;
}

/* ===== Form Field Button Outline ===== */
.form-group button.outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.form-group button.outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===== Form Field Button Ghost ===== */
.form-group button.ghost {
    background: transparent;
    color: var(--primary-color);
    border: none;
}

.form-group button.ghost:hover {
    background: rgba(46, 125, 50, 0.1);
}

/* ===== Form Field Button Link ===== */
.form-group button.link {
    background: transparent;
    color: var(--primary-color);
    border: none;
    text-decoration: underline;
}

.form-group button.link:hover {
    background: transparent;
    color: var(--primary-dark);
}

/* ===== Form Field Button Small ===== */
.form-group button.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== Form Field Button Large ===== */
.form-group button.large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

/* ===== Form Field Button Block ===== */
.form-group button.block {
    width: 100%;
    display: block;
}

/* ===== Form Field Button Inline ===== */
.form-group button.inline {
    width: auto;
    display: inline-block;
}

/* ===== Form Field Button Group ===== */
.form-group .button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-group .button-group button {
    margin: 0;
    flex: 1;
}

/* ===== Form Field Button Group Vertical ===== */
.form-group .button-group.vertical {
    flex-direction: column;
}

.form-group .button-group.vertical button {
    width: 100%;
}

/* ===== Form Field Button Group Horizontal ===== */
.form-group .button-group.horizontal {
    flex-direction: row;
}

.form-group .button-group.horizontal button {
    flex: 1;
}

/* ===== Form Field Button Group Centered ===== */
.form-group .button-group.centered {
    justify-content: center;
}

/* ===== Form Field Button Group Right ===== */
.form-group .button-group.right {
    justify-content: flex-end;
}

/* ===== Form Field Button Group Left ===== */
.form-group .button-group.left {
    justify-content: flex-start;
}

/* ===== Form Field Button Group Spaced ===== */
.form-group .button-group.spaced {
    justify-content: space-between;
}

/* ===== Form Field Button Group Even ===== */
.form-group .button-group.even {
    justify-content: space-evenly;
}

/* ===== Form Field Button Group Around ===== */
.form-group .button-group.around {
    justify-content: space-around;
}

/* ===== Form Field Button Group Wrap ===== */
.form-group .button-group.wrap {
    flex-wrap: wrap;
}

/* ===== Form Field Button Group No Wrap ===== */
.form-group .button-group.nowrap {
    flex-wrap: nowrap;
}

/* ===== Form Field Button Group Reverse ===== */
.form-group .button-group.reverse {
    flex-direction: row-reverse;
}

/* ===== Form Field Button Group Column Reverse ===== */
.form-group .button-group.column-reverse {
    flex-direction: column-reverse;
}

/* ===== Form Field Button Group Align Start ===== */
.form-group .button-group.align-start {
    align-items: flex-start;
}

/* ===== Form Field Button Group Align End ===== */
.form-group .button-group.align-end {
    align-items: flex-end;
}

/* ===== Form Field Button Group Align Center ===== */
.form-group .button-group.align-center {
    align-items: center;
}

/* ===== Form Field Button Group Align Stretch ===== */
.form-group .button-group.align-stretch {
    align-items: stretch;
}

/* ===== Form Field Button Group Align Baseline ===== */
.form-group .button-group.align-baseline {
    align-items: baseline;
}

/* ===== Form Field Button Group Gap ===== */
.form-group .button-group.gap-sm {
    gap: 0.5rem;
}

.form-group .button-group.gap-md {
    gap: 1rem;
}

.form-group .button-group.gap-lg {
    gap: 1.5rem;
}

.form-group .button-group.gap-xl {
    gap: 2rem;
}

/* ===== Form Field Button Group No Gap ===== */
.form-group .button-group.gap-none {
    gap: 0;
}

/* ===== Form Field Button Group Auto Gap ===== */
.form-group .button-group.gap-auto {
    gap: auto;
}

/* ===== Form Field Button Group Responsive ===== */
@media (max-width: 768px) {
    .form-group .button-group {
        flex-direction: column;
    }
    
    .form-group .button-group button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .form-group .button-group {
        gap: 0.5rem;
    }
    
    .form-group .button-group button {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* ===== Form Field Button Group Print ===== */
@media print {
    .form-group .button-group {
        display: none;
    }
}

/* ===== Form Field Button Group High Contrast ===== */
@media (prefers-contrast: high) {
    .form-group .button-group button {
        border: 2px solid currentColor;
    }
}

/* ===== Form Field Button Group Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    .form-group .button-group button {
        transition: none;
    }
    
    .form-group .button-group button:hover {
        transform: none;
    }
}

/* ===== Form Field Button Group Dark Mode ===== */
@media (prefers-color-scheme: dark) {
    .form-group .button-group button {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .form-group .button-group button:hover {
        background: var(--primary-dark);
    }
    
    .form-group .button-group button:disabled {
        background: #666;
        color: #999;
    }
}

/* ===== Form Field Button Group Light Mode ===== */
@media (prefers-color-scheme: light) {
    .form-group .button-group button {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .form-group .button-group button:hover {
        background: var(--primary-dark);
    }
    
    .form-group .button-group button:disabled {
        background: #ccc;
        color: #666;
    }
}

/* ===== Form Field Button Group Focus ===== */
.form-group .button-group button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Active ===== */
.form-group .button-group button:active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Visited ===== */
.form-group .button-group button:visited {
    color: var(--white);
}

/* ===== Form Field Button Group Link ===== */
.form-group .button-group button:link {
    color: var(--white);
}

/* ===== Form Field Button Group Hover ===== */
.form-group .button-group button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group First Child ===== */
.form-group .button-group button:first-child {
    margin-left: 0;
}

/* ===== Form Field Button Group Last Child ===== */
.form-group .button-group button:last-child {
    margin-right: 0;
}

/* ===== Form Field Button Group Only Child ===== */
.form-group .button-group button:only-child {
    margin: 0;
}

/* ===== Form Field Button Group Nth Child ===== */
.form-group .button-group button:nth-child(odd) {
    background: var(--primary-color);
}

.form-group .button-group button:nth-child(even) {
    background: var(--accent-color);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

/* ===== Form Field Button Group Nth Child Visited ===== */
.form-group .button-group button:nth-child(odd):visited {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):visited {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Link ===== */
.form-group .button-group button:nth-child(odd):link {
    color: var(--white);
}

.form-group .button-group button:nth-child(even):link {
    color: var(--white);
}

/* ===== Form Field Button Group Nth Child Hover ===== */
.form-group .button-group button:nth-child(odd):hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.form-group .button-group button:nth-child(even):hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== Form Field Button Group Nth Child Focus ===== */
.form-group .button-group button:nth-child(odd):focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-group .button-group button:nth-child(even):focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== Form Field Button Group Nth Child Active ===== */
.form-group .button-group button:nth-child(odd):active {
    transform: translateY(1px);
}

.form-group .button-group button:nth-child(even):active {
    transform: translateY(1px);
}

/* ===== Form Field Button Group Nth Child Disabled ===== */
.form-group .button-group button:nth-child(odd):disabled {
    background: #ccc;
    color: #666;
}

.form-group .button-group button:nth-child(even):disabled {
    background: #ccc;
    color: #666;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.info-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.info-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
}

.info-btn:hover {
    background: #e6c200;
}

/* ===== Share Section ===== */
.share {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.share-content {
    max-width: 600px;
    margin: 0 auto;
}

.share-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.share h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.share p {
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.whatsapp { background: #25D366; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.85) 100%), 
                url('../images/footer_background.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    background-attachment: fixed;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    padding: 0.25rem 0;
    border-radius: 4px;
}

.footer-section a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.sadaqa-text {
    color: #8B7355;
    font-weight: 500;
    margin-top: 0.5rem;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
