﻿/* ===============================
   ROOT VARIABLES
================================ */
:root {
    --primary: #0b3c5d;
    --secondary: #f5f7fa;
    --accent: #ff7f50;
    --dark: #1f2933;
    --light: #ffffff;
}

/* ===============================
   GLOBAL
================================ */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.75;
    color: var(--dark);
    background-color: #fff;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    padding: 60px 0;
}

    .section h2 {
        font-weight: 700;
        letter-spacing: -0.5px;
        margin-bottom: 50px;
    }

/* Fix scroll offset for navbar */
section {
    scroll-margin-top: 90px;
}




/* LOGO STYLE */
.ssam-logo {
    height: 48px; /* desktop size */
    width: auto;
    object-fit: contain;
}

/* MOBILE LOGO */
@media (max-width: 768px) {
    .ssam-logo {
        height: 38px;
    }
}




/* ===============================
   NAVBAR – PREMIUM & GLASS
================================ */
.navbar {
    background: rgba(11, 60, 93, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 14px 0;
    z-index: 999;
    transition: all 0.3s ease;
}

    .navbar .navbar-brand {
        font-size: 1.25rem;
        letter-spacing: 1px;
        color: var(--light);
        font-weight: 700;
    }

    .navbar .navbar-nav {
        align-items: center;
    }

    .navbar .nav-link {
        font-weight: 500;
        padding: 10px 16px;
        border-radius: 10px;
        color: var(--light);
        transition: all 0.3s ease;
    }

        .navbar .nav-link:hover {
            background: rgba(255, 255, 255, 0.15);
            color: var(--accent);
        }





    /* Contact button in navbar */
    .navbar .btn-contact {
        background: var(--accent);
        color: var(--light) !important;
        font-weight: 600;
        transition: all 0.3s ease;
        border-radius: 12px;
        padding: 8px 20px;
        margin-left: 11px;
    }

        .navbar .btn-contact:hover {
            background: #ff9b6a;
        }

/* ===============================
   LANGUAGE SWITCH
================================ */
.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--light);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .lang-btn.active {
        background: #ffffff;
        color: var(--primary);
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

    .lang-btn:hover {
        background: rgba(255, 255, 255, 0.25);
    }



/* ===============================
   HERO
================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.6s ease, transform 6s ease;
    z-index: 0;
}

    .hero-bg.active {
        opacity: 1;
        transform: scale(1);
    }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,60,93,0.92), rgba(11,60,93,0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

    .hero-content h1 {
        font-size: 3.2rem;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.25rem;
        opacity: 0.95;
    }

.hero-contact a:hover{
    color: navajowhite;
}
/* ===============================
   BUTTONS
================================ */
.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 12px;
    padding: 14px 34px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: var(--accent);
        transform: translateY(-2px);
    }

/* ===============================
   SERVICE / INDUSTRY CARDS
================================ */
.card-service,
.card-industry {
    background: #fff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

    .card-service:hover,
    .card-industry:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    }

    .card-service i,
    .card-industry i {
        font-size: 42px;
        color: var(--primary);
        margin-bottom: 18px;
        transition: color 0.3s ease;
    }

    .card-service:hover i,
    .card-industry:hover i {
        color: var(--accent);
    }

/* ===============================
   CLIENTS CARDS
================================ */
#clients {
    background: linear-gradient(135deg, rgba(11,60,93,0.08), rgba(255,255,255,0.9)), url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(6px);
}

.client-card {
    flex: 0 0 320px;
    min-height: 260px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 30px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 30px 60px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.55s cubic-bezier(.4,0,.2,1);
    opacity: 0.5;
    transform: scale(0.93);
}

    .client-card.active,
    .client-card:hover {
        opacity: 1;
        transform: scale(1) translateY(-5px);
        background: rgba(255,255,255,0.75);
        box-shadow: 0 40px 90px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.6);
    }

    .client-card img {
        max-height: 80px;
        max-width: 160px;
        margin: 0 auto 20px;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.85;
        transition: all 0.4s ease;
    }

    .client-card:hover img,
    .client-card.active img {
        filter: grayscale(0%);
        opacity: 1;
    }
/* ===============================
   CONTACT SECTION – PROFESSIONAL
================================ */
.contact-section {
    background: linear-gradient(135deg, rgba(11,60,93,0.03), rgba(255,255,255,1));
    padding: 80px 0;
}

.contact-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 50px 40px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 35px 80px rgba(0,0,0,0.18);
    }

    .contact-card h4 {
        font-weight: 700;
        color: var(--primary);
        font-size: 1.7rem;
        letter-spacing: -0.5px;
    }

/* Contact Items */
.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: center;
}

    .contact-item i {
        width: 52px;
        height: 52px;
        background: rgba(11,60,93,0.08);
        color: var(--primary);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

        .contact-item i:hover {
            background: var(--primary);
            color: var(--light);
            transform: scale(1.1);
        }

    .contact-item span {
        display: block;
        font-size: 0.75rem;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }

    .contact-item p {
        margin: 2px 0 0;
        font-weight: 500;
        color: var(--dark);
        font-size: 0.95rem;
    }

/* Form Fields */
.contact-card .form-control {
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid var(--primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .contact-card .form-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 0.25rem rgba(255,127,80,0.15);
    }

.contact-card .btn-primary {
    border-radius: 16px;
    padding: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .contact-card .btn-primary:hover {
        background: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255,127,80,0.35);
    }

/* Responsive */
@media (max-width: 991px) {
    .contact-card {
        padding: 35px 30px;
    }

        .contact-card h4 {
            font-size: 1.5rem;
        }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 25px 20px;
    }

        .contact-card h4 {
            font-size: 1.35rem;
        }

    .contact-item i {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: #a74665; /* match your navbar / brand */
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

    .back-to-top:hover {
        background-color: #8f3b57;
        transform: translateY(-4px);
    }

    /* Show button */
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }
/* ===============================
   FOOTER (Professional)
================================ */
.site-footer {
    background: var(--primary);
    color: #ffffff;
    padding-top: 50px;
    font-size: 0.95rem;
}

.footer-brand {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Social Icons */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    margin: 0 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .footer-social a:hover {
        background: var(--accent);
        transform: translateY(-3px);
    }

/* Footer bottom bar */
.footer-bottom {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.18); /* slightly darker bar */
    padding: 12px 0;
}

    .footer-bottom span {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.6);
    }

    /* Developer link subtle */
    .footer-bottom a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        margin-left: 4px;
        transition: color 0.3s ease;
    }

        .footer-bottom a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 20px;
    }

    .nav-link {
        padding: 14px 18px;
        margin-bottom: 6px;
    }

    .lang-switch {
        transform: scale(0.95);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .client-card {
        flex: 0 0 85%;
    }

    .contact-card {
        padding: 30px 24px;
    }
}
