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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

.font-ibm-plex {
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Header Styles */
header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 4px 6px 40.7px 29px rgba(0, 0, 0, 1);
}

nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem;
}

@media (min-width: 1024px) {
    nav {
        padding: 2rem 4rem;
    }
}

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

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

.logo-img {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 1024px) {
    .logo-img {
        width: 5rem;
        height: 5rem;
    }
}

.logo-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    white-space: pre-line;
}

@media (min-width: 1024px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(112, 112, 112, 0.5);
    border-radius: 0.5rem;
    padding: 0.75rem 2rem;
}

@media (min-width: 800px) {
    .nav-menu {
        display: flex;
    }
    .language-switcher {
        display: flex;
    }
}

.nav-link {
    color: #74FFFA;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #5ce1e6;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #74FFFA;
    padding: 0.5rem;
    cursor: pointer;
}

@media (min-width: 800px) {
    .mobile-menu-btn {
        display: none;
    }            
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 6rem;
    left: 2rem;
    right: 2rem;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(112, 112, 112, 0.5);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 5px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.language-switcher {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 800px) {
    .language-switcher {
        display: flex;
    }
}
.language-switcher a {
    text-decoration: none;
}
.flag-img {
    width: 2rem;

}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 2rem;
    text-align: center;
}

/* Move hero text higher on mobile screens */
@media (max-width: 767px) {
    .hero-content {
        justify-content: flex-start;
        padding-top: 4rem;
    }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #74BCFF;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 96rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    max-width: 32rem;
    line-height: 1.75;
    color: #ffffff;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Section Styles */
section {
    padding: 4rem 2rem;
}

@media (min-width: 1024px) {
    section {
        padding: 6rem 4rem;
    }
}

.container {
    max-width: 80rem;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #74FFFA;
    text-align: center;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.grid-2 {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Service Cards */
.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(112, 112, 112, 0.5);
    border-radius: 1.5rem;
    padding: 2rem;
}

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon img {
    height: 94px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #74BEFF;
    text-align: center;
    margin-bottom: 1rem;
}

.service-description {
    color: #ffffff;
    text-align: center;
    line-height: 1.75;
}

/* Work Section */
.work-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4rem;
}

/* Work card link styling - ensure no layout impact */
.grid-2 a {
    text-decoration: none;
    color: inherit;
    display: block;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
}

.grid-2 a:hover {
    text-decoration: none;
    color: inherit;
}

.grid-2 a:focus {
    outline: none;
}

.work-card {
    border-radius: 1.5rem;
    background: linear-gradient(to bottom, #74FFFA, #142A51);
    overflow: hidden;
    text-align: center;
}

.work-image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.work-content {
    padding: 2rem;
}

/* Coming Soon Overlay */
.coming-soon-container {
    position: relative;
    background: #1f2937;
}

.coming-soon-blur {
    filter: blur(4px);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-badge {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.coming-soon-text {
    color: #374151;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.coming-soon-subtext {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
}

.work-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.work-description {
    color: #ffffff;
}

/* Contact Section */
#contact {
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    box-shadow: inset 0 50px 215.9px 0 rgba(0, 0, 0, 1);
}

.contact-content {
    position: relative;
    z-index: 10;
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.contact-logo {
    width: 3rem;
    height: 3rem;
    opacity: 0.85;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #74FFFA;
}

@media (min-width: 1024px) {
    .contact-title {
        font-size: 3rem;
    }
}

.contact-form-container {
    background-color: rgba(34, 125, 135, 0.5);
    border: 1px solid rgba(112, 112, 112, 0.5);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    text-align: left;
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    padding-bottom: 0.5rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-bottom-color: #74FFFA;
}

.form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    padding-bottom: 0.5rem;
    resize: none;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    border-bottom-color: #74FFFA;
}

.submit-btn {
    background: linear-gradient(to right, #74FFFA, #059669);
    color: #374151;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.submit-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Form Messages */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(8px);
    border: 1px solid;
    animation: messageSlideIn 0.3s ease-out;
}

.success-message {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.message-icon {
    flex-shrink: 0;
}

.message-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background-color: #000000;
    padding: 1.5rem 2rem;
    text-align: center;
}

@media (min-width: 1024px) {
    footer {
        padding: 1.5rem 4rem;
    }
}

.footer-text {
    color: #ffffff;
    font-size: 0.875rem;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Mobile Menu Animation */
.mobile-menu-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile Menu Language Section */
.mobile-lang-section {
    border-top: 1px solid rgba(112, 112, 112, 0.3);
    padding-top: 1rem;
    margin-top: 1rem;
}

.mobile-lang-header {
    color: #74FFFA;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.mobile-lang-flags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-lang-flags a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.mobile-flag-btn {
    width: 2rem;
    height: 1.5rem;
    border-radius: 0.125rem;
    overflow: hidden;
    border: 2px solid;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    padding: 0;
}

.mobile-flag-btn.active {
    border-color: #74FFFA;
    opacity: 1;
}

.mobile-flag-btn:not(.active) {
    border-color: #6b7280;
    opacity: 0.7;
}

.mobile-lang-text {
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.mobile-lang-text.active {
    color: #74FFFA;
    font-weight: 500;
}

.mobile-lang-text:not(.active) {
    color: #d1d5db;
}
