@import url('https://fonts.googleapis.com/css2?family=Lustria&family=Montserrat:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Lustria', serif;
    font-weight: normal;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(42, 52, 47, 0.95);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #a8c5b8;
}

/* HOME PAGE */
.hero {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('../images/img7.png') center / cover no-repeat;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-subtitle-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.hero-underline {
  width: 120%;
  height: 2px;
  background-color: #fff;
  margin-top: 4px;
}


.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 0.3rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'Montserrat', serif;
}

.hero-tagline {
    font-size: 1.1rem;
    max-width: 600px;
    padding: 0 20px;
    margin-bottom: 50px;
}

.logo-section {
    background-color: #313637;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.logo-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    transform:translateY(-140px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.logo-placeholder img{
    width:100%;
    border-radius:50%;
}

.logo-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    margin-top:-100px;
    font-family: 'Montserrat';
    font-weight:400;
}

.logo-section p {
    max-width: 90%;
    margin: 0 auto 40px;
    font-size: 1.09rem;
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: rgba(255,255,255,0.2);
}

.donation-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    max-width: 60%;
    margin: 0 auto 30px;
}

.donation-buttons a{
    text-decoration:none;
}

.donation-btn {
    background-color: #D6D7D7;
    color: white;
    border-radius:5px;
    padding: 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.line-content{
    display:flex;
    align-items:center;
    justify-content:center;
}

.line-content .line{
    width:1px;
    height:80px;
    background-color:#fff;
}

.donate-here-btn {
    background:none;
    color: #fff;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}


/* ABOUT PAGE */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%235a7a65" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e35;
}

.mission-text {
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 40px;
    color: #666;
}

/* WHAT WE NEED PAGE */
.needs-section {
    padding: 0;
}

.needs-container {
    margin: 0 auto;
}

.needs-container .content{
    max-width: 1200px;
    padding: 80px 20px;
    margin: 0 auto;
}

.needs-container .top-section{
    background-color: #3a4a42;
    color:#fff;
    padding:40px;
    padding-bottom:0;
    position:relative;
    height: 70vh;
}

.needs-container .camera-image{
    position:absolute;
    overflow:hidden;
    max-width:93%;
    width:100%;
}

.needs-container .camera-image img{
    width:100%;
}

.needs-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.needs-header h2 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.needs-intro {
    font-size: 1.1rem;
    line-height: 1.8;
}

.needs-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.needs-description p{
    display:block;
    margin-top:20px;
}

.need-item {
    margin-bottom:30px;
}

.need-item ul li{
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-left:40px;
}

.need-number {
  font-family: 'Lustria', serif;
  font-size: 1.6rem;
  display: flex;
  align-items: left;
  position: relative;
  padding-left:4px;
  color:#313637;
}

.need-number span {
  display: inline-block;
  transform: rotate(-90deg);
  transform-origin: right center;
  margin-top:-20px;
  font-size:1.1rem;
}

.need-number h3 {
    font-size: 1.5rem;
}

.need-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.9;
}

.grant-info {
    padding: 0px;
    margin-top: 30px;
    border-radius: 4px;
}

.grant-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.9;
}

.grant-amount {
    font-family: 'Lustria', serif;
    font-size: 2rem;
    font-weight:bold;
    margin: 0 5px;
}

.impact-text {
    margin-top: 30px;
    font-size: 1.05rem;
    /* font-style: italic; */
    opacity: 0.9;
}

/* DONATION PAGE */
.donation-page {
    background-color: #f5f3f0;
    padding: 100px 20px;
}

.donation-form {
    background-color: white;
    padding: 50px;
    border-radius: 4px;
    max-width: 900px;
    margin: 0 auto;
}

.form-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #2c3e35;
}

.form-row {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #666;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d0d0d0;
    background-color: #fafafa;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #a8c5b8;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.amount-display {
    background-color: #fafafa;
    padding: 20px;
    border: 1px solid #d0d0d0;
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #2c3e35;
}

.details-box {
    background-color: #fafafa;
    padding: 25px;
    border: 1px solid #d0d0d0;
    margin-bottom: 30px;
}

.details-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.total-row {
    background-color: #b8b8b8;
    margin: 25px -25px -25px -25px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 1.1rem;
}

.radio-group {
    margin: 30px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.radio-option input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.radio-option label {
    font-size: 1rem;
}

.radio-note {
    margin-left: 30px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

.checkbox-option {
    display: flex;
    align-items: start;
    margin-top: 25px;
}

.checkbox-option input[type="radio"] {
    margin-right: 12px;
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.checkbox-option label {
    font-size: 0.95rem;
    line-height: 1.6;
}

.submit-btn {
    background-color: #3a4a42;
    color: white;
    padding: 15px 50px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2c3e35;
}

/* NEWSLETTER SECTION */
.newsletter-section {
    border-top:2px solid #f5f3f0;
    padding: 100px 20px;
}

.newsletter-container {
    max-width: 90%;
    margin: 0 auto;
    display:flex;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c3e35;
}

.newsletter-section p {
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #666;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form button{
    background:none;
    text-align:left;
    padding-left:0;
    color: #3a4a42;
    font-weight:800;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button:hover{
    background:none;
}

.newsletter-input {
    padding: 15px;
    border: 1px solid #d0d0d0;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: #a8c5b8;
}

.newsletter-note {
    font-size: 14px !important;
    color: #666;
    line-height: 1.7;
    margin-top: 25px;
}

@media (max-width: 768px) {

    nav ul {
        gap: 20px;
        padding: 0 10px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        height: 80vh;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-underline{
        margin-top: -10px;
    }

    .needs-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .needs-header h2 {
        font-size: 2.2rem;
    }

    .needs-description{
        margin-top: 30px;
    }

    .donation-form {
        padding: 30px 20px;
    }

    .need-item {
        grid-template-columns: 40px 1fr;
    }

    .donation-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Modal Styles */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #f5f5f0;
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #999;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: #333;
}

.donation-modal-form {
    padding: 60px 80px;
}

.modal-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.modal-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
}

.modal-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 40px 0;
}

.modal-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 400;
}

.modal-instruction {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 30px;
}

.preset-amounts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.amount-btn {
    background-color: #d4c5b9;
    border: 2px solid transparent;
    padding: 20px 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    background-color: #c4b5a9;
    transform: translateY(-2px);
}

.amount-btn.active {
    border-color: #8b7355;
    background-color: #c4b5a9;
}

.custom-amount-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.or-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
}

.custom-amount-input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: white;
}

.custom-amount-input:focus {
    outline: none;
    border-color: #8b7355;
}

.set-amount-btn {
    background-color: #999;
    color: white;
    border: none;
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.set-amount-btn:hover {
    background-color: #777;
}

.selected-amount-display {
    margin-bottom: 30px;
}

.amount-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #999;
    margin-bottom: 10px;
}

.amount-text strong {
    color: #333;
    font-weight: 600;
}

.next-instruction {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #666;
}

.next-instruction strong {
    font-weight: 600;
    color: #333;
}

.next-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 15px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.next-btn:hover {
    background-color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-modal-form {
        padding: 40px 30px;
    }
    
    .preset-amounts {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .modal-main-title {
        font-size: 1.5rem;
    }

    .needs-container .top-section{
        background-color: #3a4a42;
        color:#fff;
        padding:40px;
        padding-bottom:0;
        position:relative;
        height: 50vh;
    }

}

@media (max-width: 480px) {
    .preset-amounts {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .custom-amount-section {
        flex-direction: column;
        align-items: stretch;
    }
}