@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;700&family=Permanent+Marker&display=swap');

:root {
 --primary-color: #3f51b5; /* Indigo */
 --primary-dark-color: #303f9f;
 --primary-light-color: #c5cae9;
 --secondary-color: #ff4081; /* Pink A200 */
 --accent-color: #ff9800; /* Orange */
 --text-dark: #212121;
 --text-light: #757575;
 --background-light: #f5f5f5;
 --background-dark: #303030;
 --white: #ffffff;
 --border-color: #e0e0e0;
 --success-color: #4caf50;
 --error-color: #f44336;

 --font-heading: 'Permanent Marker', cursive;
 --font-body: 'Montserrat', sans-serif;
 --font-alt: 'Open Sans', sans-serif;

 --border-radius-small: 5px;
 --border-radius-medium: 10px;
 --box-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.08);
 --box-shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.12);
 --transition-speed: 0.3s ease;
}

/* Reset and base styles */
*, *::before, *::after {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

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

body {
 font-family: var(--font-body);
 line-height: 1.6;
 color: var(--text-dark);
 background-color: var(--background-light);
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 color: var(--text-dark);
 margin-bottom: 0.8em;
 line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
p { margin-bottom: 1em; }

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

.section-lead {
 text-align: center;
 max-width: 800px;
 margin: 0 auto 3rem auto;
 font-size: 1.1rem;
 color: var(--text-light);
}

/* Header and Navigation */
header {
 background-color: var(--primary-color);
 color: var(--white);
 padding: 1rem 0;
 position: sticky;
 top: 0;
 z-index: 1000;
 box-shadow: var(--box-shadow-medium);
}

header.scrolled {
 background-color: var(--primary-dark-color);
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 1.5rem;
}

.logo {
 font-family: var(--font-heading);
 font-size: 1.8rem;
 color: var(--white);
 text-decoration: none;
 padding: 0.5rem 0;
 position: relative;
 z-index: 1001; /* Ensure logo is above nav-toggle */
}

.nav-links {
 list-style: none;
 display: flex;
 gap: 1.5rem;
}

.nav-links a {
 color: var(--white);
 text-decoration: none;
 font-weight: 600;
 padding: 0.5rem 0;
 position: relative;
 transition: color var(--transition-speed);
}

.nav-links a::after {
 content: '';
 position: absolute;
 left: 0;
 bottom: 0px; /* Adjusted */
 width: 0;
 height: 2px;
 background-color: var(--secondary-color);
 transition: width var(--transition-speed);
}

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

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
 position: relative;
 z-index: 1001; /* Ensure toggle is above nav-links when open */
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 3px;
 background-color: var(--white);
 margin: 5px 0;
 transition: all var(--transition-speed);
}

.nav-toggle.active span:nth-child(1) {
 transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
 opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
 transform: rotate(45deg) translate(-5px, -6px);
}

/* Buttons */
.btn {
 display: inline-block;
 padding: 0.8rem 1.8rem;
 border-radius: var(--border-radius-small);
 font-weight: 600;
 text-align: center;
 transition: all var(--transition-speed);
 cursor: pointer;
 font-family: var(--font-alt);
 border: 2px solid transparent;
}

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

.btn-primary:hover {
 background-color: var(--primary-dark-color);
 border-color: var(--primary-dark-color);
 transform: translateY(-2px);
 box-shadow: var(--box-shadow-light);
}

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

.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--white);
 transform: translateY(-2px);
 box-shadow: var(--box-shadow-light);
}

.btn-text {
 background: none;
 border: none;
 padding: 0;
 color: var(--primary-color);
 text-decoration: underline;
 font-weight: 600;
}

.btn-text:hover {
 color: var(--primary-dark-color);
}

.btn-small {
 padding: 0.5rem 1rem;
 font-size: 0.9rem;
}

.btn-large {
 padding: 1rem 2.5rem;
 font-size: 1.1rem;
}

/* Sections */
section {
 padding: 5rem 0;
 position: relative;
 overflow: hidden;
}

.centered-section {
 text-align: center;
}

.centered-section h2 {
 margin-bottom: 1.5rem;
}

/* Creative Chaos Design Elements */
.creative-chaos {
 position: relative;
 overflow: hidden;
 background-color: var(--background-light);
}

.chaos-title {
 font-family: var(--font-heading);
 text-align: center;
 font-size: 2.5rem;
 color: var(--primary-dark-color);
 margin-bottom: 3rem;
 position: relative;
 z-index: 2;
}

.chaos-title::before {
 content: '';
 position: absolute;
 bottom: -15px;
 left: 50%;
 transform: translateX(-50%);
 width: 60px;
 height: 8px;
 background-color: var(--accent-color);
 border-radius: var(--border-radius-small);
}

/* Hero Section */
.hero.creative-chaos {
 min-height: 85vh;
 display: flex;
 align-items: center;
 background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light-color) 100%);
 color: var(--white);
 padding: 5rem 0;
 position: relative;
}

