/**
 * Winnipeg SEO - Stylesheet
 * Color Palette: #001A6E (navy), #074799 (blue), #009990 (teal), #E1FFBB (light green)
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    /* Primary Colors */
    --color-cream: #E1FFBB;
    --color-gold: #009990;
    --color-orange: #074799;
    --color-red: #001A6E;

    /* Extended Palette */
    --color-dark: #001A6E;
    --color-navy: #001A6E;
    --color-sea-blue: #074799;
    --color-light-blue: #E1FFBB;
    --color-white: #ffffff;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-600: #6c757d;
    --color-gray-800: #343a40;

    /* Semantic Colors */
    --primary-color: #074799;
    --secondary-color: #009990;
    --accent-color: #001A6E;
    --background-color: #E1FFBB;
    --text-color: #001A6E;
    --text-muted: var(--color-gray-600);

    /* Typography */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ========================================
   Layout
======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-orange));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ========================================
   Header & Navigation
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(225, 255, 187, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
    text-decoration: none;
    z-index: 1001;
}

.logo:hover {
    color: var(--color-dark);
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    left: 0;
    transition: transform var(--transition-base);
}

.hamburger-icon::before {
    top: -7px;
}

.hamburger-icon::after {
    bottom: -7px;
}

/* Nav Links - Mobile First */
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 1rem 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    border-bottom: 1px solid var(--color-gray-200);
}

.nav-links li:last-child {
    border-bottom: none;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    color: var(--color-dark);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    background: var(--primary-color);
    color: var(--color-white);
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

/* Dropdown Menu - Mobile */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: var(--color-gray-100);
    padding: 0;
    min-width: 100%;
}

.has-dropdown.active .dropdown-menu {
    display: block;
}

.has-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: 0.875rem 2rem;
    color: var(--color-gray-800);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: var(--color-white);
    border-left-color: var(--secondary-color);
}

.dropdown-menu a.active {
    background: var(--accent-color);
    color: var(--color-white);
    border-left-color: var(--secondary-color);
    font-weight: 600;
}

/* Active Parent Styling */
.has-dropdown.active-parent > a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.lang-switcher a {
    color: var(--color-gray-600);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary-color);
    background: rgba(7, 71, 153, 0.1);
}

.lang-divider {
    color: var(--color-gray-300);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light-blue) 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Animated Sea Waves - Hidden */
.sea-waves {
    display: none;
}

.wave {
    display: none;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--color-gold);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--color-orange);
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--color-red);
    bottom: 20%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-orange));
    opacity: 0.3;
    z-index: -1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
    animation: pulse 3s ease-in-out infinite;
}

