/* ====================================================================
   CUSTOM ANIMATIONS & OTHER PROPERTIES
   ==================================================================== */

/* Smooth scrolling for navigation */
html {
    scroll-behavior: smooth;
}

:root {
    /* Colours */
    --dns-purple: #5D4E75;
    --dns-pink: #E91E63;
    --white: #ffffff;
    --gray-800: #1f2937;
    --gray-300: #d1d5db;
    --gray-light: #9CA3AF;
    
    /* Typography */
    --font-primary: 'Gilroy', 'Poppins', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --font-inter: 'Inter', system-ui, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-pink: 0 0 30px rgba(233, 30, 99, 0.3);
    --shadow-purple: 0 0 30px rgba(93, 78, 117, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* ====================================================================
   LAYOUT COMPONENTS
   ==================================================================== */

/* Hero Container */
.hero-container {
    position: relative;
    background-image: url('assets/images/purplerectangle.png');
    background-size: cover;
    background-position: center;
}

.geometric-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
    background-image: url('assets/images/geometric-hero.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

/* ====================================================================
   HEADER STYLES
   ==================================================================== */

.header-container {
    position: relative;
    z-index: 1000;
    padding: 1.25rem var(--space-xl) var(--space-xs);
    font-family: var(--font-primary);
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-xs) 0;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.header-left-section {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2xl);
    flex: 1;
    min-width: 0;
}

.logo-container { flex-shrink: 0; }
.header-logo { height: 4rem; width: auto; }

.header-nav-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: 0;
    flex: 1;
    min-width: 0;
}

.header-nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.header-right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-sm);
    margin-top: 0;
    flex-shrink: 0;
}

/* Header Links */
.header-phone, .header-link, .header-support-link {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    transition: var(--transition-fast);
}

.header-link, .header-support-link {
    text-decoration: none;
}

.header-link:hover, .header-support-link:hover {
    color: var(--gray-300);
}

.header-support-link { font-size: 0.8rem; }

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.main-nav-link {
    color: var(--white);
    font-size: var(--space-md);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
    white-space: nowrap;
}

.main-nav-link:hover { color: var(--gray-300); }

/* Call Back Button */
.call-back-btn {
    background-color: var(--white);
    color: var(--dns-purple);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.call-back-btn:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(93, 78, 117, 0.2),
        0 0 20px rgba(93, 78, 117, 0.15);
}

.call-back-btn:hover .phone-emoji {
    animation: phoneBob 0.6s ease-in-out infinite;
}

.phone-emoji {
    display: inline-block;
    margin-right: var(--space-xs);
    transition: var(--transition-fast);
}

/* ====================================================================
   MOBILE NAVIGATION
   ==================================================================== */

.desktop-only { display: block; }
.mobile-only { display: none; }

.burger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--space-sm);
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    position: relative;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.burger-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.burger-line {
    width: 1.5rem;
    height: 2px;
    background: linear-gradient(135deg, var(--white) 0%, var(--dns-pink) 100%);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
    margin: 0.125rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.burger-menu-btn:hover .burger-line {
    background: linear-gradient(135deg, var(--dns-pink) 0%, var(--white) 100%);
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.3);
}

.burger-menu-btn.active {
    background: rgba(233, 30, 99, 0.2);
    border-color: var(--dns-pink);
    transform: rotate(180deg);
}

.burger-menu-btn.active .burger-line {
    background: var(--dns-pink);
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.5);
}

.burger-menu-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(0.3rem, 0.3rem);
}

.burger-menu-btn.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.burger-menu-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(0.3rem, -0.3rem);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--dns-purple) 0%, rgba(93, 78, 117, 0.95) 50%, rgba(233, 30, 99, 0.8) 100%);
    backdrop-filter: blur(20px);
    z-index: 9999;
    transform: translateX(-100%);
    transition: var(--transition-smooth);
    overflow-y: auto;
    display: none;
    opacity: 0;
}

