:root {
 --primary-color: #4f46e5;
 --primary-dark: #4338ca;
 --secondary-color: #0ea5e9;
 --text-dark: #111827;
 --text-light: #4b5563;
 --text-muted: #6b7280;
 --bg-white: #ffffff;
 --bg-light: #f9fafb;
 --border-color: #e5e7eb;
 --footer-bg: #1f2937;
 --footer-text: #9ca3af;
 --footer-heading: #ffffff;
 
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;

 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

h1, h2, h3, h4, h5, h6 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
 margin-bottom: 1rem;
}

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}
a:hover {
 color: var(--primary-dark);
}

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 1.5rem;
 padding-right: 1.5rem;
}

.section {
 padding: 6rem 0;
}
.bg-light {
 background-color: var(--bg-light);
}

.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 4rem;
}

.section-subtitle {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 0.5rem;
 display: block;
}
.section-title { margin-bottom: 1rem; }
.section-description { font-size: 1.125rem; }

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.75rem 1.5rem;
 border-radius: var(--radius-md);
 font-weight: 600;
 text-align: center;
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 color: white;
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.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);
}
.btn-full { width: 100%; }
.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }

/* Header & Nav */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 list-style: none;
 gap: 2rem;
}
.nav-link {
 color: var(--text-dark);
 font-weight: 500;
 position: relative;
 padding: 0.5rem 0;
}
.nav-link::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
 width: 100%;
}
.nav-toggle { display: none; }
.nav-cta { display: block; }

