/* Custom Variables */
:root {
    --primary: #ff5722;
    --primary-dark: #e64a19;
    --primary-light: #ffccbc;
    --secondary: #455a64;
    --accent: #ff9800;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
}

/* Primary Background Classes */
.bg-primary-custom {
    background-color: var(--primary) !important;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
}


.fh5co-cover,
.fh5co-hero {
  position: relative;
  height: 800px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .fh5co-cover,
  .fh5co-hero {
    height: 700px;
  }
}
.fh5co-cover.fh5co-hero-2,
.fh5co-hero.fh5co-hero-2 {
  height: 600px;
}
.fh5co-cover.fh5co-hero-2 .fh5co-overlay,
.fh5co-hero.fh5co-hero-2 .fh5co-overlay {
  position: absolute !important;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
}

.fh5co-overlay {
  position: absolute !important;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background: rgba(66, 64, 64, 0.9);
  background: rgba(0, 0, 0, 0.2);
}

.fh5co-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  position: relative;
}
@media screen and (max-width: 768px) {
  .fh5co-cover {
    height: inherit;
    padding: 3em 0;
  }
}
.fh5co-cover .btn {
  padding: 1em 2em;
  opacity: .9;
}
.fh5co-cover.fh5co-cover_2 {
  height: 600px;
}
@media screen and (max-width: 768px) {
  .fh5co-cover.fh5co-cover_2 {
    height: inherit;
    padding: 3em 0;
  }
}
.fh5co-cover .desc {
  top: 50%;
  position: absolute;
  width: 100%;
  margin-top: -80px;
  z-index: 2;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .fh5co-cover .desc {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.fh5co-cover .desc h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: 60px;
  margin-bottom: 10px;
  font-weight: 300 !important;
}
.fh5co-cover .desc h2 strong {
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .fh5co-cover .desc h2 {
    font-size: 40px;
  }
}
.fh5co-cover .desc span {
  display: block;
  margin-bottom: 30px;
  font-size: 28px;
  letter-spacing: 1px;
}
.fh5co-cover .desc span a {
  color: #fff;
}
.fh5co-cover .desc span a:hover, .fh5co-cover .desc span a:focus {
  color: #fff !important;
}
.fh5co-cover .desc span a:hover.btn, .fh5co-cover .desc span a:focus.btn {
  border: 2px solid #fff !important;
  background: transparent !important;
}
.fh5co-cover .desc span a.fh5co-site-name {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

/* Hero Section */
.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 75vh;
    position: relative;
}

/* Fallback for missing background images */
.hero-section:empty,
.fh5co-cover[style*="background-image"] {
    background-color: #f0f0f0;
}

/* Image placeholder styles */
img[src*="placeholder"],
img.placeholder-image {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    object-fit: cover;
}

/* Handle broken images */
img {
    object-fit: cover;
}

img[src=""],
img:not([src]) {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    min-height: 100px;
    display: inline-block;
}

/* Card images with placeholders */
.card-img-top.placeholder-image {
    min-height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 87, 34, 0.8), rgba(255, 87, 34, 0.9));
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
    color: #333 !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary);
    padding-bottom: calc(0.5rem - 2px) !important;
    font-weight: 600;
}

/* Impact Stats */
.impact-stat {
    transition: transform 0.3s ease;
}

.impact-stat:hover {
    transform: translateY(-5px);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Utility Classes */
.min-vh-75 {
    min-height: 75vh;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Donation Form Styles */
.donation-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.donation-amount {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.donation-amount button {
    padding: 1rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.donation-amount button:hover,
.donation-amount button.active {
    background: var(--primary);
    color: white;
}

/* Payment Gateway Integration Styles */
.payment-methods {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.payment-method {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method.active {
    border-color: var(--primary);
    background: rgba(44, 62, 80, 0.05);
}

/* Update other elements that use primary color */
.impact-stat .display-4 {
    color: var(--primary);
}

.event-date .bg-primary {
    background-color: var(--primary) !important;
}

/* Update social media icons */
.social-icon:hover {
    color: var(--primary);
}

/* Update form elements */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.25);
}

/* Update custom elements */
.hero-overlay {
    background: linear-gradient(rgba(255, 87, 34, 0.8), rgba(255, 87, 34, 0.9));
}

/* Update button variations */
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Update card highlights */
.card .fa-check {
    color: var(--primary);
}

/* Update section backgrounds */
.bg-primary-light {
    background-color: var(--primary-light);
}

/* Update text highlights */
.highlight {
    color: var(--primary);
}

/* Update borders */
.border-primary {
    border-color: var(--primary) !important;
}

/* Update shadows */
.shadow-primary {
    box-shadow: 0 0.5rem 1rem rgba(255, 87, 34, 0.15);
}

/* Update gradients */
.gradient-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
}

/* Update animations */
@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

/* Animate-box styles - hide initially when JS is enabled */
.js .animate-box {
    opacity: 0;
}

/* Animated class */
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* fadeInUp animation */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
} 