.hero.creative-chaos::before {
 content: '';
 position: absolute;
 top: -50px;
 left: -50px;
 width: 200px;
 height: 200px;
 background: rgba(255, 255, 255, 0.05);
 border-radius: 50%;
 transform: rotate(20deg);
}

.hero.creative-chaos::after {
 content: '';
 position: absolute;
 bottom: -70px;
 right: -70px;
 width: 220px;
 height: 220px;
 background: rgba(255, 255, 255, 0.07);
 border-radius: 40%;
 transform: rotate(-30deg);
}

.hero-content {
 flex: 1;
 z-index: 10;
 padding: 0 1.5rem;
}

.hero-content h1 {
 font-family: var(--font-heading);
 font-size: 3.5rem;
 color: var(--white);
 margin-bottom: 1rem;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
 font-size: 1.2rem;
 color: var(--primary-light-color);
 margin-bottom: 2rem;
 max-width: 600px;
}

.hero-cta-group {
 display: flex;
 gap: 1.5rem;
}

.hero-image-collage {
 flex: 1;
 position: relative;
 min-height: 400px; /* ensure space */
 padding: 0 1.5rem;
 display: none; /* Hidden by default on mobile, shown on larger screens */
}

.hero-image-collage img {
 position: absolute;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 object-fit: cover;
}

.hero-image-collage img:hover {
 transform: scale(1.03) rotate(2deg) !important;
 box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.hero-image-collage .item-1 {
 width: 80%;
 max-width: 450px;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%) rotate(-5deg);
 z-index: 4;
}
.hero-image-collage .item-2 {
 width: 40%;
 max-width: 200px;
 top: 10%;
 left: 20%;
 transform: rotate(10deg);
 z-index: 5;
}
.hero-image-collage .item-3 {
 width: 35%;
 max-width: 180px;
 bottom: 0%;
 left: 0%;
 transform: rotate(-12deg);
 z-index: 3;
}
.hero-image-collage .item-4 {
 width: 50%;
 max-width: 250px;
 bottom: 15%;
 right: 0%;
 transform: rotate(8deg);
 z-index: 2;
}

/* Section Chaos General */
.section-chaos {
 background-color: var(--white);
 padding: 6rem 0;
 position: relative;
 overflow: hidden;
}

.section-chaos::before {
 content: '';
 position: absolute;
 top: -20px;
 left: 10%;
 width: 100px;
 height: 100px;
 border-radius: 50%;
 background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
 opacity: 0.1;
 transform: rotate(30deg);
 z-index: 1;
}

.section-chaos::after {
 content: '';
 position: absolute;
 bottom: -30px;
 right: 5%;
 width: 150px;
 height: 150px;
 border-radius: 50% 30% 50% 70%;
 background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
 opacity: 0.08;
 transform: rotate(-45deg);
 z-index: 1;
}

.container-chaos {
 position: relative;
 z-index: 2;
}

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

.chaos-grid-small {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 margin-top: 2rem;
}

.chaos-item {
 display: flex;
 flex-direction: column;
 gap: 2rem;
 background-color: var(--white);
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 padding: 2rem;
 border-left: 5px solid var(--primary-color);
}

.chaos-item .item-visual {
 width: auto;
 height: auto;
 max-width: 100%;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 transform: rotate(-2deg);
 transition: transform var(--transition-speed);
}

.chaos-item .item-visual:hover {
 transform: rotate(0deg) scale(1.02);
}

.item-text h3 {
 font-family: var(--font-heading);
 color: var(--primary-dark-color);
 margin-bottom: 0.8rem;
}

.item-text p {
 color: var(--text-light);
 margin-bottom: 1.5rem;
}

.chaos-item-small {
 background-color: var(--white);
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 padding: 1.5rem;
 overflow: hidden;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 border-bottom: 3px solid var(--accent-color);
}

.chaos-item-small:hover {
 transform: translateY(-5px);
 box-shadow: var(--box-shadow-medium);
}

.chaos-item-small .item-visual {
 width: 100%;
 height: 180px;
 object-fit: cover;
 border-radius: var(--border-radius-small);
 margin-bottom: 1rem;
}

.chaos-item-small .item-text h3 {
 font-family: var(--font-heading);
 font-size: 1.3rem;
 margin-bottom: 0.5rem;
}

.chaos-item-small .item-text p {
 font-size: 0.95rem;
 color: var(--text-light);
 line-height: 1.5;
 margin-bottom: 1rem;
}

.chaos-item-small .read-more {
 font-weight: 600;
 color: var(--primary-color);
}

.chaos-item-small .read-more:hover {
 color: var(--primary-dark-color);
}

/* Creative Cards (Services/Features) */
.creative-cards {
 background-color: var(--primary-light-color);
 padding: 6rem 0;
 position: relative;
 overflow: hidden;
}

.card-container-chaos {
 position: relative;
 z-index: 2;
}

.card-grid-chaos {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 3rem;
 justify-content: center;
}