@media (max-width: 768px) {
 .nav-menu {
 position: fixed;
 top: 70px;
 left: -100%;
 width: 100%;
 height: calc(100vh - 70px);
 background-color: var(--bg-white);
 transition: var(--transition);
 padding: 2rem;
 }
 .nav-menu.active {
 left: 0;
 }
 .nav-links {
 flex-direction: column;
 gap: 1.5rem;
 }
 .nav-link { font-size: 1.2rem; }
 .nav-cta { display: none; }
 .nav-toggle {
 display: flex;
 flex-direction: column;
 justify-content: space-around;
 width: 30px;
 height: 24px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
 }
 .nav-toggle span {
 display: block;
 width: 24px;
 height: 2px;
 background: var(--text-dark);
 border-radius: 2px;
 transition: var(--transition);
 }
 .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* Hero Section */
.hero {
 padding: 10rem 0 6rem;
 background-color: var(--bg-light);
}
.hero-container {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}
.hero-subtitle {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 1rem;
}
.hero-title {
 margin-bottom: 1.5rem;
}
.hero-description {
 font-size: 1.25rem;
 color: var(--text-light);
 margin-bottom: 2rem;
}
.hero-actions {
 display: flex;
 gap: 1rem;
 margin-bottom: 1.5rem;
}
.hero-trust p {
 font-size: 0.9rem;
 color: var(--text-muted);
}
.hero-visual {
 position: relative;
}
.hero-image-wrapper {
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}
.hero-image {
 width: 100%;
 object-fit: cover;
}
@media (max-width: 992px) {
 .hero { padding: 8rem 0 4rem; }
 .hero-container { grid-template-columns: 1fr; text-align: center; }
 .hero-actions { justify-content: center; }
 .hero-visual { order: -1; margin-bottom: 2rem; }
}

/* Trusted By Section */
.trusted-by { padding: 4rem 0; }
.trusted-by-title {
 text-align: center;
 font-size: 1rem;
 font-weight: 500;
 color: var(--text-muted);
 margin-bottom: 2rem;
}
.logo-carousel {
 display: flex;
 justify-content: space-around;
 align-items: center;
 gap: 2rem;
 flex-wrap: wrap;
}
.partner-logo {
 height: 32px;
 width: auto;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.partner-logo:hover {
 filter: grayscale(0);
 opacity: 1;
}

/* Features Section */
.features-grid { text-align: left; }
.feature-card {
 background-color: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.feature-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.feature-icon {
 width: 50px;
 height: 50px;
 border-radius: var(--radius-md);
 background-color: var(--primary-color);
 color: white;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 1.5rem;
}
.feature-icon svg {
 width: 28px;
 height: 28px;
}
.feature-title { margin-bottom: 0.5rem; }
.feature-text { color: var(--text-light); }

/* Grid */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 2rem;
}
@media (max-width: 992px) {
 .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
 .grid-3 { grid-template-columns: 1fr; }
}

/* How it works */
.how-it-works-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 2rem;
 position: relative;
 margin-top: 2rem;
}
.step-card {
 text-align: center;
 padding: 2rem;
 position: relative;
}
.step-number {
 width: 50px;
 height: 50px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: white;
 font-size: 1.5rem;
 font-weight: 700;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 1.5rem;
 box-shadow: var(--shadow-md);
}
.step-title { margin-bottom: 0.5rem; font-size: 1.25rem; }
.step-text { color: var(--text-light); }

.how-it-works-grid::before {
 content: '';
 position: absolute;
 top: 25px;
 left: 16.66%;
 right: 16.66%;
 height: 2px;
 background: var(--border-color);
 z-index: -1;
}

@media (max-width: 768px) {
 .how-it-works-grid { grid-template-columns: 1fr; }
 .how-it-works-grid::before { display: none; }
}

/* Testimonials */
.testimonial-main {
 max-width: 800px;
 margin: 0 auto;
 text-align: center;
 background-color: var(--bg-white);
 padding: 3rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.testimonial-avatar {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1.5rem;
 border: 3px solid var(--primary-color);
}
.testimonial-text {
 font-size: 1.25rem;
 font-style: italic;
 color: var(--text-dark);
 margin-bottom: 2rem;
}
.testimonial-author {
 font-style: normal;
}
.author-name {
 display: block;
 font-weight: 600;
 color: var(--text-dark);
}
.author-title {
 color: var(--text-muted);
}

/* FAQ */
.faq-container {
 max-width: 800px;
 margin: 0 auto;
}
.faq-item {
 border-bottom: 1px solid var(--border-color);
}
.faq-question {
 width: 100%;
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1.5rem 0;
 background: none;
 border: none;
 cursor: pointer;
 text-align: left;
 font-size: 1.125rem;
 font-weight: 600;
 color: var(--text-dark);
}
.faq-icon {
 width: 20px;
 height: 20px;
 transition: transform 0.3s;
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease;
}
.faq-answer p {
 padding-bottom: 1.5rem;
 color: var(--text-light);
}
.faq-item.active .faq-answer {
 max-height: 300px;
}
.faq-item.active .faq-icon {
 transform: rotate(180deg);
}

/* CTA Section */
.cta-section .container {
 background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
 padding: 4rem;
 border-radius: var(--radius-lg);
 text-align: center;
 color: white;
 box-shadow: var(--shadow-lg);
}
.cta-content .btn-primary {
 background-color: white;
 color: var(--primary-color);
}
.cta-content .btn-primary:hover {
 background-color: #f1f1f1;
}
.cta-title {
 color: white;
 margin-bottom: 1rem;
}
.cta-text {
 max-width: 600px;
 margin: 0 auto 2rem;
 opacity: 0.9;
}

/* Footer */
.footer {
 background-color: var(--footer-bg);
 color: var(--footer-text);
 padding-top: 5rem;
 margin-top: 6rem;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1.5fr;
 gap: 3rem;
 padding-bottom: 4rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
 display: block;
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--footer-heading);
 margin-bottom: 1rem;
}
.footer-description {
 font-size: 0.9rem;
 margin-bottom: 1.5rem;
}
.footer-social {
 display: flex;
 gap: 1rem;
}
.footer-social a {
 color: var(--footer-text);
 width: 36px;
 height: 36px;
 display: flex;
 align-items: center;
 justify-content: center;
 border: 1px solid var(--footer-text);
 border-radius: 50%;
}
.footer-social a:hover {
 color: white;
 border-color: white;
 background-color: var(--primary-color);
}
.footer-social svg { width: 20px; height: 20px; }
.footer-heading {
 color: var(--footer-heading);
 font-size: 1rem;
 font-weight: 600;
 margin-bottom: 1.5rem;
 text-transform: uppercase;
}
.footer-links, .footer-contact {
 list-style: none;
}
.footer-links li, .footer-contact li {
 margin-bottom: 0.75rem;
}
.footer-links a, .footer-contact a {
 color: var(--footer-text);
}
.footer-links a:hover, .footer-contact a:hover {
 color: white;
}
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
}
.footer-contact-item span {
 margin-top: 3px;
}
.footer-bottom {
 padding: 2rem 0;
 text-align: center;
 font-size: 0.9rem;
}
@media (max-width: 992px) {
 .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
 .footer-grid { grid-template-columns: 1fr; }
}

