@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary: #2563EB;
    /* Blue */
    --primary-soft: #EFF6FF;
    --secondary: #F59E0B;
    /* Orange */
    --secondary-soft: #FFFBEB;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 60px 0; /* Reduced from 100px */
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.lang-switch {
    display: flex;
    gap: 5px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 12px;
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Slider */
.hero {
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 600px;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 3rem;
    background: rgba(255, 255, 255);
    border-left: 5px solid var(--primary);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

.hero-tag {
    color: var(--primary);
    background: var(--primary-soft);
    padding: 6px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    padding: 14px 32px;
    border-radius: 0;
    /* Sharp corners */
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    /* Added shadow */
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    /* Enhanced hover shadow */
    background: #1D4ED8;
}

/* Services */
#services {
    padding-top: 30px; /* Further reduced to match the global 60px rhythm */
}

.section-title {
    text-align: center;
    margin-bottom: 2rem; /* Reduced from 4rem */
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Reduced from 3rem */
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0;
    border: 2px dashed #87CEEB;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-card:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.service-card:hover {
    border-color: var(--primary);
    transform: scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    flex: 0 0 300px;
    height: 150px;
    background: var(--secondary-soft);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    overflow: hidden;
}

.service-info {
    flex: 1;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: 0;
    /* Sharp corners */
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    /* Added subtle shadow */
}

.portfolio-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-tag {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

/* Contact */
.contact-flex {
    display: flex;
    background: var(--bg-white);
    border-radius: 0;
    /* Sharp corners */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    /* Enhanced shadow */
    border: 1px solid var(--border);
}

.contact-info {
    flex: 1;
    background: var(--primary);
    padding: 4rem;
    color: white;
}

.contact-form {
    flex: 1.5;
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    /* Sharp corners */
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0;
    /* Sharp corners */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Client Logos */
.client-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.client-item img {
    height: 60px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.client-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.client-item span {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

footer {
    padding: 5rem 0 3rem;
    background: #0F172A;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-brand desc {
    line-height: 1.8;
    margin-top: 1rem;
    display: block;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-social-box .social-links {
    margin-top: 1.5rem;
}

.footer-social-box .social-icon {
    background: rgba(255, 255, 255, 0.05);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 2rem;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
        padding-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-flex {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        padding: 2.5rem;
    }

    .service-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem;
    }

    .service-icon {
        flex: 0 0 100% !important;
        width: 100% !important;
        height: 160px !important;
    }

    .nav-logo img {
        height: 40px !important;
    }

    .contact-info div {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.slider-arrow.prev {
    left: 40px;
}

.slider-arrow.next {
    right: 40px;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .slider-arrow.prev {
        left: 15px;
    }
    .slider-arrow.next {
        right: 15px;
    }
}