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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4a5bc4 0%, #5a3a82 100%);
    overflow-x: hidden;
}

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

/* Animated Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #4ecdc4;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #4a5bc4 0%, #5a3a82 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Robot Animation */
.robot {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    animation: robotMove 4s ease-in-out infinite;
    z-index: 1;
}

.robot-body {
    width: 60px;
    height: 80px;
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    border-radius: 10px;
    margin: 0 auto 10px;
    position: relative;
}

.robot-head {
    width: 50px;
    height: 40px;
    background: #ff6b6b;
    border-radius: 15px;
    margin: 0 auto 5px;
    position: relative;
}

.robot-eyes {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    display: flex;
    justify-content: space-between;
}

.eye {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    animation: blink 3s infinite;
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0; }
}

.robot-arms {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 40px;
    background: #45b7d1;
    border-radius: 10px;
}

.robot-arms.left {
    left: -25px;
    animation: wave 2s ease-in-out infinite;
}

.robot-arms.right {
    right: -25px;
    animation: wave 2s ease-in-out infinite reverse;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(30deg); }
}

@keyframes robotMove {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

.section-white {
    background: white;
}

.section-light {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #4a5bc4 0%, #5a3a82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-donate {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Mission Section */
.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

/* Founder Section Styles */
.founder-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.founder-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.founder-image {
    flex: 0 0 30%;
    min-width: 250px;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.founder-image img:hover {
    transform: scale(1.05);
}

.founder-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
    background: linear-gradient(135deg, #4a5bc4 0%, #5a3a82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-title {
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-bio {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.founder-bio p {
    margin-bottom: 1.25rem;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Founder Section */
@media (max-width: 968px) {
    .founder-container {
        flex-direction: column;
        padding: 2rem;
    }

    .founder-image {
        flex: 0 0 auto;
        min-width: auto;
        width: 60%;
        max-width: 350px;
        margin: 0 auto 2rem;
    }

    .founder-content {
        text-align: center;
    }

    .founder-name {
        font-size: 1.75rem;
    }

    .founder-title {
        font-size: 1rem;
    }

    .founder-bio {
        text-align: left;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .founder-container {
        padding: 1.5rem;
    }

    .founder-image {
        width: 80%;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .founder-bio {
        font-size: 0.95rem;
    }
}

/* Team Section Styles */
.team-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem; 
    font-size: 2rem;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.team-name a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.team-name a:hover {
    color: #4ecdc4;
}

.team-name a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transition: width 0.3s ease;
}

.team-name a:hover::after {
    width: 100%;
}

.team-title {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: #555;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 768px) {
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 1.5rem;
    }
}

/* Programs Section */
.programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem; 
    font-size: 1.5rem;
}

.program-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.program-description {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Donation Section */
.donation-section {
    background: linear-gradient(135deg, #4a5bc4 0%, #5a3a82 100%);
    color: white;
    text-align: center;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.donation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.donation-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.donation-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.donation-impact {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.contact-card {
    background: linear-gradient(135deg, #4a5bc4 0%, #5a3a82 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

/* Contact Form Section Styles */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    background: white;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

.form-submit .cta-button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

/* Success Message */
.contact-success {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-success h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4a5bc4 0%, #5a3a82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-success p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-submit .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .contact-success h3 {
        font-size: 1.5rem;
    }
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 2rem 0;
}

/* Two-column responsive layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;      /* mobile: stack */
  gap: 2rem;
  align-items: start;
}

/* Tablet & up: two columns */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* left | right */
  }
}

/* Desktop: a bit more breathing room */
@media (min-width: 1024px) {
  .footer-grid {
    gap: 3rem;
  }
}

/* Column content */
.footer-left {
  text-align: center; /* always centered */
}
.footer-right {
  text-align: center; /* mobile default */
}

/* Right side (contact) */
.footer-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #fff;
}

.footer-subtitle {
  margin: 0 0 1.25rem 0;
  font-size: 1.05rem;
  color: #ccc;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* evenly space the individual contact items vertically */
  align-items: center;
  gap: 0.5rem;
  flex: 1; /* take remaining vertical space inside .footer-right */
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  line-height: 1.4;
}

/* Ensure columns stretch to same height and provide vertical room (tablet/desktop) */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;    /* mobile: single column stack */
  gap: 2rem;
  align-items: stretch;         /* important: make columns equal height */
  min-height: auto;             /* default for mobile */
}

/* --- RIGHT COLUMN: vertically center & evenly space items --- */
.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* evenly space vertically */
  align-items: center;           /* center on mobile by default */
  text-align: center;            /* center text on mobile */
  height: 100%;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .footer-links li {
    justify-content: flex-start; /* left-align on larger screens */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* left | right */
    min-height: 220px;             /* adjust this value to taste */
  }
  .footer-right {
    text-align: left;
    align-items: flex-start; /* ensures list items & text actually line up to the left */
  }
}

.footer-icon {
  font-size: 1.1rem;
}

/* Links inside footer */
footer a {
  color: #ddd;
  text-decoration: none;
}
footer a:hover,
footer a:focus {
  color: #fff;
  text-decoration: underline;
}
/* Mobile (stacked) behaviour — make it tighter and centered */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; min-height: auto; }
  .footer-right {
    justify-content: center; /* center items vertically in the smaller footer */
    padding: 0.75rem 0;
  }
  .footer-links {
    flex-direction: column;
    justify-content: center;
    flex: unset; /* don't force big vertical spacing on small screens */
  }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs {
        grid-template-columns: 1fr;
    }

    .donation-options {
        grid-template-columns: 1fr;
    }
    
    .robot {
        bottom: 3%;
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
    
    .robot {
        bottom: 2%;
        width: 80px;
        height: 80px;
    }
}

/* Interactive Elements */
.interactive-btn {
    position: relative;
    overflow: hidden;
}

.interactive-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.interactive-btn:hover::before {
    left: 100%;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}