.hero-decoration:nth-child(1) {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.hero-decoration:nth-child(2) {
    bottom: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(250, 64, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 64, 50, 0.4);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-gray-300);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ========================================
   Services Section
======================================== */
.services-section {
    background: var(--color-white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-orange));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(250, 177, 47, 0.1), rgba(250, 129, 47, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-link::after {
    content: '\2192';
    transition: transform var(--transition-fast);
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* ========================================
   Process Section
======================================== */
.process-section {
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

.process-step {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials-section {
    background: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--color-gold);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--color-gray-800);
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 1rem;
    font-family: var(--font-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-rating {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-sea-blue) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23FA812F' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: var(--color-gold);
    color: var(--color-dark);
}

.cta-section .btn-primary:hover {
    background: var(--color-orange);
    color: var(--color-white);
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    position: relative;
}

.footer-waves {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.footer-waves svg {
    width: 100%;
    height: 60px;
}

.footer-content {
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo:hover {
    color: var(--color-white);
}

.footer-tagline {
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    text-align: center;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-gray-300);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact {
    text-align: center;
}

.footer-contact h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    color: var(--color-gray-300);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact strong {
    color: var(--color-white);
}

.footer-contact a {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray-300);
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   About Page
======================================== */
.about-hero {
    padding-top: 8rem;
}

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

.about-text {
    order: 2;
}

.about-image {
    order: 1;
}

.about-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.differentiator-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.differentiator-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.differentiator-content h4 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.differentiator-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9375rem;
}

/* ========================================
   Contact Page
======================================== */
.contact-section {
    padding-top: 8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-dark);
}

.form-group label .required {
    color: var(--color-red);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.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(7, 71, 153, 0.1);
}

/* Contact Form Section (for service pages) */
.contact-form-section {
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
    padding: var(--spacing-3xl) 0;
}

.contact-form-section .contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: left;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.contact-info-card h3 {
    font-size: 1.125rem;
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info-card li {
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ========================================
   Service Page
======================================== */
.service-hero {
    padding-top: 8rem;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light-blue) 100%);
}

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

.service-process {
    background: var(--color-white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2rem;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-item:not(:last-child) .timeline-marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--color-gray-300);
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h4 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    margin: 0;
}

.deliverables-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    list-style: none;
}

.deliverables-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
}

.deliverables-list li::before {
    content: '\2713';
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

.faq-section {
    background: var(--color-cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-gray-100);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.related-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ========================================
   404 Error Page
======================================== */
.error-page {
    text-align: center;
    padding: 8rem 2rem 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page .container {
    max-width: 600px;
}

.error-page h1 {
    font-size: 8rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
    text-shadow: 4px 4px 0 var(--color-gold);
}

.error-page h2 {
    font-size: 2rem;
    margin: 1rem 0;
}

.error-page p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.popular-pages {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.popular-pages h3 {
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-size: 1.125rem;
}

.popular-pages ul {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.popular-pages a {
    color: var(--primary-color);
    font-weight: 500;
}

.popular-pages a:hover {
    text-decoration: underline;
}

/* ========================================
   Testimonials Page
======================================== */
.testimonials-hero {
    padding-top: 8rem;
}

.stats-section {
    background: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.stat-label {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ========================================
   Process Page
======================================== */
.process-hero {
    padding-top: 8rem;
}

.detailed-process {
    counter-reset: process-step;
}

.process-phase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.process-phase:last-child {
    border-bottom: none;
}

.phase-content {
    order: 2;
}

.phase-visual {
    order: 1;
}

.phase-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.phase-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.phase-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.phase-list {
    list-style: none;
}

.phase-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

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

.phase-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Services Overview Page
======================================== */
.services-hero {
    padding-top: 8rem;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-overview-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.service-card-content {
    padding: 2rem;
}

.service-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ========================================
   Responsive Styles - Tablet (769px+)
======================================== */
@media (min-width: 769px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        box-shadow: none;
        background: transparent;
        padding: 0;
        gap: 0.25rem;
        overflow: visible;
        max-height: none;
    }

    .nav-links li {
        border-bottom: none;
    }

    .nav-links > li > a {
        padding: 0.5rem 0.75rem;
        border-radius: var(--radius-md);
    }

    .nav-links > li > a:hover,
    .nav-links > li > a.active {
        background: rgba(7, 71, 153, 0.15);
        color: var(--primary-color);
        font-weight: 600;
    }

    /* Dropdown - Desktop */
    .has-dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        border-radius: var(--radius-md);
        min-width: 220px;
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 1002;
    }

    .has-dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-menu a {
        border-left: none;
        padding: 0.75rem 1.25rem;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background: var(--primary-color);
        color: var(--color-white);
    }

    /* Hero */
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

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

    .hero-description {
        margin-left: 0;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn {
        width: auto;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-text {
        order: 1;
    }

    .about-image {
        order: 2;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    /* Service */
    .service-hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .deliverables-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-services {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process page */
    .process-phase {
        grid-template-columns: 1fr 1fr;
    }

    .process-phase:nth-child(even) .phase-content {
        order: 2;
    }

    .process-phase:nth-child(even) .phase-visual {
        order: 1;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Services overview */
    .services-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Responsive Styles - Desktop (1025px+)
======================================== */
@media (min-width: 1025px) {
    /* Typography */
    .hero h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.75rem;
    }

    /* Container */
    .container {
        padding: 0 2rem;
    }

    /* Navigation */
    .nav-links > li > a {
        padding: 0.5rem 1rem;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    /* Services overview */
    .services-overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Responsive Styles - Large Desktop (1400px+)
======================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

/* ========================================
   Print Styles
======================================== */
@media print {
    .site-header,
    .site-footer,
    .cta-section,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* ========================================
   What We Do Section - Keyword Carousel
======================================== */
.what-we-do-section {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #001A6E 0%, #074799 100%);
    overflow: hidden;
}

.what-we-do-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.what-we-do-section .section-title {
    color: #E1FFBB;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.what-we-do-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Wrapper */
.keyword-carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Carousel Rows */
.keyword-carousel-row {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.keyword-carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scrollCarousel 340s linear infinite;
}

.keyword-carousel-row.reverse .keyword-carousel-track {
    animation-direction: reverse;
}

.keyword-carousel-row[data-speed="120"] .keyword-carousel-track {
    animation-duration: 120s;
}

.keyword-carousel-row[data-speed="125"] .keyword-carousel-track {
    animation-duration: 125s;
}

.keyword-carousel-row[data-speed="130"] .keyword-carousel-track {
    animation-duration: 130s;
}

.keyword-carousel-row[data-speed="180"] .keyword-carousel-track {
    animation-duration: 180s;
}

/* Pause animation on hover */
.keyword-carousel-row:hover .keyword-carousel-track {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Keyword Items */
.keyword-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(225, 255, 187, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.keyword-item:hover {
    background: rgba(225, 255, 187, 0.2);
    border-color: #E1FFBB;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.keyword-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.keyword-item:hover .keyword-text {
    color: #E1FFBB;
}

.keyword-icon {
    color: #009990;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.keyword-item:hover .keyword-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Article Modal
======================================== */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.article-modal.active {
    opacity: 1;
    visibility: visible;
}

.article-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 110, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.article-modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-modal.active .article-modal-container {
    transform: translateY(0) scale(1);
}

.article-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    font-size: 1.75rem;
    color: #001A6E;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
}

.article-modal-close:hover {
    background: #001A6E;
    color: #E1FFBB;
    transform: rotate(90deg);
}

.article-modal-title {
    padding: 2rem 4rem 1.5rem 2rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #001A6E;
    border-bottom: 2px solid #E1FFBB;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    flex-shrink: 0;
}

.article-modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    color: #343a40;
    line-height: 1.8;
}

.article-modal-content h1,
.article-modal-content h2,
.article-modal-content h3,
.article-modal-content h4 {
    color: #001A6E;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-modal-content h1:first-child,
.article-modal-content h2:first-child,
.article-modal-content h3:first-child {
    margin-top: 0;
}

.article-modal-content p {
    margin-bottom: 1rem;
}

.article-modal-content ul,
.article-modal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-modal-content li {
    margin-bottom: 0.5rem;
}

.article-modal-content a {
    color: #074799;
    text-decoration: underline;
}

.article-modal-content a:hover {
    color: #009990;
}

.article-modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.article-modal-content blockquote {
    border-left: 4px solid #009990;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #6c757d;
    font-style: italic;
}

.article-modal-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-modal-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Custom scrollbar for modal content */
.article-modal-content::-webkit-scrollbar {
    width: 8px;
}

.article-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.article-modal-content::-webkit-scrollbar-thumb {
    background: #009990;
    border-radius: 4px;
}

.article-modal-content::-webkit-scrollbar-thumb:hover {
    background: #074799;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ========================================
   What We Do Section - Responsive
======================================== */
@media (max-width: 768px) {
    .what-we-do-section {
        padding: 3rem 0;
    }

    .what-we-do-section .section-title {
        font-size: 2rem;
    }

    .what-we-do-section .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .keyword-carousel-wrapper {
        gap: 1rem;
    }

    .keyword-item {
        padding: 0.6rem 1.2rem;
    }

    .keyword-text {
        font-size: 0.875rem;
    }

    .article-modal-container {
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .article-modal-title {
        font-size: 1.375rem;
        padding: 1.5rem 3.5rem 1.25rem 1.5rem;
    }

    .article-modal-content {
        padding: 1.5rem;
    }

    .article-modal-close {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .what-we-do-section .section-title {
        font-size: 1.75rem;
    }

    .keyword-item {
        padding: 0.5rem 1rem;
    }

    .keyword-text {
        font-size: 0.8rem;
    }

    .article-modal-title {
        font-size: 1.25rem;
        padding: 1.25rem 3rem 1rem 1.25rem;
    }

    .article-modal-content {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
}
