/*
 Theme Name:   Continental Contractors
 Theme URI:    https://continentalcontractors.com/
 Description:  Custom theme for Continental Contractors - a full-service construction company based in Los Angeles.
 Author:       Velvety.web
 Author URI:   https://www.velvetyweb.com/
 Text Domain:  continental-contractors
 Version:      1.0.0
*/

/* =====================================================
   PROFESSIONAL COLOR PALETTE
   Primary: Deep Navy (#02172C)
   Accent: Warm Sand (#C9A962)
   Secondary: Bronze (#A67C52)
   Neutral: Slate (#64748B)
   ===================================================== */

:root {
    /* Primary Colors */
    --cc-primary: #02172C;
    --cc-primary-dark: #010d1a;
    --cc-primary-light: #0a3050;

    /* Warm Sand/Beige Accent - Professional & Timeless */
    --cc-accent: #C9A962;
    --cc-accent-dark: #B8954A;
    --cc-accent-light: #D4BC7D;

    /* Secondary - Muted warm tone for CTAs */
    --cc-secondary: #A67C52;
    --cc-secondary-dark: #8B6642;
    --cc-secondary-light: #C49A6C;

    /* Neutrals */
    --cc-white: #ffffff;
    --cc-off-white: #f8fafc;
    --cc-light-gray: #f1f5f9;
    --cc-gray: #64748b;
    --cc-dark-gray: #334155;
    --cc-text: #1e293b;

    /* Gradients */
    --cc-gradient-primary: linear-gradient(135deg, #02172C 0%, #0a3050 100%);
    --cc-gradient-accent: linear-gradient(135deg, #C9A962 0%, #B8954A 100%);
    --cc-gradient-hero: linear-gradient(135deg, rgba(2,23,44,0.92) 0%, rgba(2,23,44,0.75) 50%, rgba(10,48,80,0.85) 100%);

    /* Typography */
    --cc-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --cc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --cc-section-padding: clamp(60px, 8vw, 120px);

    /* Transitions */
    --cc-transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    --cc-transition-slow: opacity 0.5s ease, transform 0.5s ease, background 0.5s ease, color 0.5s ease;

    /* Shadows */
    --cc-shadow-sm: 0 1px 3px rgba(2,23,44,0.08);
    --cc-shadow-md: 0 4px 20px rgba(2,23,44,0.1);
    --cc-shadow-lg: 0 10px 40px rgba(2,23,44,0.15);
    --cc-shadow-xl: 0 20px 60px rgba(2,23,44,0.2);
}

/* =====================================================
   CSS NORMALIZATION & RESET
   ===================================================== */

/* Document */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.15;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--cc-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cc-text);
    background: var(--cc-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Text Selection Color */
::selection {
    background: var(--cc-accent);
    color: var(--cc-primary);
}

::-moz-selection {
    background: var(--cc-accent);
    color: var(--cc-primary);
}

/* Wrapper - prevent horizontal overflow */
.wrapper,
.inner-wrapper {
    overflow-x: hidden;
    max-width: 100%;
}

/* Sections */
main {
    display: block;
}

/* Main content area - account for fixed header */
.cc-main {
    padding-top: 90px;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* Grouping content */
hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
}

/* Text-level semantics */
a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
    transition: var(--cc-transition);
}

abbr[title] {
    text-decoration: underline dotted;
}

b, strong {
    font-weight: bolder;
}

code, kbd, samp, pre {
    font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Forms */
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, select {
    text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
    appearance: button;
}

::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

:-moz-focusring {
    outline: 1px dotted ButtonText;
}

:-moz-ui-invalid {
    box-shadow: none;
}

legend {
    padding: 0;
}

progress {
    vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive */
summary {
    display: list-item;
}

/* Lists */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Paragraphs and other block elements */
p, figure, blockquote, dl, dd {
    margin: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Accessibility */
[hidden] {
    display: none !important;
}

/* Remove default button styles */
button {
    background: none;
    border: none;
}

/* Remove default fieldset styles */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Improve media defaults */
audio, video {
    display: block;
}

/* Remove default blockquote styles */
blockquote {
    margin: 0;
}

/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
    font: inherit;
}

/* Remove animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================
   CONTAINER
   ===================================================== */

.cc-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .cc-container {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .cc-container {
        padding: 0 60px;
    }
}

/* =====================================================
   HEADER
   ===================================================== */

.cc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #02172C;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 8px rgba(2, 23, 44, 0.4);
}

.cc-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cc-header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cc-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-header-cta {
    display: none;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .cc-header-cta {
        display: flex;
        align-items: center;
    }
}

.cc-header-logo {
    flex-shrink: 0;
}

.cc-header-logo img,
.cc-header-logo .custom-logo {
    height: 70px;
    width: auto;
}

.cc-header-logo a {
    display: flex;
    align-items: center;
}

@media (max-width: 1023px) {
    .cc-nav {
        display: none;
    }
}

.cc-nav-menu {
    display: flex;
    gap: 40px;
}

.cc-nav-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

.cc-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cc-accent);
    transition: var(--cc-transition);
}

.cc-nav-menu a:hover {
    color: var(--cc-white);
}

.cc-nav-menu a:hover::after {
    width: 100%;
}

.cc-header-cta .cc-btn {
    padding: 10px 24px;
    font-size: 12px;
    border: 2px solid transparent;
}

.cc-header-cta .cc-btn:hover {
    border-color: var(--cc-white);
}

.cc-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    margin-right: -10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .cc-mobile-toggle {
        display: none;
    }
}

.cc-mobile-toggle span {
    height: 2px;
    background: var(--cc-white);
    border-radius: 2px;
    transition: width 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    display: block;
}

.cc-mobile-toggle span:nth-child(1) {
    width: 24px;
}

.cc-mobile-toggle span:nth-child(2) {
    width: 18px;
}

.cc-mobile-toggle span:nth-child(3) {
    width: 12px;
}

/* Hide burger when menu is open */
.cc-mobile-toggle.active span {
    display: none;
}

/* Mobile Nav Close Button */
.cc-mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1002;
    cursor: pointer;
}

.cc-mobile-nav-close svg {
    width: 28px;
    height: 28px;
    stroke: var(--cc-white);
    stroke-width: 2;
    transition: stroke 0.3s ease, transform 0.3s ease;
    display: block;
}

.cc-mobile-nav-close:hover svg {
    stroke: var(--cc-accent);
    transform: rotate(90deg);
}

/* Mobile Navigation */
.cc-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cc-primary);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--cc-transition);
}