.mobile-nav.active {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-content {
    padding: var(--space-4xl) var(--space-xl) var(--space-xl);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.mobile-nav-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/geometric-hero.png') no-repeat;
    background-size: contain;
    background-position: top right;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.mobile-nav-section.main-nav-section {
    flex: 1;
    justify-content: center;
    margin-bottom: var(--space-2xl);
    gap: var(--space-lg);
}

.mobile-nav-section.action-section {
    margin-bottom: 0;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.mobile-phone {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-mono);
    letter-spacing: 0.025em;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    animation: slideInFromTop 0.6s ease-out 0.1s both;
}

.mobile-nav-link {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    padding: 1.2rem var(--space-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.4s; }

.mobile-nav-link.primary {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1.8rem var(--space-xl);
    border: 2px solid rgba(233, 30, 99, 0.3);
    background: rgba(233, 30, 99, 0.1);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.15);
}

.mobile-nav-link.support {
    font-family: var(--font-mono);
    font-size: var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--white);
    background: linear-gradient(135deg, var(--dns-pink) 0%, rgba(233, 30, 99, 0.8) 100%);
    border-color: var(--dns-pink);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
}

.mobile-nav-link.primary:hover {
    background: linear-gradient(135deg, var(--dns-pink) 0%, rgba(233, 30, 99, 0.9) 100%);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.4);
}

.mobile-call-back-btn {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    color: var(--dns-purple);
    padding: 1.2rem var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideInFromBottom 0.6s ease-out 0.5s both;
}

.mobile-call-back-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, var(--dns-pink) 100%);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(233, 30, 99, 0.3),
        0 0 30px rgba(233, 30, 99, 0.2);
    border-color: var(--dns-pink);
}

.mobile-call-back-btn:hover .phone-emoji {
    animation: phoneBob 0.6s ease-in-out infinite;
}

/* ====================================================================
   ANIMATIONS
   ==================================================================== */

@keyframes slideInFromLeft {
    0% { transform: translateX(-30px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromTop {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideInFromBottom {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes phoneBob {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-5deg); }
    50% { transform: translateY(-6px) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(5deg); }
}

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

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}


@keyframes celebration {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ====================================================================
   HERO SECTION
   ==================================================================== */

.hero-section {
    position: relative;
    z-index: 10;
    padding: var(--space-xl) var(--space-xl) 5rem;
    font-family: var(--font-primary);
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero-title {
    color: var(--white);
    font-size: 3.75rem;
    font-weight: bold;
    line-height: 1.1;
    font-family: var(--font-primary);
}

.hero-description {
    color: var(--white);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 32rem;
    font-family: var(--font-mono);
}

.hero-image-container {
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 32rem;
    width: 100%;
    animation: float 6s ease-in-out infinite, fadeInUp 1s ease-out;
    transition: var(--transition-fast);
    filter: drop-shadow(0 10px 30px rgba(93, 78, 117, 0.15));
}

.hero-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 15px 40px rgba(93, 78, 117, 0.25)) drop-shadow(0 0 30px rgba(233, 30, 99, 0.2));
}

/* ====================================================================
   SERVICE CARDS
   ==================================================================== */

.services-section {
    position: relative;
    margin-top: -5rem;
    z-index: 20;
    padding: 0 var(--space-xl) var(--space-3xl);
    font-family: var(--font-primary);
}

.services-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    cursor: pointer;
}

.service-card.primary {
    background-color: var(--dns-pink);
    color: var(--white);
}

.service-card.secondary {
    background-color: var(--white);
    color: var(--gray-800);
}

.service-card:hover { transform: translateY(-8px); }

.service-card.primary:hover {
    box-shadow: var(--shadow-lg), var(--shadow-pink);
}

.service-card.secondary:hover {
    box-shadow: var(--shadow-lg), var(--shadow-purple);
}

.service-icon-container { margin-bottom: var(--space-lg); }
.service-icon { width: 3rem; height: 3rem; margin: 0 auto; }

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: var(--space-md);
    font-family: var(--font-primary);
}

.service-title.secondary { color: var(--dns-pink); }

.service-description {
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    font-family: var(--font-mono);
}

