/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}



.nav-logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
}

.nav-puzzle-piece {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
}

.nav-puzzle-piece.top-left {
    background: linear-gradient(135deg, #20d4d4, #18b8b8);
    border-top-left-radius: 6px;
}

.nav-puzzle-piece.top-right {
    background: linear-gradient(135deg, #1ba8a8, #159494);
    border-top-right-radius: 6px;
}

.nav-puzzle-piece.bottom-left {
    background: linear-gradient(135deg, #169898, #127878);
    border-bottom-left-radius: 6px;
}

.nav-puzzle-piece.bottom-right {
    background: linear-gradient(135deg, #118888, #0d6666);
    border-bottom-right-radius: 6px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: subtleShift 20s ease-in-out infinite;
}

@keyframes subtleShift {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

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

@keyframes gridFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 20px) rotate(1deg); }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}

.hero-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    min-height: 80vh;
}

.hero-subtitle-main {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    animation: subtitleFadeIn 1.5s ease-out 1s both;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes subtitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #10b981);
    animation: lineExpand 1s ease-out 1.5s forwards;
}

@keyframes subtitleSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    to {
        width: 200px;
    }
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.85;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.05em;
    position: relative;
    text-transform: uppercase;
    animation: titleFadeIn 1.5s ease-out 0.5s both;
    opacity: 0;
    transform: translateY(30px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #1d4ed8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradientFlow 3s ease infinite;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    position: relative;
}

.hero-title .gradient-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #1d4ed8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite reverse;
    filter: blur(3px);
    opacity: 0.15;
    z-index: -1;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes titleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes titleGlow {
    0% {
        text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 50px rgba(251, 191, 36, 0.8), 0 0 100px rgba(251, 191, 36, 0.3);
        transform: scale(1.02);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
    animation: subtitleFadeIn 1.5s ease-out 1.5s both;
    opacity: 0;
    transform: translateY(20px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1.5s both;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: none;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}



.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover::before {
    left: 100%;
}






.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing-table {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    max-width: 1200px;
    margin: 0 auto;
    border-collapse: collapse;
}

.pricing-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 2fr 2fr;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    position: relative;
    min-height: 80px;
    align-items: center;
    grid-gap: 0;
}

.pricing-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 2fr 2fr;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    align-items: stretch;
    grid-gap: 0;
}

.pricing-row:nth-child(even) {
    background: rgba(248, 250, 252, 0.5);
}

.pricing-row:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-col {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    min-height: 200px;
    align-items: flex-start;
    text-align: left;
}

.pricing-col:last-child {
    border-right: none;
}

/* Ensure header columns align perfectly with data columns */
.pricing-header .pricing-col {
    min-height: 80px;
    padding: 1.5rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-col h3 {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
    text-align: left;
    align-self: flex-start;
}

.pricing-col p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
    align-self: center;
    width: 100%;
    margin: 1rem 0;
}

.price::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 1px;
}

.pricing-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-col ul li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 2.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    word-wrap: break-word;
    hyphens: auto;
}

.pricing-col ul li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.pricing-col ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.pricing-col ul li:last-child {
    margin-bottom: 0;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    transform: none !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Override JavaScript animations for about section */
#about {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#about * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Founders Container */
.founders-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

/* Founder Information */
.founder-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
    min-width: 200px;
    padding: 20px;
    position: relative;
    z-index: 5;
    opacity: 1 !important;
    transform: none !important;
    flex-shrink: 0;
}

