@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 0 0;
}

/* Utility Classes */
.orange-text {
    color: #fa551a;
    font-weight: 500;
}

.image-caption {
    font-size: 10px;
    color: #999; 
    margin-top: 8px;
    text-align: center;
    line-height: 1.3;
    font-style: italic; 
}

.hero-caption {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 3px;
    font-style: italic;
    z-index: 3;
}

.desktop-caption {
    display: block;
}

.mobile-caption {
    display: none;
}

/* Header Styles */
.header {
    background-color: #ff6b35;
    padding: 15px 0;
    position: relative;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 20px;
}

.nav-brand a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.brand-banner {
    height: 45px;
    width: auto;
    transform: scale(1);
    flex-shrink: 0;
    margin-left: 15px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover,
.nav a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background-image: url('images/truck.jpg');
    background-size: cover;
    background-position: left 40%;
    background-repeat: no-repeat;
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 0 0 100px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: none;
    max-width: 500px;
}

.hero-text h1 {
    font-size: 30px;
    font-weight: bold;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cta-button {
    background-color: #ff6b35;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

/* About Page Styles */
.about-page {
    padding: 60px 20px;
}

.who-we-are,
.address-section,
.mission-vision {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.address-section {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
}

.text-content h2,
.approach-section h2,
.how-it-works h2 {
    font-size: 36px;
    color: #4a7c7e;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.text-content ul {
    margin-left: 20px;
}

.text-content li {
    margin-bottom: 8px;
    font-size: 14px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Our Approach Section */
.approach-section {
    margin: 80px 0;
}

.approach-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.abcd-intro {
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

.abcd-highlight {
    background-color: #ff6b35;
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.abcd-highlight h3 {
    font-size: 14px;
    margin-bottom: 15px;
}

.abcd-highlight p {
    font-size: 14px;
}

/* How It Works Timeline */
.how-it-works {
    margin: 80px 0;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #ff6b35;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ff6b35;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 14px;
    color: #4a7c7e;
    margin-bottom: 15px;
}

.process-step ul {
    text-align: left;
    max-width: 200px;
    margin: 0 auto;
    padding-left: 20px;
}

.process-step li {
    font-size: 14px;
    margin-bottom: 8px;
    margin-left: 10px;
}

.timeline-note {
    font-size: 16px;
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 30px;
}

/* Our Work Page Styles */
.our-work-page {
    padding: 40px 20px;
}

#map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.happening-soon,
.past-events {
    margin-bottom: 60px;
}

.happening-soon h2,
.past-events h2 {
    font-size: 36px;
    color: #4a7c7e;
    margin-bottom: 30px;
}

.event-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    gap: 20px;
    position: relative;
}

.event-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.event-info {
    flex: 1;
}

.event-date {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.event-title {
    font-size: 18px;
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 8px;
}

.event-location {
    font-size: 18px;
    color: #666;
    line-height: 1.4;
}

.event-type {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.event-type.collection {
    background-color: #dc3545;
    color: white;
}

.event-type.refurbishment {
    background-color:#28a745;
    color: white;
}

.event-type.distribution {
    background-color:  #ff6b35;
    color: white;
}

.event-filters {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #ff6b35;
    background: white;
    color: #ff6b35;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #ff6b35;
    color: white;
}

.sponsors{
    padding: 10px 20px;
    text-align: center;
}

.sponsors h2 {
    font-size: 36px;
    color: #4a7c7e; 
    margin-bottom: 30px;
}

.sponsors img {
    width: 200px; 
    height: auto;
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    background: white; 
    padding: 20px;
    transition: transform 0.3s ease; 
}

.sponsors img:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
}

.sponsors-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sponsor-logo {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease;
    text-align: center;
}

.sponsor-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.sponsor-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.sponsor-logo a {
    text-decoration: none;
    display: block;
}

.sponsor-logo img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
}

.sponsor-name {
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
    color: #4a7c7e;
    font-weight: 600;
}

/* Get Involved Page Styles */
.get-involved-page {
    padding: 40px 20px;
}

.donate-toys h2 {
    font-size: 36px;
    color: #4a7c7e;
    margin-bottom: 40px;
}

.donation-images {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.donation-images img {
    width: 48%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.collection-drives {
    margin: 60px 0;
}

.collection-drives h2 {
    font-size: 36px;
    color: #4a7c7e;
    margin-bottom: 30px;
}

.upcoming-drives {
    background: white;
    padding: 60px;
    border-radius: 15px;
    text-align: center;
    border: 2px dashed #ddd;
}

.upcoming-drives p {
    font-size: 20px;
    color: #666;
}

.partnering {
    margin: 60px 0;
}

.partnering h2 {
    font-size: 36px;
    color: #4a7c7e;
    margin-bottom: 30px;
}

.partner-preferences {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.partner-preferences h3 {
    color: #4a7c7e;
    margin-bottom: 20px;
    font-size: 14px;
}

.partner-preferences ol {
    margin-left: 20px;
    margin-bottom: 30px;
}

.partner-preferences li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.partner-preferences a {
    color: #ff6b35;
    text-decoration: none;
}

.partner-preferences a:hover {
    text-decoration: underline;
}

.partner-preferences h3 {
    color: #4a7c7e;
    margin-bottom: 20px;
    font-size: 20px; 
}

.partner-preferences ol {
    margin-left: 20px;
    margin-bottom: 30px;
    font-size: 17px; /* Add font size for list */
}

.partner-preferences li {
    margin-bottom: 12px; /* Increase from 10px */
    line-height: 1.6;
    font-size: 17px; /* Make list items larger */
}

.partner-preferences p {
    font-size: 17px; /* Make paragraph text larger */
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 20px;
    text-align: center;
}

.contact-section h1 {
    font-size: 48px;
    color: #4a7c7e;
    margin-bottom: 60px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 80px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

.contact-item a:hover {
    color: #ff6b35;
}

.contact-logo {
    margin-top: 60px;
}

.contact-logo img {
    width: 200px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {

  .header .container {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .hero-content {
    padding-top: 12vh;
  }

  .nav-brand {
    gap: 15px;
    margin-left: 0;
    justify-content: center;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .brand-banner {
    height: 35px;
    margin-left: 10px;
  }

  .nav {
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
  }

  .nav a {
    font-size: 14px;
    padding: 5px 10px;
    white-space: nowrap;
  }

  .desktop-caption {
    display: none;
  }
    
  .mobile-caption {
    display: block;
    bottom: 8px;
    right: 10px;
    font-size: 7px;
    padding: 3px 6px;
  }

  .image-caption {
        font-size: 6px; 
        margin-top: 6px;
    }

  /* Fix hero section for mobile */
  .hero {
    background-image: url('images/mobile.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0; /* Remove all padding */
    min-height: 100vh; /* Full viewport height */
    height: 100vh; /* Force full height */
    width: 100vw; /* Full viewport width */
    margin-left: calc(-50vw + 50%); /* Center and extend full width */
    margin-top: 0;
    display: flex;
    align-items: center;
    position: relative;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 25px;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10vh;
    width: 100%;
    height: 100%;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.3;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  }

  .hero-caption {
        bottom: 8px;
        right: 10px;
        font-size: 7px;
        padding: 3px 6px;
    }

  .cta-button {
    font-size: 14px;
    padding: 12px 25px;
  }

  /* Fix about page sections */
  .about-page {
    padding: 60px 25px;
  }

  .who-we-are,
  .address-section,
  .mission-vision {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
  }

  .address-section {
    flex-direction: column-reverse;
}

  .text-content h2,
  .approach-section h2,
  .how-it-works h2 {
    font-size: 28px;
    text-align: center;
  }

  .text-content p {
    font-size: 16px;
    text-align: justify;
  }

  .text-content ul {
    margin-left: 15px;
  }

  .text-content li {
    font-size: 16px;
  }

  /* Fix approach section */
  .approach-section {
    margin: 50px 0;
    text-align: center;
  }

  .abcd-intro {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .abcd-highlight {
    padding: 20px;
    margin: 30px 0;
  }

  .abcd-highlight h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .abcd-highlight p {
    font-size: 16px;
  }

  /* Fix timeline */
  .how-it-works {
    margin: 50px 0;
  }

  .process-timeline {
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
  }

  .process-timeline::before {
    display: none;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin: 0 auto 15px;
  }

  .process-step h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .process-step ul {
    max-width: 100%;
    font-size: 16px;
    padding-left: 25px;
    margin: 0 auto;
  }

  .process-step li {
    font-size: 16px;
    margin-bottom: 6px;
    margin-left: 15px;
  }

  .timeline-note {
    font-size: 14px;
    margin-top: 20px;
  }

  /* Fix our work page */
  .our-work-page {
    padding: 50px 25px;
  }

  #map-container {
    height: 300px;
    margin-bottom: 30px;
  }

  .happening-soon h2,
  .past-events h2 {
    font-size: 28px;
    text-align: center;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    gap: 15px;
  }

  .event-image {
    width: 100%;
    height: 200px;
    max-width: 300px;
    align-self: center;
  }

  .event-date {
    font-size: 16px;
  }

  .event-title {
    font-size: 18px;
  }

  .event-location {
    font-size: 16px;
  }

  .event-type {
    position: static;
    align-self: center;
    margin-top: 10px;
    font-size: 12px;
    padding: 6px 15px;
  }

  .event-filters {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 11px;
  }

  .sponsors h2 {
    font-size: 28px;
    text-align: center;
  }

  .sponsors-container {
    gap: 20px;
  }

  .sponsor-logo {
    padding: 15px;
  }

  .sponsor-logo img {
    width: 120px;
  }

  /* Fix get involved page */
  .get-involved-page {
    padding: 50px 15px;
  }

  .donate-toys h2 {
    font-size: 28px;
    text-align: center;
  }

  .donation-images {
    flex-direction: column;
    gap: 20px;
  }

  .donation-images img {
    width: 100%;
  }

  .collection-drives {
    margin: 40px 0;
  }

  .collection-drives h2 {
    font-size: 28px;
    text-align: center;
  }

  .upcoming-drives {
    padding: 40px 20px;
  }

  .upcoming-drives p {
    font-size: 18px;
  }

  .partnering {
    margin: 40px 0;
  }

  .partnering h2 {
    font-size: 28px;
    text-align: center;
  }

  .partner-preferences {
    padding: 25px;
  }

  .partner-preferences h3 {
    font-size: 18px;
    text-align: center;
  }

  .partner-preferences ol {
    margin-left: 15px;
    margin-bottom: 25px;
    font-size: 16px;
  }

  .partner-preferences li {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .partner-preferences p {
    font-size: 16px;
    text-align: center;
  }

  /* Fix contact page */
  .contact-page {
    padding: 70px 15px;
  }

  .contact-section h1 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .contact-info {
    max-width: 100%;
    margin: 0 auto 50px;
  }

  .contact-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 15px;
    gap: 15px;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
  }

  .contact-item a {
    font-size: 16px;
    word-break: break-word;
  }

  .contact-logo {
    margin-top: 40px;
  }

  .contact-logo img {
    width: 150px;
  }

  /* Container padding fix */
  .container {
    padding: 0 25px;
  }
}

/* Additional small mobile fixes */
@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    height: 100vh;
  }

  .hero-caption {
        bottom: 5px;
        right: 8px;
        font-size: 6px;
        padding: 2px 5px;
    }

  .hero-text h1 {
    font-size: 20px;
  }

  .mobile-caption {
        bottom: 5px;
        right: 8px;
        font-size: 6px;
        padding: 2px 5px;
  }

  .about-page,
  .our-work-page,
  .get-involved-page {
    padding: 40px 20px; /* Add consistent padding for small screens */
  }

  .contact-page {
    padding: 60px 20px; /* Contact page gets a bit more space */
  }

  .text-content h2,
  .approach-section h2,
  .how-it-works h2,
  .happening-soon h2,
  .past-events h2,
  .sponsors h2,
  .donate-toys h2,
  .collection-drives h2,
  .partnering h2 {
    font-size: 24px;
  }

  .contact-section h1 {
    font-size: 28px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .nav {
    gap:12px;
  }

  .nav a {
    font-size: 12px;
    padding: 4px 6px;
  }

  .event-image {
    height: 150px;
  }
}