.cc-mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cc-mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.cc-mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.cc-mobile-nav-menu li {
    margin: 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cc-mobile-nav.active .cc-mobile-nav-menu li {
    opacity: 1;
    transform: translateX(0);
}

.cc-mobile-nav.active .cc-mobile-nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.cc-mobile-nav.active .cc-mobile-nav-menu li:nth-child(2) { transition-delay: 0.15s; }
.cc-mobile-nav.active .cc-mobile-nav-menu li:nth-child(3) { transition-delay: 0.2s; }
.cc-mobile-nav.active .cc-mobile-nav-menu li:nth-child(4) { transition-delay: 0.25s; }
.cc-mobile-nav.active .cc-mobile-nav-menu li:nth-child(5) { transition-delay: 0.3s; }
.cc-mobile-nav.active .cc-mobile-nav-menu li:nth-child(6) { transition-delay: 0.35s; }

.cc-mobile-nav-menu a {
    display: block;
    padding: 18px 0;
    font-family: var(--cc-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--cc-white);
    text-decoration: none;
    transition: var(--cc-transition);
    position: relative;
}

.cc-mobile-nav-menu a:hover {
    color: var(--cc-accent);
}

.cc-mobile-nav-menu a:hover {
    color: var(--cc-accent);
}

.cc-mobile-nav-cta {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s;
}

.cc-mobile-nav.active .cc-mobile-nav-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent body scroll when mobile nav is open */
body.mobile-nav-open {
    overflow: hidden;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--cc-font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 0;
    transition: var(--cc-transition);
}

.cc-btn-primary {
    background: var(--cc-primary);
    border-color: var(--cc-primary);
    color: var(--cc-white);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cc-btn-primary:hover {
    background: var(--cc-accent);
    border-color: var(--cc-accent);
    color: var(--cc-primary);
}

.cc-btn-accent {
    background: var(--cc-accent);
    border-color: var(--cc-accent);
    color: var(--cc-primary);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cc-btn-accent:hover {
    background: var(--cc-primary);
    border-color: var(--cc-primary);
    color: var(--cc-white);
}

.cc-btn-secondary {
    background: var(--cc-accent);
    border-color: var(--cc-accent);
    color: var(--cc-primary);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cc-btn-secondary:hover {
    background: var(--cc-primary);
    border-color: var(--cc-primary);
    color: var(--cc-white);
}

.cc-btn-outline {
    background: transparent;
    border-color: var(--cc-white);
    color: var(--cc-white);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cc-btn-outline:hover {
    background: var(--cc-white);
    color: var(--cc-primary);
}

.cc-btn-outline-dark {
    background: transparent;
    border-color: var(--cc-primary);
    color: var(--cc-primary);
}

.cc-btn-outline-dark:hover {
    background: var(--cc-primary);
    color: var(--cc-white);
}

/* =====================================================
   SECTION BASE
   ===================================================== */

.cc-section {
    padding: var(--cc-section-padding) 0;
    width: 100%;
}

.cc-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.cc-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cc-accent);
    margin-bottom: 16px;
}

.cc-section-header h2,
.cc-section-title {
    font-family: var(--cc-font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cc-section-header p {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--cc-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.cc-section-light {
    background: var(--cc-light-gray);
    position: relative;
}

.cc-section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(2, 23, 44, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.cc-section-dark {
    background: var(--cc-primary);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.cc-hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: -90px;
    padding-top: 90px;
}

.cc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(201, 169, 98, 0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.cc-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--cc-white) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.cc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(2,23,44,0.88) 0%, rgba(2,23,44,0.7) 40%, rgba(10,48,80,0.8) 100%);
    z-index: 1;
}

.cc-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
    padding: 0 24px;
    margin-top: -80px;
}

.cc-hero-label {
    display: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cc-accent);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 30px;
    background: rgba(201, 169, 98, 0.1);
}

@media (min-width: 768px) {
    .cc-hero-label {
        display: inline-block;
    }
}

.cc-hero-title {
    font-family: var(--cc-font-heading);
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 800;
    color: var(--cc-white);
    line-height: 120%;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.cc-hero-title .cc-highlight {
    color: var(--cc-accent);
    position: relative;
}

.cc-hero-subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 44px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cc-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cc-hero-buttons .cc-btn {
    padding: 16px 36px;
    font-size: 13px;
}

.cc-hero-buttons .cc-btn-outline {
    border-color: rgba(255,255,255,0.4);
}

.cc-hero-buttons .cc-btn-outline:hover {
    border-color: var(--cc-white);
    background: var(--cc-white);
}

.cc-hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.cc-hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--cc-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cc-hero-scroll a:hover {
    color: var(--cc-accent-dark);
}

.cc-hero-scroll svg {
    animation: scrollBounce 2s infinite;
    color: var(--cc-primary);
    width: 20px;
    height: 20px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Mobile Hero Adjustments */
@media (max-width: 767px) {
    .cc-hero {
        height: 100svh;
        min-height: 100svh;
        padding-top: 120px;
    }

    .cc-hero-content {
        margin-top: 0;
    }

    .cc-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cc-hero-buttons .cc-btn {
        padding: 12px 24px;
        font-size: 12px;
        width: auto;
    }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.cc-about {
    background: var(--cc-white);
    overflow: visible;
}

.cc-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .cc-about-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 160px;
    }
}

.cc-about-content {
    position: relative;
}

.cc-about-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cc-accent);
    margin-bottom: 16px;
}

.cc-about-content h2 {
    font-family: var(--cc-font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cc-about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--cc-dark-gray);
    margin-bottom: 20px;
}

.cc-about-cta {
    margin-top: 32px;
}

.cc-about-cta .cc-btn {
}

.cc-about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(2, 23, 44, 0.1);
    border-bottom: 1px solid rgba(2, 23, 44, 0.1);
}

.cc-about-stats .cc-about-stat {
    text-align: center;
}

.cc-about-stats .cc-about-stat-number {
    display: block;
    font-family: var(--cc-font-heading);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--cc-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.cc-about-stats .cc-about-stat-label {
    display: block;
    font-size: 13px;
    color: var(--cc-dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.cc-about-image {
    position: relative;
    z-index: 1;
}

.cc-about-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(2, 23, 44, 0.3);
    position: relative;
    z-index: 1;
}

.cc-about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    left: 20px;
    bottom: 20px;
    border: 2px solid var(--cc-accent);
    z-index: 0;
}

@media (max-width: 767px) {
    .cc-about-image {
        margin: 20px;
    }

    .cc-about-image::before {
        top: -20px;
        right: -20px;
        left: 20px;
        bottom: 20px;
    }
}

.cc-about-image::after {
    display: none;
}

/* =====================================================
   CLIENTS & PARTNERS MARQUEE SECTION
   ===================================================== */

.cc-marquee-section {
    padding: 50px 0 40px;
    background: var(--cc-off-white);
    overflow: hidden;
}

.cc-marquee-header {
    text-align: center;
    margin-bottom: 30px;
}

.cc-marquee-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cc-gray);
}


.cc-marquee-row {
    display: flex;
    align-items: center;
    height: 70px;
    width: 100%;
    overflow: hidden;
}

.cc-marquee-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cc-marquee-track {
    display: flex;
    width: fit-content;
    align-items: center;
}

.cc-marquee-content {
    display: flex;
    gap: 50px;
    padding-right: 50px;
    flex-shrink: 0;
    align-items: center;
}

.cc-marquee-track:hover {
    animation-play-state: paused;
}

.cc-marquee-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.cc-marquee-logo img {
    display: block;
    height: 30px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cc-marquee-logo img:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cc-marquee-section {
        padding: 30px 0;
        overflow: hidden;
    }

    .cc-marquee-header {
        margin-bottom: 20px;
    }

    .cc-marquee-title {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .cc-marquee-row {
        height: 50px;
    }

    .cc-marquee-wrapper {
        overflow: hidden;
    }

    .cc-marquee-content {
        gap: 25px;
        padding-right: 25px;
    }

    .cc-marquee-track:hover {
        animation-play-state: running;
    }

    .cc-marquee-logo {
        height: 30px;
    }

    .cc-marquee-logo img {
        height: 22px;
        max-width: 80px;
    }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.cc-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .cc-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cc-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cc-service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 0;
    padding: 48px 32px;
    text-align: left;
    box-shadow: 0 4px 24px rgba(2,23,44,0.04);
    border: 1px solid rgba(2, 23, 44, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.cc-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cc-accent), var(--cc-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(201,169,98,0.06) 0%, transparent 70%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translate(30%, 30%);
}

.cc-service-card:hover {
    background: linear-gradient(145deg, #02172C 0%, #0a3050 100%);
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(2,23,44,0.15), 0 8px 16px rgba(2,23,44,0.1);
}

.cc-service-card:hover::before {
    transform: scaleX(1);
}

.cc-service-card:hover::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,169,98,0.1) 0%, transparent 70%);
    transform: translate(20%, 20%);
}

.cc-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(201,169,98,0.08) 0%, rgba(201,169,98,0.02) 100%);
    border: 2px solid #C9A962;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-service-icon svg {
    width: 28px;
    height: 28px;
    color: #C9A962;
    transition: color 0.4s ease, transform 0.4s ease;
}

.cc-service-card:hover .cc-service-icon {
    background: var(--cc-accent);
    border-color: var(--cc-accent);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(201,169,98,0.3);
}

.cc-service-card:hover .cc-service-icon svg {
    color: #02172C;
    transform: scale(1.1);
}

.cc-service-card h4 {
    font-family: var(--cc-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #02172C;
    margin-bottom: 12px;
    transition: color 0.4s ease, transform 0.4s ease;
}

.cc-service-card:hover h4 {
    color: #ffffff;
    transform: translateX(2px);
}

.cc-service-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.4s ease;
    flex-grow: 1;
}

.cc-service-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.cc-service-link {
    font-size: 14px;
    font-weight: 600;
    color: #C9A962;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-service-card:hover .cc-service-link {
    color: var(--cc-accent-light);
}

.cc-service-link:hover {
    color: #B8954A;
    gap: 10px;
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */

.cc-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .cc-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cc-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cc-project-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
    text-decoration: none;
    color: inherit;
}

.cc-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cc-accent);
    z-index: 2;
    transform: scaleX(0);
    transition: var(--cc-transition);
}

.cc-project-card:hover::before {
    transform: scaleX(1);
}

.cc-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cc-transition-slow);
}

.cc-project-card:hover img {
    transform: scale(1.05);
}

.cc-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,23,44,0.95) 0%, rgba(2,23,44,0.5) 50%, rgba(2,23,44,0.25) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    padding-top: 50%;
    transition: var(--cc-transition);
}

.cc-project-overlay p {
    flex-grow: 1;
}

.cc-project-card:hover .cc-project-overlay {
    background: linear-gradient(to top, rgba(2,23,44,0.98) 0%, rgba(2,23,44,0.7) 60%, rgba(2,23,44,0.4) 100%);
}

.cc-project-badge {
    display: inline-block;
    background: var(--cc-accent);
    color: var(--cc-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 0;
    margin-bottom: 16px;
    width: fit-content;
}

.cc-project-overlay h4 {
    font-family: var(--cc-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--cc-white);
    margin-bottom: 8px;
}

.cc-project-overlay p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 20px;
}

.cc-project-overlay .cc-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--cc-transition);
}

.cc-project-card:hover .cc-project-overlay .cc-btn {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   DIVISIONS SECTION
   ===================================================== */

.cc-divisions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .cc-divisions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cc-division-card {
    background: var(--cc-white);
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--cc-shadow-sm);
    transition: var(--cc-transition);
    border: 1px solid transparent;
}

.cc-division-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cc-shadow-lg);
    border-color: var(--cc-accent);
}

