/* ========================================
   BAKOENA FUNERAL SERVICES - MAIN STYLES
   Colors: Deep Purple #5E2A84, Navy #1B3B6A, Gold #FFD700
   ======================================== */

/* Root Variables */

:root {
    --primary-purple: #5E2A84;
    --primary-navy: #1B3B6A;
    --primary-gold: #D4AF37; /* Updated to richer gold */
    --purple-light: #8E4DB3;
    --navy-light: #2A5490;
    --gold-light: #F5D742;
    --gold-dark: #B4941F;
    --dark-text: #2C3E50;
    --medium-text: #546E7A;
    --light-text: #78909C;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-bg: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: var(--dark-text);
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 4px;
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-purple);
}

h4 {
    font-size: 1.4rem;
    color: var(--primary-navy);
}

p {
    margin-bottom: 1.5rem;
    color: var(--medium-text);
    font-size: 1.05rem;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--primary-gold);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

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

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

.btn-secondary:hover {
    background-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
    font-weight: 700;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline:hover {
    background-color: var(--primary-purple);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   WHATSAPP BUTTON (FLOATING)
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-button {
    background-color: #25D366;
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 3px solid var(--white);
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
    background-color: #128C7E;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ========================================
   PAGE BANNER (for all pages except index)
   ======================================== */
.page-banner {
    background: linear-gradient(135deg, rgba(94, 42, 132, 0.9) 0%, rgba(27, 59, 106, 0.9) 100%), url('https://images.pexels.com/photos/6647014/pexels-photo-6647014.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-banner:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-purple) 50%, var(--primary-navy) 100%);
}

.page-banner h1 {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    background: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.banner-gold-accent {
    display: inline-block;
    width: 100px;
    height: 4px;
    background: var(--primary-gold);
    margin: 20px auto;
    border-radius: 2px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.brand-name {
    color: var(--primary-purple);
    display: block;
    font-size: 1.8rem;
}

.brand-tagline {
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-purple);
}

/* ========================================
   HERO SECTION (Index page only)
   ======================================== */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(94, 42, 132, 0.05) 0%, rgba(27, 59, 106, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-text);
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.hero-badge {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--primary-gold);
}

.hero-badge i {
    color: var(--primary-gold);
    margin-right: 5px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: var(--primary-gold);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-purple);
    border: 2px solid var(--primary-gold);
}

.hero-image-caption i {
    color: var(--primary-gold);
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-badges {
    background: var(--off-white);
    padding: 40px 0;
    border-top: 3px solid var(--primary-gold);
    border-bottom: 3px solid var(--primary-gold);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-gold);
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.trust-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.trust-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--light-text);
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-purple) 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.service-card:hover:before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-purple);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-link:hover {
    color: var(--primary-gold);
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-choose-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23FFD700" fill-opacity="0.05" d="M0,0H1000V1000H0Z"/></svg>');
    background-size: 200px;
}

.why-choose-section h2,
.why-choose-section h2:after,
.why-choose-section p {
    color: var(--white);
}

.why-choose-section h2:after {
    background: var(--primary-gold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-gold);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-navy);
    font-size: 2rem;
    box-shadow: var(--shadow-gold);
}

.benefit-card h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* ========================================
   INSURANCE CALCULATOR
   ======================================== */
.calculator-section {
    background: var(--off-white);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-gold);
}

.calculator-form {
    padding: 40px;
}

.calculator-form h3 {
    margin-bottom: 30px;
    color: var(--primary-purple);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.form-group input[type="range"] {
    padding: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-gold) 100%);
    border-radius: 4px;
    -webkit-appearance: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: var(--primary-gold);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.calculator-result {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.calculator-result:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.result-display {
    text-align: center;
    position: relative;
    z-index: 1;
}

.result-display h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.premium-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.premium-period {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.premium-features {
    list-style: none;
    text-align: left;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.premium-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-features i {
    color: var(--primary-gold);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.testimonial-rating {
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}


.testimonial-content:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
}

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

.author-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--primary-purple);
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--light-text);
}

/* ========================================
   SHADOWS & PERMANENT HOVER EFFECTS
   Add these styles to your existing CSS
   ======================================== */

/* Service Cards - Always visible hover effect */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);  /* Stronger shadow always visible */
    transition: var(--transition);
    height: 100%;
    border-bottom: 4px solid var(--primary-gold);  /* Always show gold border */
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);  /* Even stronger on hover */
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);  /* Gold always visible */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-navy);
    font-size: 1.8rem;
    box-shadow: var(--shadow-gold);  /* Gold shadow always visible */
}

/* Trust Badges - Always visible effects */
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);  /* Stronger shadow */
    transition: var(--transition);
    border-left: 4px solid var(--primary-gold);  /* Gold border always visible */
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Benefit Cards - Always visible effects */
.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.15);  /* Lighter background always */
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 2px solid var(--primary-gold);  /* Gold border always visible */
    box-shadow: var(--shadow-lg);  /* Strong shadow always */
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);  /* Even lighter on hover */
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);  /* Gold always visible */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-navy);
    font-size: 2rem;
    box-shadow: var(--shadow-gold);  /* Gold shadow always */
}

