* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
background: #fff;
line-height: 1.6;
}
/* Header / Navbar */
.header {
position: sticky;
top: 0;
background: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 30px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
z-index: 1000;
}
.logo {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
font-size: 24px;
color: #2a5d9f;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 20px;
}
.nav-links a {
text-decoration: none;
color: #2a5d9f;
font-weight: 600;
}
.nav-links a:hover {
color: #000000;
background-color: #f9f9f9;
transition: background 0.3s, color 0.3s;
}
/* Hamburger */
.hamburger {
display: none;
font-size: 28px;
cursor: pointer;
}
/* Dropdown Container */
.dropdown {
position: relative;
}
/* Dropdown Toggle */
.dropdown > a {
cursor: pointer;
}
/* Dropdown Menu */
.dropdown-menu {
padding: 30px 0px;  
max-width: 25vw;
overflow-x: auto;
display: none;
position: fixed;     
top: 45px;           
right: 0;          
background: #ffffff;
min-width: 70px;
list-style: none;
}
.dropdown-menu li a {
display: block;
text-align: left;
color: #333;
text-decoration: none;
font-weight: 500;
}
.nav-links .dropdown:last-child .dropdown-menu {
left: auto;
right: 0;
}
.dropdown-menu li a {
display: block;
padding: 10px 20px;
color: #333;
text-decoration: none;
font-weight: 500;
transition: 0.3s; 
}
.dropdown-menu li a {
font-weight: 600;        
font-family: inherit;   
color: #2a5d9f;         
text-decoration: none;   
transition: 0.3s;        
}
.dropdown-menu li a:hover {
color: #000000;    
background: #f9f9f9;
}
.dropdown-menu.open {
display: block;
}
/* Hero Section */
.hero {
height: 60vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #ffffff;
padding: 0 20px;
}
.hero h1 {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
font-size: 48px;
margin-bottom: 20px;
text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.hero p {
font-size: 24px;
margin-bottom: 30px;
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.hero .hero-buttons .btn {
padding: 12px 25px;
margin: 5px;
border-radius: 25px;
background: #2a5d9f;
color: #ffffff;
text-decoration: none;
font-weight: 600;
transition: 0.3s;
}
.hero .hero-buttons .btn:hover {
background: #6a1b9a;
}
.hero .hero-content {
padding: 50px 20px;
}
#hero-index { background: url('images/heroindex.jpg') center/cover no-repeat; }
#hero-dogs { background: url('/images/herodogs.jpg') center/cover no-repeat; }
#hero-contact { background: url('images/herocontact.jpg') center/cover no-repeat; }
#hero-adopt { background: url('images/heroadopt.jpg') center/cover no-repeat; }
#hero-surrender { background: url('images/surrender.jpg') center/cover no-repeat; }
#hero-about { background: url('images/heroabout.jpg') center/cover no-repeat; }
#hero-support { background: url('images/herosupport.jpg') center/cover no-repeat; }
#hero-news { background: url('images/heronews.jpg') center/cover no-repeat; }
/* Dogs Section */
.dogs-section {
padding: 60px 20px;
background: #f9f9f9;
text-align: center;
}
.dogs-section h2 {
color: #2a5d9f;
font-family: 'Montserrat', sans-serif;
margin-bottom: 10px;
font-size: 36px;
}
.dogs-section p {
margin-bottom: 40px;
font-size: 18px;
}
.dog-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;

}
.dog-card {
background: #ffffff;
border-radius: 15px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
padding: 15px;
transition: 0.3s;	
}
.dog-card:hover {
transform: scale(1.03);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.dog-card img {
width: 100%;
border-radius: 10px;
margin-bottom: 10px;
max-height: 600px;
height:auto;
object-fit:cover;
}
.dog-card h3 {
color: #2a5d9f;
margin-bottom: 5px;
}
.dog-card p {
font-size: 16px;
margin-bottom: 10px;
}
.dog-card .btn {
display: inline-block;
text-decoration: none;
color: #ffffff;
background: #6a1b9a;
padding: 8px 20px;
border-radius: 20px;
font-weight: 600;
transition: 0.3s;
}
.dog-card .btn:hover {
background: #2a5d9f;
}
/* Mission Section */
.mission-section {
padding: 60px 20px;
background: #ffffff;
text-align: center;
}
.mission-section h2 {
color: #2a5d9f;
font-size: 36px;
margin-bottom: 20px;
}
.mission-section p {
font-size: 18px;
margin-bottom: 20px;
}
.mission-section .btn {
padding: 10px 25px;
border-radius: 25px;
background: #2a5d9f;
color: #ffffff;
text-decoration: none;
font-weight: 600;
transition: 0.3s;
}
.mission-section .btn:hover {
background: #6a1b9a;
}
/* CTA Section */
.cta-section {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
padding: 40px 20px;
background: #f0f0f0;
}
.cta-section .btn {
padding: 15px 25px;
border-radius: 25px;
font-weight: 600;
color: #ffffff;
background: #2a5d9f;
text-decoration: none;
transition: 0.3s;
}
.cta-section .btn.btn-purple {
background: #6a1b9a;
}
.cta-section .btn:hover {
opacity: 0.85;
}
/* Updates Section */
.updates-section {
padding: 60px 20px;
text-align: center;
}
.updates-section h2 {
color: #2a5d9f;
font-size: 36px;
margin-bottom: 30px;
}
.update-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.update-card {
background: #ffffff;
padding: 20px;
border-radius: 15px;
box-shadow: 0 3px 12px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.update-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.update-card img {
width: 100%;
border-radius: 10px;
margin-bottom: 15px;
height:auto;
max-height: 600px; 
object-fit: cover;
}
.update-card h3 {
color: #2a5d9f;
margin-bottom: 10px;
}
.update-card p {
font-size: 16px;
margin-bottom: 15px;
}
.update-card .btn {
background: #6a1b9a;
color: #ffffff;
text-decoration: none;
padding: 8px 20px;
border-radius: 20px;
font-weight: 600;
transition: 0.3s;
}
.update-card .btn:hover {
background: #2a5d9f;
}
/* Footer */
.footer {
background: #2a5d9f; 
color: #ffffff;
padding: 40px 20px;
}
.footer-content {
display: flex;
text-align: center;
justify-content: space-between;
flex-wrap: wrap;
margin-bottom: 20px;
}
.footer-contact p {
margin: 5px 0;
}
.social-icons img {
width: 30px;
margin-right: 10px;
justify-content: center;
}
.footer .copyright {
text-align: center;
font-size: 14px;
}
.about-mission {
padding: 60px 20px;
background: #ffffff;
text-align: center;
}
.about-mission h2 {
color: #2a5d9f;
font-family: 'Montserrat', sans-serif;
font-size: 36px;
margin-bottom: 20px;
}
.about-mission p {
font-size: 18px;
margin-bottom: 15px;
}
.how-we-work {
padding: 60px 20px;
background: #f9f9f9;
text-align: center;
}
.work-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-top: 40px;
}
.work-card {
background: #ffffff;
border-radius: 15px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
padding: 20px;
transition: 0.3s;
}
.work-card img {
width: 60px;
margin-bottom: 15px;
}
.work-card h3 {
color: #2a5d9f;
margin-bottom: 10px;
}
.work-card p {
font-size: 16px;
}
/* Dogs Page */
.dogs-page {
padding: 60px 20px;
text-align: center;
}
.dogs-page h2 {
color: #2a5d9f;
font-family: 'Montserrat', sans-serif;
font-size: 36px;
margin-bottom: 40px;
}
.dog-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}
.dog-card {
background: #ffffff;
border-radius: 15px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
padding: 20px;
transition: 0.3s;
}
.dog-card img {
width: 100%;
height: 600px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 10px;
}
.dog-card h3 {
color: #2a5d9f;
margin-bottom: 5px;
}
.dog-card p {
font-size: 16px;
margin-bottom: 10px;
}
.dog-card .btn {
text-decoration: none;
color: #ffffff;
background: #6a1b9a;
padding: 10px 20px;
border-radius: 25px;
font-weight: 600;
transition: 0.3s;
}
.dog-card .btn:hover {
background: #2a5d9f;
}
.donate-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
padding: 3rem 2rem;
max-width: 1100px;
margin: auto;
}
.donate-card {
background: #fff;
border-radius: 20px;
padding: 2rem;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.donate-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.donate-card h2 {
color: #7b4ebc;
margin-bottom: 0.8rem;
}
.donate-card p {
color: #444;
line-height: 1.6;
margin-bottom: 1.5rem;
}
.form {
background-color: #f9f9f9;
}
.btn {
background: #7b4ebc;
color: #fff;
padding: 0.8rem 1.6rem;
border-radius: 25px;
text-decoration: none;
font-weight: 600;
transition: background 0.3s;
}
.btn:hover {
background: #5e38a3;
}
.center {
text-align: center;
margin-left: auto;
margin-right: auto;
}
.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
padding: 3rem 2rem;
max-width: 1100px;
margin: auto;
}
.contact-card {
background: #fff;
border-radius: 20px;
padding: 2rem;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.contact-card h2 {
color: #7b4ebc;
margin-bottom: 0.8rem;
}
.contact-card p {
color: #444;
line-height: 1.6;
}
.process-card {
background: #f9f9f9;
border: 1px solid #e2d6f3;
border-radius: 12px;
padding: 1.8rem;
margin: 1.5rem auto; 
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
width: 60%; 
text-align: center; 
justify-content: center;
}
.process-card h2 {
color: #7b4ebc;
margin-bottom: 0.8rem;
}
.process-card p {
margin: 0.6rem 0;
line-height: 1.6;
}
#bank-details {
background: #f3f0f8; 
border: 1px solid #d1c4e9; 
border-radius: 15px;
padding: 15px 20px;
margin-top: 15px;
color: #333;
font-size: 16px;
line-height: 1.6;
transition: all 0.3s ease;
}
#bank-details:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
#bank-details.collapsed {
max-height: 0;
padding: 0;
margin-top: 0;
overflow: hidden;
}
/* About Section */
.about-section {
max-width: 1100px;
margin: 0 auto;
padding: 80px 20px;
font-family: 'Open Sans', sans-serif;
}
.about-container:nth-child(odd) { background: #f9f6ff; }
.about-container:nth-child(even) { background: #f9f9f9; }
.about-section h2 {
text-align: center;
font-size: 2.5rem;
color: #4B2E83;
font-weight: 700;
margin-bottom: 60px;
font-family: 'Montserrat', sans-serif;
}
.about-container {
background: #fff;
border-radius: 20px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
margin-bottom: 50px;
padding: 30px;
transition: all 0.3s ease;
overflow: hidden; 
}
.about-container:nth-child(even) {
flex-direction: row-reverse;
}
.about-image {
flex-shrink: 0;
width: 350px;
height: 250px;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}
.about-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.about-text {
flex: 1;
}
.about-text h3 {
font-size: 1.8rem;
color: #4B2E83;
margin-bottom: 15px;
font-family: 'Montserrat', sans-serif;
font-weight: 600;
}
.about-text p {
font-size: 1.05rem;
line-height: 1.7;
color: #333;
}
.about-container:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #fff;
}

/* Each slide */
.slide {
  display: none;
  text-align: center;
  padding: 20px;
  animation: fadeEffect 1s ease;
}
.slide.active {
  display: block;
  opacity: 1;
}


.slide img {
  width: 90%;
  height: 500px;     /* keeps consistent desktop height */
  object-fit: cover;     /* fills the frame without distortion */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 2.5px solid #6a1b9a;
}

/* Text content */
.slide .text {
  color: #333;
}
.slide h3 {
  color: #5a3fa0;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.slide p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Nav arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  color: #fff;
  background-color: rgba(90, 63, 160, 0.8);
  border-radius: 50%;
  font-size: 20px;
  transition: background 0.3s;
}
.prev:hover, .next:hover {
  background-color: rgba(90, 63, 160, 1);
}
.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.dots {
  text-align: center;
  margin-top: 15px;
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}
.dot.active, .dot:hover {
  background-color: #5a3fa0;
}

/* Animation */
@keyframes fadeEffect {
  from { opacity: 0.3; }
  to { opacity: 1; }
}
/* Responsive adjustments */
@media (max-width: 1200px) {
.dog-cards,
.work-cards {
grid-template-columns: repeat(2, 1fr);
}
.update-cards {
grid-template-columns: 1fr;
}
}
@media (max-width: 992px) {
.process-card,
.contact-card,
.donate-card {
width: 80%;
margin: 1.5rem auto; 
}
}
@media (max-width: 900px) {
.about-container {
flex-direction: column;
text-align: center;
padding: 25px;
}
.about-container:nth-child(even) {
flex-direction: column;
}
.about-image {
width: 100%;
height: auto;
max-width: 500px;
}
.about-image img {
height: auto;
}
.about-text h3 {
font-size: 1.5rem;
}
.about-text p {
font-size: 1rem;
}
}
@media (max-width: 768px) {
/* Layout Adjustments */
.dog-cards,
.work-cards {
grid-template-columns: 1fr;
}
.cta-section {
flex-direction: column;
align-items: center;
}
/* Navigation */
.hamburger {
display: block;
}
.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 60px;
right: 0;
background: #fff;
width: 130px;
padding: 20px;
text-align:center;
}
.nav-links.open {
display: flex;
}
.nav-links li {
margin: 15px 0;
}
/* Dropdown Adjustments */
.dropdown-menu {
position: static;
box-shadow: none;
background: transparent;
    padding: 5px 0; 
}
.dropdown-menu li a { 
text-align:left;
padding: 8px 10px;
}
/* Footer */
.footer {
text-align: center;
}
.footer .footer-content {
flex-direction: column;
align-items: center;
}
/* Desktop Only (Hover Dropdown) */
@media (min-width: 769px) {
.dropdown:hover .dropdown-menu {
display: block;
}
}

/* ✅ Mobile slideshow fixes */
@media (max-width: 768px) {
.slideshow-container {
width: 100%;
overflow: hidden;
border-radius: 0;
position: relative;
}

.slide {
padding: 15px;
text-align: center;
}

.slide img {
width: 100%;
height: 350px;         /* fixed frame height for mobile consistency */
object-fit: cover;     /* crops nicely */
border-radius: 10px;
display: block;
}

.slide h3 {
font-size: 1.2rem;
margin-top: 10px;
}

.slide p {
font-size: 0.9rem;
line-height: 1.4;
}

/* ✅ Navigation arrows fixed position */
.prev, .next {
font-size: 16px;
padding: 8px;
top: 45%;              /* lower slightly for smaller screens */
transform: translateY(-50%);
}
}

}