/* Reset some basic elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 20px;
}

.header-container {
    background: var(--primary-color);
    padding: 10px 0;
    /* Reduced padding to decrease height */
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Align logo and menu on opposite sides */
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 60px;
    /* Reduced logo size */
    height: 60px;
    margin-right: 15px;
    /* Add spacing between logo and text */
}

.organization-name {
    font-size: 1.5rem;
    /* Adjusted font size */
    font-weight: 400;
    margin: 0;
}

.foundation-year {
    font-size: 0.8rem;
    margin: 0;
}

.navbar {
    margin: 0;
}



.campaign-container {
    padding: 20px;
    background-color: #f9f9f9;
    margin: 20px 0;
}

.campaign-header {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.campaign-filter-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.campaign-filter-btn:hover {
    background-color: #45a049;
}

.reset-filters {
    color: #f44336;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.campaign-scrollable {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on mobile */
}

.campaign-scrollable::-webkit-scrollbar {
    height: 8px;
}

.campaign-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.campaign-scrollable::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.campaign-scrollable::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.campaign-card {
    background-color: #f0f8ff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    min-width: 300px;
    /* Fixed width for consistent scrolling */
    flex: 0 0 auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.campaign-card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.campaign-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.campaign-details {
    color: #666;
    margin-bottom: 10px;
}

.campaign-progress {
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.campaign-progress-bar {
    height: 100%;
    background-color: #4caf50;
}

.campaign-contribute-btn {
    background-color: #16d800;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.campaign-contribute-btn:hover {
    background-color: #b2000c;
}

@media (max-width: 768px) {
    .campaign-card {
        min-width: 250px;
    }
}


/* feedbacksection of patients */

.feedback-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.feedback-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

.feedback-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 360px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-5px);
}

.patient-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #e0e0e0;
}

.feedback-content {
    padding: 20px;
    text-align: left;
}

.patient-name {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.feedback-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.feedback-rating {
    font-size: 1.1rem;
    color: #f4b400;
}

@media (max-width: 768px) {
    .feedback-container {
        flex-direction: column;
        align-items: center;
    }

    .feedback-card {
        max-width: 100%;
    }
}

/* Footer Styles */
.footer-container {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    color: #333;
    padding: 50px 20px;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    color: #4a4a4a;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #6c757d;
}

.about p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.copyright {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 20px;
}

.links ul {
    list-style: none;
    padding: 0;
}

.links ul li {
    margin-bottom: 10px;
}

.links ul li a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links ul li a:hover {
    color: #007bff;
    padding-left: 5px;
}

.contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-icon {
    margin-right: 10px;
    font-style: normal;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    text-decoration: none;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}



/*  analyse the below css */
:root {
    --primary-color: #c25d20;
    --secondary-color: #e2a74e;
    --accent-color: #8a3c14;
    --text-color: #333;
    --light-bg: #fff7e9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
}


.logo-container {
    text-align: left;
    padding: 20px 0;
}

.logo {
    max-width: 55px;
    margin-bottom: 10px;
    border-radius: 50%;
    object-fit: cover;
    /* Ensures the image fills the circle without distortion */
    width: 55px;
    /* Fixed width to match max-width for consistency */
    height: 55px;
}

.organization-name {
    font-size: 2.2rem;
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.foundation-year {
    font-size: 0.9rem;
    color: white;
    letter-spacing: 1px;
}

.navbar-nav {
    display: flex;
    /* Use flexbox to align items horizontally */
    gap: 15px;
    /* Add spacing between menu items */
    list-style: none;
    /* Remove default list styling */
    padding: 0;
    margin: 0;
}

.navbar-nav .nav-item {
    display: inline-block;
    /* Ensure each item is inline */
}

.navbar-nav .nav-link {
    color: white;
    /* Ensure links are visible */
    text-decoration: none;
    padding: 5px 10px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #f0a500;
    /* Add hover effect */
}

.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: white;
}

.lang-nav {
    padding: 10px 0;
    background-color: #f8f1e5;
}

.lang-nav a {
    margin: 0 10px;
    color: var(--accent-color);
    text-decoration: none;
}

.content-section {
    padding: 50px 0;
}

.founder-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}


.header-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}



.founder-description {
    color: var(--accent-color);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
}

.action-link {
    color: #4a90e2;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.action-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.founder-image {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.top-bar {
    background-color: var(--primary-color);
    padding: 8px 0;
}

.top-bar .dropdown-menu {
    min-width: 5rem;
}

.search-box {
    border-radius: 20px;
    border: 1px solid #ddd;
    padding-right: 35px;
}

.search-btn {
    position: absolute;
    right: 20px;
    top: 5px;
    background: none;
    border: none;
    color: var(--primary-color);
}

/* Text Box Section Styles */
.text-box-section {
    max-width: 80%;
    margin: left, right;
    padding: 50px 0;
}

.text-box-container {
    margin: 20px;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}

.text-box-body {
    position: relative;
    padding: 10px;
    width: 80%;
    background: #444;
    border-top: 5px solid orange;
    border-bottom: 2px solid #ccc;
    color: white;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: inset 0 0 5px #333;
}

.text-box-arrow {
    position: absolute;
    top: 5px;
    left: 80%;
    margin-left: -5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid orange;
}

@media (max-width: 768px) {
    .organization-name {
        font-size: 1.8rem;
    }

    .founder-image {
        margin-top: 30px;
    }

    .text-box-body {
        width: 100%;
    }
}



.nav-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
  }
  
  .nav-menu li {
    margin: 0 10px;
  }
  
  .nav-menu a {
    text-decoration: none;
    color: #fff;
    padding: 10px;
  }
  
  .nav-menu a:hover {
    color: #000;
  }
  
  /** donation form styles **/
  .donation-section {
    padding: 50px 0;
    flex-grow: 1;
}

.donation-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-align: center;
}

.donation-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-group label {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.form-control {
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 10px;
}

.amount-option {
    margin-right: 10px;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    background: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s;
}

.amount-option:hover, .amount-option.selected {
    background-color: var(--primary-color);
    color: white;
}

.donation-type label {
    margin-right: 20px;
}

.payment-method label {
    margin-right: 20px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}
  @media (max-width: 768px) {
    .donation-form {
        padding: 20px;
    }
    .organization-name {
        font-size: 1.8rem;
    }
}