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

:root {
    --primary-blue: #0066FF;
    --text-white: #ffffff;
    --background-dark: #000000;
    --nav-dark: #020B2D;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #000000 0%);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
}

.navbar > div {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.25rem;
    white-space: nowrap;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transform: scaleX(1);
}

.apply-btn {
    background-color: var(--nav-dark);
    border: none;
    color: var(--text-white);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 2rem;
    white-space: nowrap;
    font-weight: 500;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    margin-left: 2rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.menu-btn .material-icons {
    font-size: 2rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--nav-dark);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.mobile-menu.active {
    transform: translateX(0);
}

.menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-content a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu-content a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
body .hero {
    min-height: 100vh;
    padding: 0 4rem;
    position: relative;
    overflow: hidden;
}

body .hero-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
}

body .hero-content {
    flex: 1;
    max-width: 600px;
}

body .hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

body .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

body .hero-image img {
    max-width: 100%;
    height: auto;
}

body .floating-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

body .highlight {
    color: var(--text-white);
    background-color: var(--primary-blue);
    padding: 0 0.5rem;
}

body .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Philosophy Section */
.philosophy {
    min-height: 100vh;
    padding: 6rem 4rem;
    background-color: var(--background-dark);
}

.philosophy-content {
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-header {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.blue-text {
    color: var(--primary-blue);
}

.philosophy h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3rem;
    max-width: 800px;
}

.philosophy-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 4rem;
}

.philosophy-text p {
    margin-bottom: 1.5rem;
}

.blue-highlight {
    color: var(--primary-blue);
    background-color: rgba(0, 102, 255, 0.1);
    padding: 0 0.5rem;
}

.philosophy-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.blue-box {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-blue);
    color: var(--text-white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.blue-box:hover {
    transform: translateY(-2px);
}

.curved-arrow {
    display: flex;
    justify-content: flex-end;
}

.arrow-icon {
    width: 120px;
    height: auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Portfolio Section */
.portfolio {
    background-color: var(--background-dark);
    padding: 6rem 4rem;
    color: var(--text-white);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
    padding-left: 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.portfolio-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-header h3 {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: rgba(0, 102, 255, 0.1);
    color: #0066FF;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.portfolio-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-title {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
}

.project-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-features span {
    padding: 6px 12px;
    background: rgba(0, 102, 255, 0.1);
    color: #0066FF;
    border-radius: 4px;
    font-size: 14px;
}

.arrow-link {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    color: #0066FF;
    transition: all 0.3s ease;
}

.arrow-link:hover {
    background: #0066FF;
    color: #fff;
    transform: translateY(-5px);
}

.portfolio-footer {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--text-white);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.more-link:hover {
    background-color: var(--text-white);
    color: var(--background-dark);
}

.more-link .material-icons {
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(13, 13, 48, 0) 0%, #0D0D30 100%);
    position: relative;
    overflow: hidden;
}

.services-container {
    display: flex;
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.services-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.service-item {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    opacity: 0.5;
    cursor: pointer;
}

.service-item.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-item h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.service-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.service-nav span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-nav span.active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-image {
        margin-top: 2rem;
    }

    .philosophy {
        padding: 4rem 2rem;
    }

    .philosophy h2 {
        font-size: 2.5rem;
    }

    .philosophy-text {
        font-size: 1.2rem;
    }

    .philosophy-links {
        flex-direction: column;
    }

    .blue-box {
        width: 100%;
        text-align: center;
    }

    .portfolio {
        padding: 4rem 2rem;
    }

    .section-title {
        font-size: 2.5rem;
        padding-left: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .services {
        padding: 60px 0;
    }

    .services-container {
        padding: 0 20px;
        gap: 20px;
    }

    .service-item {
        flex: 0 0 280px;
        padding: 20px;
    }

    .service-item h3 {
        font-size: 20px;
    }

    .service-item p {
        font-size: 14px;
    }
}

/* Scrolling Footer */
.scrolling-footer {
    width: 100%;
    background: #0066FF;
    overflow: hidden;
}

.scroll-container {
    width: 100%;
    height: 6.25vw; /* Desktop height */
    position: relative;
    overflow: hidden;
}

.scroll-content {
    display: flex;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: scroll 30s linear infinite;
}

.scroll-content span {
    display: inline-block;
    font-size: 2.77vw; /* Desktop font size */
    color: #fff;
    padding: 0 1.625vw;
    line-height: 6.25vw; /* Match container height */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.scroll-container:hover .scroll-content {
    animation-play-state: paused;
}

/* Mobile styles */
@media (max-width: 768px) {
    .scroll-container {
        height: 14.93vw; /* Mobile height */
    }

    .scroll-content span {
        font-size: 5.3333vw; /* Mobile font size */
        line-height: 14.93vw; /* Match mobile container height */
    }
}

/* Main Footer */
body .main-footer {
    background-color: #000;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body .footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

body .footer-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

body .address {
    font-size: 16px;
    color: #fff;
    max-width: 400px;
    line-height: 1.5;
}

body .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

body .logo img {
    height: 50px;
    width: auto;
}

body .logo span {
    font-size: 24px;
    color: #fff;
    font-weight: 500;
}

body .footer-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-end;
}

body .location-buttons {
    display: flex;
    gap: 16px;
}

body .location-btn {
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body .location-btn.active {
    background: #0066FF;
    border-color: #0066FF;
}

body .location-btn:hover:not(.active) {
    border-color: #fff;
}

body .social-links {
    display: flex;
    gap: 32px;
}

body .social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

body .social-link:hover {
    opacity: 0.8;
}

body .social-link img {
    width: 24px;
    height: 24px;
}

body .copyright {
    text-align: right;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

body .policy-links {
    margin-top: 8px;
}

body .policy-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

body .policy-links a:hover {
    color: #fff;
}

/* Mobile styles for main footer */
@media (max-width: 768px) {
    body .main-footer {
        padding: 32px 20px;
    }

    body .footer-content {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    body .footer-left {
        width: 100%;
        gap: 24px;
    }

    body .footer-right {
        width: 100%;
        align-items: flex-start;
        gap: 24px;
    }

    body .location-buttons {
        width: 100%;
        justify-content: space-between;
    }

    body .location-btn {
        padding: 6px 16px;
        font-size: 14px;
    }

    body .social-links {
        width: 100%;
        justify-content: space-between;
    }

    body .copyright {
        text-align: left;
        width: 100%;
    }

    body .policy-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    body .policy-links a {
        display: block;
    }
}

/* Mobile styles for portfolio */
@media (max-width: 768px) {
    body .portfolio-content {
        padding: 20px;
    }

    body .portfolio-header h3 {
        font-size: 20px;
    }

    body .portfolio-image {
        height: 200px;
    }

    body .project-title {
        font-size: 16px;
    }

    body .project-description {
        font-size: 14px;
    }

    body .project-features span {
        font-size: 12px;
        padding: 4px 8px;
    }

    body .arrow-link {
        width: 32px;
        height: 32px;
        bottom: 20px;
        right: 20px;
    }
}

body .content-section {
    max-width: 900px;
    margin: 3rem auto 2rem auto;
    background: rgba(0,0,0,0.5);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

body .content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0066FF;
}

body .content-section h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

body .content-section ul, body .content-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

body .content-section li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    body .hero-container {
        flex-direction: column;
        text-align: center;
    }
    body .hero-image {
        margin-top: 2rem;
    }
    body .content-section {
        padding: 1.2rem 1rem;
    }
    body .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
} 