.card-chaos {
 background-color: var(--white);
 padding: 2rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 text-align: center;
 position: relative;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 border-bottom: 5px solid var(--secondary-color);
}

.card-chaos:hover {
 transform: translateY(-8px) rotate(2deg);
 box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-chaos img {
 width: 100%;
 max-height: 180px;
 object-fit: cover;
 border-radius: var(--border-radius-small);
 margin-bottom: 1.5rem;
 box-shadow: var(--box-shadow-light);
}

.card-chaos h3 {
 font-family: var(--font-heading);
 color: var(--primary-dark-color);
 font-size: 1.6rem;
 margin-bottom: 0.8rem;
}

.card-chaos p {
 color: var(--text-light);
 margin-bottom: 1.5rem;
}

/* Testimonials Chaos */
.testimonials-chaos {
 background-color: var(--background-light);
 padding: 6rem 0;
 position: relative;
 overflow: hidden;
}

.container-chaos-testimonials {
 position: relative;
 z-index: 2;
}

.testimonial-cards-chaos {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2.5rem;
 margin-top: 3rem;
}

.testimonial-card-chaos {
 background-color: var(--white);
 padding: 2.5rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 position: relative;
 font-family: var(--font-alt);
 font-style: italic;
 color: var(--text-dark);
 line-height: 1.8;
 border: 1px solid var(--border-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.testimonial-card-chaos:nth-child(even) {
 transform: rotate(2deg) translateY(-10px);
}
.testimonial-card-chaos:nth-child(odd) {
 transform: rotate(-1deg) translateY(5px);
}

.testimonial-card-chaos:hover {
 transform: rotate(0deg) translateY(-2px) scale(1.02);
 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card-chaos::before {
 content: '';
 font-size: 4rem;
 color: var(--primary-light-color);
 position: absolute;
 top: 10px;
 left: 15px;
 line-height: 1;
 z-index: 1;
}

.testimonial-card-chaos p {
 position: relative;
 z-index: 2;
 margin-bottom: 1.5rem;
 font-size: 1.1rem;
 color: var(--text-dark);
}

.testimonial-card-chaos .author-info {
 border-top: 1px solid var(--border-color);
 padding-top: 1rem;
 text-align: right;
 position: relative;
 z-index: 2;
}

.testimonial-card-chaos .author-info h4 {
 font-family: var(--font-body);
 font-style: normal;
 font-weight: 700;
 color: var(--primary-dark-color);
 margin-bottom: 0.3rem;
 font-size: 1rem;
}

.testimonial-card-chaos .author-info span {
 font-style: normal;
 color: var(--text-light);
 font-size: 0.9rem;
}

/* FAQ Chaos */
.faq-chaos {
 background-color: var(--primary-light-color);
 padding: 6rem 0;
}

.accordion-chaos {
 max-width: 800px;
 margin: 3rem auto 0 auto;
}

.accordion-item-chaos {
 background-color: var(--white);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius-medium);
 margin-bottom: 1.5rem;
 overflow: hidden;
 box-shadow: var(--box-shadow-light);
 transform: rotate(-1deg);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.accordion-item-chaos:hover {
 transform: rotate(0deg) translateY(-3px);
 box-shadow: var(--box-shadow-medium);
}

.accordion-item-chaos:nth-child(even) {
 transform: rotate(1deg) translateY(0px);
}

.accordion-header-chaos {
 width: 100%;
 background-color: var(--primary-color);
 color: var(--white);
 padding: 1.2rem 2rem;
 text-align: left;
 font-size: 1.1rem;
 font-weight: 600;
 border: none;
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color var(--transition-speed);
 font-family: var(--font-alt);
}

.accordion-header-chaos:hover {
 background-color: var(--primary-dark-color);
}

.accordion-header-chaos .icon {
 font-size: 1.5rem;
 transition: transform var(--transition-speed);
}

.accordion-header-chaos[aria-expanded="true"] .icon {
 transform: rotate(45deg);
}

.accordion-content-chaos {
 padding: 0 2rem;
 background-color: var(--white);
 max-height: 0;
 overflow: hidden;
 transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed);
}

.accordion-content-chaos p {
 padding: 1.5rem 0;
 margin-bottom: 0;
 color: var(--text-dark);
}

/* CTA */
.cta-chaos {
 background-color: var(--primary-color);
 color: var(--white);
 padding: 5rem 0;
 text-align: center;
 position: relative;
 overflow: hidden;
}

.cta-chaos::before {
 content: '';
 position: absolute;
 top: 0;
 right: 0;
 width: 150px;
 height: 150px;
 background: rgba(255, 255, 255, 0.08);
 border-bottom-left-radius: 100%;
 transform: rotate(10deg);
}
.cta-chaos::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 120px;
 height: 120px;
 background: rgba(255, 255, 255, 0.06);
 border-top-right-radius: 100%;
 transform: rotate(-15deg);
}

.cta-chaos h2 {
 font-family: var(--font-heading);
 color: var(--white);
 font-size: 2.8rem;
 margin-bottom: 1.5rem;
 text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-chaos p {
 font-size: 1.2rem;
 color: var(--primary-light-color);
 margin-bottom: 2.5rem;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

/* About Page Specific Styles */
.about-hero {
 background: linear-gradient(to right, var(--primary-color), var(--primary-dark-color));
 color: var(--white);
 padding: 4rem 0;
 text-align: center;
 margin-bottom: 3rem;
}

.about-hero h1 {
 color: var(--white);
 font-size: 3rem;
}

.story-section {
 padding: 4rem 0;
 background-color: var(--white);
}

.mission-vision-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2.5rem;
 margin-top: 3rem;
}

.mission-card, .vision-card, .values-card {
 background-color: var(--background-light);
 padding: 2.5rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 border-left: 5px solid var(--accent-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.mission-card:hover, .vision-card:hover, .values-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--box-shadow-medium);
}

.mission-card h3, .vision-card h3, .values-card h3 {
 font-family: var(--font-heading);
 color: var(--primary-dark-color);
 margin-bottom: 1rem;
 font-size: 1.7rem;
}

.values-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 margin-top: 3rem;
}

.value-item {
 background-color: var(--white);
 padding: 2rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 text-align: center;
 border-bottom: 3px solid var(--secondary-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.value-item:hover {
 transform: translateY(-5px);
 box-shadow: var(--box-shadow-medium);
}

.value-item h4 {
 font-family: var(--font-alt);
 color: var(--primary-color);
 font-size: 1.2rem;
 margin-bottom: 0.8rem;
}

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

.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2.5rem;
 margin-top: 3rem;
}

.team-member-card {
 background-color: var(--white);
 padding: 1.5rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 text-align: center;
 border-top: 5px solid var(--primary-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.team-member-card:hover {
 transform: translateY(-7px);
 box-shadow: var(--box-shadow-medium);
}

.team-member-card img {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 1rem;
 border: 3px solid var(--primary-light-color);
}

.team-member-card h4 {
 font-family: var(--font-heading);
 color: var(--primary-dark-color);
 margin-bottom: 0.5rem;
}

.team-member-card p {
 font-size: 0.95rem;
 color: var(--text-light);
 margin-bottom: 0.5rem;
}

.team-member-card .social-links {
 margin-top: 1rem;
}

.team-member-card .social-links a {
 color: var(--primary-color);
 font-size: 1.2rem;
 margin: 0 0.5rem;
}

/* Services Page */
.services-hero {
 background: url('https://picsum.photos/seed/services-hero/1600/600') no-repeat center center/cover;
 color: var(--white);
 padding: 6rem 0;
 text-align: center;
 position: relative;
}
.services-hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(0, 0, 0, 0.5);
}
.services-hero .container {
 position: relative;
 z-index: 2;
}
.services-hero h1 {
 font-size: 3.5rem;
 color: var(--white);
 margin-bottom: 1rem;
 text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.services-hero p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: 0 auto 2rem auto;
}

.service-card-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2.5rem;
}

.service-card {
 background-color: var(--white);
 padding: 2rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 border-left: 5px solid var(--primary-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.service-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--box-shadow-medium);
}

.service-card h3 {
 font-family: var(--font-heading);
 color: var(--primary-dark-color);
 font-size: 1.7rem;
 margin-bottom: 1rem;
}
.service-card p {
 color: var(--text-dark);
 margin-bottom: 1.5rem;
}

.process-section {
 background-color: var(--background-light);
}
.process-steps {
 display: flex;
 flex-wrap: wrap; /* allow wrapping on smaller screens */
 justify-content: space-between;
 gap: 2rem;
 margin-top: 3rem;
}

.process-step {
 flex: 1; /* evenly distribute space */
 min-width: 250px; /* minimum width before wrapping */
 background-color: var(--white);
 padding: 2rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 text-align: center;
 position: relative;
 overflow: hidden;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.process-step:hover {
 transform: translateY(-5px);
 box-shadow: var(--box-shadow-medium);
}

.process-step::before {
 content: attr(data-step);
 position: absolute;
 top: -20px;
 left: -20px;
 font-size: 5rem;
 font-family: var(--font-heading);
 color: var(--primary-light-color);
 opacity: 0.4;
 transform: rotate(-10deg);
 z-index: 0;
}

.process-step h4 {
 font-family: var(--font-heading);
 color: var(--primary-color);
 font-size: 1.4rem;
 margin-bottom: 0.8rem;
 position: relative;
 z-index: 1;
}
.process-step p {
 color: var(--text-dark);
 position: relative;
 z-index: 1;
}

/* Contact Page */
.contact-hero {
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 color: var(--white);
 padding: 5rem 0;
 text-align: center;
}
.contact-hero h1 {
 color: var(--white);
 font-size: 3.2rem;
}

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

.contact-form-section {
 background-color: var(--white);
 padding: 3rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 border-top: 6px solid var(--primary-color);
}
.contact-form-section h2 {
 font-family: var(--font-heading);
 color: var(--primary-dark-color);
 margin-bottom: 2rem;
}

.contact-form {
 display: grid;
 gap: 1.5rem;
}
.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 600;
 color: var(--text-dark);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
 width: 100%;
 padding: 0.8rem;
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius-small);
 font-family: var(--font-body);
 font-size: 1rem;
 transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--primary-color);
 outline: none;
 box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
}
.form-group textarea {
 min-height: 120px;
 resize: vertical;
}
#contactForm .btn-primary {
 width: auto;
 justify-self: start;
 margin-top: 1rem;
}

