/* SmartData Traffic Solutions - Complete Redesign */

/* CSS Reset & Variables */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Navy, White, Black */
    --primary-navy: #0A1F44;
    --dark-navy: #051229;
    --accent-navy: #1a3a6b;
    --light-navy: #4a5f8a;
    
    /* Core Brand Colors */
    --black: #000000;
    --white: #ffffff;
    --off-white: #f8f9fa;
    
    /* Neutral Grays */
    --gray-900: #1a1a1a;
    --gray-700: #404040;
    --gray-600: #666666;
    --gray-500: #808080;
    --gray-400: #999999;
    --gray-300: #cccccc;
    --gray-200: #e0e0e0;
    --gray-100: #f0f0f0;
    
    /* Accent Colors */
    --success-green: #10b981;
    --accent-blue: #3b82f6;
    --light-blue: #60a5fa;
    
    /* Legacy compatibility */
    --primary-blue: #0A1F44;
    --primary-dark: #051229;
    --dark-slate: #1e293b;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 31, 68, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.navigation {
    padding: 1rem 0;
}

.nav-wrapper {
    max-width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--light-blue);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.mobile-only {
    display: none;
}

.nav-item {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    color: var(--light-blue);
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s ease;
}

.nav-item:hover::before, .nav-item.active::before {
    width: 100%;
}

.cta-button {
    background: var(--white);
    color: var(--primary-navy);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    background: var(--light-blue);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Banner */
.hero-banner {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-slate) 100%);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1200"><circle cx="100" cy="100" r="2" fill="rgba(96,165,250,0.1)"/><circle cx="200" cy="200" r="2" fill="rgba(96,165,250,0.1)"/><circle cx="300" cy="100" r="2" fill="rgba(96,165,250,0.1)"/><circle cx="400" cy="300" r="2" fill="rgba(96,165,250,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--light-blue);
    margin-bottom: 2rem;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(135deg, var(--light-blue), #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.metric-item i {
    font-size: 1.75rem;
    color: var(--light-blue);
    flex-shrink: 0;
}

.metric-label {
    font-size: 0.9375rem;
    color: #e2e8f0;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
}

.metric-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--light-blue);
    margin-bottom: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-large, .btn-secondary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
}

.btn-secondary-large {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Hero Visual */
.hero-visual-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-image-main {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.main-hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.thumbnail-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.thumb-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail-box:hover .thumb-img {
    transform: scale(1.1);
}

.thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Content Container */
.content-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-heading {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

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

.section-text, .section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.section-description.centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION - MODERN REDESIGN
   ============================================ */

.about-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.about-header .section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Mission & Vision Cards */
.mission-vision-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.mv-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.15);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.mv-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.mv-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Core Values Section */
.core-values-section {
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-blue));
    border-radius: 2px;
}

.values-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(10, 31, 68, 0.1);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.05), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
}

.value-icon-wrapper i {
    font-size: 2.25rem;
    color: var(--primary-navy);
    transition: color 0.3s ease;
}

.value-card:hover .value-icon-wrapper i {
    color: var(--white);
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-600);
}

/* Founder Section */
.founder-section {
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.founder-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.founder-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.founder-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.founder-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.founder-badge i {
    color: var(--accent-blue);
    font-size: 1.5rem;
}

.founder-badge span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.founder-tag {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.founder-name {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.founder-position {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.founder-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.founder-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-item i {
    color: var(--accent-blue);
    font-size: 1.25rem;
}

.stat-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Why Choose Section */
.why-choose-section {
    position: relative;
    z-index: 1;
}

.why-choose-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.why-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.12);
}

.why-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(10, 31, 68, 0.05);
    line-height: 1;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.08), rgba(59, 130, 246, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
    transform: scale(1.1) rotate(5deg);
}

.why-icon i {
    font-size: 2rem;
    color: var(--primary-navy);
    transition: color 0.3s ease;
}

.why-card:hover .why-icon i {
    color: var(--white);
}

.why-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.why-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.tagline-banner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-blue) 100%);
    border-radius: 20px;
    padding: 3rem 4rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-shadow: 0 15px 40px rgba(10, 31, 68, 0.2);
}

.tagline-banner i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
}

.tagline-banner p {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, #f8fafc 100%);
}

.section-header {
    margin-bottom: 4rem;
}

.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-box.reverse {
    direction: rtl;
}