.cc-division-logo,
.cc-division-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-division-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cc-division-icon {
    background: linear-gradient(135deg, rgba(201,169,98,0.12) 0%, rgba(201,169,98,0.06) 100%);
    border-radius: 50%;
}

.cc-division-icon svg {
    width: 48px;
    height: 48px;
    color: var(--cc-accent);
}

.cc-division-card h4 {
    font-family: var(--cc-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 16px;
}

.cc-division-card p {
    font-size: 15px;
    color: var(--cc-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.cc-division-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--cc-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cc-division-link:hover {
    color: var(--cc-accent-dark);
    gap: 10px;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cc-cta {
    background: var(--cc-gradient-primary);
    position: relative;
    overflow: hidden;
}

.cc-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(201,169,98,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cc-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cc-cta-content h2 {
    font-family: var(--cc-font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--cc-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cc-cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cc-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cc-cta-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.cc-cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.cc-cta-feature svg {
    width: 24px;
    height: 24px;
    color: var(--cc-accent);
    flex-shrink: 0;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.cc-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .cc-contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cc-contact-block h4 {
    font-family: var(--cc-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    position: relative;
}

.cc-contact-block h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--cc-accent);
    border-radius: 2px;
}

.cc-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.cc-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--cc-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.cc-contact-item span,
.cc-contact-item a {
    font-size: 15px;
    color: var(--cc-dark-gray);
    line-height: 1.5;
}

.cc-contact-item a:hover {
    color: var(--cc-accent);
}

.cc-quick-links li {
    margin-bottom: 12px;
}

.cc-quick-links a {
    font-size: 15px;
    color: var(--cc-dark-gray);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cc-quick-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cc-accent);
    border-radius: 50%;
    transition: var(--cc-transition);
}

.cc-quick-links a:hover {
    color: var(--cc-accent);
}

.cc-quick-links a:hover::before {
    transform: scale(1.5);
}

/* =====================================================
   FOOTER
   ===================================================== */

.cc-footer {
    background: var(--cc-primary);
    color: var(--cc-white);
}

.cc-footer-main {
    padding: 80px 0 60px;
}

.cc-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .cc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cc-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

.cc-footer-col h4 {
    font-family: var(--cc-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--cc-white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cc-footer-about p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.cc-footer-logo {
    margin-bottom: 20px;
}

.cc-footer-logo img {
    height: 50px;
    width: auto;
}

.cc-footer-social {
    display: flex;
    gap: 12px;
}

.cc-footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-white);
    transition: var(--cc-transition);
}

.cc-footer-social a:hover {
    background: var(--cc-accent);
    color: var(--cc-primary);
    transform: translateY(-4px);
}

.cc-footer-links li {
    margin-bottom: 12px;
}

.cc-footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    transition: var(--cc-transition);
    position: relative;
    display: inline-block;
}

.cc-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cc-accent);
    transition: var(--cc-transition);
}

.cc-footer-links a:hover {
    color: var(--cc-white);
}

.cc-footer-links a:hover::after {
    width: 100%;
}

.cc-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.cc-footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--cc-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.cc-footer-contact span,
.cc-footer-contact a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.cc-footer-contact a:hover {
    color: var(--cc-accent);
}

.cc-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cc-footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

.cc-footer-bottom a {
    color: var(--cc-accent);
    transition: var(--cc-transition);
}

.cc-footer-bottom a:hover {
    color: var(--cc-accent-light);
}


@media (max-width: 767px) {
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

.cc-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--cc-transition-slow);
}

.cc-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Reveal / Ribbon Animation */
.cc-text-reveal {
    overflow: hidden;
    display: inline-block;
}

.cc-text-reveal .cc-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.cc-text-reveal.visible .cc-char {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for each character */
.cc-text-reveal .cc-char:nth-child(1) { transition-delay: 0.03s; }
.cc-text-reveal .cc-char:nth-child(2) { transition-delay: 0.06s; }
.cc-text-reveal .cc-char:nth-child(3) { transition-delay: 0.09s; }
.cc-text-reveal .cc-char:nth-child(4) { transition-delay: 0.12s; }
.cc-text-reveal .cc-char:nth-child(5) { transition-delay: 0.15s; }
.cc-text-reveal .cc-char:nth-child(6) { transition-delay: 0.18s; }
.cc-text-reveal .cc-char:nth-child(7) { transition-delay: 0.21s; }
.cc-text-reveal .cc-char:nth-child(8) { transition-delay: 0.24s; }
.cc-text-reveal .cc-char:nth-child(9) { transition-delay: 0.27s; }
.cc-text-reveal .cc-char:nth-child(10) { transition-delay: 0.30s; }
.cc-text-reveal .cc-char:nth-child(11) { transition-delay: 0.33s; }
.cc-text-reveal .cc-char:nth-child(12) { transition-delay: 0.36s; }
.cc-text-reveal .cc-char:nth-child(13) { transition-delay: 0.39s; }
.cc-text-reveal .cc-char:nth-child(14) { transition-delay: 0.42s; }
.cc-text-reveal .cc-char:nth-child(15) { transition-delay: 0.45s; }
.cc-text-reveal .cc-char:nth-child(16) { transition-delay: 0.48s; }
.cc-text-reveal .cc-char:nth-child(17) { transition-delay: 0.51s; }
.cc-text-reveal .cc-char:nth-child(18) { transition-delay: 0.54s; }
.cc-text-reveal .cc-char:nth-child(19) { transition-delay: 0.57s; }
.cc-text-reveal .cc-char:nth-child(20) { transition-delay: 0.60s; }
.cc-text-reveal .cc-char:nth-child(n+21) { transition-delay: 0.63s; }

/* Word reveal animation (alternative) */
.cc-word-reveal {
    overflow: hidden;
}

.cc-word-reveal .cc-word {
    display: inline-block;
    overflow: hidden;
}

.cc-word-reveal .cc-word-inner {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-word-reveal.visible .cc-word-inner {
    transform: translateY(0);
}

.cc-word-reveal .cc-word:nth-child(1) .cc-word-inner { transition-delay: 0.1s; }
.cc-word-reveal .cc-word:nth-child(2) .cc-word-inner { transition-delay: 0.2s; }
.cc-word-reveal .cc-word:nth-child(3) .cc-word-inner { transition-delay: 0.3s; }
.cc-word-reveal .cc-word:nth-child(4) .cc-word-inner { transition-delay: 0.4s; }
.cc-word-reveal .cc-word:nth-child(5) .cc-word-inner { transition-delay: 0.5s; }
.cc-word-reveal .cc-word:nth-child(6) .cc-word-inner { transition-delay: 0.6s; }
.cc-word-reveal .cc-word:nth-child(7) .cc-word-inner { transition-delay: 0.7s; }
.cc-word-reveal .cc-word:nth-child(8) .cc-word-inner { transition-delay: 0.8s; }

/* Line reveal animation */
.cc-line-reveal {
    overflow: hidden;
}

.cc-line-reveal .cc-line {
    display: block;
    overflow: hidden;
}

.cc-line-reveal .cc-line-inner {
    display: block;
    transform: translateY(105%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-line-reveal.visible .cc-line-inner {
    transform: translateY(0);
}

.cc-line-reveal .cc-line:nth-child(1) .cc-line-inner { transition-delay: 0.1s; }
.cc-line-reveal .cc-line:nth-child(2) .cc-line-inner { transition-delay: 0.25s; }
.cc-line-reveal .cc-line:nth-child(3) .cc-line-inner { transition-delay: 0.4s; }

/* Fade in up for sections */
.cc-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.cc-animate-delay-1 { transition-delay: 0.1s; }
.cc-animate-delay-2 { transition-delay: 0.2s; }
.cc-animate-delay-3 { transition-delay: 0.3s; }
.cc-animate-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   UTILITIES
   ===================================================== */

.cc-text-center { text-align: center; }
.cc-text-left { text-align: left; }
.cc-text-right { text-align: right; }

.cc-mt-0 { margin-top: 0; }
.cc-mb-0 { margin-bottom: 0; }

/* =====================================================
   FLOATING PHONE BUTTON
   ===================================================== */

.cc-floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: var(--cc-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
    transition: var(--cc-transition);
}

.cc-floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(201, 169, 98, 0.5);
}

.cc-floating-phone svg {
    width: 26px;
    height: 26px;
    color: var(--cc-primary);
}

.cc-floating-phone::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--cc-accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* =====================================================
   DECORATIVE ELEMENTS
   ===================================================== */

.cc-decorator-arrow {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.1;
    pointer-events: none;
}

.cc-decorator-arrow svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--cc-accent);
    stroke-width: 1.5;
}

.cc-decorator-line {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cc-accent), transparent);
    opacity: 0.3;
}

/* Animated corner accents */
.cc-corner-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.15;
}

.cc-corner-accent::before,
.cc-corner-accent::after {
    content: '';
    position: absolute;
    background: var(--cc-accent);
}

.cc-corner-accent::before {
    width: 100%;
    height: 2px;
    top: 0;
    left: 0;
}

.cc-corner-accent::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 0;
}

.cc-corner-accent.top-right {
    top: 40px;
    right: 40px;
    transform: rotate(90deg);
}

.cc-corner-accent.bottom-left {
    bottom: 40px;
    left: 40px;
    transform: rotate(-90deg);
}

