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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
    overflow-x: hidden;
}

html {
    box-sizing: border-box;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
}

.nav-links a:hover {
    color: #d4443c;
}

/* Hero Section */
.hero {
    background: url('Pic1.jpg') center center/cover no-repeat;
    min-height: 90vh;
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65); /* darker overlay for text readability */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-text h1 {
    font-size: 3rem;
    color: #d4443c;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #d4443c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: #b83832;
}

.btn-secondary {
    background: #fff;
    color: #d4443c;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: #d4443c;
    color: #fff;
    border: 2px solid #d4443c;
}

.hero-image {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><rect width="600" height="400" fill="%23f0f0f0"/><g><rect x="50" y="50" width="500" height="300" fill="white" rx="10"/><circle cx="150" cy="150" r="40" fill="%23d4443c"/><circle cx="250" cy="150" r="40" fill="%234a90e2"/><circle cx="350" cy="150" r="40" fill="%23f5a623"/><circle cx="450" cy="150" r="40" fill="%237ed321"/><rect x="100" y="220" width="80" height="80" fill="%23f8f9fa" rx="5"/><text x="300" y="330" text-anchor="middle" fill="%23666" font-size="16">Happy Family Shopping</text></g></svg>') center/cover;
    height: 400px;
    border-radius: 10px;
    position: relative;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.card.step {
    perspective: 1000px;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    position: relative;
    min-height: 260px;
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.4,0.2,0.2,1);
    transform-style: preserve-3d;
}
.card.step:hover .card-inner, .card.step:focus-within .card-inner {
    transform: rotateY(180deg);
}
.card.step.flipped .card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.16);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}
.card-front {
    z-index: 2;
}
.card-back {
    transform: rotateY(180deg);
    z-index: 1;
    background: linear-gradient(135deg, #b31217 0%, #e52d27 60%, #ff6e7f 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(212,68,60,0.18), 0 2px 8px #fff2 inset;
}
.card-back, .card-back *, .card-back h3, .card-back p {
    color: #fff !important;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 24px 20px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: #2c3e50;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.step-icon i {
    font-size: 2.2rem;
    color: white;
    display: block;
}

.step-number {
    background: #d4443c;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Community Section */
.community {
    background: #f8f6f2;
    padding: 80px 0;
}

.community-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.community-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.10);
    padding: 32px 36px;
    gap: 28px;
    min-height: 140px;
    position: relative;
}

.community-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.community-card-title {
    font-family: 'Poppins', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #222;
    margin-bottom: 6px;
    text-align: left;
}

.community-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    color: #333;
    text-align: left;
}

.community-card-image {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.community-card-image img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    background: #eee;
}

/* Custom positioning for Health Fridays image to show the person's face */
.health-fridays-image {
    object-position: center 30% !important; /* Position to show the face better */
}

/* Mobile styles for Health Fridays image */
@media (max-width: 900px) {
    .health-fridays-image {
        width: 140px !important;
        height: 140px !important;
        object-position: center 30% !important;
    }
}

@media (max-width: 600px) {
    .health-fridays-image {
        width: 160px !important;
        height: 160px !important;
        object-position: center 30% !important;
        margin: 0 auto !important; /* Center the image */
    }
    
    /* Center the image container for Health Fridays card */
    .community-card:first-child .community-card-image {
        margin-left: 0 !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

/* Grace Stories image styling */
.grace-story-image {
    object-fit: cover;
    object-position: center 30% !important; /* Position to show faces better */
}

/* Mobile styles for Grace Stories images */
@media (max-width: 900px) {
    .grace-story-image {
        object-position: center 25% !important;
    }
    
    .community-card-stories .community-testimonial img {
        width: 90px !important;
        height: 90px !important;
    }
}

@media (max-width: 600px) {
    .community-card-stories .community-testimonial img {
        width: 100px !important;
        height: 100px !important;
    }
}

.community-card-stories {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.community-card-stories .community-card-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.community-card-stories .community-testimonials {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    display: flex;
    gap: 20px;
    margin-top: 0;
    margin-left: 24px;
}
.community-card-stories .community-testimonial {
    width: 150px;
    min-width: 120px;
    max-width: 170px;
    background: #faf7f3;
    border-radius: 12px;
    align-items: center;
    text-align: center;
    padding: 14px 10px 12px 10px;
    font-size: 1.05rem;
    font-style: italic;
    color: #444;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: none;
}
.community-card-stories .community-testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 12px;
}

.community-testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f6f2;
    border-radius: 10px;
    padding: 12px 16px;
    width: 170px;
    min-height: 120px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #222;
    font-style: italic;
    text-align: center;
}

.community-testimonial img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}

