/* ========================================
   YAUMINA WEBSITE - MAIN STYLESHEET
   Based on GSM YAUMINA Brand Guidelines
   ======================================== */

/* ===================
   ROOT VARIABLES 
   =================== */
:root {
  /* Primary Colors from GSM */
  --primary-green: #006838;  /* Dark Green - Islamic identity */
  --accent-yellow: #D7DF23;  /* Yellow-Green - Innovation */
  
  /* Secondary Colors */
  --dark-green: #004225;     /* Darker variant */
  --light-green: #4A9B6F;    /* Lighter variant */
  --soft-yellow: #E8F06A;    /* Softer yellow */
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --gray: #757575;
  --dark-gray: #424242;
  --black: #212121;
  
  /* Functional Colors */
  --success: #43A047;
  --warning: #FB8C00;
  --danger: #E53935;
  --info: #1E88E5;
  
  /* Typography */
  --font-primary: 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Montserrat', 'Trebuchet MS', sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* ===================
   RESET & BASE 
   =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===================
   TYPOGRAPHY 
   =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--black);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
}

.text-primary {
  color: var(--primary-green);
}

.text-accent {
  color: var(--accent-yellow);
}

.arabic-text {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
  line-height: 1.8;
  direction: rtl;
  text-align: right;
}

/* ===================
   LAYOUT COMPONENTS 
   =================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-gray {
  background-color: var(--light-gray);
}

/* ===================
   HEADER & NAVIGATION 
   =================== */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* New Header Top Bar Green */
.header-top-green {
    background: var(--primary-green);
    padding: 12px 0;
    font-size: 0.9rem;
}

.header-top-green .container {
    display: flex;
    justify-content: center;
}

.top-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-contact {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.top-contact:hover {
    opacity: 0.8;
}

.top-contact i {
    font-size: 0.85rem;
}

/* White Navigation Header */
.header-white {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-clean {
    padding: 15px 0;
}

.navbar-clean .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand-clean {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand-text h1 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-text span {
    display: block;
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    margin-top: 2px;
}

.navbar-menu-clean {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-menu-clean li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.navbar-menu-clean li a:hover,
.navbar-menu-clean li a.active {
    color: var(--primary-green);
}

/* Old header styles */
.header-top {
  background-color: var(--primary-green);
  color: var(--white);
  padding: var(--spacing-xs) 0;
  font-size: 0.875rem;
}

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

.header-contact {
  display: flex;
  gap: var(--spacing-lg);
}

.header-contact a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.header-contact a:hover {
  color: var(--accent-yellow);
}

.navbar {
  padding: var(--spacing-md) 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: var(--spacing-md);
}

.navbar-logo {
  height: 50px;
  width: auto;
}

.navbar-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.navbar-title h1 {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin: 0;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.navbar-title span {
  font-size: 0.75rem;
  color: var(--gray);
  font-family: var(--font-primary);
  white-space: nowrap;
  margin-top: 2px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-menu a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  padding: var(--spacing-md) var(--spacing-lg);
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary-green);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--accent-yellow);
  transition: width var(--transition-fast);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 40px;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-green);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* ===================
   HERO MODERN SECTION 
   =================== */
.hero-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 50%, #e8f5f0 100%);
    padding: 40px 0 60px;
    min-height: calc(100vh - 140px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-yellow), #ffeb3b);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-green), #4caf50);
    top: 50%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.hero-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
    gap: 60px;
}

.hero-left {
    flex: 1;
    padding: 40px 0;
    z-index: 2;
    animation: slideInLeft 1s ease;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.hero-title .text-white {
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 35px;
    font-weight: 400;
}

.btn-hero-primary {
    background: #8BC34A;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-primary:hover {
    background: #7CB342;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: white;
    color: var(--primary-green);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.hero-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 500px;
    height: 500px;
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% 40% 60% 30% / 60% 50% 40% 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

/* Old Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D7DF23' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-text .highlight {
  color: var(--accent-yellow);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  margin-top: 25px;
}

/* Modern Hero Additions */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 800;
}

.highlight-text {
    color: var(--primary-green);
    display: inline;
    font-weight: 800;
}

.accent-text {
    color: var(--accent-yellow);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    display: inline;
    font-weight: 800;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-badge i {
    color: var(--accent-yellow);
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border-radius: 50% 40% 60% 30% / 60% 50% 40% 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    opacity: 0.1;
    animation: morphing 10s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    right: 20px;
    background: white;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

.floating-card i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

.floating-card span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-stats {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: var(--spacing-2xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-green);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray);
}

/* ===================
   BUTTONS 
   =================== */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-primary);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--primary-green);
  border-color: var(--accent-yellow);
}

.btn-primary:hover {
  background-color: var(--soft-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-green);
}

.btn-green {
  background-color: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.btn-green:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===================
   CARDS 
   =================== */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
  color: var(--primary-green);
}

.card-icon.accent {
  background-color: rgba(215, 223, 35, 0.1);
  color: var(--accent-yellow);
}

.card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-green);
}