/* Section decorative dots */
.cc-section-dots {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(5, 6px);
    gap: 8px;
    opacity: 0.2;
}

.cc-section-dots span {
    width: 6px;
    height: 6px;
    background: var(--cc-accent);
    border-radius: 50%;
}

/* =====================================================
   MODERN DIVISIONS SECTION
   ===================================================== */

.cc-divisions-modern {
    position: relative;
    overflow: hidden;
}

.cc-divisions-modern .cc-divisions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .cc-divisions-modern .cc-divisions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cc-division-card-modern {
    position: relative;
    padding: 60px 40px;
    text-align: center;
    background: var(--cc-white);
    border: 1px solid rgba(2, 23, 44, 0.08);
    transition: var(--cc-transition);
    overflow: hidden;
}

.cc-division-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cc-accent);
    transform: scaleX(0);
    transition: var(--cc-transition);
}

.cc-division-card-modern:hover {
    background: var(--cc-primary);
    border-color: var(--cc-primary);
}

.cc-division-card-modern:hover::before {
    transform: scaleX(1);
}

.cc-division-card-modern:hover h4,
.cc-division-card-modern:hover p,
.cc-division-card-modern:hover .cc-division-link {
    color: var(--cc-white);
}

.cc-division-card-modern:hover .cc-division-link {
    color: var(--cc-accent);
}

.cc-division-card-modern .cc-division-number {
    font-family: var(--cc-font-heading);
    font-size: 72px;
    font-weight: 800;
    color: rgba(2, 23, 44, 0.05);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    transition: var(--cc-transition);
}

.cc-division-card-modern:hover .cc-division-number {
    color: rgba(255, 255, 255, 0.08);
}

.cc-division-card-modern .cc-division-icon-modern {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cc-accent);
    border-radius: 50%;
    transition: var(--cc-transition);
}

.cc-division-card-modern .cc-division-icon-modern svg {
    width: 32px;
    height: 32px;
    color: var(--cc-accent);
    transition: var(--cc-transition);
}

.cc-division-card-modern:hover .cc-division-icon-modern {
    background: var(--cc-accent);
}

.cc-division-card-modern:hover .cc-division-icon-modern svg {
    color: var(--cc-primary);
}

.cc-division-card-modern h4 {
    font-family: var(--cc-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 16px;
    transition: var(--cc-transition);
}

.cc-division-card-modern p {
    font-size: 15px;
    color: var(--cc-gray);
    line-height: 1.7;
    margin-bottom: 24px;
    transition: var(--cc-transition);
}

/* =====================================================
   CONTACT FORM IN CTA
   ===================================================== */

.cc-cta-with-form {
    padding: 100px 0;
}

.cc-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .cc-cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }
}

.cc-contact-form {
    background: #ffffff;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

.cc-form-header {
    background: #02172C;
    padding: 32px 40px;
    border-bottom: 3px solid #C9A962;
}

.cc-form-header h3 {
    font-family: var(--cc-font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.cc-form-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cc-contact-form form {
    padding: 40px;
}

.cc-contact-form .cc-form-group {
    margin-bottom: 20px;
}

.cc-contact-form input,
.cc-contact-form textarea {
    width: 100%;
    padding: 18px 0;
    font-family: var(--cc-font-body);
    font-size: 15px;
    color: #02172C;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.cc-contact-form input::placeholder,
.cc-contact-form textarea::placeholder {
    color: #94a3b8;
}

.cc-contact-form input.cc-field-error,
.cc-contact-form textarea.cc-field-error {
    border-color: #ef4444;
    border-bottom: 2px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.cc-contact-form input.cc-field-error::placeholder,
.cc-contact-form textarea.cc-field-error::placeholder {
    color: #ef4444;
}

.cc-field-hint {
    display: block !important;
    color: #ef4444 !important;
    font-size: 12px !important;
    margin-top: 6px !important;
    text-align: left;
}

.cc-contact-form .cc-field-hint {
    color: #ef4444 !important;
}

.cc-contact-form input:focus,
.cc-contact-form textarea:focus {
    outline: none;
    border-bottom-color: #C9A962;
}

.cc-contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.cc-contact-form .cc-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .cc-contact-form .cc-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.cc-contact-form .cc-btn {
    width: 100%;
    margin-top: 16px;
    padding: 18px 32px;
    justify-content: center;
}

.cc-contact-form .cc-btn svg {
    transition: transform 0.3s ease;
}

.cc-contact-form .cc-btn:hover svg {
    transform: translateX(4px);
}

.cc-form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--cc-white);
}

.cc-form-success svg {
    width: 60px;
    height: 60px;
    color: var(--cc-accent);
    margin-bottom: 20px;
}

.cc-form-success h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Form Popup */
.cc-form-popup {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.cc-form-popup.active {
    display: block;
}

.cc-form-popup-content {
    text-align: center;
    padding: 40px;
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.98) 100%);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
    min-width: 300px;
    max-width: 340px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cc-form-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    padding: 0;
    cursor: pointer;
}

.cc-form-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.cc-form-popup-close svg {
    width: 16px;
    height: 16px;
    stroke: var(--cc-dark-gray);
}

.cc-form-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-form-popup-icon.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.cc-form-popup-icon.success svg {
    stroke: #ffffff;
}

.cc-form-popup-icon.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.cc-form-popup-icon.error svg {
    stroke: #ffffff;
}

.cc-form-popup-icon svg {
    width: 28px;
    height: 28px;
}

.cc-form-popup-message {
    color: var(--cc-text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}

.cc-form-popup-ok {
    min-width: 120px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

/* =====================================================
   CONTACT FORM 7 STYLING
   ===================================================== */

.cc-contact-form .wpcf7 {
    padding: 0;
}

.cc-contact-form .wpcf7-form {
    padding: 40px;
}

.cc-contact-form .wpcf7-form {
    display: block;
}

/* Hide br tags CF7 adds */
.cc-contact-form .wpcf7-form br {
    display: none !important;
}

/* Reset all p tags inside CF7 */
.cc-contact-form .wpcf7-form p {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Two-column row for name and phone */
.cc-contact-form .wpcf7 .cc-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.cc-contact-form .wpcf7 .cc-form-row p {
    display: contents !important;
}

.cc-contact-form .wpcf7 .cc-form-row .wpcf7-form-control-wrap {
    width: 100% !important;
}

@media (max-width: 639px) {
    .cc-contact-form .wpcf7 .cc-form-row {
        grid-template-columns: 1fr !important;
    }
}

/* Form control wrapper */
.cc-contact-form .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

/* Last control wrap before submit - no margin */
.cc-contact-form .wpcf7-form-control-wrap:has(+ input[type="submit"]),
.cc-contact-form .wpcf7-form-control-wrap:has(+ .wpcf7-submit) {
    margin-bottom: 0 !important;
}

/* Inside cc-form-row, no bottom margin on wraps */
.cc-contact-form .wpcf7 .cc-form-row .wpcf7-form-control-wrap {
    margin-bottom: 0 !important;
}

/* All input fields */
.cc-contact-form .wpcf7 input[type="text"],
.cc-contact-form .wpcf7 input[type="email"],
.cc-contact-form .wpcf7 input[type="tel"],
.cc-contact-form .wpcf7 textarea {
    width: 100% !important;
    padding: 18px 0 !important;
    font-family: var(--cc-font-body) !important;
    font-size: 15px !important;
    color: #02172C !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-radius: 0 !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.cc-contact-form .wpcf7 input[type="text"]::placeholder,
.cc-contact-form .wpcf7 input[type="email"]::placeholder,
.cc-contact-form .wpcf7 input[type="tel"]::placeholder,
.cc-contact-form .wpcf7 textarea::placeholder {
    color: #94a3b8 !important;
}

.cc-contact-form .wpcf7 input[type="text"]:focus,
.cc-contact-form .wpcf7 input[type="email"]:focus,
.cc-contact-form .wpcf7 input[type="tel"]:focus,
.cc-contact-form .wpcf7 textarea:focus {
    outline: none !important;
    border-bottom-color: #C9A962 !important;
}

.cc-contact-form .wpcf7 textarea {
    min-height: 100px !important;
    height: 100px !important;
    resize: vertical !important;
}

/* Submit button */
.cc-contact-form .wpcf7 input[type="submit"] {
    width: 100% !important;
    margin-top: 16px !important;
    padding: 18px 32px !important;
    background: var(--cc-primary, #02172C) !important;
    color: #ffffff !important;
    font-family: var(--cc-font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.cc-contact-form .wpcf7 input[type="submit"]:hover {
    background: #0a2540 !important;
}

.cc-contact-form .wpcf7 .wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 12px !important;
    margin-top: 6px !important;
}

.cc-contact-form .wpcf7 .wpcf7-spinner {
    display: none !important;
}

/* CF7 Sending State */
.cc-contact-form .wpcf7 input[type="submit"].sending {
    opacity: 0.7 !important;
    cursor: wait !important;
}

/* CF7 Success/Error Popup Overlay */
.cc-contact-form .wpcf7 .wpcf7-response-output {
    display: none;
}

/* Form needs position relative for popup positioning */
.cc-contact-form .wpcf7 {
    position: relative;
}

.cc-contact-form .wpcf7 form.sent .wpcf7-response-output,
.cc-contact-form .wpcf7 form.failed .wpcf7-response-output,
.cc-contact-form .wpcf7 form.aborted .wpcf7-response-output,
.cc-contact-form .wpcf7 form.spam .wpcf7-response-output,
.cc-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.cc-contact-form .wpcf7 form.unaccepted .wpcf7-response-output {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 102;
    background: #02172C;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    padding: 40px;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
    border: none;
    margin: 0;
}

.cc-contact-form .wpcf7 form.sent .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.failed .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.aborted .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.spam .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.invalid .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.unaccepted .wpcf7-response-output::before {
    content: '';
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
}

.cc-contact-form .wpcf7 form.sent .wpcf7-response-output {
    color: #ffffff;
}

.cc-contact-form .wpcf7 form.sent .wpcf7-response-output::before {
    background-color: #22c55e;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.cc-contact-form .wpcf7 form.failed .wpcf7-response-output,
.cc-contact-form .wpcf7 form.aborted .wpcf7-response-output,
.cc-contact-form .wpcf7 form.spam .wpcf7-response-output,
.cc-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.cc-contact-form .wpcf7 form.unaccepted .wpcf7-response-output {
    color: #ffffff;
}

.cc-contact-form .wpcf7 form.failed .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.aborted .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.spam .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.invalid .wpcf7-response-output::before,
.cc-contact-form .wpcf7 form.unaccepted .wpcf7-response-output::before {
    background-color: #ef4444;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}

/* Popup overlay - covers the form only */
.cc-contact-form .wpcf7-form.sent::after,
.cc-contact-form .wpcf7-form.failed::after,
.cc-contact-form .wpcf7-form.aborted::after,
.cc-contact-form .wpcf7-form.spam::after,
.cc-contact-form .wpcf7-form.invalid::after,
.cc-contact-form .wpcf7-form.unaccepted::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 101;
    border-radius: 0;
}

.cc-contact-form .wpcf7-form {
    position: relative;
}

/* Close button */
.cc-contact-form .wpcf7 .cc-cf7-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    padding: 0;
}

.cc-contact-form .wpcf7 .cc-cf7-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cc-contact-form .wpcf7 .cc-cf7-close-btn svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
}

/* OK Button */
.cc-contact-form .wpcf7 .cc-cf7-ok-btn {
    display: block;
    margin: 24px auto 0;
    padding: 12px 32px;
    min-width: 120px;
    background: var(--cc-accent, #C9A962);
    color: #02172C;
    font-family: var(--cc-font-body);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cc-contact-form .wpcf7 .cc-cf7-ok-btn:hover {
    background: #b8983f;
}

/* =====================================================
   DECORATIVE ARROWS SVG ANIMATION
   ===================================================== */

.cc-arrow-decorator {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.cc-arrow-decorator svg {
    stroke: var(--cc-accent);
    stroke-width: 1.5;
    fill: none;
}

.cc-arrow-decorator.animated svg path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawArrow 3s ease-in-out infinite;
}

@keyframes drawArrow {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}


/* =====================================================
   ABOUT PAGE STYLES
   ===================================================== */

/* About Hero - Modern Construction Style */
.cc-about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 60px);
    background: var(--cc-primary);
}

/* Override main padding for About page */
.page-template-page-about .cc-main,
.page-template-page-about #main,
body.page-template-page-about .cc-main,
body.page-template-page-about #main {
    padding-top: 60px !important;
}

.cc-about-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    position: relative;
}

.cc-about-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cc-accent);
    margin-bottom: 25px;
}

.cc-about-hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--cc-accent);
}

.cc-about-hero-title {
    font-family: var(--cc-font-heading);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: var(--cc-white);
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.cc-about-hero-title .cc-highlight {
    color: var(--cc-accent);
}

.cc-about-hero-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
    margin-bottom: 45px;
    max-width: 480px;
}

.cc-about-hero-stats {
    display: flex;
    gap: 50px;
}

.cc-about-stat {
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.cc-about-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--cc-accent);
}

