:root {
    /* Colors */
    --bg-color: #ffffff;
    --text-color: #1d1d1f;
    /* Apple-style dark grey */
    --accent-color: #5088bd;
    --secondary-color: #86868b;
    /* Apple-style muted text */
    --card-bg: #f5f5f7;
    /* Apple-style light grey bg */
    --dark-bg: #000000;
    --dark-text: #f5f5f7;

    /* Spacing */
    --section-padding: 8rem 0;
    /* More whitespace */

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Tighter tracking */
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(80, 136, 189, 0.4);
}

.btn-primary:hover {
    background-color: #3d6a94;
    /* Darker version of #5088bd */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.85);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
    max-width: 100%;
}

.nav-links a {
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    color: var(--text-color);
}

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

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

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    /* Crisp white for hero */
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30vw;
    font-weight: 800;
    color: rgba(0, 74, 173, 0.03);
    /* Tinted with brand color */
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Section Backgrounds - Apple-way Blocks */
.services {
    background-color: var(--card-bg);
    /* #f5f5f7 */
}

.about {
    background-color: #ffffff;
}

.partners {
    background-color: var(--card-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Better for small mobile */
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    /* White cards on grey background */
    padding: 3rem;
    border-radius: 28px;
    /* Slightly more rounded like Apple */
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 74, 173, 0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--text-color);
}

.quote-box {
    background: #f0f7ff;
    /* Very light blue */
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 10px 10px 0;
}

.quote-box .highlight {
    display: block;
    margin-top: 0.5rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.founder-card {
    background: #f5f5f7;
    /* Grey card on white background */
    padding: 3rem;
    border-radius: 28px;
    box-shadow: none;
    /* Cleaner look on white */
    text-align: center;
    position: relative;
    border: none;
}

.founder-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: 80% 35%;
    border-radius: 50%;
    margin-bottom: 2rem;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* Founder typography fix */
.founder-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0px;
    color: var(--text-color);
}

.role {
    display: block;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.founder-social {
    margin-top: 1rem;
}

.founder-social a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.founder-social a:hover {
    opacity: 0.8;
}

.credentials {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.credentials li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.credentials i {
    color: var(--accent-color);
    margin-right: 12px;
    margin-top: 4px;
}

/* Partners */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* Reduced from 4rem for better mobile fit */
    margin-top: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.partner-logo img {
    max-height: 55px;
    /* Increased from 45px */
    max-width: 170px;
    /* Increased from 160px */
    filter: grayscale(1) brightness(0.7) opacity(0.85);
    /* Darker and more visible monochrome */
    transition: all 0.4s ease;
}

.partner-logo.logo-cm img {
    max-height: 38px;
    /* Specific adjustment for CM logo visual balance */
}

.partner-logo:hover img {
    filter: grayscale(0) opacity(1);
    /* Restore color/opacity on hover */
    transform: scale(1.05);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 0.8rem;
    color: white;
    opacity: 0.6;
    transition: all 0.3s;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal h2 {
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

/* Success State */
.success-state {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-state i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.success-state h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Loading Dots */
.loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

.btn-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}

.btn-loading .loading-dots {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

/* Form Styling */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.w-full {
    width: 100%;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Optimization */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
        /* Less padding on mobile */
    }

    .hero h1 {
        font-size: 3rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    /* Mobile Menu Styling */
    .mobile-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
        background: none;
        border: none;
        padding: 0;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-color);
        position: absolute;
        transition: 0.3s;
    }

    .mobile-toggle span:nth-child(1) {
        top: 0;
    }

    .mobile-toggle span:nth-child(2) {
        top: 9px;
    }

    .mobile-toggle span:nth-child(3) {
        top: 18px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.8rem;
        margin: 1.5rem 0;
    }

    /* Burger Animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Deployment Check: Thu Feb  5 16:22:05 EET 2026 */
/* Force Isolation: Thu Feb  5 16:24:48 EET 2026 */
/* Final Security Audit: Thu Feb  5 16:27:40 EET 2026 */