    /* 
 * VEVYO Website Styles
 * From prototype to profit
 */

/* ======== VARIABLES ======== */
:root {
    /* Colors */
    --primary: #1E3A5F;      /* Deep Navy Blue */
    --secondary: #0099FF;    /* Electric Blue */
    --accent: #333333;       /* Charcoal Gray */
    --background: #FFFFFF;   /* Pure White */
    --text: #333333;         /* Charcoal Gray for body */
    --text-heading: #1E3A5F; /* Deep Navy for headings */
    --light-gray: #F8F9FA;   /* Light gray for backgrounds */
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --base-font-size: 16px;
    --small-font-size: 14px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Container widths */
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ======== RESET & BASE STYLES ======== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--base-font-size);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

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

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

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

ul, ol {
    list-style: none;
}

/* ======== TYPOGRAPHY ======== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-heading);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.25rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

.subheadline {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

/* ======== LAYOUT ======== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
}

/* ======== BUTTONS ======== */
.primary-button, .secondary-button, .cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    min-width: 160px;
}

.primary-button, .cta-button {
    background-color: var(--secondary);
    color: white;
}

.primary-button:hover, .cta-button:hover {
    background-color: #0077CC;
    color: white;
    transform: translateY(-2px);
}

.secondary-button {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.secondary-button:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* ======== NAVIGATION ======== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* ======== HERO LOGO ANIMATION ======== */
.hero-logo-animation {
    position: relative;
    height: 300px; /* Fixed height instead of vh */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: #ffffff;
    overflow: visible;
    padding-top: 110px;
    padding-bottom: 0;
    margin-bottom: 30px; /* Positive margin for spacing */
}

.logo-animation-container {
    text-align: center;
    opacity: 1;
    animation: containerFadeIn 3s ease-out forwards;
    padding: 0;
    margin-top: 0;
}

.hero-logo {
    width: 300px; /* Slightly smaller for better proportions */
    max-width: 80vw;
    height: auto;
    opacity: 0;
    transform: scale(0.9);
    animation: logoEntry 2s ease-out 0.5s forwards;
    margin: 0 auto;
    margin-bottom: 5px; /* Reduced to tighten spacing */
}

.logo-animation-container .tagline,
#hero-tagline {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #333333;
    font-weight: 600;
    opacity: 0; /* Start hidden */
    letter-spacing: 0.5px;
    display: block;
    position: absolute; /* Position it absolutely */
    bottom: -30px; /* Position below the logo */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    z-index: 10;
    text-align: center;
    background-color: white;
    padding: 5px 10px;
    border-bottom: 2px solid var(--secondary);
    width: 250px;
    max-width: 90%;
    animation: taglineEntry 1s ease-out 2.5s forwards;
}

@keyframes containerFadeIn {
    0% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes logoEntry {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

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

/* ======== HERO SECTION ======== */
.hero {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

@media (max-width: 768px) {
    .hero-logo-animation {
        height: 240px;
        padding-top: 85px;
        margin-bottom: 25px;
    }
    
    .hero-logo {
        width: 220px;
    }
    
    .logo-animation-container .tagline,
    #hero-tagline {
        font-size: 14px;
        width: 200px;
        bottom: -25px;
    }
}

/* ======== PAGE HEADER ======== */
.page-header {
    background-color: white;
    text-align: center;
    padding: calc(var(--spacing-lg) * 2) 0 var(--spacing-lg);
    margin-top: 80px; /* To offset the fixed navigation */
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary);
}

/* ======== SERVICES OVERVIEW ======== */
.services-overview {
    background-color: var(--light-gray);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium);
}

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

.service-icon {
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* ======== SERVICE CATEGORY ======== */
.service-category {
    padding: var(--spacing-xl) 0;
}

.service-category:nth-child(odd) {
    background-color: var(--light-gray);
}

.service-category-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.service-category-content.reverse {
    flex-direction: column;
}

.service-category-visual {
    flex: 1;
    min-height: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.blueprint-background,
.code-background,
.manufacturing-background,
.innovation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary);
    opacity: 0.1;
}

