
:root {
    --primary: #6EC1E4;
    --primary-dark: #0369A1;
    --dark-blue: #012C6D;
    --white: #FFFFFF;
    --text: #7A7A7A;
    --light-bg: #f8f9fa;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    will-change: transform;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    max-width: 144px;
    height: auto;
    border-radius: 8px;
}

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fcfe 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(110, 193, 228, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(97, 206, 112, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 40% 40%, rgba(110, 193, 228, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: var(--dark-blue);
}

.hero h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text);
    margin: 0 0 1.5rem 0;
    font-weight: 400;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(110, 193, 228, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 193, 228, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.btn-secondary:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Lazy loading placeholder */
.lazy {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Services Grid */
.services-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.services-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-description {
    text-align: center;
    max-width: 800px;
    margin: 1.5rem auto 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(110, 193, 228, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(110, 193, 228, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    color: var(--text);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Applications Grid */
.innovative-apps {
    padding: 80px 0;
    background: var(--white);
}

.apps-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 3rem;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.app-card {
    background: linear-gradient(135deg, #f8fcfe 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(110, 193, 228, 0.1);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(97, 206, 112, 0.15);
}

.app-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.app-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.app-card p {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.app-card-features li {
    color: var(--text);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.app-card-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #61CE70;
    font-weight: bold;
}

.app-card-cta {
    margin-top: 1rem;
}

/* Expertise Section */
.expertise-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.expertise-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(110, 193, 228, 0.1);
}

.expertise-item span:first-child {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--primary);
}

.expertise-item span:last-child {
    color: var(--text);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(110, 193, 228, 0.1);
}

.contact-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.contact-item p {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
     transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    color: #ffffff; 
}

.social-icons a:hover {
    background: var(--primary); 
    color: #ffffff;            
    transform: translateY(-2px);
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.copyright p {
    margin-bottom: 0.5rem;
}

/* Responsive Design - Services remain 3x3 on all screens */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .apps-grid,
    .expertise-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .services-title,
    .apps-title,
    .expertise-title,
    .contact-title {
        font-size: 2rem;
    }
    
    .service-card,
    .app-card,
    .contact-item {
        padding: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Additional breakpoint for very small screens to maintain 3-column services */
@media (max-width: 480px) {
    .service-card {
        padding: 1rem;
    }
}

/* Skip nav for accessibility */
.skip-nav {
    position: absolute;
    left: -9999px;
    top: -9999px;
    z-index: 9999;
    padding: 8px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.skip-nav:focus {
    left: 8px;
    top: 8px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.header {
    position: fixed;      
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px 0;     
    transition: all 0.3s ease;
}
.header.shrink {
    padding: 6px 0;       
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.header.shrink .logo {
    width: 70px !important;
    height: 70px !important;
}
.header.shrink nav div {
    font-size: 1.2rem !important;
    margin-bottom: 0.2rem !important;
}
body {
    padding-top: 180px; 
}
.header.shrink .header-title {
    display: none;
}
/* ====== Navigation Hover Underline ====== */
.nav-menu a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}
/* Undeline */
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--primary); 
    transition: width 0.3s ease;
}
.nav-menu a:hover::after {
    width: 100%;
}

/* ====== Active menu item ====== */
.nav-menu a.active {
    color: var(--primary-dark); 
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background: var(--primary-dark);
}

/* underline animation */
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* active */
.nav-menu a.active {
    background: var(--primary); 
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background: var(--primary); 
}




