@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #1a1a1a;
    --secondary: #ff6600;
    --accent: #ff8533;
    --bg-dark: #0f0f0f;
    --bg-card: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Reusable Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--secondary);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-white);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-gray);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

/* Footer */
footer {
    background: #080808;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-gray);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 1s ease forwards;
}

/* Clients & Partners Section */
.trust-section {

    padding: 100px 0;
}

.logos-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem 2rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    margin-top: 2rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.logo-card {
    background: white;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.logo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(255, 102, 0, 0.2);
}

.logo-card:hover::before {
    transform: scaleX(1);
}

.logo-card img {
    max-width: 85%;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.4s ease;

}

.logo-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.logo-card span {
    color: #1a1a1a;
    font-weight: 700;
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Style for text-only logo cards */
.logo-card:not(:has(img)) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-card:not(:has(img)) span {
    font-size: 1.1rem;
    color: var(--primary);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Process Section */
.process-step {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.process-step::after {
    content: '\2192';
    position: absolute;
    top: 50%;
    right: -20px;
    font-size: 2rem;
    color: var(--secondary);
    transform: translateY(-50%);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: #111d2b;
    border-radius: 15px 50px 15px 50px;
    padding: 1.5rem 2rem 1.5rem 5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.2);
}

.value-number {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    width: 65px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    border-radius: 0 15px 15px 0;
}

/* Portfolio Page Specialized Layout */
.filter-btn {
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

.filter-btn.active,
.filter-btn:hover {
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.portfolio-container {
    perspective: 1000px;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #111;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

/* Border Animation Effect */
.portfolio-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, transparent, var(--secondary), transparent, transparent);
    background-size: 200% 200%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 22px;
    pointer-events: none;
}

.portfolio-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: transparent;
}

.portfolio-card:hover::after {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 200%;
    }
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4) 50%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(30px);
    z-index: 3;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover img {
    transform: scale(1.15);
    filter: brightness(0.7);
}

.portfolio-info .category {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s 0.1s;
}

.portfolio-info h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s 0.2s;
}

.portfolio-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s 0.3s;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-card:hover .category,
.portfolio-card:hover h3,
.portfolio-card:hover p {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-info .location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes portfolioFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.portfolio-item {
    animation: portfolioFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .section-padding {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem !important;
    }
}

/* FAQ Section */
.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    transition: var(--transition);
    user-select: none;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.4s ease;
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-gray);
    display: none;
    line-height: 1.8;
    animation: fadeIn 0.4s ease;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}