.blueprint-background {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='%230099FF' fill-opacity='0.1'/%3E%3Cpath d='M0 10h100M0 20h100M0 30h100M0 40h100M0 50h100M0 60h100M0 70h100M0 80h100M0 90h100M10 0v100M20 0v100M30 0v100M40 0v100M50 0v100M60 0v100M70 0v100M80 0v100M90 0v100' stroke='%230099FF' stroke-width='0.5'/%3E%3C/svg%3E");
}

.code-background {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='20' font-family='monospace' font-size='10' fill='%230099FF'%3E%7B code %7D%3C/text%3E%3Ctext x='15' y='40' font-family='monospace' font-size='10' fill='%230099FF'%3Efunction()%3C/text%3E%3Ctext x='20' y='60' font-family='monospace' font-size='10' fill='%230099FF'%3E%3C/div%3E%3C/text%3E%3Ctext x='5' y='80' font-family='monospace' font-size='10' fill='%230099FF'%3E.class %7B %7D%3C/text%3E%3C/svg%3E");
}

.manufacturing-background {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='40' width='20' height='40' fill='%230099FF' fill-opacity='0.2'/%3E%3Crect x='40' y='30' width='20' height='50' fill='%230099FF' fill-opacity='0.3'/%3E%3Crect x='70' y='20' width='20' height='60' fill='%230099FF' fill-opacity='0.4'/%3E%3Cline x1='0' y1='90' x2='100' y2='90' stroke='%230099FF' stroke-width='1'/%3E%3C/svg%3E");
}

.innovation-background {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%230099FF' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%230099FF' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%230099FF' stroke-width='0.5'/%3E%3Cline x1='10' y1='50' x2='90' y2='50' stroke='%230099FF' stroke-width='0.5'/%3E%3Cline x1='50' y1='10' x2='50' y2='90' stroke='%230099FF' stroke-width='0.5'/%3E%3Cline x1='20' y1='20' x2='80' y2='80' stroke='%230099FF' stroke-width='0.5'/%3E%3Cline x1='20' y1='80' x2='80' y2='20' stroke='%230099FF' stroke-width='0.5'/%3E%3C/svg%3E");
}