.recent-photos-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.founder-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    display: block;
    background-color: #ff0000;
    position: relative;
    z-index: 9999;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.founder-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.founder-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.founder-school {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* Form Message Styles */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Button Loading State */
.btn-loading {
    display: none;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.footer-logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
}

.footer-puzzle-piece {
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.footer-puzzle-piece.top-left {
    background: linear-gradient(135deg, #20d4d4, #18b8b8);
    border-top-left-radius: 6px;
}

.footer-puzzle-piece.top-right {
    background: linear-gradient(135deg, #1ba8a8, #159494);
    border-top-right-radius: 6px;
}

.footer-puzzle-piece.bottom-left {
    background: linear-gradient(135deg, #169898, #127878);
    border-bottom-left-radius: 6px;
}

.footer-puzzle-piece.bottom-right {
    background: linear-gradient(135deg, #118888, #0d6666);
    border-bottom-right-radius: 6px;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-brand {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center;
    }

    /* Founders Section */
    .founders-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .founder-info {
        max-width: 100%;
        min-width: auto;
        padding: 1rem;
    }

    .founder-image {
        width: 150px;
        height: 150px;
    }

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

    .founder-school {
        font-size: 0.9rem;
    }

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

    .contact-info h2 {
        font-size: 2rem;
        text-align: center;
    }

    .contact-info p {
        text-align: center;
    }

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

    .contact-item {
        text-align: center;
        padding: 1rem;
    }

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

    /* Stats */
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    /* Pricing Table */
    .pricing-table {
        overflow-x: auto;
        margin: 0 1rem;
        border-radius: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .pricing-header,
    .pricing-row {
        min-width: 900px;
        grid-template-columns: 1fr 2fr 1fr 1fr 2fr 2fr;
    }
    
    .pricing-col {
        padding: 1.5rem 1rem;
        min-height: 150px;
        font-size: 0.9rem;
    }
    
    .pricing-col h3 {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 1.5rem;
    }

    .pricing-col ul li {
        font-size: 0.85rem;
        padding: 0.75rem 0 0.75rem 2rem;
        position: relative;
        line-height: 1.4;
    }

    .pricing-col ul li::before {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    /* Form */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Pricing table mobile optimizations */
    .pricing-col {
        padding: 1.25rem 0.75rem;
    }

    .pricing-col ul {
        margin: 0;
        padding: 0;
    }

    .pricing-col ul li {
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
        max-width: 280px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    /* Founders */
    .founder-image {
        width: 120px;
        height: 120px;
    }

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

    .founder-title {
        font-size: 0.8rem;
    }

    .founder-school {
        font-size: 0.85rem;
    }

    /* Contact */
    .contact-info h2 {
        font-size: 1.75rem;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    /* Services */
    .service-card {
        padding: 1.25rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-brand {
        font-size: 1.25rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    /* Pricing table for very small screens */
    .pricing-col ul li {
        font-size: 0.8rem;
        padding: 0.6rem 0 0.6rem 1.8rem;
        line-height: 1.3;
    }

    .pricing-col ul li::before {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }

    .pricing-col h3 {
        font-size: 1.1rem;
    }

    .price {
        font-size: 1.3rem;
    }
}

/* Tablet specific adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .founders-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .founder-info {
        max-width: 200px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .btn {
        width: auto;
    }
}

/* Large mobile adjustments */
@media (min-width: 481px) and (max-width: 600px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .founder-image {
        width: 140px;
        height: 140px;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    /* Increase touch targets */
    .nav-link {
        padding: 1rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improve form usability */
    .form-group input,
    .form-group textarea {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    /* Better spacing for mobile */
    .hero {
        padding: 6rem 0 4rem 0;
    }

    .services,
    .pricing,
    .about,
    .contact {
        padding: 4rem 0;
    }

    /* Improve card spacing */
    .service-card {
        margin-bottom: 1.5rem;
    }

    /* Better image handling */
    .founder-image {
        object-fit: cover;
        border-radius: 50%;
    }

    /* Improve text readability */
    .hero-subtitle,
    .about-text p,
    .service-card p {
        line-height: 1.7;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .founders-container {
        flex-direction: row;
        gap: 1.5rem;
    }

    .founder-image {
        width: 100px;
        height: 100px;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .founder-image,
    .service-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for all sections */
section {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Ensure smooth animations */
.service-card,
.work-item,
.stat {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Performance optimizations */
.service-card,
.work-item,
.stat,
section {
    will-change: opacity, transform;
}

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