/* --- CSS VARIABLES & GENERAL STYLES --- */
:root {
    --primary-color: #0d47a1; /* A strong, trustworthy blue */
    --secondary-color: #f4f7fa; /* A very light, clean gray */
    --accent-color: #4285f4; /* A vibrant, modern blue for CTAs */
    --text-color: #333333;
    --text-light: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--text-light);
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 40px;}
h3 { font-size: 1.4rem; }

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 10px auto 30px auto;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.main-header {
    background: var(--text-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-size: 1.8rem; /* Kept for fallback, but image now takes precedence */
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex; /* Ensures image is centered if smaller than container */
    align-items: center;
}

/* NEW style for the logo image */
.logo-img {
    height: 40px; /* Adjust as needed */
    width: auto;
    vertical-align: middle;
}
/* END NEW style */

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(rgba(13, 71, 161, 0.7), rgba(13, 71, 161, 0.7)), url('https://images.unsplash.com/photo-1585776245991-a69075a36339?q=80&w=2070') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 180px 0 120px;
    margin-top: 70px; /* Offset for fixed header */
}

.hero-section h1 {
    color: var(--text-light);
    font-size: 3.5rem;
}

.hero-section .subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

/* --- SERVICES SECTION --- */
.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Increased gap for better separation */
}
.service-item {
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    background-color: #fafafa;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* NEW styles for the feature list */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}
.feature-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.feature-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}
/* END NEW styles */

/* --- PRICING SECTION --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 40px auto 0;
}

.pricing-card {
    background: var(--text-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-per {
    font-style: italic;
    color: #777;
    margin-bottom: 25px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 10px;
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
}

/* --- ADMIN PANEL --- */
.admin-panel {
    position: fixed;
    bottom: 20px;
    right: -300px; /* Start hidden */
    width: 250px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: var(--border-radius);
    z-index: 2000;
    transition: right 0.4s ease-in-out;
}

.admin-panel.show {
    right: 20px;
}

.admin-panel h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.color-picker-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.color-picker-group label { font-weight: 600; }
.admin-panel input[type="color"] {
    width: 50px;
    height: 30px;
    border: 1px solid #ddd;
    padding: 2px;
    cursor: pointer;
}
.admin-panel button {
    width: 48%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: var(--accent-color);
    color: white;
}
.admin-panel button#resetColors {
    background-color: #777;
}
.admin-tip {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 15px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .pricing-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .service-details {
        /* On medium screens, stack services vertically */
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-grid { max-width: 500px; }
}

@media (max-width: 768px) {
    h1, .hero-section h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }
    
    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
    }
    .main-nav li {
        margin: 20px 0;
        text-align: center;
    }
    .main-nav a { font-size: 1.2rem; }
    
    .hamburger-menu { display: block; }
}