/* Global Styles */
:root {
    --primary-color: #803300;
    --secondary-color: #FFF8ED;
    --accent-color: #FF9966;
    --dark-color: #333;
    --light-color: #fff;
    --gray-color: #f5f5f5;
    --text-color: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #FF9966;
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #6a2b00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles - Enhanced */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    width: 200px;
    height: auto;
    margin-right: 10px;
}

.logo img:hover {
    width: 220px;
    transition: width 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}


/* Header Styles */
.story-header {
    background: linear-gradient(rgba(85, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.story-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    margin-top: 50px;
}

.story-header .author-info {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Success Stories Grid */
.stories-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #2c3e50;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.story-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-content {
    padding: 25px;
}

.story-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.story-author {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.story-excerpt {
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* CTA Section */
.cta-section {
    background-color: #2c3e50;
    color: white;
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.btn-light {
    background-color: white;
    color: #2c3e50;
}

.btn-light:hover {
    background-color: #f1f1f1;
    color: #2c3e50;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .stories-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .story-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 20px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        padding: 20px;
    }
}

/* Story Content Styles */
.story-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.story-image {
    width: 20%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px 20px 20px 0;
    float: left;
}

.story-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.highlight-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #2c3e50;
    border-left: 4px solid #e74c3c;
    padding-left: 20px;
    margin: 30px 0;
}

/* Impact Section */
.impact-section {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0;
    margin: 50px 0;
}

.impact-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.impact-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
}

.impact-item h3 {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

/* Call to Action */
.cta-section {
    text-align: center;
    padding: 50px 0;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Back to Stories Link */
.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .story-header {
        padding: 70px 0;
    }
    
    .story-header h1 {
        font-size: 2rem;
    }
    
    .story-content {
        padding: 25px;
    }
    
    .story-image {
        height: 300px;
    }
    
    .highlight-quote {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .story-header {
        padding: 50px 0;
    }
    
    .story-header h1 {
        font-size: 1.8rem;
    }
    
    .story-image {
        height: 200px;
    }
    
    .impact-item {
        min-width: 100%;
    }
}


/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    flex: 2;
    min-width: 300px;
}

.footer-about h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-about p {
    opacity: 0.8;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-newsletter {
    flex: 2;
    min-width: 300px;
}

.footer-newsletter h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .founder-section {
        flex-direction: column;
    }
    
    .donation-section .container,
    .contact-container {
        flex-direction: column;
    }
    
    .donation-message {
        margin-top: 40px;
    }
    
    .gallery-slide {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--light-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .mission-vision {
        flex-direction: column;
    }
    
    .gallery-slide {
        min-width: calc(100% - 20px);
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

}

/*Story responsiveness*/

@media (max-width: 1024px) {
    .stories-slider {
      gap: 20px;
    }
    
    .story {
      flex: 1 1 45%; /* Two columns on tablets */
    }
  }
  
  @media (max-width: 768px) {
    .stories-section {
      padding: 40px 0;
    }
    
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 30px;
    }
    
    .story {
      flex: 1 1 100%; /* Single column on smaller tablets */
      max-width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .stories-section {
      padding: 30px 15px;
    }
    
    .section-title {
      font-size: 1.5rem;
      margin-bottom: 25px;
    }
    
    .story-content {
      padding: 20px;
    }
    
    .story-author h4 {
      font-size: 1.1rem;
    }
  }