:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --secondary-color: #4a5568; /* Steel Gray */
 --accent-color: #0891b2; /* Tech Cyan */
 --primary-dark: #0a3c6d;
 --text-dark: #1a202c;
 --text-light: #f7fafc;
 --text-muted: #a0aec0;
 --bg-dark: #1a202c;
 --bg-light: #f7fafc;
 --bg-dark-secondary: #2d3748;
 --border-color: #4a5568;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', sans-serif;
 --font-mono: 'Roboto Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.7;
 color: var(--text-dark);
 background-color: var(--bg-light);
 -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--text-dark); }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }
a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }

.section { padding: 80px 0; }
.section-dark { background-color: var(--bg-dark); color: var(--text-light); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-light); }
.section-dark .section-subtitle, .section-dark p { color: var(--text-muted); }
.section-light { background-color: var(--bg-light); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-label {
 display: inline-block;
 padding: 6px 16px;
 background-color: rgba(8, 145, 178, 0.1);
 color: var(--accent-color);
 border-radius: 99px;
 font-weight: 600;
 font-size: 0.9rem;
 margin-bottom: 16px;
 text-transform: uppercase;
}
.section-dark .section-label { background-color: rgba(255, 255, 255, 0.1); color: var(--text-light); }
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--secondary-color); max-width: 600px; margin: 0 auto;}

/* --- Header & Nav --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(26, 32, 44, 0.8);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border-bottom: 1px solid rgba(74, 85, 104, 0.5);
 transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { font-size: 1.5rem; font-weight: 700; color: var(--text-light); }
.logo-accent { color: var(--accent-color); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--text-muted); font-weight: 500; position: relative; padding: 8px 0; }
.nav-link::after {
 content: '';
 position: absolute;
 bottom: 0px;
 left: 50%;
 transform: translateX(-50%);
 width: 0;
 height: 2px;
 background-color: var(--accent-color);
 transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001;}
.nav-toggle span { display: block; width: 25px; height: 2px; background-color: var(--text-light); margin: 6px 0; transition: var(--transition); }

/* --- Buttons --- */
.btn {
 display: inline-block;
 padding: 12px 28px;
 font-weight: 600;
 border-radius: var(--radius-md);
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
 text-align: center;
}
.btn-primary { background-color: var(--accent-color); color: var(--text-light); }
.btn-primary:hover { background-color: #06b6d4; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4); }
.btn-secondary { background-color: var(--secondary-color); color: var(--text-light); }
.btn-secondary:hover { background-color: #2d3748; transform: translateY(-2px); }
.btn-outline { border-color: var(--accent-color); color: var(--accent-color); }
.btn-outline:hover { background-color: var(--accent-color); color: var(--text-light); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* --- Hero --- */
.hero {
 position: relative;
 min-height: 70vh;
 display: flex;
 align-items: center;
 text-align: center;
 color: var(--text-light);
 background-size: cover;
 background-position: center;
 padding: 140px 0 60px;
}
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(13, 79, 139, 0.7), rgba(26, 32, 44, 0.9));
}
.hero-content { position: relative; z-index: 1; }
.hero-tagline { display: inline-block; font-weight: 600; color: var(--accent-color); margin-bottom: 20px; border: 1px solid var(--accent-color); padding: 5px 15px; border-radius: 99px; }
.hero-title { margin-bottom: 24px; }
.hero-subtitle { max-width: 700px; margin: 0 auto 32px; color: var(--text-muted); font-size: 1.2rem; }
.hero-actions { display: flex; justify-content: center; gap: 16px; }

/* --- Page Hero --- */
.page-hero { min-height: 40vh; }
.page-title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 16px; }
.page-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* --- Tech Modern Specific Styles --- */
.architecture-diagram img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.capabilities-grid { gap: 30px; }
.capability-card {
 background-color: var(--bg-white);
 padding: 32px;
 border-radius: var(--radius-lg);
 text-align: center;
 border: 1px solid #e2e8f0;
 transition: var(--transition);
}
.capability-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.capability-icon {
 width: 60px;
 height: 60px;
 margin: 0 auto 24px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 background-color: rgba(8, 145, 178, 0.1);
 color: var(--accent-color);
}
.capability-icon svg { width: 30px; height: 30px; }
.capability-title { margin-bottom: 12px; font-size: 1.25rem; }
.capability-text { color: var(--secondary-color); }