.contact-info-aside {
 background-color: var(--primary-color);
 color: var(--white);
 padding: 2.5rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 border-bottom: 6px solid var(--accent-color);
}

.contact-info-aside h3 {
 font-family: var(--font-heading);
 color: var(--white);
 margin-bottom: 1.5rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.3);
 padding-bottom: 0.5rem;
}

.contact-info-aside p {
 margin-bottom: 1rem;
 color: var(--primary-light-color);
}
.contact-info-aside p strong {
 color: var(--white);
}
.contact-info-aside a {
 color: var(--accent-color);
 transition: color var(--transition-speed);
}
.contact-info-aside a:hover {
 text-decoration: underline;
 color: var(--white);
}
.contact-info-aside .working-hours {
 margin-top: 2rem;
 font-size: 0.95rem;
}

.map-section {
 padding: 0; /* Remove default padding as map covers full width */
 margin-top: 3rem;
}
.map-container {
 border-radius: var(--border-radius-medium);
 overflow: hidden;
 box-shadow: var(--box-shadow-medium);
}
.map-container iframe {
 width: 100%;
 height: 450px;
 border: 0;
}

/* Blog Page */
.blog-hero {
 background: url('https://picsum.photos/seed/blog-hero/1600/600') no-repeat center center/cover;
 color: var(--white);
 padding: 6rem 0;
 text-align: center;
 position: relative;
}
.blog-hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(0, 0, 0, 0.6);
}
.blog-hero .container {
 position: relative;
 z-index: 2;
}
.blog-hero h1 {
 font-size: 3.5rem;
 color: var(--white);
 margin-bottom: 1rem;
 text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.blog-hero p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: 0 auto 2rem auto;
}

.blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 3rem;
 margin-top: 3rem;
}

.blog-card {
 background-color: var(--white);
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 overflow: hidden;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 border-bottom: 4px solid var(--accent-color);
}
.blog-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--box-shadow-medium);
}

.blog-card-image {
 width: 100%;
 height: 220px;
 object-fit: cover;
}

.blog-card-content {
 padding: 1.8rem;
}

.blog-card-content h3 {
 font-family: var(--font-heading);
 font-size: 1.6rem;
 margin-bottom: 0.8rem;
}

.blog-card-content p {
 font-size: 0.95rem;
 color: var(--text-light);
 line-height: 1.5;
 margin-bottom: 1.5rem;
}

.blog-meta {
 font-size: 0.85rem;
 color: var(--text-light);
 margin-top: 1rem;
 padding-top: 1rem;
 border-top: 1px solid var(--border-color);
 display: flex;
 justify-content: space-between;
}

/* Blog Post Specific */
.blog-post-content {
 max-width: 800px;
 margin: 3rem auto;
 background-color: var(--white);
 padding: 3rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
}
.blog-post-content h1 {
 font-family: var(--font-heading);
 font-size: 3rem;
 color: var(--primary-dark-color);
 margin-bottom: 1.5rem;
}
.blog-post-meta {
 font-size: 0.9rem;
 color: var(--text-light);
 margin-bottom: 2rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 1rem;
}
.blog-post-meta span {
 margin-right: 1.5rem;
}
.blog-post-image {
 width: 100%;
 height: auto;
 max-height: 450px;
 object-fit: cover;
 margin-bottom: 2rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
}
.blog-post-content p {
 margin-bottom: 1.5rem;
 line-height: 1.8;
}
.blog-post-content h2 {
 font-family: var(--font-heading);
 font-size: 2rem;
 color: var(--primary-color);
 margin-top: 2.5rem;
 margin-bottom: 1rem;
}
.blog-post-content ul {
 list-style-type: disc;
 margin-left: 1.5rem;
 margin-bottom: 1.5rem;
}
.blog-post-content ol {
 list-style-type: decimal;
 margin-left: 1.5rem;
 margin-bottom: 1.5rem;
}
.blog-post-content li {
 margin-bottom: 0.5rem;
}

.author-box {
 background-color: var(--primary-light-color);
 padding: 1.5rem;
 border-radius: var(--border-radius-medium);
 display: flex;
 align-items: center;
 gap: 1.5rem;
 margin-top: 3rem;
 border-left: 5px solid var(--primary-color);
 box-shadow: var(--box-shadow-light);
}
.author-box img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid var(--primary-color);
}
.author-info h4 {
 font-family: var(--font-heading);
 color: var(--primary-dark-color);
 margin-bottom: 0.3rem;
 font-size: 1.2rem;
}
.author-info p {
 margin: 0;
 font-size: 0.9rem;
 color: var(--text-dark);
}

