@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
 --primary-color: #0d4f8b; /* Deep Blue */
 --primary-dark: #0a3d6e;
 --secondary-color: #0891b2; /* Tech Cyan */
 --accent-color: #4a5568; /* Steel Gray */
 --bg-light: #f1f5f9;
 --bg-white: #ffffff;
 --text-dark: #1e293b;
 --text-light: #475569;
 --text-muted: #64748b;
 --border-color: #e2e8f0;
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', sans-serif;
}

/* --- Base Reset & Typography --- */
*, *::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.6;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-dark); margin-bottom: 0.5rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
a { color: var(--secondary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-color); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
ul { list-style-position: inside; }

/* --- Layout & Containers --- */
.container { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section { padding: 80px 0; }
.section.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-tag { display: inline-block; background-color: rgba(13, 79, 139, 0.1); color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Buttons --- */
.btn { display: inline-block; font-weight: 600; font-size: 1rem; padding: 12px 28px; border-radius: var(--radius-md); border: 2px solid transparent; cursor: pointer; text-align: center; transition: var(--transition); }
.btn-primary { background-color: var(--primary-color); color: var(--bg-white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--bg-white); }

/* --- Header & Navigation --- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); transition: var(--transition); height: 70px; }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.nav-logo-icon { color: var(--primary-color); }
.nav-menu { display: flex; }
.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-link { font-weight: 600; color: var(--text-light); position: relative; padding: 8px 0; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: var(--text-dark); transition: var(--transition); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* --- Hero Section (App Landing Style) --- */
.hero-section { background: linear-gradient(to bottom, var(--bg-light), var(--bg-white)); padding-top: 150px; padding-bottom: 80px; overflow: hidden; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
.hero-description { font-size: 1.1rem; color: var(--text-light); max-width: 500px; margin-bottom: 2rem; }
.hero-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 2rem; }
.hero-rating .stars { color: #f59e0b; font-size: 1.2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.app-store-btn { background-color: #1e293b; color: #fff; padding: 10px 20px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 15px; transition: var(--transition); }
.app-store-btn:hover { background-color: #0f172a; transform: translateY(-3px); }
.app-store-btn svg { width: 30px; height: 30px; }
.app-store-btn span { text-align: left; font-size: 0.8rem; line-height: 1.4; }
.app-store-btn span b { font-size: 1.1rem; font-weight: 600; display: block; }
.hero-image-wrapper { position: relative; display: flex; justify-content: center; }
.phone-mockup { position: relative; width: 300px; height: 600px; background-color: #111; border-radius: 40px; border: 12px solid #000; box-shadow: 0 20px 50px rgba(0,0,0,0.3); padding: 15px; }
.mockup-screen { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }

/* --- Screenshots Section --- */
.screenshot-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background-color: var(--bg-white); text-align: center; }
.screenshot-card img { width: 100%; height: 200px; object-fit: cover; }
.screenshot-card p { padding: 1rem; font-weight: 500; color: var(--text-dark); margin: 0; }

/* --- Features Section --- */
.feature-card { background-color: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-md); transition: var(--transition); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background-color: rgba(8, 145, 178, 0.1); color: var(--secondary-color); margin-bottom: 1.5rem; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-text { font-size: 0.95rem; }

/* --- How We Work (Timeline) Section --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 2px; background: var(--border-color); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 20px 40px; position: relative; background: inherit; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--bg-white); border: 4px solid var(--secondary-color); top: 28px; border-radius: 50%; z-index: 1; }
.timeline-item:nth-child(even)::after { left: -10px; }
.timeline-item .timeline-number { position: absolute; top: 18px; font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); z-index: 2; background-color: var(--bg-light); padding: 5px; }
.timeline-item:nth-child(odd) .timeline-number { right: 10px; }
.timeline-item:nth-child(even) .timeline-number { left: 10px; }
.timeline-content { padding: 20px 30px; background: var(--bg-white); position: relative; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }

/* --- Reviews Section --- */
.review-card { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review-author { margin-bottom: 0; font-size: 1.1rem; }
.review-rating { color: #f59e0b; }
.review-text { font-style: italic; color: var(--text-light); }

/* --- CTA Section --- */
.cta-section-app { background: var(--bg-light); padding: 60px 0; }
.cta-section-app .hero-buttons { justify-content: center; margin-top: 2rem; }

/* --- Page Headers for subpages --- */
.page-header-section { padding: 140px 0 60px; text-align: center; background-color: var(--primary-color); color: white; }
.page-title { color: white; margin-bottom: 1rem; }
.page-subtitle { font-size: 1.2rem; max-width: 600px; margin: 0 auto; opacity: 0.9; }

/* --- Service Details Page --- */
.service-details-grid { display: grid; gap: 2rem; }
.service-card-large { background-color: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.service-card-img { width: 100%; height: 250px; object-fit: cover; }
.service-card-content { padding: 2rem; }
.service-card-content h3 { font-size: 1.75rem; color: var(--primary-color); }
.service-card-content ul { margin-top: 1rem; padding-left: 1.5rem; }
.service-card-content li { margin-bottom: 0.5rem; }

/* --- About Us Page --- */
.about-us-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.about-us-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-us-text h2 { color: var(--primary-color); }
.team-card, .value-card { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-md); }
.team-photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem; object-fit: cover; border: 4px solid var(--border-color); }
.team-name { font-size: 1.25rem; }
.team-role { color: var(--primary-color); font-weight: 600; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.9rem; }
.value-card h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 1rem; }

/* --- Resources Page --- */
.resource-card { background-color: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow-md); display: flex; flex-direction: column; overflow: hidden; }
.resource-card-img { height: 200px; width: 100%; object-fit: cover; }
.resource-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.resource-card-content.no-image { border-top: 4px solid var(--secondary-color); }
.resource-card-tag { font-size: 0.8rem; font-weight: 600; color: var(--secondary-color); margin-bottom: 0.5rem; }
.resource-card-content h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.resource-card-content p { flex-grow: 1; }
.read-more-link { font-weight: 600; color: var(--primary-color); margin-top: 1rem; align-self: flex-start; }

/* --- Contact Page --- */
.contact-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-heading { font-size: 1.8rem; margin-bottom: 2rem; }
.contact-form-wrapper { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-family: var(--font-main); font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.2); }
textarea { resize: vertical; min-height: 120px; }
.contact-info-wrapper .contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-icon { flex-shrink: 0; color: var(--primary-color); width: 40px; height: 40px; background-color: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-info-item h4 { margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { margin-bottom: 0; }
.map-container { margin-top: 4rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-container iframe { border: 0; }

/* --- Footer --- */
.footer { background-color: var(--text-dark); color: #a0aec0; padding: 60px 0 30px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.footer-logo { font-size: 1.5rem; font-weight: 700; color: var(--bg-white); margin-bottom: 1rem; display: block; }
.footer-description { max-width: 300px; }
.footer-heading { font-size: 1.1rem; font-weight: 600; color: var(--bg-white); margin-bottom: 1.5rem; }
.footer-links, .footer-contact { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a, .footer-contact a { color: #a0aec0; }
.footer-links a:hover, .footer-contact a:hover { color: var(--bg-white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; }
.footer-extra { border-top: 1px solid var(--accent-color); padding-top: 2rem; margin-top: 2rem; }
.footer-hours { text-align: center; }
.footer-bottom { border-top: 1px solid var(--accent-color); padding-top: 2rem; margin-top: 2rem; text-align: center; font-size: 0.85rem; }

/* --- Legal Pages --- */
.legal-page { padding: 120px 0 60px; }
.legal-page section { margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--bg-light); }
.cookie-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.cookie-table th, .cookie-table td { border: 1px solid var(--border-color); padding: 12px; text-align: left; }
.cookie-table th { background-color: var(--bg-light); font-weight: 600; }

/* --- Cookie Banner --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: var(--text-dark); color: white; padding: 1.5rem; z-index: 1001; display: none; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; flex-shrink: 0; }
.cookie-buttons .btn-primary { background-color: var(--secondary-color); }
.cookie-buttons .btn-secondary { color: white; border-color: white; }

/* --- Responsive --- */
@media (max-width: 992px) {
 .h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
 .nav-btn-desktop { display: none; }
 .grid-3 { grid-template-columns: repeat(2, 1fr); }
 .hero-container { grid-template-columns: 1fr; text-align: center; }
 .hero-description { margin-left: auto; margin-right: auto; }
 .hero-buttons { justify-content: center; }
 .hero-image-wrapper { margin-top: 3rem; }
 .phone-mockup { width: 260px; height: 520px; }
 .about-us-content, .contact-page-layout { grid-template-columns: 1fr; }
 .about-us-image { margin-bottom: 2rem; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .footer-column { margin-bottom: 2rem; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; z-index: 1001; }
 .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: var(--bg-white); flex-direction: column; justify-content: center; align-items: center; transition: var(--transition); z-index: 1000; }
 .nav-menu.active { right: 0; }
 .nav-list { flex-direction: column; gap: 2rem; }
 .nav-link { font-size: 1.5rem; }
 .timeline::after { left: 10px; }
 .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
 .timeline-item:nth-child(even), .timeline-item:nth-child(odd) { left: 0; }
 .timeline-item:nth-child(even)::after, .timeline-item:nth-child(odd)::after { left: 0; }
 .timeline-item .timeline-number { left: -10px; }
 .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
}

@media (max-width: 576px) {
 .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
 .cookie-banner { flex-direction: column; text-align: center; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-description { margin: 0 auto 1rem; }
 .footer-contact li { justify-content: center; }
}