.service-link {
    margin-top: auto;
    text-decoration: underline;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.service-link.primary { 
    color: var(--white); 
}

.service-link.secondary { 
    color: var(--dns-pink); 
}

.service-link:hover {
    opacity: 0.8;
}

/* ====================================================================
   CLIENTS SECTION
   ==================================================================== */

.clients-section {
    background-color: var(--white);
    padding: var(--space-4xl) 0;
    font-family: var(--font-primary);
}

.clients-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    text-align: center;
}

.clients-title {
    color: var(--gray-800);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-2xl);
}

.clients-logo-container { display: flex; justify-content: center; }
.clients-logo { max-width: 64rem; width: 100%; }

/* ====================================================================
   CASE STUDY SECTION
   ==================================================================== */

.case-study-section {
    background-color: #f8fafc;
    padding: 0;
    overflow: hidden;
}

.case-study-container {
    max-width: 100%;
    margin: 0 auto;
}

.case-study-grid {
    display: grid;
    min-height: 60vh;
    align-items: stretch;
}

.case-study-image-container {
    background-color: #111827;
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    order: 2;
}

.case-study-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: none;
}

.case-study-content {
    background-color: #C92C93;
    padding: var(--space-2xl) var(--space-xl);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50vh;
    order: 1;
}

.case-study-title {
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    font-family: var(--font-primary);
}

.case-study-description {
    font-size: var(--space-md);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    font-family: var(--font-mono);
    opacity: 0.95;
}

.case-study-description:last-child { margin-bottom: 0; }

/* ====================================================================
   TESTIMONIAL SECTION
   ==================================================================== */

.testimonial-section {
    background-color: var(--white);
    padding: var(--space-4xl) 0 var(--space-3xl);
    position: relative;
    z-index: 20;
}

.testimonial-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.testimonial-content {
    text-align: left;
    position: relative;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-subtitle {
    color: var(--gray-800);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--font-primary);
    flex: 1;
}