/* Testimonials Page */
.testimonials-page-hero {
 background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
 color: var(--white);
 padding: 5rem 0;
 text-align: center;
}
.testimonials-page-hero h1 {
 color: var(--white);
 font-size: 3.2rem;
}

.testimonials-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2.5rem;
 margin-top: 3rem;
}

.testimonial-card-full {
 background-color: var(--white);
 padding: 2.5rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 position: relative;
 font-family: var(--font-alt);
 font-style: italic;
 color: var(--text-dark);
 line-height: 1.8;
 border: 1px solid var(--border-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.testimonial-card-full:hover {
 transform: translateY(-5px);
 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card-full::before {
 content: '';
 font-size: 4rem;
 color: var(--primary-light-color);
 position: absolute;
 top: 10px;
 left: 15px;
 line-height: 1;
 z-index: 1;
}

.testimonial-card-full p {
 position: relative;
 z-index: 2;
 margin-bottom: 1.5rem;
 font-size: 1.1rem;
 color: var(--text-dark);
}

.testimonial-card-full .author-info {
 border-top: 1px solid var(--border-color);
 padding-top: 1rem;
 text-align: right;
 position: relative;
 z-index: 2;
}

.testimonial-card-full .author-info h4 {
 font-family: var(--font-body);
 font-style: normal;
 font-weight: 700;
 color: var(--primary-dark-color);
 margin-bottom: 0.3rem;
 font-size: 1rem;
}

.testimonial-card-full .author-info span {
 font-style: normal;
 color: var(--text-light);
 font-size: 0.9rem;
}
.testimonial-card-full img {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
 float: left;
 margin-right: 15px;
 border: 2px solid var(--primary-color);
}

/* Gallery Page */
.gallery-hero {
 background: url('https://picsum.photos/seed/gallery-hero/1600/600') no-repeat center center/cover;
 color: var(--white);
 padding: 6rem 0;
 text-align: center;
 position: relative;
}
.gallery-hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(0, 0, 0, 0.5);
}
.gallery-hero .container {
 position: relative;
 z-index: 2;
}
.gallery-hero h1 {
 font-size: 3.5rem;
 color: var(--white);
 margin-bottom: 1rem;
 text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.gallery-hero p {
 font-size: 1.2rem;
 max-width: 800px;
 margin: 0 auto 2rem auto;
}

.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 1.5rem;
 margin-top: 3rem;
}

.gallery-item {
 position: relative;
 overflow: hidden;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-light);
 cursor: pointer;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.gallery-item:hover {
 transform: translateY(-5px) scale(1.02);
 box-shadow: var(--box-shadow-medium);
}

.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
 transition: transform 0.5s ease;
}
.gallery-item:hover img {
 transform: scale(1.05);
}

.gallery-item-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(63, 81, 181, 0.7); /* Primary color overlay */
 color: var(--white);
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 opacity: 0;
 transition: opacity var(--transition-speed);
}
.gallery-item:hover .gallery-item-overlay {
 opacity: 1;
}

.gallery-item-overlay h4 {
 color: var(--white);
 font-family: var(--font-heading);
 font-size: 1.5rem;
 margin-bottom: 0.5rem;
}
.gallery-item-overlay p {
 font-size: 0.9rem;
 margin: 0;
 text-align: center;
 max-width: 80%;
}

/* Lightbox */
.lightbox {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.8);
 z-index: 2000;
 justify-content: center;
 align-items: center;
 padding: 2rem;
}
.lightbox.active {
 display: flex;
}

.lightbox-content {
 position: relative;
 max-width: 90%;
 max-height: 90%;
 background-color: var(--white);
 padding: 1rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 animation: fadeIn 0.3s ease-out;
}
.lightbox-content img {
 max-width: 100%;
 max-height: 70vh;
 display: block;
 margin: 0 auto;
 border-radius: var(--border-radius-small);
}

.lightbox-close {
 position: absolute;
 top: 15px;
 right: 15px;
 background: var(--primary-color);
 color: var(--white);
 border: none;
 border-radius: 50%;
 width: 30px;
 height: 30px;
 font-size: 1.5rem;
 cursor: pointer;
 line-height: 1;
 display: flex;
 justify-content: center;
 align-items: center;
 transition: background-color var(--transition-speed);
}
.lightbox-close:hover {
 background-color: var(--secondary-color);
}

.lightbox-caption {
 text-align: center;
 padding: 0.8rem 0;
 font-size: 1rem;
 color: var(--text-dark);
}

@keyframes fadeIn {
 from { opacity: 0; transform: scale(0.9); }
 to { opacity: 1; transform: scale(1); }
}

/* FAQ Page (full) */
.faq-page-hero {
 background: linear-gradient(to right, var(--primary-dark-color), var(--primary-color));
 color: var(--white);
 padding: 5rem 0;
 text-align: center;
}
.faq-page-hero h1 {
 color: var(--white);
 font-size: 3.2rem;
}

