/* Base Styles */
:root {
    --primary-color: #E30520; /* Prudential Red */
    --secondary-color: #263272; /* BSN Navy */
    --accent-color: #0078C4; /* Prudential Blue */
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --border-color: #ddd;
    --success-color: #28a745;
    --whatsapp-green: #25D366;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

.brand-prudential { color: var(--primary-color); }
.brand-bsn { color: var(--secondary-color); }
.brand-takaful { color: var(--gray); font-weight: normal; }

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

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

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

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

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

.btn-whatsapp:hover {
    background: #1ebe57;
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(38, 50, 114, 0.8), rgba(38, 50, 114, 0.8)), url('https://images.unsplash.com/photo-1556742044-3c52d6e88c62?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-btns .btn {
    margin: 0 10px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

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

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: var(--light-bg);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Plans Section */
.plans {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.plan-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
}

.plan-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.contact-info {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 30px;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.8;
}

.contact-form {
    padding: 50px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

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

.form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.form-feedback.success {
    background: #d4edda;
    color: #155724;
}

.form-feedback.error {
    background: #f8d7da;
    color: #721c24;
}

.hidden {
    display: none;
}

/* Footer */
footer {
    background: #f1f1f1;
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.5rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
}
