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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f1f1f1;
    background: #181a1b;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    color: #f1f1f1;
}

/* Header Styles */
.header {
    background: black;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #444 0%, #666 50%, #888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arabic-text {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #B8860B;
    margin: 0;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: #FFD700;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #B8860B;
}

.cta-button {
    background: #FFD700;
    color: #181a1b;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #B8860B;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #B8860B;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #23272a !important;
    color: #f1f1f1 !important;
    border-bottom: 1px solid #333;
    z-index: 999;
    padding: 1rem;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: #f1f1f1;
    border-bottom: 1px solid #333;
}

.mobile-menu.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f1f1f1 !important;
    background: linear-gradient(135deg, #181a1b 0%, #23272a 100%) !important;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 50%, #FFD700 100%);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #FFD700;
    color: #181a1b;
}

.btn-secondary {
    background: transparent;
    color: #f1f1f1;
    border-color: #f1f1f1;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Trust Indicators */
.trust-indicators {
    padding: 3rem 0;
    background: #23272a;
}

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

.indicator-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #B8860B;
    margin-bottom: 0.5rem;
}

.indicator-text {
    color: #666;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    background: #23272a !important;
    color: #f1f1f1 !important;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #f1f1f1 !important;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: #23272a;
    color: #f1f1f1;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #f1f1f1;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.service-features i {
    color: #28a745;
    font-size: 0.8rem;
}

/* Calculators Section */
.calculators {
    padding: 5rem 0;
    background: #23272a;
}

.calculator-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: #23272a;
    border: 2px solid #333;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button.active {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: white;
    border-color: #B8860B;
}

.tab-button:hover {
    border-color: #B8860B;
}

.calculator-card {
    display: none;
    background: #23272a !important;
    color: #f1f1f1 !important;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card.active {
    display: block;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calculator-header i {
    color: #B8860B;
}

.calculator-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: #f1f1f1;
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    cursor: pointer;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    cursor: pointer;
    border: none;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
}

.result-box {
    background: linear-gradient(145deg, #23272a 0%, #333 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(184, 134, 11, 0.1);
}

.result-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #B8860B;
    margin-bottom: 0.5rem;
}

.result-label {
    color: #666;
    font-size: 0.9rem;
}

/* Zakat Calculator Specific Styles */
.zakat-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #333;
    background: #23272a;
    color: #f1f1f1;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border 0.3s;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
}

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

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(218, 165, 32, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #B8860B;
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #f1f1f1;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #23272a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #f1f1f1;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature i {
    color: #28a745;
    font-size: 1.1rem;
}

.ceo-card {
    background: #23272a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ceo-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(218, 165, 32, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.ceo-initials {
    font-size: 2rem;
    font-weight: bold;
    color: #B8860B;
}

.ceo-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #f1f1f1;
}

.ceo-title {
    color: #666;
    margin-bottom: 1rem;
    font-weight: 600;
}

.ceo-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(218, 165, 32, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: #B8860B;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #f1f1f1;
}

.contact-details p {
    color: #666;
}

.contact-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-form-container {
    background: #23272a;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-form-card {
    padding: 2rem;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #f1f1f1;
}

.contact-form-card p {
    color: #666;
    margin-bottom: 2rem;
}

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

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

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

.form-group label {
    font-weight: 600;
    color: #f1f1f1;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #B8860B;
}

.submit-button {
    background: #FFD700;
    color: #181a1b;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-circle {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-circle .arabic-text {
    color: #B8860B;
    font-size: 1rem;
}

.footer-logo-text {
    font-weight: bold;
    font-size: 1.1rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Form Messages */
.form-message {
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 0.95rem;
    text-align: center;
}

.form-message.success {
    background-color: #e6f7e6;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Form Loading State */
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Validation */
input:invalid,
textarea:invalid,
select:invalid {
    border-color: #ff9800;
}

input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
    border-color: #f44336;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .calculator-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        background: transparent;
        color: #f1f1f1;
    }

    .logo-section img,
    .footer-logo img {
        width: 95% !important;
        max-width: 95vw !important;
        height: auto !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero h2 {
    font-size: 2rem;
}

.section-header h2 {
    font-size: 2rem;
}

.calculator-card {
    padding: 1.5rem;
}

.result-amount {
    font-size: 2rem;
}
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature,
.calculator-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}