.faq-container {
 max-width: 900px;
 margin: 3rem auto;
}

/* Legal Pages */
.legal-page-hero {
 background: linear-gradient(to right, var(--text-dark), var(--text-light));
 color: var(--white);
 padding: 4rem 0;
 text-align: center;
}
.legal-page-hero h1 {
 color: var(--white);
 font-size: 2.8rem;
}
.legal-content {
 background-color: var(--white);
 padding: 3rem;
 border-radius: var(--border-radius-medium);
 box-shadow: var(--box-shadow-medium);
 margin: 3rem auto;
 max-width: 1000px;
}
.legal-content h2, .legal-content h3 {
 font-family: var(--font-alt);
 color: var(--primary-dark-color);
 margin-top: 2rem;
 margin-bottom: 1rem;
}
.legal-content p {
 margin-bottom: 1rem;
}
.legal-content ol, .legal-content ul {
 margin-left: 1.5rem;
 margin-bottom: 1.5rem;
}
.legal-content li {
 margin-bottom: 0.5rem;
}

/* Thanks Page */
.thanks-container {
 padding: 6rem 1.5rem;
 text-align: center;
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-color: var(--background-light);
}

.thanks-container h1 {
 font-family: var(--font-heading);
 font-size: 3.5rem;
 color: var(--primary-color);
 margin-bottom: 1.5rem;
}

.thanks-container p {
 font-size: 1.3rem;
 color: var(--text-dark);
 max-width: 600px;
 margin-bottom: 2.5rem;
}

.thanks-container .btn {
 margin-top: 1rem;
}

/* 404 Page */
.error-container {
 padding: 6rem 1.5rem;
 text-align: center;
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-color: var(--background-dark);
 color: var(--white);
 position: relative;
 overflow: hidden;
}

.error-container::before {
 content: '404';
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%) rotate(-15deg);
 font-size: 15rem;
 font-family: var(--font-heading);
 color: rgba(255, 255, 255, 0.08);
 z-index: 1;
 pointer-events: none;
 user-select: none;
}

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

.error-content h1 {
 font-family: var(--font-heading);
 font-size: 6rem;
 color: var(--secondary-color);
 margin-bottom: 1rem;
 line-height: 1;
 text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}

.error-content h2 {
 font-family: var(--font-body);
 font-size: 2.5rem;
 color: var(--primary-light-color);
 margin-bottom: 1.5rem;
}

.error-content p {
 font-size: 1.2rem;
 color: var(--primary-light-color);
 max-width: 600px;
 margin-bottom: 2.5rem;
}

.error-content .btn-primary {
 background-color: var(--secondary-color);
 border-color: var(--secondary-color);
}
.error-content .btn-primary:hover {
 background-color: #e0005a; /* Darker secondary */
 border-color: #e0005a;
}
.error-content .btn-secondary {
 color: var(--accent-color);
 border-color: var(--accent-color);
}
.error-content .btn-secondary:hover {
 background-color: var(--accent-color);
 color: var(--white);
}

/* Footer specific */
footer {
 background-color: var(--text-dark); /* Darker footer */
 color: var(--primary-light-color);
 padding: 3rem 0 1rem 0;
 font-size: 0.9rem;
 position: relative;
 overflow: hidden;
}

.footer-grid-chaos {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 2rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 padding-bottom: 2rem;
 margin-bottom: 1.5rem;
 position: relative;
 z-index: 2;
}

.footer-col-chaos {
 padding: 1rem 0;
}

.footer-col-chaos h3, .footer-col-chaos h4 {
 font-family: var(--font-heading);
 color: var(--white);
 margin-bottom: 1.2rem;
 border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
 padding-bottom: 0.5rem;
}

.footer-col-chaos p {
 margin-bottom: 0.8rem;
 color: var(--primary-light-color);
}

.footer-col-chaos ul {
 list-style: none;
}

.footer-col-chaos ul li {
 margin-bottom: 0.6rem;
}

.footer-col-chaos ul li a {
 color: var(--primary-light-color);
 text-decoration: none;
 transition: color var(--transition-speed), transform var(--transition-speed);
 display: inline-block;
}

.footer-col-chaos ul li a:hover {
 color: var(--accent-color);
 transform: translateX(5px);
}

.footer-brand .social-links-chaos {
 margin-top: 1.5rem;
 display: flex;
 gap: 1rem;
}

.footer-brand .social-links-chaos a {
 color: var(--white);
 font-size: 1.4rem;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 35px;
 height: 35px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.1);
 transition: background-color var(--transition-speed), color var(--transition-speed);
}

.footer-brand .social-links-chaos a:hover {
 background-color: var(--secondary-color);
 color: var(--white);
}

.footer-bottom-chaos {
 text-align: center;
 padding-top: 1rem;
 color: var(--primary-light-color);
 position: relative;
 z-index: 2;
}