.card p {
  color: var(--gray);
  margin-bottom: var(--spacing-md);
}

.card-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: var(--spacing-sm);
}

/* ===================
   SERVICE PILLARS 
   =================== */
.services {
  padding: var(--spacing-3xl) 0;
  background-color: var(--light-gray);
}

/* Modern Pillars Section */
.pillars-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.pillar-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-10px);
}

.pillar-shape {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.shape-education {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50% 40% 60% 30% / 60% 50% 40% 50%;
}

.shape-dakwah {
    background: linear-gradient(135deg, var(--accent-yellow), #D7DF23);
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 40%;
}

.shape-empowerment {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-yellow));
    border-radius: 60% 40% 30% 70% / 40% 60% 70% 30%;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.pillar-icon i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.pillar-content h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pillar-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pillar-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #f0f4f0;
    color: var(--dark-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--primary-green);
    color: white;
}

.pillar-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.pillar-link:hover {
    gap: 1rem;
}

/* Programs Showcase Section */
.programs-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.program-showcase-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.program-showcase-item.reverse {
    flex-direction: row-reverse;
}

.program-image-wrapper {
    flex: 0 0 400px;
    height: 320px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.shape-round-left {
    border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%;
}

.shape-round-right {
    border-radius: 40% 60% 70% 30% / 30% 50% 50% 70%;
}

.shape-round-left-2 {
    border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
}

.program-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    flex: 1;
}

.program-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.program-badge.blue {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
}