.cc-about-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cc-white);
    line-height: 1;
    margin-bottom: 8px;
}

.cc-about-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.cc-about-hero-image {
    position: relative;
    overflow: hidden;
}

.cc-about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cc-about-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--cc-primary) 0%, transparent 30%);
}

/* Story Section */
.cc-story-section {
    padding: 100px 0;
    background: var(--cc-white);
}

.cc-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cc-story-image {
    position: relative;
}

.cc-story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--cc-accent);
    z-index: 0;
}

.cc-story-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    position: relative;
    z-index: 1;
}

.cc-story-image-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--cc-primary);
    padding: 18px 21px;
    border-radius: 4px;
    text-align: center;
    z-index: 10;
}

.cc-badge-number {
    display: block;
    font-size: 1.54rem;
    font-weight: 700;
    color: var(--cc-accent);
    line-height: 1;
}

.cc-badge-text {
    font-size: 0.49rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.cc-story-content {
    padding-left: 20px;
}

.cc-story-section .cc-section-label {
    color: var(--cc-accent);
}

.cc-story-section .cc-section-title {
    color: var(--cc-primary);
}

.cc-story-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--cc-gray);
    margin-bottom: 20px;
}

.cc-story-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 35px;
}

.cc-story-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-story-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--cc-accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cc-story-feature-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--cc-primary);
}

.cc-story-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cc-text);
}

/* Services Marquee */
.cc-services-marquee {
    background: var(--cc-primary);
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cc-services-marquee-track {
    display: flex;
    gap: 30px;
    animation: services-scroll 30s linear infinite;
    width: max-content;
}

.cc-services-marquee-track span {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

.cc-marquee-dot {
    width: 4px;
    height: 4px;
    background: var(--cc-accent);
    border-radius: 50%;
    flex-shrink: 0;
    align-self: center;
}

@keyframes services-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* What Sets Us Apart Section */
.cc-apart-section {
    padding: 100px 0;
    background: var(--cc-primary);
}

.cc-apart-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.cc-apart-section .cc-section-label {
    color: var(--cc-accent);
}

.cc-apart-section .cc-section-title {
    color: var(--cc-white);
}

.cc-apart-intro {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.cc-divisions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cc-division-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 35px 25px;
    border-radius: 0;
    transition: var(--cc-transition), opacity 0.6s ease, transform 0.6s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.cc-division-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cc-division-card:nth-child(1) { transition-delay: 0.1s; }
.cc-division-card:nth-child(2) { transition-delay: 0.2s; }
.cc-division-card:nth-child(3) { transition-delay: 0.3s; }
.cc-division-card:nth-child(4) { transition-delay: 0.4s; }

.cc-division-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: var(--cc-accent);
}

.cc-division-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: 10px;
    right: 15px;
    line-height: 1;
    transition: var(--cc-transition);
}

.cc-division-card:hover .cc-division-number {
    color: rgba(201, 169, 98, 0.15);
}

.cc-division-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cc-white);
    margin-bottom: 12px;
    transition: var(--cc-transition);
}

.cc-division-card:hover h3 {
    color: var(--cc-accent);
}

.cc-division-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.cc-division-line {
    width: 30px;
    height: 2px;
    background: var(--cc-accent);
    transition: var(--cc-transition);
}

.cc-division-card:hover .cc-division-line {
    width: 50px;
}

/* Values Section */
.cc-values-section {
    padding: 100px 0;
    background: var(--cc-light);
}

.cc-values-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.cc-values-content {
    position: sticky;
    top: 120px;
}

.cc-values-section .cc-section-label {
    color: var(--cc-accent);
}

.cc-values-section .cc-section-title {
    color: var(--cc-primary);
}

.cc-values-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--cc-gray);
}

.cc-values-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cc-value-card {
    background: var(--cc-white);
    padding: 30px;
    border-radius: 0;
    transition: var(--cc-transition), opacity 0.6s ease, transform 0.6s ease;
    border-left: 3px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.cc-value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cc-value-card:nth-child(1) { transition-delay: 0.1s; }
.cc-value-card:nth-child(2) { transition-delay: 0.2s; }
.cc-value-card:nth-child(3) { transition-delay: 0.3s; }
.cc-value-card:nth-child(4) { transition-delay: 0.4s; }

.cc-value-card:hover {
    transform: translateY(-3px);
    border-left-color: var(--cc-accent);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.cc-value-icon {
    width: 45px;
    height: 45px;
    background: var(--cc-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.cc-value-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--cc-accent);
}

.cc-value-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cc-primary);
    margin-bottom: 10px;
}

.cc-value-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--cc-gray);
}

/* About CTA Section */
.cc-about-cta {
    padding: 80px 0;
    background: var(--cc-white);
    position: relative;
}

.cc-about-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--cc-primary);
    padding: 60px 70px;
    position: relative;
    overflow: hidden;
}

.cc-about-cta-inner::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    background: var(--cc-accent);
    opacity: 0.1;
    transform: rotate(45deg);
}

.cc-about-cta-content {
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.cc-about-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cc-white);
    margin-bottom: 10px;
}