footer::before {
 content: '';
 position: absolute;
 top: -50px;
 left: -50px;
 width: 150px;
 height: 150px;
 background: rgba(255, 255, 255, 0.05);
 border-radius: 50%;
 transform: rotate(20deg);
 z-index: 1;
}

footer::after {
 content: '';
 position: absolute;
 bottom: -30px;
 right: -30px;
 width: 100px;
 height: 100px;
 background: rgba(255, 255, 255, 0.07);
 border-radius: 40% 60% 70% 30% / 60% 60% 40% 40%;
 transform: rotate(-10deg);
 z-index: 1;
}

/* Utility Classes */
.center-text {
 text-align: center;
 margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 1024px) {
 .container {
 padding: 1.5rem 1rem;
 }
 h1 { font-size: 2.5rem; }
 h2 { font-size: 2rem; }
 h3 { font-size: 1.6rem; }
 h4 { font-size: 1.3rem; }

 .hero.creative-chaos {
 flex-direction: column;
 text-align: center;
 padding: 4rem 0;
 min-height: auto;
 }
 .hero-content {
 padding-bottom: 2rem;
 }
 .hero-content h1 {
 font-size: 3rem;
 }
 .hero-cta-group {
 justify-content: center;
 }
 .hero-image-collage {
 display: none; /* Hide collage on smaller screens for simplicity */
 margin-top: 2rem;
 }
 .hero-image-collage img {
 position: static;
 transform: none !important;
 width: 100%;
 max-width: 400px; /* Constrain size */
 margin-bottom: 1rem;
 }
 .hero-image-collage .item-1 { position: static; transform: none; width: 80%; margin: 1rem auto; display: block; }
 .hero-image-collage .item-2, .item-3, .item-4 { display: none; } /* Only show main image */

 .contact-content-grid {
 grid-template-columns: 1fr;
 }
 .process-steps {
 flex-direction: column;
 }
}

@media (max-width: 768px) {
 h1 { font-size: 2.2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.4rem; }
 h4 { font-size: 1.2rem; }

 /* Navigation for mobile */
 .nav-toggle {
 display: block;
 }

 .nav-links {
 display: none; /* Hide primary navigation by default */
 flex-direction: column;
 position: absolute;
 top: 0;
 right: 0;
 height: 100vh;
 width: 70%;
 max-width: 300px;
 background-color: var(--primary-dark-color);
 padding-top: 80px; /* Space for logo/toggle */
 box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
 transform: translateX(100%);
 transition: transform var(--transition-speed) ease-in-out;
 }

 .nav-links.active {
 display: flex;
 transform: translateX(0%);
 }

 .nav-links li {
 width: 100%;
 text-align: center;
 }

 .nav-links a {
 display: block;
 padding: 1rem 1.5rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 font-size: 1.1rem;
 }
 .nav-links a::after {
 display: none; /* Hide highlight on mobile */
 }
 .nav-links a:hover {
 background-color: var(--primary-color);
 }

 .hero-content h1 {
 font-size: 2.5rem;
 }
 .hero-content p {
 font-size: 1rem;
 }
 .hero-cta-group {
 flex-direction: column;
 gap: 1rem;
 }
 .btn-large {
 width: 100%;
 }

 section {
 padding: 4rem 0;
 }

 .chaos-title {
 font-size: 2rem;
 }

 . chaos-item {
 flex-direction: column;
 text-align: center;
 }
 .chaos-item .item-visual {
 max-width: 80%;
 margin: 0 auto 1.5rem auto;
 }

 .footer-grid-chaos {
 grid-template-columns: 1fr;
 text-align: center;
 }
 .footer-brand .social-links-chaos {
 justify-content: center;
 }
 .footer-col-chaos h3, .footer-col-chaos h4 {
 border-bottom: none;
 padding-bottom: 0;
 margin-bottom: 0.8rem;
 }

 .legal-content, .blog-post-content {
 padding: 2rem;
 }
 .legal-page-hero h1, .thanks-container h1, .error-content h1 {
 font-size: 2.5rem;
 }
 .error-content h2 {
 font-size: 1.8rem;
 }

}

@media (max-width: 480px) {
 h1 { font-size: 2rem; }
 h2 { font-size: 1.6rem; }
 h3 { font-size: 1.3rem; }

 .hero-content h1 {
 font-size: 2rem;
 }
 .chaos-title {
 font-size: 1.8rem;
 }
 .btn {
 padding: 0.6rem 1.2rem;
 font-size: 0.9rem;
 }
 .btn-large {
 font-size: 1rem;
 }

 .service-card, .team-member-card, .value-item, .blog-card, .testimonial-card-full, .gallery-item {
 padding: 1.5rem;
 }
 .testimonial-card-full p {
 font-size: 1rem;
 }

 .legal-content, .blog-post-content {
 padding: 1.5rem;
 }
 .legal-page-hero h1, .thanks-container h1, .error-content h1 {
 font-size: 2rem;
 }
 .error-content h2 {
 font-size: 1.5rem;
 }
 .error-container::before {
 font-size: 10rem;
 }
}