.community-card:last-child .community-card-image img {
    width: 300px !important;
    height: 150px !important;
    border-radius: 14px;
    object-fit: cover;
    max-width: 100%;
}

@media (max-width: 900px) {
    .community-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 16px;
        gap: 18px;
    }
    .community-card-image img {
        width: 90px;
        height: 90px;
    }
    .community-card-stories {
        flex-direction: column;
    }
    .community-card-stories .community-testimonials {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        margin-top: 10px;
        gap: 10px;
    }
    .community-card-stories .community-testimonial {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .container {
        padding: 0 8px;
        max-width: 100%;
    }
    .community-card:last-child .community-card-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        min-width: 0;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 2vw;
        max-width: 100vw;
    }
    .hero {
        min-height: 60vh;
        height: 60vh;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        box-shadow: none !important;
        margin-bottom: 0 !important;
        margin-top: 48px;
        overflow: hidden; /* Prevent overlay from overflowing */
        background-position: center 30% !important; /* Position to show people better on mobile */
        background-size: cover !important;
    }
    .hero::before {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        background: rgba(0,0,0,0.5) !important;
        box-shadow: none !important;
        height: 100%;
        width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
    }
    .hero-content {
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-text {
        width: 100%;
        max-width: 100%;
        word-break: break-word;
        padding: 0;
    }
    .hero-text h1 {
        font-size: 2rem;
        color: #d4443c !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    }
    .hero-text p {
        font-size: 1rem;
        color: #fff;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 12px 0;
    }
    .card.step {
        min-height: 200px;
    }
    .card-front, .card-back {
        padding: 20px 10px;
    }
}

/* Redesigned About Section */
.about-cards {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}
.about-card {
    background: linear-gradient(135deg, #fff 60%, #f8f6f2 100%);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(212,68,60,0.10), 0 1.5px 8px rgba(44,62,80,0.08);
    border: 1.5px solid #f5a623;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
    min-width: 260px;
    flex: 1 1 280px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.18s, border-color 0.18s;
    position: relative;
    z-index: 1;
}
.about-card:hover {
    box-shadow: 0 12px 40px rgba(212,68,60,0.18), 0 2px 12px rgba(44,62,80,0.12);
    border-color: #d4443c;
    transform: translateY(-6px) scale(1.025);
    background: linear-gradient(135deg, #fff 40%, #ffe5e1 100%);
}
.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: 0 2px 8px 0 rgba(245,166,35,0.08);
    z-index: 0;
}
.about-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4443c 60%, #f5a623 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(212,68,60,0.12);
    border: 2.5px solid #fff;
    z-index: 2;
}
.about-card-icon-warning {
    background: linear-gradient(135deg, #f5a623 60%, #d4443c 100%);
}
.about-card-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.about-card-content p, .about-card-content ul {
    color: #222;
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-align: left;
}
.about-card-content ul {
    padding-left: 18px;
    margin: 0;
}
.about-card-content ul li {
    margin-bottom: 8px;
    color: #d4443c;
    font-weight: 500;
}
.about-cta {
    margin-top: 12px;
    display: inline-block;
}
.about-values-title {
    text-align: center;
    color: #2c3e50;
    margin: 32px 0 12px 0;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.about-values {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.about { background: white !important; }
@media (max-width: 700px) { .about { background: white !important; } }
.about-quote {
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
    margin: 32px 0;
    padding: 18px 10px;
    border-top: 2px solid #d4443c;
    border-bottom: 2px solid #d4443c;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}
.about-community-title {
    text-align: center;
    color: #2c3e50;
    margin-top: 18px;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.about-community-link {
    text-align: center;
    color: #d4443c;
    margin-top: 10px;
    font-size: 1.05rem;
}
/* Remove old about-content grid/flex styles */
.about-content { display: none !important; }

/* Application Form Section */
.application {
    background: #f8f9fa;
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.form-step {
    text-align: center;
    padding: 20px;
}

.form-step-icon {
    width: 60px;
    height: 60px;
    background: #d4443c;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.application-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4443c;
}

/* Desktop: side-by-side fields in a row */
.application-form .form-row {
    display: flex;
    gap: 20px;
}
.application-form .form-group {
    flex: 1;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}
.application-form .form-group label,
.application-form .form-group input,
.application-form .form-group select,
.application-form .form-group textarea {
    width: 100%;
    display: block;
}

@media (max-width: 700px) {
    .application-form .form-row {
        flex-direction: column;
        gap: 0;
        display: flex;
    }
    .application-form .form-group {
        width: 100%;
        margin-bottom: 18px;
        display: flex;
        flex-direction: column;
    }
    .application-form .form-group label,
    .application-form .form-group input,
    .application-form .form-group select,
    .application-form .form-group textarea {
        width: 100%;
        display: block;
    }
    .application-form .form-group input,
    .application-form .form-group select,
    .application-form .form-group textarea {
        font-size: 1.1em;
        padding: 12px 10px;
        margin-top: 6px;
    }
    .application-form button[type="submit"] {
        font-size: 1.1em;
        padding: 14px 0;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.footer p a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    padding: 8px 15px;
    margin: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.footer p a:hover {
    color: #f5a623;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer img {
    height: 120px !important;
}

@media (max-width: 768px) {
    .footer img {
        height: 80px !important;
    }
    
    .footer p a {
        display: block;
        margin: 15px auto;
        font-size: 1.1rem;
        max-width: 300px;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer p a:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.form-step h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-step p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #666;
}

/* Hamburger menu styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.nav-toggle .bar {
    width: 20px;
    height: 2.5px;
    background: #2c3e50;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        right: 16px;
        left: 16px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: 0 8px 32px rgba(44,62,80,0.10);
        border-radius: 12px;
        padding: 18px 0 12px 0;
        display: none;
        z-index: 1000;
        transition: all 0.3s;
    }
    .nav-links.nav-open {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        padding: 0 24px;
        margin: 0;
    }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 18px;
        border-radius: 6px;
    }
    .nav {
        position: relative;
    }
}

@media (max-width: 600px) {
    .nav-links {
        top: 52px;
        right: 4px;
        left: 4px;
        padding: 10px 0 8px 0;
    }
    .nav-links a {
        font-size: 16px;
        padding: 10px 0;
    }
    .nav-toggle {
        width: 26px;
        height: 26px;
    }
    .nav-toggle .bar {
        width: 16px;
        height: 2px;
        margin: 2px 0;
    }
}

.alternative-steps .card.step {
    background: linear-gradient(135deg, #e3e6ea 0%, #cfd2d6 100%) !important;
    border-radius: 20px;
    box-shadow: 8px 8px 24px #bfc2c7, -8px -8px 24px #f5f6fa, inset 2px 2px 8px #b0b3b8, inset -2px -2px 8px #f5f6fa;
    border: none !important;
    transition: box-shadow 0.3s, background 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: #23272b !important;
    padding: 32px 20px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.alternative-steps .card.step:hover {
    box-shadow: 4px 4px 12px #bfc2c7, -4px -4px 12px #f5f6fa, inset 1px 1px 4px #b0b3b8, inset -1px -1px 4px #f5f6fa;
    transform: translateY(-4px) scale(1.025);
    background: linear-gradient(135deg, #d7dadf 0%, #bfc2c7 100%) !important;
}
.alternative-steps .card.step h3,
.alternative-steps .card.step p,
.alternative-steps .card.step a {
    color: #23272b !important;
}

.values {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}
.value {
    text-align: center;
    padding: 20px;
}
.value h4 {
    color: #d4443c;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    position: relative;
    display: inline-block;
}
.values .value h4::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: #f5a623;
    border-radius: 2px;
    margin: 6px auto 0 auto;
}

/* POPIA Manual Section */
.popia {
    background: #f8f9fa;
    padding: 80px 0;
}

.popia-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.popia-section {
    margin-bottom: 40px;
}

.popia-section:last-child {
    margin-bottom: 0;
}

.popia-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid #d4443c;
    padding-bottom: 10px;
}

.popia-section p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.popia-section ul {
    list-style: none;
    padding-left: 0;
}

.popia-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
    color: #333;
}

.popia-section ul li::before {
    content: "•";
    color: #d4443c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.record-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #d4443c;
}

.record-category h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.popia-signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

/* Consent Mechanisms */
.consent-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border: 1px solid #dee2e6;
}

.consent-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.consent-section p {
    color: #666;
    margin-bottom: 20px;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.consent-checkbox:hover {
    background: #fff3f3;
}

.consent-checkbox input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 4px;
    min-width: 20px;
    height: 20px;
}

.consent-checkbox label {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    font-weight: normal;
}

@media (max-width: 768px) {
    .popia-content {
        padding: 20px;
    }

    .records-grid {
        grid-template-columns: 1fr;
    }

    .consent-section {
        padding: 20px;
    }

    .consent-checkbox {
        padding: 8px;
    }
}

/* Legal and Compliance Section */
.legal {
    background: #f8f9fa;
    padding: 80px 0;
}

.legal-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 40px;
    text-align: center;
}

.effective-date {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.legal-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2c3e50;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.legal-section p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
    color: #333;
}

.legal-section ul li::before {
    content: "•";
    color: #d4443c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.legal-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #d4443c;
    text-align: center;
}

.legal-footer p {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 20px;
    }

    .legal-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .legal-section h3 {
        font-size: 1.3rem;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 1rem;
    }

    .legal-footer p {
        font-size: 1.1rem;
    }
}

/* Privacy Policy Section */
.privacy {
    background: #f8f9fa;
    padding: 80px 0;
}

.privacy-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-header {
    margin-bottom: 40px;
    text-align: center;
}

.privacy-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 20px;
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.privacy-section p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #d4443c;
}

.info-category h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.info-category p {
    margin-bottom: 0;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.privacy-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
    color: #333;
}

.privacy-section ul li::before {
    content: "•";
    color: #d4443c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.privacy-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #d4443c;
    text-align: center;
}

.privacy-footer p {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 20px;
    }

    .privacy-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .privacy-section h3 {
        font-size: 1.3rem;
    }

    .info-category {
        padding: 15px;
    }

    .info-category h4 {
        font-size: 1.1rem;
    }

    .privacy-section p,
    .privacy-section ul li {
        font-size: 1rem;
    }

    .privacy-footer p {
        font-size: 1.1rem;
    }
}

/* Terms and Conditions Section */
.terms {
    background: #f8f9fa;
    padding: 80px 0;
}

.terms-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.terms-header {
    margin-bottom: 40px;
    text-align: center;
}

.terms-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 20px;
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.terms-section p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.terms-section ul, .terms-section ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.terms-section ul li, .terms-section ol li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
    color: #333;
}

.terms-section ul li::before {
    content: "•";
    color: #d4443c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.terms-section ol {
    counter-reset: terms-counter;
}

.terms-section ol li {
    counter-increment: terms-counter;
}

.terms-section ol li::before {
    content: counter(terms-counter) ".";
    color: #d4443c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.terms-section a {
    color: #d4443c;
    text-decoration: none;
    transition: color 0.3s;
}

.terms-section a:hover {
    color: #b83832;
    text-decoration: underline;
}

.terms-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #d4443c;
    text-align: center;
}

.terms-footer p {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
}

@media (max-width: 768px) {
    .terms-content {
        padding: 20px;
    }

    .terms-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .terms-section h3 {
        font-size: 1.3rem;
    }

    .terms-section p,
    .terms-section ul li,
    .terms-section ol li {
        font-size: 1rem;
    }

    .terms-footer p {
        font-size: 1.1rem;
    }
}

/* Social Media Icons */
.social-media-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.social-media-container .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
    margin: 0 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-media-container .icon span {
    position: relative;
    height: 60px;
    width: 60px;
    display: block;
    background: #fff;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    cursor: pointer;
}

.social-media-container .icon span i {
    font-size: 25px;
    line-height: 60px;
}

.social-media-container .icon .tooltip {
    background: #fff;
    color: #fff;
    font-size: 20px;
    padding: 10px 18px;
    border-radius: 25px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0px;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    left: 50%;
    transform: translateX(-50%);
}

.social-media-container .icon:hover .tooltip {
    top: -70px;
    opacity: 1;
    pointer-events: auto;
}

.social-media-container .icon .tooltip:before {
    position: absolute;
    content: '';
    height: 15px;
    width: 15px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Platform-specific colors */
.social-media-container .facebook:hover span,
.social-media-container .facebook:hover .tooltip,
.social-media-container .facebook .tooltip:before {
    background: #3b5998;
}

.social-media-container .instagram:hover span,
.social-media-container .instagram:hover .tooltip,
.social-media-container .instagram .tooltip:before {
    background: #e4405f;
}

.social-media-container .tiktok:hover span,
.social-media-container .tiktok:hover .tooltip,
.social-media-container .tiktok .tooltip:before {
    background: #000000;
}

.social-media-container .linkedin:hover span,
.social-media-container .linkedin:hover .tooltip,
.social-media-container .linkedin .tooltip:before {
    background: #0077b5;
}

/* Icon colors */
.social-media-container .icon span i {
    color: #333;
}

.social-media-container .icon:hover span i {
    color: #fff;
}

/* Text shadow for tooltip text */
.social-media-container .icon:hover span,
.social-media-container .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .social-media-container {
        width: 100%;
        justify-content: space-around;
    }
    
    .social-media-container .icon {
        margin: 0 8px;
    }

    .social-media-container .icon span {
        height: 45px;
        width: 45px;
    }

    .social-media-container .icon span i {
        font-size: 18px;
        line-height: 45px;
    }

    .social-media-container .icon .tooltip {
        font-size: 14px;
        padding: 6px 12px;
        top: -60px;
        min-width: 70px;
        text-align: center;
    }

    .social-media-container .icon:hover .tooltip {
        top: -60px;
    }
}

@media (max-width: 480px) {
    .social-media-container {
        padding: 0 10px;
    }
    
    .social-media-container .icon {
        margin: 0 5px;
    }

    .social-media-container .icon span {
        height: 40px;
        width: 40px;
    }

    .social-media-container .icon span i {
        font-size: 16px;
        line-height: 40px;
    }

    .social-media-container .icon .tooltip {
        font-size: 12px;
        padding: 4px 8px;
        top: -50px;
        min-width: 60px;
    }

    .social-media-container .icon:hover .tooltip {
        top: -50px;
    }

    .social-media-container .icon .tooltip:before {
        height: 12px;
        width: 12px;
        bottom: -6px;
    }
}

/* Policy Pages */
.policy-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.policy-footer .btn-primary {
    display: inline-block;
    min-width: 200px;
    margin: 0 auto;
    padding: 15px 30px;
    font-size: 1.1rem;
}
.policy-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.policy-container h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: center;
}

.policy-container h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 30px 0 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.policy-container h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 25px 0 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.policy-container p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-container ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
    color: #333;
}

.policy-container ul li::before {
    content: "•";
    color: #d4443c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .policy-container {
        margin: 20px;
        padding: 20px;
    }

    .policy-container h1 {
        font-size: 2rem;
    }

    .policy-container h2 {
        font-size: 1.5rem;
    }

    .policy-container h3 {
        font-size: 1.2rem;
    }

    .policy-container p,
    .policy-container ul li {
        font-size: 1rem;
    }
}

/* Enhanced CTA for Apply Now button */
.btn-primary {
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(212,68,60,0.18);
    animation: pulse-cta 2s infinite;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
@keyframes pulse-cta {
    0% { box-shadow: 0 0 0 0 rgba(212,68,60,0.3); }
    70% { box-shadow: 0 0 0 12px rgba(212,68,60,0); }
    100% { box-shadow: 0 0 0 0 rgba(212,68,60,0.3); }
}
.btn-primary:hover, .btn-primary:focus {
    background: #b31217;
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(212,68,60,0.25);
}
