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

body {
    line-height: 1.6;
}

nav {
    position: fixed;
    width: auto;
    background: none;
    padding: 25px 50px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
}

.logo {
    font-size: 1.5em;
    font-weight: 600;
    color: white;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 20px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li:not(:last-child)::after {
    content: '•';
    color: #ccc;
    margin-left: 10px;
}

nav a:hover {
    color: rgb(136, 0, 255);
}

nav.scrolled .logo {
    color: black;
}

.menu-toggle {
    color: white;
    transition: color 0.3s ease;
}

.menu-toggle.scrolled {
    color: black;
}

section {
    padding: 80px 0;
    width: 100%;
    position: relative;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

#home {
    background: url('../images/background.webp') center/cover no-repeat;
    height: 100vh;
}

#home::before {
    display: none;
}

section > * {
    position: relative;
    z-index: 2;
}

.hero-section {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-text {
    font-size: 1.4em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 1000px;
    margin: 0 auto 40px;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

p {
    max-width: 700px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 30px;
    font-size: 1.1em;
    font-weight: 400;
}

.highlight {
    color: rgb(136, 0, 255);
    font-weight: 600;
}

.content-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Only hide content in home section */
#home .content-wrapper {
    display: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.contact-info span {
    padding: 10px 20px;
    background: rgba(0,102,204,0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-info span:hover {
    transform: scale(1.05);
}

/* Add new menu toggle button styles */
.menu-toggle {
    position: fixed;
    top: 25px;
    right: 50px;
    z-index: 1000;
    font-size: 1.8em;
    cursor: pointer;
}

/* Add sidebar menu styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    padding: 80px 40px;
    transition: right 0.3s ease;
    z-index: 999;
}

.sidebar.active {
    right: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    font-weight: 500;
}

/* Add social links and language selector styles */
.hero-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 2;
}

.hero-footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.company-tag {
    font-size: 0.9em;
    font-weight: 500;
}

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

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: opacity 0.3s ease;
}

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

.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.language-divider {
    color: inherit;
    margin: 0 2px;
}

.language-selector span {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.language-selector span:hover {
    opacity: 0.8;
}

.language-selector span:first-child::after {
    content: ' | ';
    opacity: 0.5;
    cursor: default;
}

/* Add close button styles */
.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.8em;
    color: #333;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-menu:hover {
    opacity: 0.7;
}

/* Add overlay styles */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Add work section styles */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.work-item {
    width: 100%;
}

.work-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.work-description {
    text-align: left;
}

.work-description h3 {
    font-size: 1.4em;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.work-description p {
    font-size: 1em;
    color: #666;
    margin: 0;
}

.language-selector a {
    color: white;
    text-decoration: none;
    padding: 5px;
    transition: opacity 0.3s ease;
}

.language-selector a.active {
    font-weight: bold;
}

.language-selector a:first-child::after {
    content: none;
}

.language-selector a:hover:not(.active) {
    opacity: 0.8;
}

/* Update hero footer styles */
.hero-footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: opacity 0.3s ease;
}

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

.hire-us {
    margin-left: 30px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.hire-us:hover {
    opacity: 0.8;
}

/* Update contact form styles */
.contact-form {
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(136, 0, 255);
}

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

.submit-btn {
    background: rgb(136, 0, 255);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #0052a3;
}

/* Add service boxes styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-top: 50px;
}

.service-box {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5em;
    color: rgb(136, 0, 255);
    margin-bottom: 10px;
}

.service-box h3 {
    font-size: 1.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    list-style: none;
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.service-features li::before {
    content: "\f054";  /* Font Awesome arrow-right icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: inherit;
    font-size: 0.8em;
}

.learn-more {
    display: inline-block;
    padding: 12px 25px;
    background: rgb(136, 0, 255);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.learn-more:hover {
    background: #0052a3;
}

/* Update about section styles */
#about .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#about h1 {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    #about .content-wrapper {
        padding: 20px;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text {
        width: 100%;
    }

    .about-image {
        max-width: 100%;
    }
}

/* Base responsive styles */
@media screen and (max-width: 768px) {
    nav {
        padding: 15px;
    }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        cursor: pointer;
        font-size: 24px;
    }

    /* Hide regular nav and show sidebar instead */
    nav ul {
        display: none;
    }

    .sidebar {
        right: -300px;  /* Reset the transform and use right property */
        width: 250px;
        transition: right 0.3s ease-in-out;
    }

    .sidebar.active {
        right: 0;
    }

    /* Layout adjustments */
    .content-wrapper {
        padding: 20px;
        margin: 0 auto;
        width: 90%;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Work grid */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .work-item {
        margin-bottom: 30px;
    }

    /* Hero footer */
    .hero-footer {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: center;
    }

    .hero-footer-left {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .content-wrapper {
        padding: 15px;
    }

    .service-box {
        padding: 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

section h1 {
    word-spacing: 0.2em;
}

/* If you want to specifically target the highlight spans as well */
section h1 .highlight {
    word-spacing: 0.2em;
}

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

/* Underline effect for regular links */
a:not(.hire-us):not(.logo):not(.language-selector a)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

a:not(.hire-us):not(.logo):not(.language-selector a):hover::after {
    width: 100%;
}

/* Active state for navigation */
.sidebar ul li a.active,
.language-selector a.active {
    font-weight: 600;
}

/* Work section links */
.work-description h3 a {
    color: #333;
    font-weight: 500;
}

.work-description h3 a:hover {
    color: #666;
}

/* Social links */
.social-links a {
    color: inherit;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close-lightbox:hover {
    opacity: 0.7;
}

/* Remove the target="_blank" and add cursor pointer */
.work-item a {
    cursor: pointer;
    display: block;
    position: relative;
}

.form-status {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Base styles for About and Services */
.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-text {
        width: 100%;
    }

    .about-image {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .section-title {
        padding: 0 20px;
        margin-bottom: 20px;
    }
}

/* Base section styles */
section {
    padding: 80px 0;
    width: 100%;
    position: relative;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

/* About section */
.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    max-width: 50%;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-content p {
    margin-bottom: 20px;
    color: #4a4a4a;
    font-size: 1.1em;
    width: 100%;
    text-align: justify;
    text-align-last: center;
    margin-left: auto;
    margin-right: auto;
}

/* Services section */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Work section */
.work-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    section {
        padding: 40px 0;
        overflow: hidden;
    }

    .section-title {
        margin-bottom: 30px;
        padding: 0 20px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-content img {
        width: 100%;
        height: auto;
        order: -1; /* Makes image appear before text on mobile */
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Fix content ordering */
    #about {
        order: 1;
    }

    #services {
        order: 2;
    }

    #work {
        order: 3;
    }

    /* Ensure proper spacing between sections */
    section + section {
        margin-top: 40px;
    }
}

.captcha-group {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.captcha-group input {
    width: 100px;
    margin-top: 10px;
}

.captcha-group label {
    font-weight: bold;
}