.service-category-details {
    flex: 1;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.service-list li {
    padding: var(--spacing-sm);
    border-left: 3px solid var(--secondary);
    background-color: rgba(255, 255, 255, 0.8);
    transition: transform var(--transition-medium);
}

.service-list li:hover {
    transform: translateX(5px);
}

.service-list h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ======== PROCESS TIMELINE ======== */
.process-timeline {
    padding: var(--spacing-xl) 0;
    background-color: white;
    text-align: center;
}

/* ======== ABOUT PAGE STYLES ======== */

/* About Hero */
.about-hero {
    padding: calc(var(--spacing-lg) * 2) 0 var(--spacing-lg);
    margin-top: 80px; /* To offset the fixed navigation */
    background-color: white;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.about-hero-image {
    flex: 1;
}

.about-hero-text {
    flex: 1;
}

.about-hero-text p {
    margin-bottom: var(--spacing-md);
}

/* Team Section */
.team-section {
    background-color: var(--light-gray);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.team-member-photo {
    height: 300px;
}

.team-member-info {
    padding: var(--spacing-md);
    text-align: left;
}

.team-title {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* Approach Section */
.approach-section {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.approach-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.approach-visual {
    flex: 1;
}

.infographic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.infographic-item {
    background-color: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.infographic-connector {
    height: 50px;
    width: 4px;
    background-color: var(--secondary);
}

.infographic-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    position: relative;
}

.engineering-icon {
    background-color: rgba(30, 58, 95, 0.1);
}

.engineering-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='10' stroke='%231E3A5F' stroke-width='2' fill='none'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%231E3A5F'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.programming-icon {
    background-color: rgba(0, 153, 255, 0.1);
}

.programming-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 10L4 20L12 30' stroke='%230099FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M28 10L36 20L28 30' stroke='%230099FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.commercial-icon {
    background-color: rgba(51, 51, 51, 0.1);
}

.commercial-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5L25 15L36 17L28 25L30 36L20 31L10 36L12 25L4 17L15 15L20 5Z' stroke='%23333333' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.approach-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.approach-point {
    border-left: 3px solid var(--secondary);
    padding-left: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.approach-point h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: var(--spacing-lg) auto 0;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--secondary);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.timeline-point {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--secondary);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: var(--spacing-md);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.timeline-content ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    text-align: left;
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
}

/* ======== CASE STUDY TEASER ======== */
.case-study-teaser {
    padding: var(--spacing-xl) 0;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.case-study-image {
    flex: 1;
}

.image-placeholder {
    background-color: var(--light-gray);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.placeholder-text {
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

.case-study-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ======== CONTACT CTA ======== */
.contact-cta {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.contact-cta h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

/* ======== FOOTER ======== */
footer {
    background-color: var(--light-gray);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--spacing-sm);
}

.tagline {
    font-size: var(--small-font-size);
    color: var(--text);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-nav h4, .footer-contact h4 {
    margin-bottom: var(--spacing-sm);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: var(--small-font-size);
}

/* ======== CASE STUDIES PAGE STYLES ======== */

/* Case Study Hero */
.case-study-hero {
    padding: var(--spacing-lg) 0;
    background-color: var(--light-gray);
}

.case-study-hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.case-study-hero-image {
    flex: 1;
}

.case-study-hero-details {
    flex: 1;
}

.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.meta-item {
    flex: 1;
    min-width: 200px;
}

.meta-item h3 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Project Overview */
.project-overview {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.project-overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.overview-section h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.overview-section ul {
    list-style: disc;
    padding-left: var(--spacing-md);
}

.overview-section ul li {
    margin-bottom: 0.5rem;
}

/* Technical Details */
.technical-details {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
}

.technical-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.technical-diagrams {
    flex: 1;
}

.diagram-container {
    margin-bottom: var(--spacing-md);
}

.diagram-caption {
    text-align: center;
    font-style: italic;
    margin-top: var(--spacing-xs);
}

.technical-explanation {
    flex: 1;
}

.technical-explanation h3 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.technical-explanation h3:first-child {
    margin-top: 0;
}

/* Case Study Timeline Customization */
.case-study-timeline {
    padding: 0;
}

/* Other Case Studies */
.other-case-studies {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.case-study-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium);
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-card-image {
    height: 250px;
}

.case-study-card-content {
    padding: var(--spacing-md);
}

.case-study-card-content h3 {
    margin-bottom: var(--spacing-sm);
}

.case-study-card-content p {
    margin-bottom: var(--spacing-md);
}

/* ======== CONTACT PAGE STYLES ======== */

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Contact Form */
.contact-form-container {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

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

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(0, 153, 255, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #FF3B30;
}

.error-message {
    color: #FF3B30;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

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

.form-group.half {
    flex: 1;
}

.contact-form .primary-button {
    margin-top: var(--spacing-sm);
    align-self: flex-start;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: var(--spacing-lg);
}

.success-message h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

/* Contact Information */
.contact-info {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-block {
    margin-bottom: var(--spacing-lg);
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.info-list li h3 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.location-info p {
    margin-bottom: 0.5rem;
}

/* ======== ANIMATIONS ======== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animation for the V shapes */
.video-placeholder:hover .v-shape-left {
    transform: translateX(-15px);
}

.video-placeholder:hover .v-shape-right {
    transform: translateX(15px);
}

/* ======== RESPONSIVE STYLES ======== */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        flex-direction: row;
        gap: var(--spacing-xl);
    }
    
    .logo-animation {
        flex-direction: row;
        align-items: center;
    }
    
    .service-category-content {
        flex-direction: row;
    }
    
    .service-category-content.reverse {
        flex-direction: row-reverse;
    }
    
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About page responsive */
    .about-hero-content {
        flex-direction: row;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-content {
        flex-direction: row;
    }
    
    .infographic {
        flex-direction: row;
        align-items: center;
    }
    
    .infographic-connector {
        height: 4px;
        width: 50px;
    }
    
    /* Case studies page responsive */
    .case-study-hero-content {
        flex-direction: row;
    }
    
    .project-overview-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .technical-content {
        flex-direction: row;
    }
    
    .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact page responsive */
    .contact-content {
        flex-direction: row;
    }
    
    .contact-form-container {
        flex: 2;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .form-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .case-study-content {
        flex-direction: row;
    }
    
    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* About page responsive */
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition-medium), opacity var(--transition-medium);
    }
    
    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cta-button {
        display: none;
    }
    
    .hero-video {
        height: 40vh;
    }
}