/* Generic Page Styles */
.page-header-section {
 padding: 10rem 0 4rem;
 background-color: var(--bg-light);
 text-align: center;
}
.page-title { margin-bottom: 1rem; }
.page-subtitle {
 font-size: 1.25rem;
 color: var(--text-light);
 max-width: 700px;
 margin: 0 auto;
}

/* Service Page */
.service-item {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 4rem;
 align-items: center;
 margin-bottom: 6rem;
}
.service-item:last-child { margin-bottom: 0; }
.service-item.reverse .service-image-container { order: 2; }
.service-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-title { margin-bottom: 1.5rem; }
.service-description { margin-bottom: 1.5rem; }
.service-bullets {
 list-style: none;
 padding-left: 0;
}
.service-bullets li {
 padding-left: 1.5rem;
 position: relative;
 margin-bottom: 0.5rem;
}
.service-bullets li::before {
 content: '';
 position: absolute;
 left: 0;
 color: var(--primary-color);
 font-weight: 600;
}
@media (max-width: 768px) {
 .service-item, .service-item.reverse { grid-template-columns: 1fr; gap: 2rem; }
 .service-item.reverse .service-image-container { order: 0; }
}

/* Portfolio Page */
.portfolio-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 1.5rem;
}
.portfolio-item {
 position: relative;
 overflow: hidden;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-md);
}
.portfolio-item img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.4s;
}
.portfolio-item:hover img {
 transform: scale(1.1);
}
.portfolio-overlay {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
 padding: 2rem 1rem 1rem;
 color: white;
 transform: translateY(100%);
 transition: transform 0.4s;
}
.portfolio-item:hover .portfolio-overlay {
 transform: translateY(0);
}
.portfolio-overlay h3 { color: white; margin-bottom: 0.25rem; }
.portfolio-overlay p { opacity: 0.8; margin: 0; }
@media (max-width: 992px) {
 .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
 .portfolio-grid { grid-template-columns: 1fr; }
}

/* About Page */
.about-us-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 4rem;
 align-items: center;
}
.about-us-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 768px) {
 .about-us-grid { grid-template-columns: 1fr; }
}

.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
}
.team-member-card {
 background-color: var(--bg-white);
 padding: 2rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 text-align: center;
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem;
 border: 3px solid var(--primary-color);
}
.team-name { margin-bottom: 0.25rem; }
.team-role {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 0.5rem;
}
.team-bio { font-size: 0.9rem; }

/* Contact Page */
.contact-page-grid {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 4rem;
 background-color: var(--bg-white);
 padding: 3rem;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}
.contact-heading { margin-bottom: 2rem; }

.form-group {
 margin-bottom: 1.5rem;
}
.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 500;
 color: var(--text-dark);
}
.form-control {
 width: 100%;
 padding: 0.75rem 1rem;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: inherit;
 font-size: 1rem;
 transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
textarea.form-control {
 resize: vertical;
 min-height: 120px;
}
.form-group input[type="checkbox"] {
 margin-right: 0.5rem;
}
.form-group input[type="checkbox"] + label {
 display: inline;
}

.contact-info-item {
 display: flex;
 gap: 1rem;
 margin-bottom: 2rem;
}
.contact-info-icon {
 font-size: 1.5rem;
 color: var(--primary-color);
}
.contact-info-item h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.contact-info-item p { margin: 0; }

.map-container {
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
 height: 450px;
}
@media (max-width: 992px) {
 .contact-page-grid { grid-template-columns: 1fr; }
}

/* Legal & Thank You Pages */
.legal-content {
 max-width: 800px;
 margin: 0 auto;
}
.legal-content h2 { margin: 2rem 0 1rem; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }

.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 0.75rem;
 text-align: left;
}
.cookie-table th {
 background-color: var(--bg-light);
}

.thank-you-section { padding: 8rem 0; }
.text-center { text-align: center; }
.thank-you-content h1 { margin-bottom: 1rem; }
.thank-you-content p { font-size: 1.25rem; margin-bottom: 2rem; }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--footer-bg);
 color: var(--footer-text);
 padding: 1rem;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
 z-index: 2000;
}
.cookie-buttons { display: flex; gap: 1rem; }
@media (max-width: 768px) {
 .cookie-banner { flex-direction: column; text-align: center; }
}

/* Form Validation Styles */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
 animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-10px); }
 to { opacity: 1; transform: translateY(0); }
}

.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}

@keyframes spin {
 to { transform: rotate(360deg); }
}

button[disabled], input[type="submit"][disabled] {
 opacity: 0.7;
 cursor: not-allowed;
}