.cc-about-cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.cc-about-cta .cc-btn-accent {
    background: var(--cc-accent);
    color: var(--cc-primary);
    position: relative;
    z-index: 1;
}

.cc-about-cta .cc-btn-accent:hover {
    background: var(--cc-white);
    color: var(--cc-primary);
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .cc-about-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .cc-about-hero-content {
        padding: 60px 40px;
        order: 2;
    }

    .cc-about-hero-image {
        height: 400px;
        order: 1;
    }

    .cc-about-hero-image::after {
        background: linear-gradient(to top, var(--cc-primary) 0%, transparent 30%);
    }

    .cc-about-hero-stats {
        gap: 30px;
    }

    .cc-about-stat-number {
        font-size: 2rem;
    }

    .cc-story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cc-story-image-badge {
        right: 0;
        bottom: -20px;
    }

    .cc-about-cta-inner {
        padding: 50px 40px;
    }

    .cc-divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cc-values-grid {
        grid-template-columns: 1fr;
    }

    .cc-values-content {
        position: static;
    }
}

@media (max-width: 768px) {
    .cc-about-hero {
        margin-top: 46px;
        /* border-top: 1px solid rgba(255,255,255,0.1); */
    }

    .cc-about-hero-content {
        padding: 35px 20px 40px;
    }

    .cc-about-hero-label::before {
        width: 20px;
    }

    .cc-about-hero-title {
        font-size: clamp(24px, 5.5vw, 32px);
    }

    .cc-about-hero-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .cc-about-hero-image {
        height: 400px;
    }

    .cc-about-hero-image img {
        object-fit: cover;
        object-position: center;
    }

    .cc-about-hero-stats {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        background: transparent;
        padding: 0;
        margin-top: 25px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 25px;
    }

    .cc-about-stat {
        padding: 0;
        text-align: center;
        flex: 1;
        position: relative;
    }

    .cc-about-stat:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 30px;
        width: 1px;
        background: rgba(255,255,255,0.15);
    }

    .cc-about-stat::before {
        display: none;
    }

    .cc-about-stat-number {
        font-size: 1.4rem;
        margin-bottom: 4px;
        color: var(--cc-accent);
    }

    .cc-about-stat-label {
        font-size: 0.6rem;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }

    .cc-story-section {
        padding: 70px 0;
    }

    .cc-story-image-badge {
        bottom: -10px;
        right: -14px;
        padding: 13px 15px;
    }

    .cc-story-image-badge .cc-badge-number {
        font-size: 1.26rem;
    }

    .cc-story-image-badge .cc-badge-text {
        font-size: 0.42rem;
    }

    .cc-story-image {
        margin: 20px;
    }

    .cc-story-image::before {
        top: -20px;
        left: -20px;
        right: 20px;
        bottom: 20px;
    }

    .cc-story-features {
        grid-template-columns: 1fr;
    }

    .cc-apart-section,
    .cc-values-section {
        padding: 35px 0;
    }

    .cc-divisions-grid {
        grid-template-columns: 1fr;
    }

    .cc-about-cta {
        margin-top: 0;
        padding: 0 0 40px 0;
    }

    .cc-about-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }

    .cc-about-cta h2 {
        font-size: 1.6rem;
    }

    .cc-values-cards {
        grid-template-columns: 1fr;
    }

    .cc-value-card {
        border-bottom: 1px solid var(--cc-primary);
        padding-bottom: 25px;
    }

    .cc-value-card:last-child {
        border-bottom: none;
    }

    .cc-about-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cc-about-cta h2 {
        font-size: 1.8rem;
    }
}


/* =====================================================
   SERVICES PAGE STYLES - MODERN MINIMAL DESIGN
   ===================================================== */

/* Services Page Main */
.page-template-page-services .cc-main {
    padding-top: 59px;
}

/* Services Hero - Clean Modern with Background Image */
.cc-services-hero {
    background-color: #02172C;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(100px, 12vw, 160px) 0 clamp(120px, 14vw, 180px);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cc-services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(2, 23, 44, 0.95) 0%, rgba(2, 23, 44, 0.7) 50%, rgba(2, 23, 44, 0.4) 100%);
    z-index: 0;
}

.cc-services-hero::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.cc-services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--cc-white) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.cc-services-hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}

.cc-services-hero .cc-section-label {
    color: var(--cc-accent);
    margin-bottom: 24px;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 0;
    border: none;
    background: none;
    position: relative;
    padding-left: 50px;
}

.cc-services-hero .cc-section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 1px;
    background: var(--cc-accent);
}

.cc-services-hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--cc-white);
    margin-bottom: 28px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.cc-services-hero-text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 500px;
    font-weight: 400;
}

/* Services Quick Navigation */
.cc-services-nav {
    background: var(--cc-white);
    padding: 0;
    position: sticky;
    top: 90px;
    z-index: 100;
    margin-top: -70px;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(2,23,44,0.06);
}

.cc-services-nav.is-stuck {
    box-shadow: 0 4px 20px rgba(2,23,44,0.08);
}

.cc-services-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: transparent;
}

.cc-services-nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 28px;
    text-decoration: none;
    color: var(--cc-text);
    transition: background 0.35s ease;
    position: relative;
    background: transparent;
    border-right: 1px solid rgba(2,23,44,0.06);
}

.cc-services-nav-item:last-child {
    border-right: none;
}

/* Gradient bottom bar — navy to gold */
.cc-services-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cc-primary), #1a4a6e, var(--cc-accent), #e0c97a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-services-nav-item:hover {
    background: rgba(201,169,98,0.04);
}

.cc-services-nav-item:hover::after,
.cc-services-nav-item.active::after {
    transform: scaleX(1);
}

.cc-services-nav-item.active {
    background: rgba(201,169,98,0.06);
}

.cc-services-nav-item.active .cc-services-nav-number {
    color: var(--cc-accent-dark);
}

.cc-services-nav-item.active .cc-services-nav-title {
    color: var(--cc-primary);
}

.cc-services-nav-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cc-accent);
    margin-bottom: 10px;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
    transition: color 0.35s ease;
}

.cc-services-nav-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
    color: var(--cc-primary);
    position: relative;
    z-index: 1;
    transition: color 0.35s ease;
}

/* Services Division Sections */
.cc-services-division {
    padding: clamp(100px, 12vw, 150px) 0;
    background: var(--cc-white);
    position: relative;
}

.cc-services-division-alt {
    background: #f8f9fb;
    position: relative;
}

/* Subtle dot pattern on alt sections */
.cc-services-division-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(2,23,44,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.cc-services-division-alt > .cc-container {
    position: relative;
    z-index: 1;
}

.cc-services-division-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 60px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cc-services-division-header-text {
    max-width: 600px;
}

.cc-services-division-header .cc-section-label {
    color: var(--cc-accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 16px;
    display: inline-block;
    padding: 0;
    background: none;
    border-radius: 0;
}

.cc-services-division-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cc-services-division-header p {
    font-size: 1.05rem;
    color: var(--cc-gray);
    line-height: 1.75;
    margin: 0;
    flex-basis: 100%;
}

/* Decorative gradient line below header */
.cc-services-division-header::after {
    content: '';
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--cc-primary), var(--cc-accent) 40%, transparent 80%);
    opacity: 0.2;
    flex-basis: 100%;
}

.cc-services-division-alt .cc-services-division-header::after {
    opacity: 0.3;
}

/* Services Grid */
.cc-services-grid {
    display: grid;
    gap: 22px;
}

.cc-services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.cc-services-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Service Item Card */
.cc-service-item {
    background: var(--cc-white);
    padding: 0;
    border-radius: 6px;
    border: 1px solid rgba(2,23,44,0.05);
    box-shadow: 0 1px 4px rgba(2,23,44,0.04);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    z-index: 1;
    will-change: transform, box-shadow, opacity;
}

/* Gradient top border — navy to gold */
.cc-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cc-primary), #1a4a6e, var(--cc-accent), #e0c97a);
    z-index: 2;
}

.cc-service-item::after {
    display: none;
}

/* JS adds this class to enable animation */
.cc-service-item.cc-animate-ready {
    opacity: 0;
    transform: translateY(20px);
}

.cc-service-item.cc-animate-ready.visible {
    opacity: 1;
    transform: translateY(0);
}



.cc-service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(2,23,44,0.10), 0 6px 14px rgba(2,23,44,0.06);
}

/* Number */
.cc-service-item-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cc-accent-dark);
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    margin: 28px 0 0 28px;
    padding: 0;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.cc-service-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cc-primary);
    margin: 14px 28px 8px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.cc-service-item p {
    font-size: 0.88rem;
    color: var(--cc-gray);
    line-height: 1.7;
    margin: 0 28px 28px;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Services CTA Section - Redesigned with Background Image */
.cc-services-cta {
    background-color: #02172C;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(80px, 10vw, 120px) 0;
    position: relative;
    overflow: hidden;
}

.cc-services-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 23, 44, 0.9) 0%, rgba(10, 48, 80, 0.85) 50%, rgba(2, 23, 44, 0.9) 100%);
    z-index: 0;
}

.cc-services-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(201, 169, 98, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.cc-services-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.5), transparent);
    z-index: 2;
}

.cc-services-cta-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.cc-services-cta-content {
    position: relative;
}