/* Testimonial Cards - Always visible effects */
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);  /* Stronger shadow */
    border: 2px solid var(--primary-gold);  /* Gold border always */
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-purple) 100%);
}

/* Value Cards (About page) */
.value-card {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);  /* Stronger shadow */
    transition: var(--transition);
    height: 100%;
    border: 2px solid var(--primary-gold);  /* Gold border always */
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-navy);
    box-shadow: var(--shadow-gold);
}

/* Team Cards */
.team-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);  /* Stronger shadow */
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--primary-gold);  /* Gold border always */
    height: 100%;
}

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

.team-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-gold);  /* Gold border always */
    box-shadow: var(--shadow-md);
}

/* Contact Info Box */
.contact-info-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);  /* Stronger shadow */
    height: 100%;
    border: 2px solid var(--primary-gold);  /* Gold border always */
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);  /* Stronger shadow */
    border: 2px solid var(--primary-gold);  /* Gold border always */
}

/* Process Step Cards */
.process-step-card {
    background-color: var(--white);
    padding: 40px 30px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);  /* Stronger shadow */
    height: 100%;
    position: relative;
    transition: var(--transition);
    border: 2px solid var(--primary-gold);  /* Gold border always */
}

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

/* Calculator Container */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);  /* Extra strong shadow */
    border: 3px solid var(--primary-gold);  /* Gold border always */
}

/* ========================================
   ENHANCED SHADOW VARIABLES
   Add these to your :root section
   ======================================== */
:root {
    /* Existing variables - keep these */
    --primary-purple: #5E2A84;
    --primary-navy: #1B3B6A;
    --primary-gold: #D4AF37;
    
    /* Enhanced shadows - add these */
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 10px 25px rgba(212, 175, 55, 0.4);
    --shadow-gold-strong: 0 15px 35px rgba(212, 175, 55, 0.5);
    
    /* Keep your existing shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.16);
}

/* Single banner image for all pages */
.page-banner {
    position: relative;
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, rgba(94, 42, 132, 0.85) 0%, rgba(27, 59, 106, 0.85) 100%), url('../images/3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Gallery Styles */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 40px;
        }
        
        .gallery-item {
            position: relative;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            aspect-ratio: 4/3;
            cursor: pointer;
            transition: var(--transition);
            border: 3px solid transparent;
        }
        
        .gallery-item:hover {
            transform: scale(1.03);
            border-color: var(--primary-gold);
            box-shadow: var(--shadow-gold-strong);
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: var(--transition);
        }
        
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 20px;
            color: white;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }
        
        .video-container {
            position: relative;
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-xl);
            aspect-ratio: 16/9;
            border: 5px solid var(--primary-gold);
            margin: 40px 0;
        }
        
        .video-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .video-placeholder i {
            font-size: 5rem;
            color: var(--primary-gold);
            margin-bottom: 20px;
            animation: pulse 2s infinite;
        }
        
        .video-placeholder:hover {
            background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-purple) 100%);
        }
        
        .video-placeholder:hover i {
            transform: scale(1.2);
            color: white;
        }
        
        .video-placeholder p {
            color: rgba(255,255,255,0.9);
            font-size: 1.2rem;
        }
        
        .video-iframe {
            width: 100%;
            height: 100%;
            display: none;
        }
        
        .video-iframe.active {
            display: block;
        }
        
        .video-placeholder.hidden {
            display: none;
        }
        
        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }



/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-gold);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 5px;
    color: var(--light-text);
}

.contact-details .gold-tag {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-gold);
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    padding: 0 0 80px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
    border: 3px solid var(--primary-gold);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.2rem;
}

.map-placeholder i {
    color: var(--primary-gold);
    margin-right: 10px;
    font-size: 2rem;
}

/* ========================================
   GRIEF SUPPORT SECTION
   ======================================== */
.grief-support-section {
    background: var(--off-white);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.support-content {
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-gold);
}

.support-content h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 2rem;
}

.support-features {
    list-style: none;
    margin: 30px 0;
}

.support-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-features i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.support-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-gold);
}

.support-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-navy) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23FFD700" fill-opacity="0.05" d="M0,0H1000V1000H0Z"/></svg>');
    background-size: 200px;
}

.cta-section h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section h2:after {
    background: var(--primary-gold);
    left: 50%;
    transform: translateX(-50%);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn-gold {
    background-color: var(--primary-gold);
    color: var(--primary-navy);
}

.cta-buttons .btn-gold:hover {
    background-color: var(--white);
    color: var(--primary-purple);
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-navy);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #2C3E50;
    color: #BDC3C7;
    padding: 60px 0 30px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-purple) 50%, var(--primary-navy) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-about .brand-name {
    color: var(--primary-gold);
}

.footer-about p {
    color: #95A5A6;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #BDC3C7;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #BDC3C7;
}

.footer-contact i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-3px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #95A5A6;
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item:not(:last-child):after {
        display: none;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonials-grid,
    .footer-grid,
    .support-grid,
    .contact-grid,
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .whatsapp-button {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .page-banner {
        padding: 120px 0 60px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .calculator-form,
    .calculator-result,
    .contact-info,
    .contact-form,
    .support-content {
        padding: 25px;
    }
}