/* ==========================================================================
   CSS Variables & Custom Properties (Organic Modernism Theme)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,700&display=swap');

:root {
    /* Organic Palette */
    --color-bg: #F7F5F0;
    /* Warm Sand / Alabaster */
    --color-bg-alt: #EFEBE1;
    /* Slightly darker sand */

    --color-primary: #4A5D4E;
    /* Deep Sage Green */
    --color-primary-light: #6B806F;
    --color-secondary: #D27D60;
    /* Terracotta / Clay */

    --color-dark: #1A1D1A;
    /* Very Dark Green/Charcoal (Header/Footer) */
    --color-text: #2C302E;
    /* Soft Charcoal */
    --color-text-muted: #5C6661;
    /* Muted Charcoal */
    --color-light: #FFFFFF;
    /* Pure White */

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'DM Sans', sans-serif;

    /* Layout & Spacing */
    --max-width: 1280px;
    --section-pad: 120px 20px;
    --header-height: 90px;

    /* Radii & Shadows */
    --radius-arch: 200px 200px 0 0;
    --radius-pill: 100px;
    --radius-soft: 20px;

    --shadow-gentle: 0 10px 40px rgba(26, 29, 26, 0.05);
    --shadow-hover: 0 20px 50px rgba(74, 93, 78, 0.15);

    /* Transitions */
    --ease-organic: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --ease-fast: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    /* Custom Zen Cursor */
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 4.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--ease-fast);
    cursor: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

em,
i {
    font-style: italic;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--ease-organic);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: var(--radius-pill);
}

.btn-primary:hover {
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title.left {
    text-align: left;
}

.subtitle {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.section-title.left p {
    margin: 20px 0 0 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-dark);
    z-index: 1000;
    transition: var(--ease-organic);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    height: 75px;
    background: rgba(26, 29, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    transition: var(--ease-fast);
}

.site-header.scrolled .logo img {
    height: 45px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links li a {
    color: var(--color-bg);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: var(--ease-fast);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-secondary);
    opacity: 0;
    transition: var(--ease-fast);
}

.nav-links li a:hover {
    color: var(--color-secondary);
}

.nav-links li a:hover::after {
    opacity: 1;
    bottom: -5px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: none;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 2px;
    background: var(--color-bg);
    position: relative;
    transition: var(--ease-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--color-bg);
    left: 0;
    transition: var(--ease-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* ==========================================================================
   1. Hero Section (Organic Morphing)
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Organic SVG Wave Divider at bottom */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    fill: var(--color-bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
}

.hero-text h1 {
    margin-bottom: 25px;
    animation: slideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.hero-text h1 span {
    color: var(--color-secondary);
    font-style: italic;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    animation: slideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(40px);
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: slideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(40px);
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease 0.6s forwards;
    opacity: 0;
}

/* Morphing Blob */
.blob-container {
    width: 450px;
    height: 450px;
    background: var(--color-primary-light);
    animation: morphBlob 10s ease-in-out infinite;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.blob-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
}

.blob-container svg {
    width: 60%;
    height: 60%;
    stroke: var(--color-bg);
    opacity: 0.5;
    animation: spin 40s linear infinite;
}

/* ==========================================================================
   2. Gentle Marquee
   ========================================================================== */
.marquee-sec {
    padding: 30px 0;
    background: var(--color-bg-alt);
    overflow: hidden;
    display: flex;
    border-top: 1px solid rgba(74, 93, 78, 0.1);
    border-bottom: 1px solid rgba(74, 93, 78, 0.1);
}

.marquee-track {
    display: flex;
    gap: 80px;
    align-items: center;
    white-space: nowrap;
    animation: scrollLeft 25s linear infinite;
}

.m-item {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 20px;
}

.m-dot {
    width: 6px;
    height: 6px;
    background: var(--color-secondary);
    border-radius: 50%;
}

/* ==========================================================================
   3. About Us (Arched Layout & Stats)
   ========================================================================== */
.about {
    padding: var(--section-pad);
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: center;
}

.arch-img {
    width: 100%;
    height: 600px;
    background: var(--color-primary);
    border-radius: var(--radius-arch);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gentle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-img svg {
    width: 150px;
    height: 150px;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    fill: none;
}

.arch-badge {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background: var(--color-secondary);
    color: var(--color-bg);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-serif);
    text-align: center;
    border: 8px solid var(--color-bg);
}

.arch-badge h3 {
    color: var(--color-bg);
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(74, 93, 78, 0.1);
}

.s-box .s-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
    font-style: italic;
}

.s-box .s-lbl {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

/* ==========================================================================
   4. Services (Organic Cards)
   ========================================================================== */
.services {
    padding: var(--section-pad);
    background: var(--color-bg-alt);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.svc-card {
    background: var(--color-bg);
    padding: 50px 40px;
    border-radius: var(--radius-soft);
    position: relative;
    transition: var(--ease-organic);
    box-shadow: var(--shadow-gentle);
    overflow: hidden;
    z-index: 1;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    border-radius: var(--radius-soft);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--ease-organic);
}

.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    color: var(--color-bg);
}

.svc-card:hover::before {
    transform: scaleY(1);
}

.svc-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    color: var(--color-secondary);
    transition: var(--ease-fast);
}

.svc-card:hover .svc-icon {
    color: var(--color-bg);
}

.svc-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.svc-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: var(--ease-fast);
}

.svc-card:hover h3,
.svc-card:hover p {
    color: var(--color-bg);
}

.svc-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: var(--ease-fast);
}

/* ==========================================================================
   5. Vertical Process (Curved Path)
   ========================================================================== */
.process {
    padding: var(--section-pad);
}

.proc-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.proc-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(74, 93, 78, 0.2);
}

