/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #222;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* GLOBAL */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1c2540;
    margin-bottom: 10px;
}

#contact-us {
    color: white;
}

.section-title p {
    color: #64748b;
}

.btn {
    display: inline-block;
    background: #0f172a;
    color: #fff;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #1e293b;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #2563eb;
}

/* LANGUAGE SWITCHER */
.language-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
}

.language-switcher button {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.language-switcher button.active {
    background: #0f172a;
    color: #ffffff;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 100001;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #071226;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* HERO */
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("../images/hero-bg1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    overflow-wrap: break-word;
}

.hero-content p {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: clamp(15px, 2.5vw, 18px);
    line-height: 1.6;
    overflow-wrap: break-word;
}

.hero-content .btn {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
}

/* ABOUT */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text,
.about-image {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.about-text p {
    color: #475569;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

/* SERVICES */
.services.section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.services .section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.services .section-title h2 {
    color: #07162f;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.services .section-title p {
    color: #5f708a;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(7, 22, 47, 0.08);
    border-radius: 24px;
    padding: 34px 30px;
    min-height: 210px;
    box-shadow: 0 18px 45px rgba(7, 22, 47, 0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(7, 22, 47, 0.13);
}

.service-card h3 {
    color: #07162f;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.service-card p {
    color: #4f6078;
    font-size: 0.98rem;
    line-height: 1.75;
}

/* PORTFOLIO */
.portfolio.section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.portfolio .section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.portfolio .section-title h2 {
    color: #07162f;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.portfolio .section-title p {
    color: #5f708a;
    font-size: 1.05rem;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    min-height: 150px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #eef4fb 100%);
    border: 1px solid rgba(7, 22, 47, 0.08);
    box-shadow: 0 14px 35px rgba(7, 22, 47, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: #07162f;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(7, 22, 47, 0.12);
}

/* INDUSTRIES */
.industries {
    background: #0f172a;
    color: #fff;
}

.industries .section-title h2,
.industries .section-title p {
    color: #fff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.industry-card {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
}

/* CONTACT */
.contact {
    position: relative;
    background: url('../images/contact-bg.png') center/cover no-repeat;
    color: #fff;
    padding: 90px 0;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.65);
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 2;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-info-box p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 70px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-icon {
    min-width: 30px;
    height: 30px;
    background: #334375;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 17px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.send-btn {
    width: 200px;
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 16px 28px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.send-btn:hover {
    background: #16a34a;
}

/* FLOATING BUTTONS */
.floating-actions {
    position: fixed;
    right: 35px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 255px;
    padding: 18px 34px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.28);
    transition: 0.2s ease;
}

.call-btn {
    background: #101827;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #16a34a);
}

.floating-btn:hover {
    transform: translateY(-2px);
}

/* COOKIES */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 950px;
    z-index: 99999;
    font-family: 'Poppins', sans-serif;
}

.cookie-box {
    background: rgba(8, 29, 53, 0.97);
    border: 1px solid rgba(0,168,255,0.3);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}

.cookie-box h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cookie-box p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 16px;
}

.cookie-settings {
    display: none;
    margin-top: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.cookie-settings.show {
    display: block;
}

.cookie-settings label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cookie-settings label:last-child {
    border-bottom: none;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.cookie-actions button {
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

#accept-all,
#save-preferences {
    background: linear-gradient(135deg, #00a8ff, #0077ff);
    border: none;
    color: #fff;
}

#reject-all,
#customize-cookies {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.cookie-link {
    display: inline-block;
    margin-top: 18px;
    color: #00a8ff;
    text-decoration: none;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1000000;
    pointer-events: auto;
}

.cookie-privacy-link {
    color: #00a8ff;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-privacy-link:hover {
    color: #ffffff;
}

/* FOOTER IMPROVED */
.footer {
    background: #020617;
    color: #ffffff;
    padding: 35px 0 85px;
    position: relative;
}

.footer .container {
    max-width: 1200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 70px;
    align-items: start;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 22px;
    color: #ffffff;
}

.footer-section p,
.footer-section a,
.footer-section li {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.9;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 6px;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 14px;
    color: #94a3b8;
}

.footer-bottom .cookie-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.95rem;
}

/* RESPONSIVE TABLET */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .services-grid,
    .portfolio-grid,
    .industries-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    body {
        padding-top: 70px;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
    }

    .navbar {
        height: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 20px 24px;
        background: #ffffff;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
        z-index: 99998;
    }

    .nav-menu.open,
    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: 13px 0;
        color: #071226;
    }

    .hamburger.open span:nth-child(1),
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2),
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3),
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        padding: 80px 0 160px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero .container,
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 22px !important;
        transform: none !important;
        text-align: center !important;
    }

    .hero-content h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin: 0 auto 20px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    .hero-content p {
        width: 100% !important;
        max-width: 320px !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin: 0 auto 28px !important;
    }

    .hero-content .btn {
        display: inline-block !important;
        max-width: 260px !important;
        white-space: normal !important;
    }

    .services.section {
        padding: 65px 0;
    }

    .services .section-title {
        margin-bottom: 35px;
        padding: 0 22px;
    }

    .services-grid,
    .portfolio-grid,
    .industries-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        gap: 22px;
        padding: 0 22px;
    }

    .service-card {
        min-height: auto;
        padding: 30px 26px;
    }

    .portfolio.section {
        padding: 5px 0 9px;
    }

    .portfolio .section-title {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .portfolio-grid {
        gap: 18px;
        padding: 0 20px;
    }

    .portfolio-card {
        min-height: 120px;
        font-size: 1rem;
        padding: 20px;
    }

    .footer {
        padding: 45px 0 120px;
    }

    .footer-content {
        gap: 35px;
        text-align: center;
    }

    .footer-section h3 {
        margin-bottom: 14px;
    }

    .footer-section p,
    .footer-section li {
        line-height: 1.7;
    }

    .footer-bottom {
        margin-top: 28px;
        padding-top: 18px;
    }

    .floating-actions {
        left: 50%;
        right: auto;
        bottom: 18px;
        transform: translateX(-50%);
        align-items: center;
        width: 100%;
        gap: 8px;
        pointer-events: none;
    }

    .floating-actions a,
    .floating-btn {
        pointer-events: auto;
    }

    .floating-btn {
        min-width: 150px;
        max-width: 220px;
        width: auto;
        padding: 12px 18px;
        font-size: 13px;
    }

    .cookie-box {
        padding: 20px;
    }

    .cookie-box h3 {
        font-size: 24px;
    }

    .cookie-actions button {
        width: 100%;
    }

    .cookie-settings label {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .logo a {
        font-size: 1.25rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .service-card,
    .industry-card {
        padding: 24px;
    }

    .send-btn {
        width: 100%;
    }
}