.cc-services-cta-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cc-accent);
    margin-bottom: 20px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.cc-services-cta-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--cc-accent);
}

.cc-services-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--cc-white);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cc-services-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0;
}

.cc-services-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.cc-services-cta .cc-btn-lg {
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cc-services-cta .cc-btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.cc-services-cta-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cc-services-cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.cc-services-cta-feature svg {
    color: var(--cc-accent);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .cc-services-cta-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cc-services-cta-action {
        align-items: center;
    }

    .cc-services-cta-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* Services Page Responsive */
@media (max-width: 1024px) {
    .cc-services-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cc-services-grid-4,
    .cc-services-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero Section - Mobile */
    .cc-services-hero {
        min-height: auto;
        padding: 50px 0 60px;
        text-align: left;
        background-size: cover;
        background-position: center;
    }

    .cc-services-hero-overlay {
        background: linear-gradient(to bottom, rgba(2, 23, 44, 0.85) 0%, rgba(2, 23, 44, 0.75) 100%);
    }

    .cc-services-hero::before {
        display: none;
    }

    .cc-services-hero::after {
        height: 80px;
        background: linear-gradient(to top, #f8f9fb 0%, transparent 100%);
    }

    .cc-services-hero-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .cc-services-hero .cc-section-label {
        display: inline-flex;
        align-items: center;
        padding-left: 35px;
        margin-bottom: 16px;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        position: relative;
    }

    .cc-services-hero .cc-section-label::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 25px;
        height: 1px;
        background: var(--cc-accent);
    }

    .cc-services-hero-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        margin-bottom: 16px;
        line-height: 1.15;
    }

    .cc-services-hero-text {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 100%;
        color: rgba(255, 255, 255, 0.8);
    }

    /* Navigation Grid - Mobile */
    .cc-services-nav {
        margin-top: 0;
        padding: 0 20px 24px;
        position: relative;
        top: auto;
        z-index: 10;
        background: #f8f9fb;
        border-bottom: none;
    }

    .cc-services-nav-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .cc-services-nav-item {
        padding: 20px 16px;
        background: var(--cc-white);
        border-radius: 8px;
        border: 1px solid rgba(2,23,44,0.06);
        box-shadow: 0 3px 12px rgba(2,23,44,0.08), 0 1px 3px rgba(2,23,44,0.05);
        text-align: left;
        align-items: flex-start;
        justify-content: center;
        display: flex;
        flex-direction: column;
        gap: 5px;
        transition: none;
        position: relative;
        overflow: hidden;
    }

    .cc-services-nav-item:active {
        transform: none;
        box-shadow: 0 3px 12px rgba(2,23,44,0.08), 0 1px 3px rgba(2,23,44,0.05);
    }

    /* Gradient top bar via pseudo-element (preserves border-radius) */
    .cc-services-nav-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--cc-primary), #1a4a6e, var(--cc-accent));
        border-radius: 8px 8px 0 0;
    }

    .cc-services-nav-item::after {
        display: none;
    }

    .cc-services-nav-number {
        font-size: 0.68rem;
        font-weight: 700;
        margin-bottom: 0;
        color: var(--cc-accent);
        background: none;
        width: auto;
        height: auto;
        border-radius: 0;
        display: block;
        position: relative;
        z-index: 1;
        letter-spacing: 0.08em;
    }

    .cc-services-nav-title {
        font-size: 0.82rem;
        font-weight: 600;
        line-height: 1.3;
        color: var(--cc-primary);
        text-transform: none;
        letter-spacing: 0;
        position: relative;
        z-index: 1;
        max-width: 100%;
    }

    .cc-services-division {
        padding: clamp(50px, 8vw, 80px) 0;
    }

    .cc-services-division-header {
        margin-bottom: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cc-services-division-header-text {
        display: flex;
        flex-direction: column;
    }

    .cc-services-division-header .cc-section-label {
        order: 1;
        margin-bottom: 8px;
    }

    .cc-services-division-header h2 {
        order: 2;
        margin-bottom: 12px;
    }

    .cc-services-division-header p {
        order: 3;
    }

    /* Stacking cards effect on mobile - ensure overflow doesn't break sticky */
    .cc-services-division,
    .cc-services-division .cc-container {
        overflow: visible !important;
    }

    .cc-services-grid.cc-services-grid-4,
    .cc-services-grid.cc-services-grid-3 {
        display: block !important;
        overflow: visible !important;
    }

    .cc-services-grid .cc-service-item,
    .cc-services-division-alt .cc-service-item {
        position: -webkit-sticky !important;
        position: sticky !important;
        padding: 0;
        border-radius: 8px;
        background: var(--cc-white);
        border: 1px solid rgba(2,23,44,0.06);
        margin-bottom: 24px;
        box-shadow: 0 3px 12px rgba(2,23,44,0.08), 0 1px 3px rgba(2,23,44,0.05);
        overflow: hidden;
        transition: none;
        opacity: 1 !important;
        transform: none !important;
    }

    .cc-services-grid .cc-service-item:hover,
    .cc-services-division-alt .cc-service-item:hover {
        transform: none !important;
        box-shadow: 0 3px 12px rgba(2,23,44,0.08), 0 1px 3px rgba(2,23,44,0.05);
    }

    .cc-services-grid .cc-service-item .cc-service-item-number,
    .cc-services-division-alt .cc-service-item .cc-service-item-number {
        margin: 22px 0 0 22px;
    }

    .cc-services-grid .cc-service-item h4,
    .cc-services-division-alt .cc-service-item h4 {
        margin: 10px 22px 6px;
    }

    .cc-services-grid .cc-service-item p,
    .cc-services-division-alt .cc-service-item p {
        margin: 0 22px 22px;
    }

    .cc-services-grid .cc-service-item:last-child {
        margin-bottom: 0;
    }

    /* Cards stack starting at 140px, each +10px */
    .cc-services-grid .cc-service-item:nth-child(1) { top: 140px; z-index: 1; }
    .cc-services-grid .cc-service-item:nth-child(2) { top: 150px; z-index: 2; }
    .cc-services-grid .cc-service-item:nth-child(3) { top: 160px; z-index: 3; }
    .cc-services-grid .cc-service-item:nth-child(4) { top: 170px; z-index: 4; }
    .cc-services-grid .cc-service-item:nth-child(5) { top: 180px; z-index: 5; }
    .cc-services-grid .cc-service-item:nth-child(6) { top: 190px; z-index: 6; }
    .cc-services-grid .cc-service-item:nth-child(7) { top: 200px; z-index: 7; }
    .cc-services-grid .cc-service-item:nth-child(8) { top: 210px; z-index: 8; }
    .cc-services-grid .cc-service-item:nth-child(9) { top: 220px; z-index: 9; }
    .cc-services-grid .cc-service-item:nth-child(10) { top: 230px; z-index: 10; }
    .cc-services-grid .cc-service-item:nth-child(11) { top: 240px; z-index: 11; }
    .cc-services-grid .cc-service-item:nth-child(12) { top: 250px; z-index: 12; }
    .cc-services-grid .cc-service-item:nth-child(13) { top: 260px; z-index: 13; }
    .cc-services-grid .cc-service-item:nth-child(14) { top: 270px; z-index: 14; }
    .cc-services-grid .cc-service-item:nth-child(15) { top: 280px; z-index: 15; }
    .cc-services-grid .cc-service-item:nth-child(16) { top: 290px; z-index: 16; }

    .cc-service-item-number {
        width: auto;
        height: auto;
        font-size: 0.7rem;
    }

    .cc-services-nav-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cc-services-hero {
        min-height: auto;
        padding: 40px 0 50px;
    }

    .cc-services-hero-title {
        font-size: 1.6rem;
    }

    .cc-services-hero-text {
        font-size: 0.85rem;
    }

    .cc-services-hero .cc-section-label::before {
        width: 20px;
    }

    .cc-services-nav {
        padding: 44px 16px 24px;
        margin-top: 0;
    }

    .cc-services-nav-grid {
        gap: 8px;
    }

    .cc-services-nav-item {
        padding: 16px 14px;
        gap: 4px;
        border-radius: 6px;
    }

    .cc-services-nav-item::before {
        border-radius: 6px 6px 0 0;
    }

    .cc-services-nav-number {
        font-size: 0.62rem;
    }

    .cc-services-nav-title {
        font-size: 0.75rem;
    }
}

/* Service Items Staggered Animation */
.cc-service-item.cc-animate-ready:nth-child(1) { transition-delay: 0.05s; }
.cc-service-item.cc-animate-ready:nth-child(2) { transition-delay: 0.1s; }
.cc-service-item.cc-animate-ready:nth-child(3) { transition-delay: 0.15s; }
.cc-service-item.cc-animate-ready:nth-child(4) { transition-delay: 0.2s; }
.cc-service-item.cc-animate-ready:nth-child(5) { transition-delay: 0.25s; }
.cc-service-item.cc-animate-ready:nth-child(6) { transition-delay: 0.3s; }
.cc-service-item.cc-animate-ready:nth-child(7) { transition-delay: 0.35s; }
.cc-service-item.cc-animate-ready:nth-child(8) { transition-delay: 0.4s; }
.cc-service-item.cc-animate-ready:nth-child(9) { transition-delay: 0.45s; }
.cc-service-item.cc-animate-ready:nth-child(10) { transition-delay: 0.5s; }
.cc-service-item.cc-animate-ready:nth-child(11) { transition-delay: 0.55s; }
.cc-service-item.cc-animate-ready:nth-child(12) { transition-delay: 0.6s; }
.cc-service-item.cc-animate-ready:nth-child(13) { transition-delay: 0.65s; }
.cc-service-item.cc-animate-ready:nth-child(14) { transition-delay: 0.7s; }
.cc-service-item.cc-animate-ready:nth-child(15) { transition-delay: 0.75s; }
.cc-service-item.cc-animate-ready:nth-child(16) { transition-delay: 0.8s; }

