/* CSS Custom Properties for Design System */
:root {
    --primary-color: #1a365d;
    --primary-light: #2d5a87;
    --primary-dark: #0f2942;
    --secondary-color: #2b6cb0;
    --accent-color: #3182ce;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --danger-color: #e53e3e;
    
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    scroll-behavior: smooth;
    font-size: 1.125rem;
}

html {
    width: 100%;
    height: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--neutral-800);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--neutral-600);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 4rem;
    height: 0.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
}

.section-subtitle {
    font-size: 1.375rem;
    color: var(--neutral-600);
    margin-bottom: 2.5rem;
    max-width: 750px;
    line-height: 1.6;
    letter-spacing: 0.005em;
}

.lead {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.005em;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    min-height: 70px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-header {
    display: flex;
    align-items: center;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 50px;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-collapse {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav > li {
    display: flex;
    align-items: center;
}

.navbar-nav > li > a {
    color: var(--neutral-700) !important;
    font-weight: 500;
    padding: 0.875rem 1.5rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin: 0 0.25rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    height: 50px;
    text-decoration: none;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: var(--primary-color) !important;
    background: var(--neutral-100) !important;
    transform: translateY(-1px);
}

.navbar-right {
    margin-left: auto;
}

.github-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem;
}

.github-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.github-text {
    font-size: 1.05rem;
}

.github-link:hover .github-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Language Toggle Button */
.lang-toggle {
    margin-left: 0.5rem;
}

.lang-toggle-left {
    position: fixed;
    left: 32px;
    top: 20px;
    margin-left: 0;
    z-index: 1000;
}

.navbar-header {
    position: relative;
}

.navbar-brand {
    margin-left: 90px !important;
}

.btn-lang {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-lang:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lang:active {
    transform: translateY(0);
}

#langLabel {
    font-weight: 700;
    letter-spacing: 0.5px;
}

@media(min-width:767px) {
    .navbar {
        padding: 1rem 0;
        transition: var(--transition);
        min-height: 80px;
    }
    .top-nav-collapse {
        padding: 0.5rem 0;
        background: rgba(255, 255, 255, 0.98);
        min-height: 60px;
    }
    
    .navbar-nav > li > a {
        height: 60px;
    }
    
    .navbar-brand {
        height: 60px;
    }
}

@media(max-width:766px) {
    .navbar {
        min-height: 60px;
    }
    
    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        margin: 0;
        border: none;
        background: transparent;
    }
    
    .navbar-collapse {
        width: 100%;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    .navbar-nav > li {
        width: 100%;
    }
    
    .navbar-nav > li > a {
        width: 100%;
        text-align: center;
        margin: 0.25rem 0;
        height: auto;
        padding: 1rem !important;
    }
    
    .navbar-right {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .github-link {
        justify-content: center !important;
    }
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.875rem 2rem;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
}

.btn-icon {
    transition: var(--transition);
}

.btn:hover .btn-icon {
    transform: translateX(0.25rem);
}

.cta-button {
    font-size: 1.25rem;
    padding: 1.125rem 2.75rem;
    margin-top: 1rem;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.welcome-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
    text-align: center;
    padding: 10rem 0 8rem;
}

.about-section {
    background: white;
    text-align: left;
    padding: 8rem 0;
}

.whatwedo-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
    text-align: right;
    padding: 8rem 0;
}

.contact-section {
    background: white;
    text-align: left;
    padding: 8rem 0;
}

/* Content Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-section .section-header {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.contact-section .section-header {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.whatwedo-section .section-header {
    text-align: right;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.whatwedo-section .section-title {
    text-align: right;
}

.whatwedo-section .section-title::after {
    left: auto;
    right: 0;
}

.whatwedo-section .section-subtitle {
    text-align: right;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.section-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.about-section .section-content {
    margin: 0;
    max-width: none;
}

.about-section .section-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.25rem;
}

.mission-statement {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.25rem;
    padding: 2rem;
    background: var(--neutral-50);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    line-height: 1.6;
    position: relative;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.1;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.service-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-description {
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

.partnership-message {
    max-width: 800px;
    margin: 4rem auto 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    font-style: italic;
    color: var(--neutral-700);
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.7;
    position: relative;
}

.partnership-message::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: var(--font-display);
}

.partnership-message::after {
    content: '"';
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: var(--font-display);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
    max-width: 1000px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem;
    background: var(--neutral-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: var(--transition);
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-address {
    font-style: normal;
    color: var(--neutral-600);
    line-height: 1.6;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    margin: 0;
    opacity: 0.9;
}

/* Back to Top Button */
#back2Top {
    width: 50px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    transform: rotate(270deg);
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

#back2Top:hover {
    background: var(--primary-dark);
    color: white;
    transform: rotate(270deg) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    section {
        padding: 4rem 0;
        min-height: 0;
    }
    
    .welcome-section {
        padding: 8rem 0 6rem;
        min-height: 100vh;
    }
    
    .about-section,
    .whatwedo-section,
    .contact-section {
        padding: 6rem 0;
    }
    
    .navbar-nav > li > a {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        height: auto;
        text-align: center;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
    }
    
    .service-item {
        padding: 2rem;
    }
    
    .partnership-message {
        padding: 2rem;
        margin: 3rem auto 2rem;
        font-size: 1.125rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2.25rem;
        font-size: 1.125rem;
    }
    
    .service-item,
    .partnership-message {
        padding: 1.75rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.125rem, 4vw, 1.375rem);
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.75rem);
        margin-bottom: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .mission-statement {
        padding: 1.75rem;
        margin: 2rem 0;
        font-size: 1.125rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-description {
        font-size: 1.075rem;
    }
    
    .partnership-message {
        font-size: 1.075rem;
    }
    
    .contact-label {
        font-size: 1.125rem;
    }
    
    .contact-link,
    .contact-address {
        font-size: 1.05rem;
    }
    
    .partnership-message::before,
    .partnership-message::after {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #back2Top,
    .btn {
        display: none !important;
    }
    
    section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}



