* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.main-header {
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 3px solid #101A2B;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    text-decoration: none;
}

.logo-image {
    width: 200px;
    height: auto;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: #101A2B;
    text-transform: lowercase;
    letter-spacing: -1px;
}

.logo-accent {
    color: #1967FD;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #101A2B;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #1967FD;
    cursor: pointer;
}

.main-nav .nav-contact-btn {
    border: 2px solid #101A2B;
    padding: 8px 16px;
    background-color: #FFFFFF;
    box-shadow: 3px 3px 0px #101A2B;
    transition: all 0.1s ease;
}

.main-nav .nav-contact-btn:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #101A2B;
    background-color: #F8FAFC;
    color: #101A2B;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav {
        gap: 20px;
    }
}

.hero-section {
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    background-color: #FFFFFF;
    background-image:
        radial-gradient(circle at center, rgba(25, 103, 253, 0.12) 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(rgba(16, 26, 43, 0.05) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(16, 26, 43, 0.05) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-center-container {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    color: #101A2B;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    color: #1E293B;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    font-weight: 500;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background-color: #1967FD;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid #101A2B;
    box-shadow: 4px 4px 0px #101A2B;
    transition: all 0.1s ease;
}

.hero-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #101A2B;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

.services-section {
    width: 100%;
    background-color: #D6E4FF;
    border-top: 4px solid #020617;
    border-bottom: 4px solid #020617;
    padding: 120px 20px;
}

.services-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 70px auto;
}

.services-header h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #020617;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.services-header p {
    color: #101A2B;
    font-size: 1.3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    border: 4px solid #020617;
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: 12px 12px 0px #020617;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.15s ease;
    display: grid;
    grid-template-rows: auto 85px 1fr;
    align-items: start;
}

.service-card:hover {
    transform: translate(4px, 4px);
    box-shadow: 6px 6px 0px #020617;
    cursor: pointer;
}

.card-icon {
    margin-bottom: 20px;
    display: flex;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 20px 0 0 0;
    align-self: start;
}

.service-card p {
    line-height: 1.7;
    font-size: 1.15rem;
    font-weight: 500;
    margin: 15px 0 0 0;
}

.card-blue {
    background-color: #1967FD;
    color: #FFFFFF;
}

.card-white {
    background-color: #FFFFFF;
    color: #020617;
}

.card-dark {
    background-color: #101A2B;
    color: #FFFFFF;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .services-header h2 {
        font-size: 2.4rem;
    }
}

.portfolio-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 120px 20px;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-header h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #101A2B;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.portfolio-header p {
    color: #475569;
    font-size: 1.2rem;
    font-weight: 500;
}

.portfolio-project-card {
    display: flex;
    background: #FFFFFF;
    border: 4px solid #020617;
    border-radius: 24px;
    box-shadow: 12px 12px 0px #020617;
    text-decoration: none;
    color: #020617;
    overflow: hidden;
}

.project-image-wrapper {
    flex: 1.2;
    background-color: #F8FAFC;
    border-right: 4px solid #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    position: relative;
}

.browser-window {
    width: 100%;
    height: 380px;
    background: #FFFFFF;
    border: 4px solid #020617;
    border-radius: 16px;
    box-shadow: 8px 8px 0px #020617;
    overflow: hidden;
    position: relative;
}

.browser-window::before {
    content: "● ● ●";
    color: #020617;
    font-size: 8px;
    letter-spacing: 3px;
    padding-left: 15px;
    line-height: 32px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background-color: #F1F5F9;
    border-bottom: 4px solid #020617;
    z-index: 10;
}

.browser-window:hover .project-img {
    transform: translateY(calc(-100% + 348px));
}

.browser-header {
    background-color: #F1F5F9;
    padding: 12px 16px;
    border-bottom: 4px solid #020617;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #020617;
}
.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.project-img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 32px; 
    left: 0;
    transition: transform 3s ease-in-out;
    transform: translateY(0);
}

.project-info {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.project-info p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 30px;
}

.project-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 14px 22px;
    background-color: #1967FD;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid #020617;
    box-shadow: 5px 5px 0px #020617;
    transition: all 0.1s ease;
}

.project-cta-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0px #020617;
    background-color: #101A2B;
}

@media (max-width: 992px) {
    .portfolio-project-card {
        flex-direction: column;
    }
    .project-image-wrapper {
        border-right: none;
        border-bottom: 4px solid #020617;
        padding: 30px 20px;
    }
    .project-info {
        padding: 30px 20px;
    }
    .project-info h3 {
        font-size: 1.8rem;
    }
    
}

@media (max-width: 992px) {
    .browser-window {
        height: auto; 
    }
    .browser-window:hover .project-img {
        transform: none; 
    }
}

.contact-section {
    width: 100%;
    background-color: #101A2B;
    color: #FFFFFF;
    padding: 120px 20px;
    border-top: 4px solid #020617;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-lead {
    font-size: 1.2rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #F8FAFC;
}

.contact-details a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 700;
    transition: color 0.15s ease;
}

.contact-details a:hover {
    color: #1967FD;
}

.contact-details strong {
    color: #1967FD;
}

.contact-form-wrapper {
    flex: 1.2;
}

.modern-form {
    background-color: #FFFFFF;
    padding: 40px 40px 50px 40px;
    border: 4px solid #020617;
    border-radius: 20px;
    box-shadow: 12px 12px 0px #020617;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-group label {
    color: #020617;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    border: 3px solid #020617;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    color: #020617;
    background-color: #F8FAFC;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1967FD;
    background-color: #FFFFFF;
}

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

.form-submit-btn {
    width: 100%;
    padding: 18px;
    background-color: #1967FD;
    color: #FFFFFF;
    border: 3px solid #020617;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0px #020617;
    cursor: pointer;
    transition: all 0.1s ease;
}

.form-submit-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #020617;
    background-color: #101A2B;
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .modern-form {
        padding: 25px 20px 35px 20px;
    }
}

.main-footer {
    width: 100%;
    background-color: #020617;
    color: #FFFFFF;
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    max-width: 450px;
}

.footer-logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -1px;
}

.footer-logo span {
    color: #1967FD;
}

.footer-brand p {
    margin-top: 20px;
    color: #E2E8F0;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
}

.logo-image-footer {
    width: 200px;
    height: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links h4 {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: #FFFFFF;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #94A3B8;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #1967FD;
}

.footer-bottom {
    background-color: #101A2B;
    color: #94A3B8;
    border-top: 4px solid #020617;
    padding: 25px 20px;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bottom a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: #1967FD;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
