:root {
    --primary-color: #4A90E2;
    --secondary-color: #34495E;
    --accent-color: #E67E22;
    --background-color: #F5F6FA;
    --text-color: #2C3E50;
    --light-text: #7F8C8D;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #D4EBF8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;

}


.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 80vh;
    background-image:url("https://images.unsplash.com/photo-1544027993-37dbfe43562a?w=800"  ) ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 100%;
    height: 100%;
}

.hero-content {
    flex: 1;
    max-width: vw;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.hero-image {
    flex: 1;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.hero-content #h1 {
    font-size: 3em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color:rgb(209, 209, 181);
    box-shadow: 2px 2px 4px rgba(254, 214, 214, 0.9);
    background-color: rgba(20, 20, 20, 0.3);
    border-radius:40px;
    padding: 10px;
    width: max-content;
}

.hero-content h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgb(51, 211, 195);
    text-shadow: 2px 2px 4px rgba(8, 6, 6, 0.7);

}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn.primary {
    background-color: rgba(152, 165, 177,0.7);
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 
    0px -4px 6px rgba(0, 0, 0, 0.1), 
    4px 0px 6px rgba(0, 0, 0, 0.1), 
    -4px 0px 6px rgba(0, 0, 0, 0.1);;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.features {
    padding: 4rem 5%;
    background-color: rgb(215, 203, 194);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: rgb(160, 165, 174);
    text-shadow: 2px 2px 4px rgba(8, 6, 6, 0.7);
}


.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgb(164, 176, 177);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.feature-card details {
    cursor: pointer;
}

.feature-card details > summary {
    list-style: none;
    padding: 1rem;
}

.feature-card details > summary::-webkit-details-marker {
    display: none;
}

.price {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    font-weight: bold;
}

.feature-content {
    padding: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #eee;
}

.feature-content ul {
    list-style-type: none;
    padding-left: 1rem;
    margin: 1rem 0;
}

.feature-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.feature-content li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
}

.resources {
    padding: 4rem 5%;
    background-color: rgb(94, 113, 113);

}

.resources h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: rgb(206, 206, 233);
    text-shadow: 2px 2px 4px rgba(8, 6, 6, 0.7);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.resource-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.resource-card details > summary {
    list-style: none;
    padding: 1.5rem;
    cursor: pointer;
}

.resource-content {
    padding: 0 1.5rem 1.5rem;
}

.stories-container {
    padding: 4rem 5%;
    width: 80vw;
    margin: 0 auto;
    
}
.story-card .buttons {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1), 
                0px -4px 10px rgba(0, 0, 0, 0.1), 
                4px 0px 10px rgba(0, 0, 0, 0.1), 
                -4px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 5px;
    width: max-content;
}

.story-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 
    0px -4px 6px rgba(0, 0, 0, 0.1), 
    4px 0px 6px rgba(0, 0, 0, 0.1), 
    -4px 0px 6px rgba(0, 0, 0, 0.1);
   
    
}

.story-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.story-card details > summary {
    list-style: none;
    padding: 2rem;
    cursor: pointer;
}

.-storyfull {
    padding: 0 2rem 2rem;
    border-top: 1px solid #eee;
}

.full-story p {
    margin-bottom: 1rem;
}

.support-container {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.helpline-info {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.helpline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.helpline-card {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.helpline-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
}

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


footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 5% 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
#stories  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #cfcfdb;
}
#support {
    background-color: #c8d6c0;
}
#support #headernew  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page .page-header {
        display:flex;
        flex-direction: column;
        max-width:35vw ;
        text-align:center;
        background-color: rgba(204, 223, 233, 0.7);
        margin-top: 10px;
        border-radius: 10px ;
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 
    0px -4px 6px rgba(0, 0, 0, 0.1), 
    4px 0px 6px rgba(0, 0, 0, 0.1), 
    -4px 0px 6px rgba(0, 0, 0, 0.1);
}
details .full-story {
    padding: 5PX;
}