.program-badge.orange {
    background: linear-gradient(135deg, #FFA726, #FB8C00);
}

.program-badge i {
    font-size: 1.5rem;
    color: white;
}

.program-content h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.program-highlights {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-item i {
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

.highlight-item span {
    color: var(--dark-gray);
    font-weight: 500;
}

.btn-program {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-program:hover {
    background: var(--dark-green);
    gap: 12px;
}

/* Modern Programs Section - Old Style */
.programs-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

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

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

.program-shape {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shape-wave {
    background: linear-gradient(135deg, #8BC34A, #689F38);
    border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}

.shape-blob {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-organic {
    background: linear-gradient(135deg, #FFA726, #FB8C00);
    border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
}

.program-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-icon i {
    font-size: 1.8rem;
    color: var(--primary-green);
}

.program-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.program-info p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.program-link:hover {
    gap: 1rem;
}

/* Old Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.service-card {
  background-color: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow));
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-md);
}

.service-list {
  list-style: none;
  text-align: left;
  margin-top: var(--spacing-lg);
}

.service-list li {
  padding: var(--spacing-xs) 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.service-list li::before {
  content: '✓';
  color: var(--accent-yellow);
  font-weight: bold;
}

/* ===================
   NEWS SECTION 
   =================== */
.news {
  padding: var(--spacing-3xl) 0;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
}

/* Modern News Section */
.news-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.news-featured {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.news-featured:hover {
    transform: translateY(-5px);
}

.featured-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured:hover .featured-image-wrapper img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-content {
    padding: 2rem;
}

.featured-content h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin: 1rem 0;
    line-height: 1.3;
}

.featured-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

.news-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item-modern {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.news-item-modern:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.news-thumb {
    flex: 0 0 120px;
    height: 100px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.mini-badge.dakwah {
    background: var(--accent-yellow);
    color: var(--dark-gray);
}

.mini-badge.empowerment {
    background: #FF6B6B;
}

.mini-badge.education {
    background: var(--primary-green);
}

.news-info {
    flex: 1;
}

.news-info h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin: 0.5rem 0;
    line-height: 1.3;
}

.news-info p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.news-date-small {
    color: #999;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-arrow {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link-arrow:hover {
    gap: 10px;
}

/* Old News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.news-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: var(--spacing-lg);
}

.news-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--gray);
}

.news-category {
  color: var(--primary-green);
  font-weight: 600;
}

.news-title {
  color: var(--black);
  margin-bottom: var(--spacing-sm);
  font-size: 1.125rem;
}

.news-excerpt {
  color: var(--gray);
  margin-bottom: var(--spacing-md);
}

/* ===================
   PROGRAM UNGGULAN MODERN
   =================== */
.program-unggulan-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
}

.program-unggulan-modern .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.program-unggulan-modern h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.program-unggulan-modern .subtitle {
    font-size: 1.1rem;
    color: #666;
}

.programs-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.program-item.reverse {
    flex-direction: row-reverse;
}

.program-image-wrapper {
    flex: 0 0 400px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.program-image-wrapper.shape-left {
    border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%;
    transform: rotate(-2deg);
}

.program-image-wrapper.shape-right {
    border-radius: 40% 60% 45% 55% / 60% 45% 55% 40%;
    transform: rotate(2deg);
}

.program-image-wrapper img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    transform: rotate(2deg) scale(1.1);
    transition: transform 0.5s ease;
}

.program-item:hover .program-image-wrapper img {
    transform: rotate(0) scale(1.05);
}

.program-content {
    flex: 1;
    padding: 20px;
}

.program-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.program-content h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.program-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.program-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.highlight-tag {
    background: #f0f7f4;
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.highlight-tag:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.program-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.program-cta:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(37, 144, 88, 0.3);
}

/* ===================
   BERITA MODERN
   =================== */
.berita-modern {
    padding: 80px 0;
    background: white;
}

.berita-modern .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.berita-modern h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.berita-modern .subtitle {
    font-size: 1.1rem;
    color: #666;
}

.news-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.featured-news {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.featured-image-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 30px 30px 50% 50% / 30px 30px 20% 20%;
}

.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-news:hover .featured-image-wrapper img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.featured-content {
    padding: 40px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #999;
    font-size: 0.95rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.featured-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 15px;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-news-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.sidebar-thumb {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-news-card:hover .sidebar-thumb img {
    transform: scale(1.1);
}

.sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.sidebar-content h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.view-all-news {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 144, 88, 0.3);
}

/* Responsive Hero Modern */
@media (max-width: 1024px) {
    .hero-modern {
        padding: 30px 0 50px;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-left {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 380px;
        height: 380px;
    }
    
    .floating-card {
        bottom: 30px;
        right: 10px;
    }
    
    .shape-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-2 {
        width: 250px;
        height: 250px;
    }
    
    .shape-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .gradient-text,
    .highlight-text,
    .accent-text {
        display: inline;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image-wrapper {
        max-width: 300px;
        height: 300px;
    }
    
    .floating-card {
        bottom: 20px;
        right: -10px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .image-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .hero-image-wrapper {
        max-width: 250px;
        height: 250px;
    }
    
    .floating-card {
        display: none;
    }
}

/* Responsive untuk Program Unggulan dan Berita */
@media (max-width: 1024px) {
    .program-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .program-image-wrapper {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-image-wrapper {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .program-unggulan-modern,
    .berita-modern {
        padding: 40px 0;
    }
    
    .program-unggulan-modern .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .program-unggulan-modern h2,
    .berita-modern h2 {
        font-size: 1.75rem;
    }
    
    .program-unggulan-modern .subtitle,
    .berita-modern .subtitle {
        font-size: 1rem;
    }
    
    .programs-showcase {
        padding: 0 15px;
        overflow: hidden;
    }
    
    /* Fix for existing program showcase classes */
    .program-showcase-item {
        flex-direction: column !important;
        gap: 20px;
        margin-bottom: 30px;
        padding: 20px;
        text-align: center;
    }
    
    .program-showcase-item.reverse {
        flex-direction: column !important;
    }
    
    .program-showcase-item .program-image-wrapper {
        width: 100%;
        max-width: 280px;
        height: 200px;
        margin: 0 auto 20px;
    }
    
    .program-showcase-item .shape-round-left,
    .program-showcase-item .shape-round-right {
        transform: none;
    }
    
    .program-showcase-item .program-content {
        padding: 0;
        width: 100%;
    }
    
    .program-showcase-item .program-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .program-showcase-item .program-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.6;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }
    
    .program-showcase-item .program-highlights {
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    
    .program-showcase-item .highlight-item {
        font-size: 0.85rem;
        padding: 8px;
        min-width: auto;
    }
    
    .program-showcase-item .btn-program {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .program-item {
        padding: 20px;
        gap: 20px;
        margin-bottom: 30px;
        border-radius: 20px;
    }
    
    .program-image-wrapper {
        width: 100%;
        height: 200px;
        max-width: 280px;
        margin: 0 auto 20px;
    }
    
    .program-image-wrapper.shape-left,
    .program-image-wrapper.shape-right {
        transform: none;
    }
    
    .program-content {
        padding: 0;
    }
    
    .program-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
        margin-bottom: 15px;
    }
    
    .program-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .program-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .program-highlights {
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .highlight-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .program-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Berita Mobile */
    .news-layout {
        padding: 0 15px;
    }
    
    .featured-image-wrapper {
        height: 250px;
        border-radius: 20px 20px 40% 40% / 20px 20px 15% 15%;
    }
    
    .news-category {
        top: 20px;
        left: 20px;
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .featured-content {
        padding: 25px 20px;
    }
    
    .featured-content h3 {
        font-size: 1.3rem;
    }
    
    .featured-content p {
        font-size: 0.95rem;
    }
    
    .news-meta {
        font-size: 0.85rem;
        gap: 15px;
    }
    
    .sidebar-news-card {
        flex-direction: row;
        padding: 15px;
        text-align: left;
    }
    
    .sidebar-thumb {
        flex: 0 0 80px;
        width: 80px;
        height: 80px;
    }
    
    .sidebar-content h4 {
        font-size: 0.95rem;
    }
    
    .sidebar-date {
        font-size: 0.8rem;
    }
    
    .view-all-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .program-unggulan-modern h2 {
        font-size: 1.5rem;
    }
    
    /* Fix for program showcase on very small screens */
    .program-showcase-item {
        padding: 15px;
        margin-bottom: 25px;
        border-radius: 15px;
    }
    
    .program-showcase-item .program-image-wrapper {
        max-width: 240px;
        height: 180px;
    }
    
    .program-showcase-item .program-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 10px;
    }
    
    .program-showcase-item .program-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .program-showcase-item .program-content p {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        margin-bottom: 15px;
    }
    
    .program-showcase-item .program-highlights {
        gap: 8px;
    }
    
    .program-showcase-item .highlight-item {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .program-showcase-item .highlight-item i {
        font-size: 0.75rem;
    }
    
    .program-showcase-item .btn-program {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .program-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .program-image-wrapper {
        height: 180px;
        max-width: 240px;
    }
    
    .program-content h3 {
        font-size: 1.2rem;
    }
    
    .program-content p {
        font-size: 0.9rem;
    }
    
    .program-highlights {
        gap: 8px;
    }
    
    .highlight-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .featured-image-wrapper {
        height: 200px;
    }
    
    .featured-content {
        padding: 20px 15px;
    }
    
    .featured-content h3 {
        font-size: 1.2rem;
    }
}

/* ===================
   FOOTER 
   =================== */
.footer {
  background-color: var(--primary-green);
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer-brand p {
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-green);
}

.footer-links h4 {
  color: var(--accent-yellow);
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: var(--spacing-sm);
  color: var(--accent-yellow);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  opacity: 0.8;
}

/* ===================
   RESPONSIVE DESIGN 
   =================== */
@media (max-width: 1024px) {
  .pillars-modern,
  .programs-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-modern {
    grid-template-columns: 1fr;
  }
  
  .program-showcase-item {
    gap: 2rem;
  }
  
  .program-image-wrapper {
    flex: 0 0 350px;
    height: 280px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: var(--spacing-md);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-stats {
    position: static;
    transform: none;
    margin-top: var(--spacing-xl);
  }
  
  /* Grids */
  .pillars-modern,
  .programs-modern,
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .pillar-item,
  .program-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-stats {
    gap: var(--spacing-lg);
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}