.code-snippet {
 background-color: #2d3748;
 border-radius: var(--radius-md);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
 font-family: var(--font-mono);
 max-width: 800px;
 margin: 0 auto;
}
.code-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 12px 20px;
 background-color: #1a202c;
 color: var(--text-muted);
}
.copy-btn {
 background: var(--secondary-color);
 color: var(--text-light);
 border: none;
 padding: 6px 12px;
 border-radius: 4px;
 cursor: pointer;
 transition: var(--transition);
}
.copy-btn:hover { background-color: var(--accent-color); }
.code-snippet pre { padding: 20px; overflow-x: auto; }
.code-snippet code { color: #9AE6B4; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-item { background-color: #fff; padding: 30px; border-radius: var(--radius-lg); border: 1px solid #e2e8f0; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--primary-color); }
.stat-accent { color: var(--accent-color); }
.stat-caption { font-weight: 500; color: var(--secondary-color); }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
 background-color: var(--bg-dark-secondary);
 padding: 32px;
 border-radius: var(--radius-lg);
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
}
.testimonial-img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 20px;
 border: 3px solid var(--accent-color);
}
.testimonial-text { margin-bottom: 20px; font-style: italic; color: var(--text-muted); }
.testimonial-author .author-name { display: block; font-weight: 600; color: var(--text-light); }
.testimonial-author .author-company { font-size: 0.9rem; color: var(--accent-color); }

.cta-section { background-color: var(--bg-light); border-radius: var(--radius-lg); }
.cta-content { text-align: center; padding: 60px 20px; }
.cta-title { margin-bottom: 16px; }
.cta-text { margin: 0 auto 32px; max-width: 600px; }

/* Grid & Cards */
.grid-2, .grid-3 { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
 display: flex;
 flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.25rem; margin-bottom: 12px; }
.card-text { color: var(--secondary-color); margin-bottom: 20px; flex-grow: 1; }
.card .btn { align-self: flex-start; }

.services-grid ul { padding-left: 20px; margin-top: 16px; }
.services-grid li { margin-bottom: 8px; color: var(--secondary-color); }
.service-card { display: flex; flex-direction: column; background: var(--bg-white); border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card-body { padding: 24px; }
.service-card-title { font-size: 1.5rem; margin-bottom: 16px; color: var(--primary-color); }
.service-card-text { margin-bottom: 16px; color: var(--secondary-color); }

/* About Page */
.media-object { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media-visual img { border-radius: var(--radius-lg); }
.media-copy ul { list-style: disc; padding-left: 20px; margin-top: 20px; }
.media-copy li { margin-bottom: 10px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.team-member { text-align: center; }
.team-member img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--bg-light); box-shadow: var(--shadow-lg); }
.team-member h3 { font-size: 1.2rem; }
.team-member p { color: var(--accent-color); font-weight: 500;}
.value-card { background: white; padding: 30px; border-radius: var(--radius-lg); text-align: center; border: 1px solid #e2e8f0; }

/* Resources Page */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-question {
 width: 100%;
 background: none;
 border: none;
 text-align: left;
 padding: 20px;
 font-size: 1.1rem;
 font-weight: 600;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--accent-color); transition: var(--transition);}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding: 0 20px 20px; }

/* Contact Page */
.contact-page-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-control {
 width: 100%;
 padding: 14px;
 border-radius: var(--radius-md);
 border: 1px solid #cbd5e0;
 font-family: var(--font-main);
 font-size: 1rem;
 transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }
.contact-details-list { margin-top: 30px; }
.contact-detail-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-detail-item svg { width: 24px; height: 24px; color: var(--accent-color); flex-shrink: 0; margin-top: 4px; }
.contact-detail-item strong { display: block; font-weight: 600; margin-bottom: 4px; }
.map-section { padding-top: 0; }
.map-responsive { overflow:hidden; padding-bottom:56.25%; position:relative; height:0; }
.map-responsive iframe { left:0; top:0; height:100%; width:100%; position:absolute; border-radius: var(--radius-lg); }

/* Footer */
.footer {
 background-color: var(--bg-dark);
 color: var(--text-muted);
 padding: 80px 0 30px;
 margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: var(--text-light); margin-bottom: 16px; display: block; }
.footer-description { margin-bottom: 20px; }
.footer-heading { font-weight: 600; color: var(--text-light); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-contact-item a { color: var(--text-muted); }
.footer-links a:hover, .footer-contact-item a:hover { color: var(--text-light); }
.footer-contact-list { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--accent-color); margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
 width: 40px; height: 40px; background-color: var(--bg-dark-secondary);
 color: var(--text-muted); border-radius: 50%; display: flex;
 align-items: center; justify-content: center;
}
.footer-social a:hover { background-color: var(--accent-color); color: var(--text-light); transform: translateY(-3px);}
.footer-hours { margin-top: 30px; border-top: 1px solid var(--border-color); padding-top: 30px; }
.footer-divider { height: 1px; background-color: var(--border-color); margin: 40px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copyright, .footer-legal-links a { font-size: 0.9rem; color: var(--secondary-color); }
.footer-legal-links { display: flex; gap: 20px; }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--bg-dark);
 color: var(--text-light);
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }

/* Legal & Thank you pages */
.legal-page .section, .thank-you-section { padding: 140px 0 80px; }
.legal-page h2 { margin-top: 40px; margin-bottom: 16px; }
.legal-page p, .legal-page ul { margin-bottom: 16px; color: var(--secondary-color); }
.legal-page ul { list-style: disc; padding-left: 20px; }
.legal-page table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.legal-page th, .legal-page td { padding: 12px; border: 1px solid #ddd; text-align: left; }
.legal-page th { background-color: var(--bg-light); }

.thank-you-section .text-center { text-align: center; }
.thank-you-icon svg { width: 80px; height: 80px; color: var(--accent-color); margin-bottom: 24px; }

/* Responsive */
@media (max-width: 992px) {
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
 .contact-page-grid { grid-template-columns: 1fr; }
 .media-object { grid-template-columns: 1fr; }
 .media-visual { order: -1; margin-bottom: 30px; }
}
@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-cta { display: none; }
 .nav-links {
 position: fixed;
 top: 70px;
 left: 0;
 right: 0;
 background-color: var(--bg-dark);
 flex-direction: column;
 padding: 40px;
 gap: 24px;
 height: calc(100vh - 70px);
 transform: translateX(100%);
 transition: transform 0.3s ease-in-out;
 }
 .nav-links.active { transform: translateX(0); }
 .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
 
 .hero { min-height: 60vh; }
 .hero-actions { flex-direction: column; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-brand, .footer-social, .footer-contact-list { align-items: center; justify-content: center; }
 .footer-bottom { flex-direction: column; gap: 16px; }
 .cookie-banner { flex-direction: column; text-align: center; }
}

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 3px;
 background-color: var(--accent-color);
 top: 0;
 bottom: 0;
 left: 20px;
}
.timeline-item {
 padding: 10px 40px 30px 60px;
 position: relative;
}
.timeline-item::before {
 content: '';
 position: absolute;
 width: 20px;
 height: 20px;
 right: auto;
 background-color: white;
 border: 4px solid var(--accent-color);
 top: 15px;
 left: 11px;
 border-radius: 50%;
 z-index: 1;
}
.timeline-content {
 background-color: white;
 padding: 20px 30px;
 border-radius: var(--radius-lg);
 border: 1px solid #e2e8f0;
}
.timeline-content h3 { color: var(--primary-color); }