<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Contact Message</title>
    <style>
        body {
            font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f4f6f9;
            margin: 0;
            padding: 0;
            color: #333;
        }

        .email-wrapper {
            max-width: 600px;
            margin: 30px auto;
            background-color: #ffffff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .email-header {
            background-color: #007c9d;
            padding: 20px;
            color: #ffffff;
            text-align: center;
        }

        .email-body {
            padding: 30px;
        }

        .email-body h3 {
            margin-top: 0;
            color: #007c9d;
        }

        .info-label {
            font-weight: bold;
            margin-top: 15px;
        }

        .info-value {
            margin: 5px 0 15px;
            font-size: 15px;
        }

        .footer {
            text-align: center;
            font-size: 12px;
            color: #888;
            padding: 15px;
        }
    </style>
</head>

<body>
    <div class="email-wrapper">
        <div class="email-header">
            <h2>New Contact Form Message</h2>
        </div>
        <div class="email-body">
            <h3>Sender Details</h3>
            <div class="info-label">Name:</div>
            <div class="info-value"><?php echo e($name); ?></div>

            <div class="info-label">Email:</div>
            <div class="info-value"><?php echo e($email); ?></div>

            <?php if(!empty($phone)): ?>
            <div class="info-label">Phone:</div>
            <div class="info-value"><?php echo e($phone); ?></div>
            <?php endif; ?>

            <div class="info-label">Message:</div>
            <div class="info-value"><?php echo nl2br(e($message_content)); ?></div>
        </div>
        <div class="footer">
            <hr style="border: none; border-top: 1px solid #ddd; margin: 20px 0;">
            Polytechnic College of Davao del Sur<br>
            <small>This message was sent from the contact form at <a href="https://pcds.edu.test" style="color: #007c9d;">pcds.edu.test</a></small>
        </div>
    </div>
</body>

</html><?php /**PATH C:\xampp\htdocs\larablog\resources\views\email-templates\contact-template.blade.php ENDPATH**/ ?>