.testimonial-card {
    background-image: url('assets/images/flag.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    width: 100%;
    max-width: 64rem;
    min-height: 24rem;
    margin: var(--space-xl) auto -8rem;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
    font-family: var(--font-primary);
    max-width: 50%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 0 1px rgba(0, 0, 0, 0.75), 0 0 6px rgba(0, 0, 0, 0.35), 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.testimonial-quote::before, .testimonial-quote::after { display: none; }

.testimonial-attribution {
    margin-top: auto;
    padding-top: var(--space-lg);
}

.attribution-text {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
    font-family: var(--font-mono);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 0 1px rgba(0, 0, 0, 0.75), 0 0 6px rgba(0, 0, 0, 0.35), 1px 1px 1px rgba(0, 0, 0, 0.75);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.dot {
    width: var(--space-sm);
    height: var(--space-sm);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active { background-color: var(--white); }
.dot:hover { background-color: rgba(255, 255, 255, 0.6); }

.view-case-studies-link {
    display: inline-block;
    color: var(--gray-800);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: underline;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    margin: 0;
    flex-shrink: 0;
}

.view-case-studies-link:hover { color: var(--dns-pink); }

/* ====================================================================
   BUSINESS PROCESS SECTION
   ==================================================================== */

.business-process-section {
    background-color: #111827;
    padding: var(--space-4xl) 0;
    color: var(--white);
    position: relative;
}

.business-process-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    text-align: center;
}

.business-process-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: var(--space-3xl);
    font-family: var(--font-primary);
    color: var(--white);
}

.business-process-grid {
    display: grid;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.business-process-text { text-align: left; }

.business-process-description {
    font-size: var(--space-md);
    line-height: 1.75;
    color: var(--white);
    font-family: var(--font-mono);
    opacity: 0.9;
}

/* ====================================================================
   IMAGE GRID SECTION
   ==================================================================== */

.bottom-grid-section {
    background-color: #111827;
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.geometric-overlay-cs {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    background-image: url('assets/images/geometric-cs.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    z-index: 1;
}

.bottom-grid-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 2;
}

.bottom-grid {
    display: grid;
    gap: var(--space-3xl);
}

/* ====================================================================
   INSIGHTS SECTION
   ==================================================================== */

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

.insights-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    font-family: var(--font-primary);
    color: var(--white);
}

.insights-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.insight-card.large {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--space-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.insight-card.large:hover { background-color: rgba(255, 255, 255, 0.08); }

.insight-image-large {
    width: 100%;
    height: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.insight-image-large .insight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-card.large .insight-content { padding: var(--space-lg); }

.insight-small-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.insight-card.small {
    display: flex;
    gap: var(--space-md);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    transition: var(--transition-fast);
}

.insight-card.small:hover { background-color: rgba(255, 255, 255, 0.08); }

.insight-image-small {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-content { flex: 1; }

.insight-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-mono);
    display: block;
    margin-bottom: var(--space-xs);
}

.insight-title-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--white);
    margin: 0;
    font-family: var(--font-primary);
}

/* ====================================================================
   FAQ SECTION
   ==================================================================== */

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

.faq-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
    font-family: var(--font-primary);
    color: var(--white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
}

.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.faq-question {
    width: 100%;
    padding: var(--space-md) var(--space-xl) var(--space-md) 0;
    background: none;
    border: none;
    color: var(--white);
    text-align: left;
    font-size: 0.875rem;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.faq-question:hover { color: var(--dns-pink); }

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 300;
}

.view-all-faqs {
    font-family: var(--font-mono);
    text-decoration: underline;
}

.view-all-faqs:hover { color: var(--white); }

/* ====================================================================
   RESPONSIVE DESIGN
   ==================================================================== */

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .business-process-grid { grid-template-columns: repeat(2, 1fr); }
    .case-study-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 70vh;
    }
    .case-study-image-container {
        order: 1;
        min-height: 60vh;
    }
    .case-study-content {
        order: 2;
        padding: var(--space-3xl);
        min-height: 60vh;
    }
    .testimonial-card {
        padding: var(--space-2xl);
        min-height: 28rem;
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
    .desktop-nav { display: none !important; }
    .mobile-nav { display: block; }
    
    .header-container { padding: var(--space-md) var(--space-md) var(--space-xs); }
    .header-top-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-md);
    }
    .header-left-section {
        gap: var(--space-md);
        align-items: center;
        width: auto;
    }
    .header-logo { height: 3rem; }
    .burger-menu-btn { display: flex; }
    
    .hero-section { padding: var(--space-md) var(--space-md) var(--space-2xl); }
    .hero-title { font-size: 2.5rem; }
    .services-section { padding: 0 var(--space-md) var(--space-xl); }
    .clients-section { padding: var(--space-3xl) 0; }
    
    .case-study-image-container,
    .case-study-content {
        min-height: 40vh;
        padding: var(--space-lg);
    }
    .case-study-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-lg);
    }
    .case-study-description { font-size: 0.9rem; }
    
    .business-process-title {
        font-size: 1.75rem;
        margin-bottom: var(--space-xl);
    }
    .business-process-section { padding: var(--space-2xl) 0; }
    .business-process-grid {
        gap: var(--space-xl);
        margin-bottom: var(--space-2xl);
    }
    
    .bottom-grid-section { padding: var(--space-2xl) 0; }
    .bottom-grid { gap: var(--space-xl); }
    .insights-title,
    .faq-title {
        font-size: 1.25rem;
        margin-bottom: var(--space-lg);
    }
    
    .testimonial-section { padding: var(--space-3xl) 0; }
    .testimonial-card {
        min-height: 20rem;
        padding: var(--space-xl);
        margin: 12rem auto -6rem;
    }
    .testimonial-quote {
        font-size: 1.125rem;
        max-width: 70%;
    }
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    .testimonial-subtitle {
        font-size: 1.25rem;
    }
    .view-case-studies-link {
        align-self: flex-start;
    }
    
    .insight-image-large { height: 10rem; }
    .insight-card.large .insight-content { padding: var(--space-md); }
    .insight-image-small {
        width: 4rem;
        height: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-image-container { justify-content: flex-end; }
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
    .bottom-grid { grid-template-columns: 1fr 1fr; }
    .case-study-grid { min-height: 60vh; }
}

@media (min-width: 1200px) {
    .services-grid { gap: var(--space-xl); }
}

