/* ==========================================================================
   GLOBAL STYLES & LIGHT CORE SPECIFICATIONS
   ========================================================================== */
:root {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --primary: #0284c7;
    --secondary: #4f46e5;
    --accent: #0d9488;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark: #94a3b8;
    --border: #e2e8f0;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
}

/* ==========================================================================
   NAVIGATION BAR & INLINE LIGHT LOGO
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.cta-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white, #ffffff) !important;
    padding: 11px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   EXTENDED HERO SECTION ARCHITECTURE
   ========================================================================== */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 100px 20px;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.05), transparent 50%),
                radial-gradient(circle at bottom left, rgba(2, 132, 199, 0.04), transparent 50%);
}

.hero-content {
    max-width: 950px;
}

.badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.15);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 21px;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-dark);
}

/* ==========================================================================
   LONG-FORM STRATIFIED CONTENT LAYOUT SYSTEM
   ========================================================================== */
.container {
    padding: 120px 8%;
}

.bg-alt {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 19px;
    max-width: 750px;
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 60px;
    align-items: center;
}

/* ==========================================================================
   CARDS & INTEGRATED ILLUSTATION STYLING
   ========================================================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

.illustration-wrap {
    width: 64px;
    height: 64px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 132, 199, 0.06);
    border-radius: 12px;
}

.card h3 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15.5px;
    color: var(--text-main);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   BLUEPRINT STEPS WORKFLOW (LONG PAGES DEPLOYMENT)
   ========================================================================== */
.blueprint-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 35px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.step-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.step-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-info p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ==========================================================================
   ACCORDION (DEEP FAQ SYSTEM)
   ========================================================================== */
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 30px 35px;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--primary);
    font-weight: 700;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ==========================================================================
   CONTACT COMPONENT & LIVE BRAMPTON GOOGLE MAP
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

.form-container {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 55px;
    border-radius: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.map-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-embed {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 16px;
    background: #e5e7eb;
}

.map-details h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.map-details p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

.php-alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-weight: 600;
}

.php-success {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
}

.php-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
    color: #dc2626;
}

.form-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.form-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* ==========================================================================
   FULL-FLEDGED ENTERPRISE SITE FOOTER SYSTEM
   ========================================================================== */
.mega-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 8% 40px 8%;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 60px auto;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-meta-links {
    display: flex;
    gap: 30px;
}

.footer-meta-links a {
    color: #64748b;
    text-decoration: none;
}

.footer-meta-links a:hover {
    color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM OVERRIDES
   ========================================================================== */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1100px) {
    .contact-layout { grid-template-columns: 1fr; }
    .hero h1 { font-size: 46px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .container { padding: 80px 5%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}