:root {
    /* --- COLOR PALETTE --- */
    --primary-color: #1f2d43; 
    --secondary-color: #c92b2e;
    --bg-color: #f4f6f8;
    --card-bg: #ffffff;
    --text-color: #1f2d43;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    padding-bottom: 70px; /* Space for bottom nav */
    color: var(--text-color);
}

/* Main Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--card-bg);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
}

/* Header Section */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.profile-img-container {
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    padding: 5px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.5);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    background: #eee;
}

h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.views {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Floating Action Buttons */
.action-bar {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin-top: -30px;
}

.action-btn {
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s;
}

.action-btn:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: white;
}

/* Contact Info List */
.info-list {
    list-style: none;
    padding: 0 20px;
    margin: 20px 0;
}

.info-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-list i {
    width: 30px;
    color: var(--secondary-color);
    font-size: 18px;
}

.info-list a {
    text-decoration: none;
    color: var(--text-color);
    word-break: break-all;
}

/* Main Buttons */
.main-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.whatsapp-link {
    display: inline-flex;
    width: auto;
    text-decoration: none;
}

/* Sections */
.section {
    padding: 20px;
    border-top: 10px solid var(--bg-color);
}

.title-container {
    text-align: center;
}

.section-title {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.section-content {
    text-align: center;
    color: #666;
    line-height: 1.6;
}

/* Feedback Form */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

/* QR Code */
.qr-container {
    text-align: center;
    margin: 20px 0;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    max-width: 480px;
    margin: 0 auto;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--primary-color);
}

/* Quotation Button Style */
.quotation-btn {
    display: block;
    width: 100%;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.quotation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.quotation-btn i {
    margin-right: 8px;
    font-size: 20px;
}


/* --- SERVICES SECTION STYLES --- */

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 10px;
}

.service-card {
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #e0f2f1;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
}

.service-card h4 {
    margin: 10px 0 5px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-card p {
    margin: 0;
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 350px) {
    .services-container {
        grid-template-columns: 1fr; 
    }
}

/* --- CALCULATOR CARD STYLES (NEW) --- */

.calculator-card-container {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.calc-input {
    width: 85%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
    transition: all 0.3s;
    background: #fafafa;
}

.calc-input:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
}

.calc-btn {
    width: 90%;
    padding: 14px;
    background: var(--primary-color); /* Matches theme now */
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.calc-btn:hover {
    background: var(--secondary-color); /* Turns Red on Hover */
    transform: translateY(-2px);
}

.result-card {
    display: none;
    margin-top: 25px;
    background: #eef2f7;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dce4ec;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation Button Below Calculator */
.nav-btn-below {
    display: inline-block;
    margin-top: 25px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: #fff;
}

.nav-btn-below:hover {
    background: #f9f9f9;
    border-color: #bbb;
    color: #333;
}