@media (max-width: 1023px) {
    .header-left-section { gap: var(--space-xl); }
    .header-nav-links { gap: var(--space-lg); }
    .main-nav { gap: var(--space-xl); }
    .hero-title { font-size: 3rem; }
    .services-section { margin-top: -3rem; }
    .case-study-grid { grid-template-columns: 1fr; }
    .case-study-image-container,
    .case-study-content {
        min-height: 50vh;
        padding: var(--space-xl);
    }
    .case-study-title { font-size: 1.875rem; }
    .business-process-title { font-size: 2rem; }
    .business-process-section { padding: var(--space-3xl) 0; }
    .bottom-grid-section { padding: var(--space-3xl) 0; }
    .bottom-grid { gap: var(--space-2xl); }
    .testimonial-section { padding: var(--space-3xl) 0 var(--space-3xl); }
    .testimonial-card { padding: var(--space-xl); }
    .testimonial-quote { font-size: 1.125rem; }
}

@media (max-width: 480px) {
    .header-container { padding: var(--space-sm) var(--space-sm) var(--space-xs); }
    .hero-section { padding: var(--space-lg) var(--space-sm) var(--space-2xl); }
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .services-section { padding: 0 var(--space-sm) var(--space-xl); }
    .service-card { padding: var(--space-lg); }
    .service-title { font-size: 1.125rem; }
    .service-description { font-size: 0.8rem; }
    .case-study-title { font-size: 1.5rem; }
    .case-study-content { padding: var(--space-lg) var(--space-md); }
    .business-process-title { font-size: 1.625rem; }
    .business-process-section { padding: var(--space-3xl) var(--space-sm) var(--space-2xl); }
    .testimonial-quote {
        font-size: var(--space-md);
        max-width: 80%;
    }
    .testimonial-card {
        min-height: 18rem;
        padding: 1.25rem;
        margin: var(--space-4xl) auto -3rem;
    }
    .testimonial-subtitle { padding-right: var(--space-4xl); }
    .view-case-studies-link {
        align-self: flex-start;
    }
    .bottom-grid-section { padding: 2.5rem var(--space-sm); }
}

/* Team Section */
.team-section {
    background-color: var(--white);
    padding: var(--space-4xl) 0;
    font-family: var(--font-primary);
}

.team-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    text-align: center;
}

.team-title {
    color: var(--gray-800);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-3xl);
}

.team-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(1, 1fr);
}

.team-card {
    background-color: transparent;
    box-shadow: none;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
}

.team-icon {
    display: block;
    margin: 0 auto var(--space-md);
    width: 3rem;
    height: 3rem;
}

.team-icon:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.team-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-800);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ====================================================================
   CONTACT FORM & FOOTER COMBINED SECTION
   ==================================================================== */

.contact-footer-section {
    position: relative;
    background-color: var(--dns-pink);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}

.contact-footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/pinkrectangle.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.contact-footer-geometric-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/geometric-footer.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    opacity: 0.3;
    z-index: 2;
}

.contact-footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 3;
}

/* Contact Content Section */
.contact-content-wrapper {
    margin-bottom: var(--space-3xl);
}

.contact-grid {
    display: grid;
    gap: var(--space-2xl);
    align-items: flex-start;
}

.contact-content {
    text-align: left;
    padding-top: var(--space-xs);
}

.contact-title {
    font-size: 2.75rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    font-family: var(--font-primary);
    color: var(--white);
}

.contact-highlight {
    font-style: italic;
    text-decoration: none;
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    font-family: var(--font-mono);
    opacity: 0.95;
    max-width: 30rem;
}

.contact-cta {
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-mono);
    margin: 0;
}