.proc-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.proc-step:last-child {
    margin-bottom: 0;
}

.p-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: var(--ease-organic);
}

.proc-step:hover .p-dot {
    background: var(--color-primary);
    color: var(--color-bg);
    transform: scale(1.1);
}

.p-content {
    background: var(--color-light);
    padding: 40px;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-gentle);
    transition: var(--ease-organic);
    width: 100%;
}

.proc-step:hover .p-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-left: 4px solid var(--color-secondary);
}

.p-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   6. Industries (Masonry/Abstract list)
   ========================================================================== */
.industries {
    padding: var(--section-pad);
    background: var(--color-primary);
    color: var(--color-bg);
}

.industries .section-title h2 {
    color: var(--color-bg);
}

.industries .section-title p {
    color: rgba(247, 245, 240, 0.7);
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ind-item {
    background: rgba(247, 245, 240, 0.05);
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--radius-soft);
    border: 1px solid rgba(247, 245, 240, 0.1);
    transition: var(--ease-organic);
}

.ind-item:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-5px);
}

.ind-item svg {
    width: 50px;
    height: 50px;
    stroke: var(--color-bg);
    stroke-width: 1.5;
    fill: none;
    margin-bottom: 20px;
}

.ind-item h3 {
    color: var(--color-bg);
    font-size: 1.3rem;
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 500;
}

/* ==========================================================================
   7. Sample Campaign Reports (Soft 3D Flip)
   ========================================================================== */
.reports {
    padding: var(--section-pad);
    perspective: 1200px;
}

.rep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.flip-card {
    height: 450px;
    transform-style: preserve-3d;
    cursor: none;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-soft);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-front {
    background: var(--color-light);
    box-shadow: var(--shadow-gentle);
    border: 1px solid rgba(74, 93, 78, 0.05);
}

.flip-front h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.flip-front .tag {
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.abstract-graph {
    width: 120px;
    height: 120px;
    margin: 30px auto 0;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: rgba(210, 125, 96, 0.1);
    border: 2px solid var(--color-secondary);
    animation: morphBlob 8s ease-in-out infinite;
}

.flip-back {
    background: var(--color-primary-light);
    color: var(--color-bg);
    transform: rotateY(180deg);
    box-shadow: var(--shadow-hover);
}

.flip-back h3 {
    color: var(--color-bg);
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(247, 245, 240, 0.2);
    padding-bottom: 15px;
}

.m-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.m-row span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-row strong {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
}

/* ==========================================================================
   8. Why Us (Philosophy layout)
   ========================================================================== */
.philosophy {
    padding: var(--section-pad);
    background: var(--color-bg-alt);
}

.phil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.phil-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.phil-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.phil-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.phil-icon {
    color: var(--color-secondary);
    font-size: 1.5rem;
}

.phil-item h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.phil-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.phil-visual svg {
    width: 100%;
    height: auto;
    stroke: var(--color-primary);
    stroke-width: 1;
    fill: none;
}

/* ==========================================================================
   9. Testimonials (Soft Carousel track)
   ========================================================================== */
.testimonials {
    padding: var(--section-pad);
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: 40px;
    padding: 20px 0;
}

.t-card {
    min-width: 400px;
    background: var(--color-light);
    padding: 50px;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-gentle);
    position: relative;
}