.service-box.reverse > * {
    direction: ltr;
}

.service-visual {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.service-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: var(--transition);
}

.service-box:hover .service-img {
    transform: scale(1.05);
}

.service-graphic {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

/* Service 1: Traffic Data Collection */
.service-graphic-1 {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.graphic-road {
    position: absolute;
    width: 100%;
    height: 100%;
}

.road-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.road-line:nth-child(1) { top: 30%; }
.road-line:nth-child(2) { top: 50%; }
.road-line:nth-child(3) { top: 70%; }

.graphic-sensors {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sensor-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 20px #60a5fa;
}

.sensor-dot:nth-child(1) { top: 28%; left: 20%; }
.sensor-dot:nth-child(2) { top: 48%; left: 40%; }
.sensor-dot:nth-child(3) { top: 68%; left: 60%; }
.sensor-dot:nth-child(4) { top: 48%; left: 80%; }

.sensor-dot.pulse {
    animation: sensorPulse 2s ease-in-out infinite;
}

.sensor-dot.delay-1 { animation-delay: 0.5s; }
.sensor-dot.delay-2 { animation-delay: 1s; }
.sensor-dot.delay-3 { animation-delay: 1.5s; }

@keyframes sensorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.graphic-vehicles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.vehicle {
    position: absolute;
    width: 40px;
    height: 20px;
    background: #10b981;
    border-radius: 4px;
    animation: vehicleMove 4s linear infinite;
}

.vehicle-1 {
    top: 29%;
    left: -50px;
}

.vehicle-2 {
    top: 49%;
    left: -50px;
    animation-delay: 2s;
}

@keyframes vehicleMove {
    0% { left: -50px; }
    100% { left: calc(100% + 50px); }
}

.data-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: waveMove 3s ease-in-out infinite;
}

.wave.delay-1 { animation-delay: 1.5s; }

@keyframes waveMove {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* Service 2: Traffic Engineering */
.service-graphic-2 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.intersection-roads {
    position: relative;
}

.road-horizontal, .road-vertical {
    position: absolute;
    background: #374151;
}

.road-horizontal {
    width: 280px;
    height: 80px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.road-vertical {
    width: 80px;
    height: 280px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.traffic-signals {
    position: absolute;
    width: 100%;
    height: 100%;
}

.signal {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.signal-top {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.signal-right {
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
}

.signal-light {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0.3;
}

.signal-light.red {
    background: #ef4444;
}

.signal-light.green {
    background: #10b981;
}

.signal-light.active {
    opacity: 1;
    box-shadow: 0 0 15px currentColor;
    animation: lightBlink 2s ease-in-out infinite;
}

@keyframes lightBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.road-markers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 40px;
    height: 6px;
    background: #ffffff;
    left: 50%;
    transform: translateX(-50%);
}

.marker:nth-child(1) { top: 30%; }
.marker:nth-child(2) { top: 50%; }
.marker:nth-child(3) { top: 70%; }

/* Service 3: Data Analytics */
.service-graphic-3 {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.analytics-grid {
    position: absolute;
    width: 80%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.chart-bars {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 150px;
}

.bar {
    width: 30px;
    background: linear-gradient(180deg, #10b981, #059669);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-in-out infinite;
}

.bar-h1 { height: 60%; animation-delay: 0s; }
.bar-h2 { height: 85%; animation-delay: 0.2s; }
.bar-h3 { height: 45%; animation-delay: 0.4s; }
.bar-h4 { height: 75%; animation-delay: 0.6s; }
.bar-h5 { height: 90%; animation-delay: 0.8s; }

@keyframes barGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.1); }
}

.trend-line {
    position: absolute;
    bottom: 25%;
    left: 15%;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #60a5fa, #3b82f6);
    transform: rotate(-5deg);
}

.data-points {
    position: absolute;
    width: 100%;
    height: 100%;
}

.point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px #ffffff;
    animation: pointPulse 3s ease-in-out infinite;
}

.point:nth-child(1) { top: 30%; left: 20%; animation-delay: 0s; }
.point:nth-child(2) { top: 25%; left: 50%; animation-delay: 1s; }
.point:nth-child(3) { top: 20%; left: 80%; animation-delay: 2s; }

@keyframes pointPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

/* Service 4: Field Services */
.service-graphic-4 {
    background: linear-gradient(135deg, #064e3b 0%, #10b981 100%);
}

.map-background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.map-grid-h, .map-grid-v {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
}

.map-grid-h {
    width: 100%;
    height: 1px;
}

.map-grid-h:nth-child(1) { top: 25%; }
.map-grid-h:nth-child(2) { top: 50%; }
.map-grid-h:nth-child(3) { top: 75%; }

.map-grid-v {
    width: 1px;
    height: 100%;
}

.map-grid-v:nth-child(4) { left: 25%; }
.map-grid-v:nth-child(5) { left: 50%; }
.map-grid-v:nth-child(6) { left: 75%; }

.location-markers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.location-pin {
    position: absolute;
}

.pin-1 { top: 30%; left: 30%; }
.pin-2 { top: 50%; left: 60%; }
.pin-3 { top: 70%; left: 40%; }

.pin-dot {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.pin-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.field-worker {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    animation: workerFloat 3s ease-in-out infinite;
}

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

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-details {
    padding: 2.5rem;
}

.service-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.service-features i {
    color: var(--success-green);
    font-size: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-card.featured .project-image {
    height: 100%;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-category {
    display: inline-block;
    background: var(--success-green);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.project-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Quote Request Section */
.quote-request-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    position: relative;
    overflow: hidden;
}

.quote-request-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1200"><circle cx="100" cy="100" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="200" cy="200" r="3" fill="rgba(255,255,255,0.1)"/></svg>');
}

.quote-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.quote-info {
    color: var(--white);
}

.quote-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.quote-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.benefit i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-green);
    font-size: 1.125rem;
}

.quote-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-group input[type="date"],
.input-group input[type="time"] {
    cursor: pointer;
    color: var(--gray-700);
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator,
.input-group input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(33%) sepia(10%) saturate(1000%) hue-rotate(180deg);
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-display {
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: var(--gray-50);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-display:hover {
    border-color: var(--primary-navy);
    background: rgba(10, 31, 68, 0.02);
}

.file-upload-display i {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    display: block;
}

.upload-text {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.upload-hint {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-info i {
    color: var(--primary-navy);
    font-size: 1.25rem;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.file-size {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.file-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.file-remove:hover {
    color: #ef4444;
}

.submit-button {
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: var(--white);
    padding: 1.125rem 2.25rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-method:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-details h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.method-details a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.375rem;
}

.method-details a:hover {
    color: var(--accent-blue);
}

.method-details p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

.contact-visual-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-image-primary {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.contact-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-grid-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-grid-image:hover {
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-brand-text h3 {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-brand-text p {
    font-size: 0.875rem;
    color: var(--light-blue);
    font-weight: 600;
    text-transform: uppercase;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: var(--light-blue);
}

.footer-column i {
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    color: #64748b;
    font-size: 0.9375rem;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.success-modal.show {
    display: flex;
}

.modal-content-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success-green), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon-circle i {
    font-size: 2.5rem;
    color: var(--white);
}

.modal-content-box h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.modal-content-box p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-close-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid, .about-layout, .service-box, .quote-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-box.reverse {
        direction: ltr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid, .footer-main, .footer-links-section {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATION
   ============================================ */

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-wrapper {
        padding: 0 1rem;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(180deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        padding: 2.5rem 0 3rem;
        gap: 0;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item {
        display: block;
        padding: 1.25rem 2rem;
        font-size: 1.125rem;
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
    }

    .nav-item:hover,
    .nav-item.active {
        background: rgba(59, 130, 246, 0.15);
        border-left-color: var(--accent-blue);
        padding-left: 2.5rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .cta-button {
        display: none;
    }

    /* Mobile-only menu item */
    .mobile-only {
        display: block;
        margin-top: 1.5rem;
        border: none;
    }

    .nav-cta {
        background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
        color: var(--white) !important;
        border-radius: 50px;
        font-weight: 700;
        margin: 0 1.5rem;
        padding: 1rem 2.5rem !important;
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
        border-left: none !important;
    }

    .nav-cta:hover {
        background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
    }

    /* Hero Section */
    .hero-banner {
        padding: 100px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-heading {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
    }

    .hero-image-main {
        height: 300px;
    }

    /* About Section */
    .mission-vision-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .values-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .founder-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-img {
        height: 350px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Services Section */
    .service-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-box.reverse {
        grid-template-columns: 1fr;
    }

    .service-img,
    .service-graphic {
        height: 300px;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card.featured {
        grid-column: 1;
    }

    /* Quote Form */
    .quote-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quote-form-container {
        padding: 1.5rem;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links-section {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
    /* Typography */
    .hero-heading {
        font-size: 1.75rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    /* Navigation */
    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
    }

    /* Hero Section */
    .hero-banner {
        padding: 80px 0 40px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .metric-item {
        padding: 1rem;
    }

    .hero-label {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero-image-main {
        height: 250px;
    }

    .hero-thumbnails {
        grid-template-columns: 1fr 1fr;
    }

    /* About Section */
    .about-section {
        padding: 60px 0;
    }

    .about-header {
        margin-bottom: 2.5rem;
    }

    .subsection-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .subsection-title::after {
        width: 60px;
    }

    .mission-vision-cards {
        margin-bottom: 3rem;
    }

    .mv-card {
        padding: 2rem;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .mv-content h3 {
        font-size: 1.25rem;
    }

    .mv-content p {
        font-size: 0.9375rem;
    }

    .values-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .value-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .value-icon-wrapper i {
        font-size: 2rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-card {
        padding: 2rem 1.5rem;
    }

    .why-number {
        font-size: 2.5rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .why-icon {
        width: 60px;
        height: 60px;
    }

    .why-icon i {
        font-size: 1.75rem;
    }

    .founder-content-wrapper {
        padding: 2rem;
    }

    .founder-img {
        height: 300px;
    }

    .founder-name {
        font-size: 1.75rem;
    }

    .founder-position {
        font-size: 1rem;
    }

    .founder-description {
        font-size: 0.9375rem;
    }

    .founder-stats {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .tagline-banner {
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .tagline-banner i {
        font-size: 1.5rem;
    }

    .tagline-banner p {
        font-size: 1.125rem;
    }

    .about-image-gallery {
        height: 300px;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    /* Services Section */
    .service-img,
    .service-graphic {
        height: 250px;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-features {
        font-size: 0.9rem;
    }

    /* Projects Section */
    .project-image {
        height: 200px;
    }

    /* Quote Form */
    .quote-form-container {
        padding: 1rem;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .file-upload-display {
        padding: 1.5rem;
    }

    .upload-text {
        font-size: 0.9rem;
    }

    .file-upload-display i {
        font-size: 2rem;
    }

    .submit-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Contact Section */
    .contact-card {
        padding: 1.5rem;
    }

    .contact-image-gallery {
        height: 250px;
    }

    /* Footer */
    .footer-links-section {
        grid-template-columns: 1fr;
    }

    .footer-brand-text h3 {
        font-size: 1.25rem;
    }
}

/* Small Mobile Styles (360px and below) */
@media screen and (max-width: 360px) {
    .content-container {
        padding: 0 1rem;
    }

    .hero-heading {
        font-size: 1.5rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .subsection-title {
        font-size: 1.375rem;
    }

    .btn-primary-large,
    .btn-secondary-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .service-badge,
    .project-category {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .mv-card {
        padding: 1.5rem;
    }

    .founder-content-wrapper {
        padding: 1.5rem;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .tagline-banner {
        padding: 1.5rem 1rem;
    }

    .tagline-banner p {
        font-size: 1rem;
    }
}

/* ============================================
   MOBILE TOUCH OPTIMIZATIONS
   ============================================ */

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    /* Ensure all interactive elements are at least 44x44px (Apple guideline) */
    button,
    a,
    .nav-item,
    .mobile-toggle,
    .btn-primary-large,
    .btn-secondary-large,
    input[type="submit"],
    .file-remove {
        min-height: 44px;
        min-width: 44px;
    }

    /* Larger tap targets for cards */
    .mv-card,
    .value-card,
    .why-card,
    .service-box,
    .project-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(10, 31, 68, 0.1);
    }

    /* Remove hover effects on touch devices */
    .mv-card:hover,
    .value-card:hover,
    .why-card:hover {
        transform: none;
    }

    /* Add active states instead */
    .mv-card:active,
    .value-card:active,
    .why-card:active {
        transform: scale(0.98);
    }

    /* Better form inputs on mobile */
    input,
    select,
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* Prevent horizontal scroll */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* Smooth scrolling for mobile */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Optimize images for mobile */
img {
    max-width: 100%;
    height: auto;
}

/* Better text rendering on mobile */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

