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

:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #8b5cf6;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-dark: #111827;
    --color-white: #ffffff;
    --font-family: 'Inter', sans-serif;
    --container-width: 1140px;
    --section-padding: 4rem;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 0.75rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

ul {
    list-style: none;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Header */
.header {
    background-color: var(--color-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    display: block;
}

.nav-menu {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--color-text-light);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .icon-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] .icon-bar:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] .icon-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    background-image: url('../images/a-diverse-corporate-team-engaged-in-a-dynamic-coll-2.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }

/* Service Card */
.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.card-title { margin-bottom: 0.75rem; }
.card-text { color: var(--color-text-light); margin-bottom: 1.5rem;}
.card-link { font-weight: 600; }

/* Why Us Section */
.feature-image {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Testimonials */
.testimonial-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text { font-style: italic; margin-bottom: 1.5rem; color: var(--color-text-light); }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name { font-weight: 600; }
.author-title { font-size: 0.9rem; color: var(--color-text-light); }

/* CTA Section */
.cta-section {
    background-image: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
}

.text-white { color: var(--color-white) !important; }
.text-white-70 { color: rgba(255,255,255,0.7) !important; }

/* About Page */
.page-header {
    text-align: center;
    padding-bottom: 2rem;
}

.page-title { font-size: 3rem; font-weight: 800; }
.page-subtitle { font-size: 1.2rem; color: var(--color-text-light); }
.subsection-title { margin-bottom: 1rem; }

.team-member-card { text-align: center; }
.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    box-shadow: 0 0 0 5px var(--color-bg), 0 0 0 7px var(--color-primary);
}
.team-member-name { margin-bottom: 0.25rem; }
.team-member-title { color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; }
.team-member-bio { font-size: 0.9rem; color: var(--color-text-light); }

/* Services Page */
.service-detail { border-bottom: 1px solid #e5e7eb; }
.service-detail:last-of-type { border-bottom: none; }

.grid-service {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
}

.service-title { margin-bottom: 1rem; }
.service-content h4 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.service-content ul { list-style: disc; padding-left: 20px; }
.service-content ul li { margin-bottom: 0.5rem; }

/* Legal Pages */
.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { list-style: disc; margin-bottom: 1rem; margin-left: 1.5rem; }

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: #9ca3af;
    padding: var(--section-padding) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #374151;
}

.footer-heading { color: var(--color-white); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-description { margin-top: 1rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #9ca3af; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--color-white); }
.footer-contact p { margin-bottom: 0.5rem; }

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright { font-size: 0.9rem; }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 1rem;
    z-index: 1001;
    display: none; /* Hidden by default */
}

.cookie-banner.show { display: block; }

.cookie-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.cookie-text a { color: var(--color-primary-light); text-decoration: underline; }

/* Tablet styles */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    .hero-title { font-size: 4rem; }
    .grid-cols-md-2 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cookie-container { flex-direction: row; justify-content: space-between; }
    .grid-service { grid-template-columns: repeat(2, 1fr); }
    .grid-service.reverse .service-content { order: 2; }
    .grid-service.reverse .service-image { order: 1; }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .nav-menu { display: block; }
    .mobile-nav-toggle { display: none; }
    .nav-menu.mobile-active { /* remove styles not needed for desktop */ }
    .grid-cols-lg-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-lg-3 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}