/* No-JS Fallback - Show content immediately if JS doesn't run */
html.no-js .cc-service-item,
html.no-js .cc-services-hero-title,
html.no-js .cc-word-reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* Also ensure services hero title animates properly */
.cc-services-hero-title {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cc-services-hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .cc-service-item {
        transition: none;
    }

    .cc-service-item:hover {
        transform: none;
        box-shadow: 0 1px 4px rgba(2,23,44,0.04);
    }

    .cc-services-nav-item {
        transition: none;
    }

    .cc-services-nav-item:hover {
        background: transparent;
    }

    /* Disable fade-in animation for service cards on touch */
    .cc-service-item.cc-animate-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cc-service-item.cc-animate-ready.visible {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================
   CONTACT PAGE - WHITE BACKGROUND VARIANT
   ===================================================== */

.cc-contact-page.cc-cta {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Accent glow - top right */
.cc-contact-page.cc-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.12) 0%, rgba(201, 169, 98, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Secondary glow - bottom left */
.cc-contact-page.cc-cta::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(2, 23, 44, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Container positioning */
.cc-contact-page .cc-container {
    position: relative;
    z-index: 2;
}

.cc-contact-page .cc-cta-grid {
    position: relative;
}

/* Decorative line - left of content */
.cc-contact-page .cc-cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    width: 3px;
    height: 100px;
    background: linear-gradient(to bottom, var(--cc-accent), transparent);
}

/* Second decorative line - bottom right of form */
.cc-contact-page .cc-contact-form::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 40px;
    width: 80px;
    height: 3px;
    background: linear-gradient(to left, var(--cc-accent), transparent);
    pointer-events: none;
}

.cc-contact-page .cc-cta-content {
    text-align: left;
    position: relative;
}

.cc-contact-page .cc-cta-content h2 {
    color: var(--cc-primary);
}

.cc-contact-page .cc-cta-content p {
    color: var(--cc-primary);
    opacity: 0.8;
}

.cc-contact-page .cc-cta-features {
    align-items: flex-start;
}

.cc-contact-page .cc-cta-feature {
    color: var(--cc-primary);
}

.cc-contact-page .cc-cta-feature svg {
    color: var(--cc-accent);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .cc-contact-page .cc-cta-content::before {
        left: 0;
        top: -20px;
        width: 60px;
        height: 3px;
        background: linear-gradient(to right, var(--cc-accent), transparent);
    }

    .cc-contact-page .cc-contact-form::after {
        bottom: -20px;
        right: 20px;
        width: 50px;
    }

    .cc-contact-page.cc-cta-with-form {
        padding: 40px 0 100px;
    }
}

@media (max-width: 767px) {
    .cc-contact-page.cc-cta-with-form {
        padding-top: 100px;
    }

    .cc-contact-page .cc-cta-grid {
        gap: 80px;
    }
}

/* =====================================================
   PRELOADER
   ===================================================== */
.cc-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    background: #02172C;
}

.cc-preloader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cc-preloader.hiding .cc-preloader-inner {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
}

.cc-preloader-logo {
    width: 120px;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    animation: cc-preloader-appear 0.6s ease forwards;
}

@keyframes cc-preloader-appear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cc-preloader.wipe {
    animation: cc-curtain-wipe 0.7s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes cc-curtain-wipe {
    0% {
        clip-path: inset(0 0 0 0);
    }
    100% {
        clip-path: inset(0 0 100% 0);
    }
}

@media (max-width: 767px) {
    .cc-preloader-logo {
        width: 104px;
    }
}

/* =====================================================
   LEGAL PAGES (Terms / Privacy)
   ===================================================== */
.cc-legal-page {
    padding: 40px 0 80px;
    background: var(--cc-off-white);
    min-height: 60vh;
    margin-top: -90px;
    padding-top: 160px;
}

.cc-legal-page ~ footer .cc-footer-main,

.cc-legal-page .cc-container {
    max-width: 860px;
}

.cc-legal-header {
    margin-bottom: 48px;
    text-align: center;
}

.cc-legal-header h1 {
    font-family: var(--cc-font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--cc-primary);
    margin-bottom: 12px;
}

.cc-legal-header p {
    color: var(--cc-gray);
    font-size: 15px;
}

.cc-legal-content h2 {
    font-family: var(--cc-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--cc-primary);
    margin: 40px 0 16px;
}

.cc-legal-content h2:first-child {
    margin-top: 0;
}

.cc-legal-content p,
.cc-legal-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--cc-dark-gray);
}

.cc-legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin: 12px 0;
}

.cc-legal-content ul li {
    margin-bottom: 6px;
}

.cc-legal-content a {
    color: var(--cc-accent-dark);
    text-decoration: underline;
}

.cc-legal-content a:hover {
    color: var(--cc-primary);
}

@media (max-width: 767px) {
    .cc-legal-page {
        padding-top: 160px;
        padding-bottom: 60px;
    }
}

/* =====================================================
   PROJECTS PAGE
   ===================================================== */

/* --- Projects Hero --- */
.cc-projects-hero {
    position: relative;
    padding: clamp(100px, 12vw, 130px) 0 8px;
    background: var(--cc-white);
}

.cc-projects-hero-content {
    position: relative;
    max-width: 700px;
    padding-left: 44px;
}

.cc-projects-hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100px;
    background: linear-gradient(to bottom, var(--cc-accent), transparent);
}

.cc-projects-hero-content .cc-section-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cc-accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.cc-projects-hero-title {
    font-family: var(--cc-font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--cc-primary);
    line-height: 1.2;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .cc-projects-hero-content {
        padding-left: 0;
        padding-top: 24px;
    }
    .cc-projects-hero-content::before {
        top: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(to right, var(--cc-accent), transparent);
    }
}

/* --- Masonry Gallery (CSS Columns) --- */
.cc-projects-gallery-section {
    background: var(--cc-white);
    padding-top: 30px;
}

.cc-gallery-item {
    box-shadow: 0 4px 20px rgba(2,23,44,0.06), 0 1px 4px rgba(2,23,44,0.04);
    transition: box-shadow 0.3s ease, transform 0.4s ease;
}

.cc-gallery-item:hover {
    box-shadow: 0 8px 30px rgba(2,23,44,0.12), 0 2px 8px rgba(2,23,44,0.06);
}

.cc-projects-masonry-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.cc-projects-masonry-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent 0%, var(--cc-white) 60%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .cc-projects-masonry-wrap::after {
        display: none;
    }
}

.cc-projects-masonry {
    column-count: 3;
    column-gap: 20px;
    margin-bottom: -140px;
}

.cc-gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--cc-light-gray);
}

.cc-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.cc-gallery-item:hover img {
    transform: scale(1.03);
}

.cc-gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(2,23,44,0.75));
    color: var(--cc-white);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cc-gallery-item:hover figcaption {
    opacity: 1;
}

/* Empty state */
.cc-projects-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--cc-gray);
}

.cc-projects-empty svg {
    margin-bottom: 24px;
    color: var(--cc-accent);
}

.cc-projects-empty h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--cc-text);
    margin-bottom: 10px;
}

.cc-projects-empty p {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Projects page CTA */
.page-template-page-projects .cc-about-cta {
    background: var(--cc-white);
}

/* Responsive masonry */
@media (max-width: 1023px) {
    .cc-projects-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .cc-projects-masonry {
        column-count: 1;
    }
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.cc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(2,23,44,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cc-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.cc-lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 85vh;
}

.cc-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--cc-white);
    font-size: 36px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 2;
    line-height: 1;
    padding: 8px;
}

.cc-lightbox-close:hover {
    opacity: 1;
}

.cc-lightbox-prev,
.cc-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
    padding: 0;
}

.cc-lightbox-prev svg,
.cc-lightbox-next svg {
    width: 22px;
    height: 22px;
    color: var(--cc-white);
}

.cc-lightbox-prev { left: 20px; }
.cc-lightbox-next { right: 20px; }

.cc-lightbox-prev:hover,
.cc-lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.cc-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .cc-lightbox-prev,
    .cc-lightbox-next {
        width: 36px;
        height: 36px;
    }
    .cc-lightbox-prev svg,
    .cc-lightbox-next svg {
        width: 18px;
        height: 18px;
    }
    .cc-lightbox-prev { left: 10px; }
    .cc-lightbox-next { right: 10px; }
    .cc-lightbox-close {
        top: 12px;
        right: 14px;
        font-size: 30px;
    }
}