.t-quote {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(210, 125, 96, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.t-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.t-author h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 5px;
}

.t-author span {
    font-size: 0.85rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   10. Contact / CTA (Terracotta Form)
   ========================================================================== */
.contact-sec {
    padding: var(--section-pad);
}

.contact-wrapper {
    background: var(--color-secondary);
    border-radius: var(--radius-soft);
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.c-info {
    flex: 1;
    padding: 80px;
    color: var(--color-bg);
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="50" fill="%23FFFFFF" opacity="0.05"/></svg>') no-repeat top left;
    background-size: cover;
}

.c-info h2 {
    color: var(--color-bg);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.c-info p {
    color: rgba(247, 245, 240, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.c-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.c-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-bg);
    fill: none;
}

.c-item span {
    color: var(--color-bg);
    font-weight: 500;
}

.c-form-wrap {
    flex: 1;
    background: var(--color-light);
    padding: 80px;
}

.f-group {
    margin-bottom: 25px;
}

.f-group input,
.f-group select,
.f-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(74, 93, 78, 0.1);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    transition: var(--ease-fast);
    background: var(--color-bg);
}

.f-group textarea {
    border-radius: 20px;
    height: 120px;
    resize: none;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(210, 125, 96, 0.1);
    background: var(--color-light);
}

.c-form-wrap .btn {
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-dark);
    color: var(--color-bg);
    padding-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.f-logo {
    height: 50px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.f-desc {
    color: rgba(247, 245, 240, 0.6);
    margin-bottom: 25px;
    max-width: 350px;
    font-weight: 300;
}

.f-socials {
    display: flex;
    gap: 15px;
}

.f-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(247, 245, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    transition: var(--ease-fast);
    cursor: none;
}

.f-socials a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
}

.f-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-bg);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.f-links li {
    margin-bottom: 12px;
}

.f-links a {
    color: rgba(247, 245, 240, 0.6);
    transition: var(--ease-fast);
    cursor: none;
    font-weight: 300;
}

.f-links a:hover {
    color: var(--color-secondary);
}

.f-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(247, 245, 240, 0.6);
    font-weight: 300;
}

.f-bottom {
    border-top: 1px solid rgba(247, 245, 240, 0.05);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-bottom p {
    color: rgba(247, 245, 240, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.f-legal a {
    color: rgba(247, 245, 240, 0.5);
    font-size: 0.9rem;
    margin-left: 25px;
    cursor: none;
}

.f-legal a:hover {
    color: var(--color-bg);
}

/* ==========================================================================
   Legal Pages Formatting
   ========================================================================== */
.legal-header {
    padding: 180px 20px 80px;
    text-align: center;
    background: var(--color-bg-alt);
}

.legal-header h1 {
    font-size: 4rem;
    margin-bottom: 0;
}

.legal-content {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    background: var(--color-light);
    padding: 60px;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-gentle);
}

.legal-card h2 {
    font-size: 2.2rem;
    margin: 40px 0 20px;
    color: var(--color-primary);
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 300;
}

.legal-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-weight: 300;
}

.legal-card li {
    margin-bottom: 10px;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes morphBlob {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--ease-organic);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .phil-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .arch-img {
        height: 400px;
    }

    .svc-grid,
    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .section-title h2 {
        font-size: 2.8rem;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--ease-organic);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hamburger.active {
        background: transparent;
    }

    .hamburger.active::before {
        transform: rotate(45deg);
        top: 0;
    }

    .hamburger.active::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .blob-container {
        width: 300px;
        height: 300px;
    }

    .svc-grid,
    .ind-grid,
    .rep-grid {
        grid-template-columns: 1fr;
    }

    .proc-line {
        display: none;
    }

    .proc-step {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .f-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .f-legal a {
        display: block;
        margin: 10px 0;
    }

    .c-info,
    .c-form-wrap {
        padding: 40px 20px;
    }
}