.contact-form-container {
    background-color: transparent;
    padding: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.form-input,
.form-textarea {
    background-color: var(--dns-pink);
    border: 2px solid var(--white);
    border-radius: 0;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    font-family: var(--font-mono);
    color: var(--white);
    transition: var(--transition-fast);
    width: 100%;
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    font-family: var(--font-mono);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--white);
    background-color: var(--dns-pink);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-textarea {
    resize: none;
    min-height: 80px;
}

.form-submit-btn {
    background-color: var(--white);
    color: var(--dns-pink);
    border: none;
    border-radius: 0;
    padding: var(--space-md) var(--space-lg);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: none;
    margin-top: var(--space-sm);
    align-self: flex-end;
    min-width: 130px;
}

.form-submit-btn:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Form Success State */
.contact-form.celebrating {
    animation: celebration 2s ease-in-out;
}


.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: white;
    padding: var(--space-xl) var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

.success-message h3 {
    margin: 0 0 var(--space-sm) 0;
    font-size: 1.5rem;
}

.success-message p {
    margin: 0;
    opacity: 0.9;
}

/* Footer Content Section */
.footer-content-wrapper {
    margin-top: var(--space-2xl);
}

.footer-grid {
    display: grid;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo-container {
    grid-column: 1 / -1;
    margin-bottom: var(--space-xl);
}

.footer-logo {
    height: 4rem;
    width: auto;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    font-family: var(--font-primary);
    color: var(--white);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-label {
    font-weight: 600;
    font-family: var(--font-mono);
    min-width: 1rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer-address-text {
    font-style: normal;
    line-height: 1.6;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--white);
}

.footer-hours-item {
    display: flex;
    gap: var(--space-sm);
}

.footer-day {
    font-weight: 500;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.footer-time {
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.footer-about-links,
.footer-services-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright,
.footer-brand {
    font-size: 0.875rem;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-copyright {
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-copyright::after {
    content: "Built by Conor Timmis";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    margin-bottom: var(--space-xs);
    z-index: 1000;
}

.footer-copyright::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    margin-bottom: calc(var(--space-xs) - 4px);
    z-index: 1000;
}

.footer-copyright:hover::after,
.footer-copyright:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ====================================================================
   CONTACT & FOOTER RESPONSIVE
   ==================================================================== */

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
    
    .footer-logo-container {
        grid-column: 1 / 2;
        grid-row: 1;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-logo-container {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        display: flex;
        align-items: flex-start;
    }
    
    .footer-contact {
        grid-column: 2 / 3;
    }
    
    .footer-address {
        grid-column: 3 / 4;
    }
    
    .footer-hours {
        grid-column: 4 / 5;
    }
    
    .footer-about {
        grid-column: 5 / 6;
    }
    
    .footer-services {
        grid-column: 6 / 7;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-logo-container {
        grid-column: 1;
        margin-bottom: var(--space-lg);
        text-align: left;
    }
    
    .footer-logo {
        height: 3rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    
    .footer-contact,
    .footer-address,
    .footer-hours,
    .footer-about,
    .footer-services {
        margin-bottom: var(--space-md);
    }
    
    .footer-contact-item,
    .footer-hours-item {
        margin-bottom: var(--space-xs);
    }
    
    .footer-about-links,
    .footer-services-links {
        gap: var(--space-xs);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
        padding-top: var(--space-lg);
        margin-top: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .contact-footer-section {
        padding: var(--space-2xl) 0 var(--space-xl);
    }
    
    .contact-footer-container {
        padding: 0 var(--space-md);
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-description {
        font-size: 0.875rem;
    }
    
    .contact-form-container {
        padding: 0;
    }
    
    .form-submit-btn {
        align-self: stretch;
        width: 100%;
    }
    
    .contact-content-wrapper {
        margin-bottom: var(--space-2xl);
    }
    
    .contact-grid {
        gap: var(--space-xl);
    }
    
    .footer-grid {
        gap: var(--space-md);
    }
    
    .footer-logo {
        height: 2.5rem;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: var(--space-sm);
    }
    
    .footer-link,
    .footer-address-text,
    .footer-day,
    .footer-time {
        font-size: 0.8rem;
    }
    
    .footer-contact,
    .footer-address,
    .footer-hours,
    .footer-about,
    .footer-services {
        margin-bottom: var(--space-sm);
    }
    
    .footer-content-wrapper {
        margin-top: var(--space-xl);
    }
    
    .footer-bottom {
        padding-top: var(--space-md);
        margin-top: var(--space-md);
    }
    
    .footer-copyright,
    .footer-brand {
        font-size: 0.75rem;
    }
}
