
:root {
    --color-primary: #0066cc;
    --color-primary-dark: #004d99;
    --color-secondary: #00a8e8;
    --color-text: #1a1a1a;
    --color-text-light: #4d4d4d;
    --color-background: #ffffff;
    --color-border: #e6e6e6;
    --color-hero-bg: #e8f4ff;
    --color-mission-bg: #f0f7ff;
    --color-highlights-bg: #fff6e5;
    --color-cta-bg: #e5f6ff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
}

#header {
    background: var(--color-background);
    box-shadow: var(--shadow-sm);
    height: 90px;
    display: flex;
    align-items: center;
    padding-left: 6rem;
    padding-right: 6rem;
}

#header .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-logo {
    height: 80px;
    width: auto;
    display: block;
    padding-bottom: .3rem;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-group ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#header ul li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

#header ul li a:hover {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
}

.btn-donate {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: #282452;
    color: white;
    font-weight: 600;
    border-radius: 8px  ;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-donate:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

main {
    padding-top: 0;
}

.hero {
  padding: 0;
  min-height: calc(100vh - 80px);
  position: relative;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;                     
  background: url('Images/background.jpg') center/cover no-repeat;
  filter: blur(6px);            
  transform: scale(1.03);        
  z-index: 0;
  pointer-events: none;
}


.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
               rgba(0,0,0,0.6) ,
               rgba(0,0,0,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: Merriweather, serif;
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    z-index: 2;
    color: white;    
}

.hero .lead {
    font-family: Merriweather, serif;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 800px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    z-index: 2;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

/* Primary: tinted glass look */
.btn-primary {
    background: rgba(0, 102, 255, 0.2); /* subtle blue tint */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Glowing light streak */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 125%;
}

.btn-primary:hover {
    background: rgba(0, 102, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.mission {
    min-height: 80vh;
    background: linear-gradient(145deg, rgba(8,124,201,0.6), rgba(255,255,255,0.8), rgba(255, 0, 128, 0.6));    position: relative;
    display: flex;
    align-items: center;
}

.mission .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.mission-content {
    flex: 1;
    max-width: 600px;
    color: #2c3e50;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mission-text {
    flex: 1;
}


.mission-logo img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.mission-logo img:hover {
    transform: translateY(-10px);
}

.mission-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #2c3e50;
    position: relative;
}

.mission-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.mission-content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #34495e;
    margin: 0 0 1rem;
    line-height: 1.9;
    max-width: 700px;
}

.mission-actions {
    margin-top: 3rem;
    text-align: center;
}

.highlights {
    padding: 6rem 0;
    background: linear-gradient(135deg, #25214c 0%, #382f70 50%, #25214c 100%);
    position: relative;
    color: white;
    text-align: center;
    overflow: hidden;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.highlights::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.highlights h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: white;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                     0 0 20px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.4),
                     0 0 25px rgba(255, 255, 255, 0.3);
    }
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    

    .mission-logo img {
        height: 385px;
        width: 350px;
        padding-bottom: 5rem;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding: 4rem 2rem;
        align-items: center;
        position: relative;
        z-index: 2;
        color: white;
    }

    .hero-content::before {
    content: none !important; /* Removes the pseudo-element */
    display: none !important; /* Ensures it’s not visible */
   }

    .hero-image-container {
        position: absolute;
        width: 100%;
        left: 0;
        z-index: 1;
    }

    .hero-actions {
        justify-content: center;
        margin-left: 0;
        margin-top: 2rem;
    }

    .hero-image {
        filter: brightness(0.6) blur(4px);
    }

    .hero h2 {
        color: white;
        font-size: 2.5rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .hero .lead {
        color: rgba(255,255,255,0.9);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-content {
        margin-top: 9.8rem;
        align-items: center;
        text-align: center;
    }
}

.highlight-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  min-height: 400px;
  height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    225deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 60%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover {
  transform: translateY(-10px) rotate3d(1, 1, 0, 2deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.highlight-card:hover::before {
  transform: translateX(100%) rotate(45deg);
}

.highlight-icon {
    margin-top: 1.2rem;
    font-size: 5rem;
    margin-bottom: 3.5rem;
    line-height: 1;
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.highlight-icon::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
    filter: blur(8px);
    transform: translateZ(-10px);
}

.highlight-icon::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
    filter: blur(12px);
    transform: translateZ(-5px);
}

.highlight-card:hover .highlight-icon {
    transform: translateY(-8px) translateZ(20px);
    color: white;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2),
        0 0 60px rgba(255,255,255,0.1);
}

.highlight-card:hover .highlight-icon::before,
.highlight-card:hover .highlight-icon::after {
    opacity: 1;
    transform: translateZ(0);
}

.highlight-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    transition: transform 0.4s ease;
}

.highlight-card:hover h3 {
    transform: translateZ(10px);
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    transition: transform 0.4s ease;
}

.highlight-card:hover p {
    transform: translateZ(5px);
}

.highlight-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-section {
    padding: 5rem 0;
    text-align: left;
    padding-left: 10rem;
    background: #3366ff;
    position: relative;
    color: white;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

footer {
    background: white;
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .mission .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .mission-content {
        max-width: 100%;
    }

    .mission-header {
        flex-direction: column;
        align-items: center;
    }

    .mission-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .mission-logo {
        flex: 0 0 120px;
        height: 120px;
        margin: 0 auto;
    }

    .cta-section {
        text-align: center;
        align-items: center;
        padding: 3rem 2rem;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.social-link {
    color: var(--color-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link {
    color: var(--color-text-light);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--color-text);
}

.divider {
    margin: 0 0.75rem;
    color: var(--color-border);
}

.copyright {
    color: var(--color-text-light);
}

@media (max-width: 640px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.125rem;
    }

    .mission-content h2,
    .highlights h2,
    .cta-section h2 {
        font-size: 3.2rem;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.fade-in {
    animation: fadeUp 0.6s ease forwards;
}

.hero {
    opacity: 0;
}

.hero.loaded {
    animation: scaleIn 0.8s ease forwards;
}

.hero.loaded .lead {
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero.loaded .hero-actions {
    animation: fadeUp 0.8s ease forwards 0.6s;
}


.highlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle closest-side, rgba(37, 99, 235, 0.1), transparent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.2s;
    opacity: 0;
}



.highlight-card:hover::before {
    opacity: 1;
}

#header ul li a:not(.btn-donate):hover {
	background: transparent;
	color: #007acc;
	transform: translateY(-2px);
}

#header ul li a:not(.btn-donate):hover::after,
#header ul li a:not(.btn-donate):focus::after,
#header ul li a:not(.btn-donate):focus-visible::after {
	transform: scaleX(1);
}






.action-section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10rem;
  background-color: #0044cc; /* Deep blue background */
  padding: 4rem 2rem;
  flex-wrap: wrap;
}

.action-card {
  background: rgba(255, 255, 255, 0.15); /* Transparent glass effect */
  padding: 2rem;
  width: 500px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* Soft glassy shadow */
  backdrop-filter: blur(15px); /* Frosted blur effect */
  -webkit-backdrop-filter: blur(15px); /* For Safari */
  border-radius: 20px; /* Smooth edges */
  border: 1px solid rgba(255, 255, 255, 0.18); /* Light border */
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px 0 rgba(255, 204, 0, 0.6); /* Yellowish glow on hover */
}

.action-card h2 {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Helps text pop */
}

.action-card p {
  color: #f0f0f0;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.action-link {
  text-decoration: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

/* Donate card color accents */
.donate-card .action-link {
  color: #e60073;
}

.donate-card:hover .action-link {
  color: #ff0066;
}

/* Story card color accents */
.story-card .action-link {
  color: #0044cc;
}

.story-card:hover .action-link {
  color: #0066ff;
}



.btn-primary2 {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary2 {
    background: white;
    color:var(--color-text);
    position: relative;
    overflow: hidden;
}

.btn-primary2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(99, 128, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary2:hover {
    background-color: gray;
    transform: translateY(-2px);
}

.btn-primary2:hover::before {
    transform: translateX(100%);
}

.card-group {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
}


/* Responsive layout for mobile */
@media (max-width: 768px) {
  .action-section {
    flex-direction: column;
    align-items: center;
  }

  .action-card {
    width: 100%;
    max-width: 400px;
  }
}


#header ul li a:focus-visible {
	outline: 2px solid rgba(0,122,204,0.18);
	outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {
	#header ul li a,
	#header ul li a::after,
	.btn-donate { transition: none !important; }
}

/* Active nav link underline and color */
#header ul li a.current {
    color: #25214c;
    background: none;
}
#header ul li a.current::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2em;
    height: 3px;
    border-radius: 2px;
    background: #25214c;
    transition: width 0.3s;
}
.btn-donate { font-weight: 700; }

.btn-donate {
	background: #25214c;
	color: #fff !important;
	padding: 14px 24px;
	font-size: 18px;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(0,0,0,0.14);
	transition: transform 0.12s ease, background 0.12s ease;
}

.btn-donate:hover {
	background: #005bb5;
	transform: translateY(-2px);
}

.container { padding-left: 20px; padding-right: 20px; }

@media (max-width: 768px) {
    #header {
        height: auto;
        padding: 1rem 0;
    }

    #header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .site-logo {
        height: 85px;
        width: auto;
    }

    .nav-group {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-group ul {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    #header ul li a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .btn-donate {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-group ul {
        flex-wrap: wrap;
    }

    #header ul li {
        flex: 1 1 auto;
        text-align: center;
    }

    #header ul li a {
        display: block;
        white-space: nowrap;
    }
}




.shop-section {
    height: 80vh;
    padding: 6rem 0;
    background: beige;
}

/*
.story-hero {
    background: linear-gradient(135deg, #25214c, #382f70);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('Images/news-pattern.png') center/cover;
    opacity: 0.1;
    animation: drift 30s linear infinite;
}

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

.story-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.story-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.stories-grid {
    padding: 4rem 0;
    background: #f8f9fa;
}

.stories-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.story-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease both;
    position: relative;
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(37, 33, 76, 0.9);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
    transition: transform 0.3s ease;
}

.story-card:hover .news-category {
    transform: translateY(-2px);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.story-image {
    height: 240px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 1.5rem;
}

.story-date {
    color: #666;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.story-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #25214c;
    line-height: 1.3;
}

.story-excerpt {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #25214c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.read-more:hover {
    transform: translateX(4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .story-hero h1 {
        font-size: 2.5rem;
    }
    
    .story-hero .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .stories-grid .container {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-hero h1,
    .story-hero .lead,
    .story-card {
        animation: none !important;
    }
}

*/


.shop-section h2 {
    font-family: caprasimo, sans-serif;
    font-style: bold;
    text-align: center;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 4rem;
    color: var(--color-text);
}

.shop-grid {
    display: grid;
    gap: 3rem;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.shop-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.shop-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.shop-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.shop-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.shop-item .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.shop-item .description {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.shop-item .btn-primary {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
}

.shop-item .btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-primary3 {
    background: #25214c;
    color: white;
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-section {
        height: 100%;
        padding: 4rem 0;
    }
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-section h2 {
        font-size: 2.5rem;
    }
    
    .shop-item img {
        height: 250px;
    }
}





/* Team Section */
.team-section {
    padding: 2rem 0;
    background: linear-gradient(180deg, #fbfbfe, #ffffff);
}

.team-section h2 {
    text-align: center;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}


.team-grid {
    display: block; 
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.team-card {
    width: 100vw; 
    margin-left: calc(50% - 50vw);
    border-radius: 0;
    padding: 2.5rem 0; 
    text-align: center;
    color: #fff;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

.card-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    justify-content: flex-start;
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    flex: 1 1 auto;
}

.avatar {
    width: 160px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.06));
    flex: 0 0 auto;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(.2,.9,.2,1);
    will-change: transform;
    animation: slideInLeft 700ms ease both;
}

.avatar:hover img {
    transform: scale(1.04) translateY(-4px);
}

.team-card h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
    animation: slideInRight 700ms ease both;
}

.team-card .role {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.95);
    margin-top: 0.25rem;
    font-weight: 600;
    opacity: 0.95;
    animation: slideInRight 820ms ease both;
}

.name-plate {
    margin-top: 1rem;
    width: auto;
    background: rgba(255,255,255,0.12);
    padding: 0.45rem 0.8rem;
    border-radius: 10px;
    font-weight: 700;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.name-plate::after {
    content: '';
    position: absolute;
    left: -40%;
    top: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    transform: skewX(-20deg);
    transition: left 0.9s ease;
}

.team-card:hover .name-plate::after {
    left: 110%;
}

@keyframes slideInLeft {
    from { transform: translateX(-30px) scale(0.98); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 640px) {
    .card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .card-info { align-items: center; }

    .avatar { width: 180px; height: 180px; }

    .team-card h3, .team-card .role { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    .avatar img, .team-card h3, .team-card .role { animation: none !important; transition: none !important; }
    .name-plate::after { transition: none !important; }
}

/* Complementary color variants */
.team-card--1 { background: linear-gradient(135deg, #0074D9 0%, #00A8E8 100%); }
.team-card--2 { background: linear-gradient(135deg, #FF7A7A 0%, #FFB199 100%); }
.team-card--3 { background: linear-gradient(135deg, #7AE7C7 0%, #3FC1A9 100%); }
.team-card--4 { background: linear-gradient(135deg, #B39DDB 0%, #7C5CFF 100%); }

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; }
    .avatar { width: 160px; height: 160px; }
    .team-card { min-height: auto; padding-bottom: 1.25rem; }
    .team-section h2 { font-size: 2rem; }
}

.team-card:nth-child(even) .card-inner {
    flex-direction: row-reverse;
}

.team-card:nth-child(even) .card-info {
    text-align: right;
    align-items: flex-end;
}

/* For small screens, keep everything centered */
@media (max-width: 640px) {
    .team-card:nth-child(even) .card-inner {
        flex-direction: column;
    }

    .team-card:nth-child(even) .card-info {
        text-align: center;
        align-items: center;
    }
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 1rem;
}

.social-icons img {
  width: 100%;
  height: 250px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: brightness(1.3);
}

/* 🌀 Alternate card layout */
.team-card:nth-child(even) .card-inner {
  flex-direction: row-reverse;
}

/* Mobile fix */
@media (max-width: 640px) {
  .card-inner {
    flex-direction: column !important;
    text-align: center;
  }

  .social-icons {
    order: 4; /* 👈 put icons last */
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
  }

  .avatar, .card-info {
    order: unset;
  }
}


