/* 1. Global Style Guide (CSS Variables) */
:root {
    --primary-bg: #0A192F;
    --secondary-bg: #FFFFFF;
    --accent-color: #2563EB;
    --primary-text: #F8FAFC;
    --secondary-text: #0F172A;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--secondary-bg);
    color: var(--secondary-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-text);
    border: none;
}

.btn-primary:hover {
    background-color: #1d4ed8; /* Slightly darker blue for hover */
}

/* 2. Header Section */
.site-header {
    background-color: var(--primary-bg);
    padding: 0.5rem 0; /* Reduced from 1.5rem to shrink height */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--primary-text);
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Header Logo & Text Alignment */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem; /* Adjusts the space between the logo and the text */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.business-name {
    color: var(--primary-text); /* Uses your bright white variable */
    font-size: 1.25rem; /* Adjust size as needed */
    font-weight: 700;
    line-height: 1.2;
}

.business-tagline {
    color: #94A3B8; /* Matches the slate gray from your footer tagline */
    font-size: 0.85rem;
    font-weight: 400;
}


/* 3. Hero Section */
.hero-section {
    /* Made the grid lines slightly more transparent (0.02) for a softer look */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        /* Flipped the gradient: Starts deep navy on the left, fades to lighter blue on the right */
        linear-gradient(90deg, var(--primary-bg) 0%, #1E3A8A 100%);
    
    background-size: 40px 40px, 40px 40px, 100% 100%; 
    color: var(--primary-text);
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Banner Image Styling */
.hero-banner-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow to make it pop against the dark background */
}

.image-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text);
    text-align: center;
    padding: 2rem;
}

/* 4. Services Overview Section */
.services-section {
    background-color: var(--secondary-bg);
    padding: 5rem 0;
}



.category-title {
    color: var(--primary-bg);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: var(--secondary-text);
    margin-bottom: 2rem;
    font-style: italic;
}
/* Interactive Category Headers & Colours */
.category-header {
    cursor: pointer;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ind-theme {
    background-color: #EFF6FF; /* Very light blue */
    border-color: #BFDBFE;
}

.bus-theme {
    background-color: #F0FDF4; /* Very light green */
    border-color: #BBF7D0;
}

.category-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.toggle-icon {
    float: right;
    font-size: 1rem;
    color: var(--accent-color);
}

.category-title {
    color: var(--primary-bg);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: var(--secondary-text);
    font-style: italic;
    margin: 0; /* Removed margin so it sits nicely inside the coloured box */
}

/* --- SERVICES SECTION LAYOUT --- */

/* 1. Map HTML elements to Grid Areas */
#ind-header { grid-area: header-ind; }
#bus-header { grid-area: header-bus; }
#individuals-grid { grid-area: grid-ind; }
#business-grid { grid-area: grid-bus; }

/* 2. Desktop Layout: Headers side-by-side, Grids span full width */
.services-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "header-ind header-bus"
        "grid-ind grid-ind"
        "grid-bus grid-bus";
    gap: 2rem; 
}

/* 3. The 4-Column Grids */
.services-grid {
    display: none; 
    grid-template-columns: repeat(4, 1fr); /* 4 tiles in one row */
    gap: 1.5rem;
}

.services-grid.show-grid {
    display: grid;
    animation: dropDown 0.4s ease forwards;
}

/* 4. Match Tile Colours to Parent Headers */
#individuals-grid .service-card {
    background-color: #EFF6FF;
    border-color: #BFDBFE;
}

#business-grid .service-card {
    background-color: #F0FDF4;
    border-color: #BBF7D0;
}

.services-grid.show-grid {
    display: grid;
    animation: dropDown 0.4s ease forwards;
}

@keyframes dropDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}


.service-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease; /* Makes the hover animation smooth */
}

/* The Hover Highlight Effect */
.service-card:hover {
    transform: translateY(-5px); /* Lifts the tile up slightly */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* Deepens the shadow */
    border-color: var(--accent-color); /* Changes border to your brand colour */
}

.service-card h4 {
    color: var(--primary-bg);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.5;
}

.service-card {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-bg);
    margin-bottom: 1.5rem;
}

/* 5. Footer Section */
.site-footer {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    padding: 4rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: center;
}

.tagline {
    margin-top: 0.5rem;
    color: #94A3B8; /* Slate gray for secondary footer text */
}

.footer-testimonial {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Footer Testimonial Headshot */
.headshot-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Keeps it a perfect circle */
    object-fit: cover; /* Ensures the photo fills the circle without stretching or squishing */
    flex-shrink: 0; /* Prevents the image from shrinking if the text gets long */
}

.quote {
    font-style: italic;
    margin-bottom: 0;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}
/* About Us Section */
.about-section {
    background-color: #F8FAFC; /* Soft off-white to create visual separation */
    padding: 5rem 0;
    color: var(--secondary-text);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* Reduced the gap slightly */
    align-items: center;
    
    /* ADD THESE TWO NEW LINES: This forces the image and text closer together */
    max-width: 950px; 
    margin: 0 auto;
}

.about-img {
    width: 100%; /* Let it fill its new, smaller column space */
    max-width: 400px; /* Stops it from getting excessively large */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    justify-self: center; 
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-bg);
}

.values-list {
    list-style-type: none;
    margin-top: 1rem;
}

.values-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    color: var(--primary-bg);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 1.2rem;
    color: var(--secondary-text);
}

.pricing-card .price span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-bg);
}

.pricing-desc {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    color: var(--primary-bg);
}

/* The New Red Discount Highlight */
.discount-badge {
    color: #dc2626; 
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;

}
.discount-eligible {
    color: var(--secondary-text);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0; 
}


/* --- RESPONSIVE BREAKPOINTS (Properly Separated) --- */

/* 1. Large Tablets & Small Laptops */
@media (max-width: 1100px) {
    .services-split {
        grid-template-columns: 1fr; 
        gap: 3rem;
    }
}

/* 2. Standard Tablets */
@media (max-width: 900px) {
    .hero-container, .services-container, .footer-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .main-nav {
        display: none; 
    }
    
    .footer-testimonial {
        flex-direction: column;
    }
    
    .values-list li {
        text-align: left; 
    }
}

/* 3. Mobile Phones */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr; 
    }
}