/* --- THEME 5: MODERN BLUEPRINT CSS --- */

/* 1. Variables & Colors */
:root {
    --primary: #324A5F;       /* Slate Blue */
    --secondary: #EBF2FA;     /* Pale Blue Bg */
    --accent: #00B4D8;        /* Vibrant Teal (Action) */
    --text-dark: #333333;
    --white: #ffffff;
    --border-radius: 8px;
    --section-bg: var(--secondary);
}

/* 2. Base Resets & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: var(--text-dark); background: #f4f8fb;}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.5px; }

/* 3. Layout Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.section-bg { background-color: var(--section-bg); position: relative; }
/* Add a subtle grid pattern to bg */
.section-bg::before { content:''; position: absolute; inset:0; background-image: linear-gradient(rgba(50, 74, 95, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 74, 95, 0.05) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.accent-text { color: var(--accent); }

/* 4. Buttons & Inputs (Tech Style) */
.btn {
    display: inline-block; padding: 12px 30px; background: var(--accent); color: var(--white);
    font-weight: 600; text-transform: uppercase; border: none; cursor: pointer;
    border-radius: 4px; letter-spacing: 1px; position: relative; overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.4); /* Teal glow */
}
.btn::after { content:''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); transform: rotate(45deg); transition: 0.5s; opacity: 0; }
.btn:hover::after { left: 100%; opacity: 1; }
.btn:hover { background: #0297b5; }
.full-width { width: 100%; }

input, textarea {
    width: 100%; padding: 12px; border: 1px solid #cddce8; background: rgba(255,255,255,0.8);
    border-radius: var(--border-radius); font-family: inherit; margin-bottom: 20px;
    backdrop-filter: blur(5px);
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 8px rgba(0, 180, 216, 0.3); }

/* 5. Header (Tech) */
header { background: var(--primary); padding: 20px 0; color: var(--white); border-bottom: 3px solid var(--accent); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 900; font-size: 1.5rem; color: var(--accent); letter-spacing: 1px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: var(--accent); }
.nav-btn { background: rgba(0, 180, 216, 0.2); border: 1px solid var(--accent); color: var(--accent); box-shadow: none; padding: 10px 25px;}
.nav-btn:hover { background: var(--accent); color: var(--white); }
.mobile-toggle { display: none; font-size: 1.5rem; }

/* 6. Hero Section (Digital Map feel) */
.hero { 
    background: url('https://placehold.co/1920x800/324A5F/00B4D8?text=Digital+Survey') center/cover;
    padding: 100px 0; position: relative; color: var(--white);
}
/* Overlay with grid and tech feel */
.hero-overlay { position: absolute; inset: 0; background: rgba(50, 74, 95, 0.9); background-image: linear-gradient(rgba(0, 180, 216, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 180, 216, 0.1) 1px, transparent 1px); background-size: 30px 30px;}
.hero-layout { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.hero-text h5 { color: var(--accent); font-family: monospace; letter-spacing: 2px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.2; margin: 20px 0; }
.hero-benefits li { margin-bottom: 12px; display: flex; align-items: center; }
.hero-benefits li::before { content: "[+]"; color: var(--accent); margin-right: 10px; font-family: monospace; }

.hero-form {
    /* Glassmorphism effect */
    background: rgba(50, 74, 95, 0.6); padding: 35px; color: var(--white); flex: 0 0 450px;
    border-radius: var(--border-radius); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.hero-form h3 { color: var(--accent); margin-bottom: 25px; }
.hero-form input, .hero-form textarea { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.2); color: var(--white); }
.hero-form input::placeholder, .hero-form textarea::placeholder { color: rgba(255,255,255,0.6); }

/* 7. Trust Bar */
.trust-bar { background: var(--white); color: var(--primary); padding: 15px 0; text-align: center; font-weight: 600; border-bottom: 1px solid var(--accent); }

/* 8. Services Grid (Tech Cards) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card {
    background: var(--white); border-radius: var(--border-radius); 
    box-shadow: 0 5px 15px rgba(50, 74, 95, 0.08); transition: 0.3s; border: 1px solid #e1e8ed;
    position: relative; overflow: hidden;
}
.service-card::top { content:''; position: absolute; top:0; left:0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transition: 0.3s; transform-origin: left;}
.service-card:hover::top { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 180, 216, 0.15); border-color: var(--accent); }
.service-img { height: 180px; background-size: cover; background-position: center; opacity: 0.9; transition: 0.3s;}
.service-card:hover .service-img { opacity: 1; }
.service-content { padding: 25px; }
.service-content h3 { color: var(--primary); }
.read-more-link { color: var(--accent); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid var(--accent); padding: 8px 20px; border-radius: 4px; display: inline-block; margin-top: 15px;}
.read-more-link:hover { background: var(--accent); color: var(--white); }

/* 9. Why Us (Hub & Spoke - Network View) */
.section-title { font-size: 2.5rem; color: var(--primary); }
.hub-container { display: flex; justify-content: center; align-items: center; gap: 60px; margin-top: 80px; position: relative; }

/* Tech connectors */
.hub-column { position: relative; }
.hub-column::before { content:''; position: absolute; top: 50%; width: 40px; height: 2px; background: var(--accent); z-index: 0; }
.hub-column.left::before { right: -50px; }
.hub-column.right::before { left: -50px; }

.hub-center { flex: 0 0 160px; height: 160px; background: var(--primary); color: var(--accent); display: flex; justify-content: center; align-items: center; font-weight: 900; border-radius: 50%; border: 2px solid var(--accent); position: relative; z-index: 2; box-shadow: 0 0 30px rgba(0, 180, 216, 0.3);}
.feature-box {
    background: var(--white); border: 1px solid #cddce8; padding: 25px; text-align: left;
    position: relative; z-index: 1; transition: 0.3s; border-radius: var(--border-radius);
}
.feature-box:hover { border-color: var(--accent); box-shadow: 0 0 15px rgba(0, 180, 216, 0.2); }
.feature-box h4 { color: var(--primary); }
.hub-column { display: flex; flex-direction: column; gap: 40px; flex: 1; max-width: 300px; }

/* 10. Footer */
footer { background: var(--primary); color: #aab8c2; padding-top: 80px; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 50px; }
footer h3 { color: var(--white); margin-bottom: 25px; font-family: monospace; letter-spacing: 1px; }
footer a:hover { color: var(--accent); }
.footer-phone { font-size: 1.5rem; color: var(--accent); font-weight: 700; }
.copyright { background: #243645; padding: 25px 0; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; } .mobile-toggle { display: block; }
    .hero-layout, .hub-container { flex-direction: column; } .hero-form, .hub-column { width: 100%; max-width: none; }
    .hub-column::before { display: none; }
}
