/* =========================================
   MARIBA CONCEPTS — CLEAN MASTER DESIGN SYSTEM
   Optimized • Deduplicated • Production Ready
========================================= */

:root {
    /* Brand Colors */
    --primary: #0f9d58;
    --primary-dark: #0b7d45;
    --primary-light: #34c27a;

    --secondary: #d62828;
    --secondary-dark: #b71f1f;
    --secondary-light: #ef5350;

    /* Accent Colors */
    --accent-purple: #8b5cf6;
    --accent-blue: #06b6d4;

    /* Neutrals */
    --white: #ffffff;
    --light: #f5f7fa;
    --gray: #9ca3af;
    --gray-light: #d1d5db;
    --dark: #050805;
    --dark-soft: #0b1210;
    --dark-navy: #0f172a;

    /* UI */
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

    /* Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    /* Motion */
    --transition: all 0.35s ease;
}

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #111827 100%);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    padding-left: 20px;
    margin: 20px 0;
}

p {
    margin-bottom: 18px;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
}

blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =========================================
   GLOBAL LAYOUT
========================================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}

section {
    position: relative;
    padding: 100px 0;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0b0f0c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 20px;
}

/* =========================================
   PROGRESS BAR
========================================= */

#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 99999;
}

/* =========================================
   PRELOADER
========================================= */

#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   NAVBAR
========================================= */

/* =========================================
   NAVBAR UI/UX IMPROVEMENTS
========================================= */

.custom-navbar {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    z-index: 999;
}

/* Logo */
.navbar-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
    transition: 0.3s ease;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-highlight {
    color: #0f9d58;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Nav Links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.96rem;
    padding: 10px 16px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0f9d58, #0b7d45);
    box-shadow: 0 6px 18px rgba(15, 157, 88, 0.35);
}

/* CTA Button */
.nav-btn {
    background: linear-gradient(135deg, #0f9d58, #0b7d45);
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.35s ease;
    box-shadow: 0 8px 24px rgba(15, 157, 88, 0.25);
}

.nav-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 157, 88, 0.35);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 12px 0;
    }

    .navbar-collapse {
        margin-top: 18px;
        background: rgba(12, 12, 12, 0.95);
        padding: 20px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navbar-nav .nav-link {
        padding: 14px 16px !important;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }

    .navbar-logo {
        height: 50px;
    }
}

/* Scroll Effect */
.custom-navbar.scrolled {
    background: rgba(0, 0, 0, 0.92);
    padding: 6px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
    background:
        radial-gradient(
            circle at top left,
            rgba(15, 157, 88, 0.18),
            transparent 40%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(214, 40, 40, 0.12),
            transparent 40%
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(99, 102, 241, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(6, 182, 212, 0.15),
            transparent 35%
        );
}

.hero-title,
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 20px;
}

.hero-title span,
.hero h1 span,
.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p,
.hero-description {
    margin-top: 20px;
    color: var(--gray-light);
    max-width: 700px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-card,
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

/* =========================================
   BUTTONS
========================================= */

.btn-main,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.btn-main:hover,
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.btn-outline-custom {
    padding: 14px 32px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

/* =========================================
   CARDS
========================================= */

.card,
.card-custom,
.card-dark,
.hero-card,
.resume-card,
.project-card,
.testimonial-card,
.feature-box,
.card-service,
.trusted-card,
.contact-info-card,
.contact-form-card,
.experience-card,
.blog-card,
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.card,
.card-custom,
.card-dark,
.hero-card,
.resume-card,
.project-card,
.testimonial-card,
.feature-box,
.card-service,
.trusted-card,
.contact-info-card,
.contact-form-card,
.experience-card,
.glass-card {
    padding: 35px;
    height: 100%;
}

.card:hover,
.card-custom:hover,
.card-dark:hover,
.hero-card:hover,
.resume-card:hover,
.project-card:hover,
.testimonial-card:hover,
.feature-box:hover,
.card-service:hover,
.trusted-card:hover,
.contact-info-card:hover,
.contact-form-card:hover,
.experience-card:hover,
.blog-card:hover,
.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

/* =========================================
   ICONS
========================================= */

.card i,
.hero-card i,
.feature-box i,
.glass-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* =========================================
   BADGES
========================================= */

.skill-badge,
.tech-badge,
.skill-pill,
.contact-badge,
.badge-custom,
.project-tag,
.section-tag {
    display: inline-block;
    padding: 10px 18px;
    margin: 6px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-badge:hover,
.tech-badge:hover,
.skill-pill:hover,
.contact-badge:hover,
.badge-custom:hover,
.project-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-3px);
}

/* =========================================
   SECTION TITLES
========================================= */

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--primary);
}

.section-text {
    color: var(--gray-light);
    line-height: 1.9;
    max-width: 700px;
}

/* =========================================
   TIMELINE
========================================= */

.timeline {
    position: relative;
    padding-left: 35px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    left: -32px;
    top: 8px;
}

/* =========================================
   EXPERIENCE SECTION
========================================= */

.experience-section {
    width: 100%;
    padding: 40px 20px;
}

.experience-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.experience-item {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 22px;
    padding: 35px 25px;
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-item:hover {
    transform: translateY(-10px);
}

.experience-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.experience-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.experience-item p {
    color: #cbd5e1;
    margin: 0;
}

/* =========================================
   BLOG
========================================= */

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.blog-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.blog-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-filter {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.blog-card {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.blog-image,
.project-image {
    overflow: hidden;
}

.blog-image img,
.project-image img {
    width: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.blog-image img {
    height: 260px;
}

.project-image {
    height: 240px;
}

.project-image img {
    height: 100%;
}

.blog-card:hover img,
.project-card:hover img {
    transform: scale(1.08);
}

.blog-content,
.project-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 14px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 70px;
    flex-wrap: wrap;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    background: var(--dark-navy);
    color: var(--white);
}

.contact-info-card,
.contact-form-card {
    padding: 40px;
}

.contact-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-icon {
    width: 75px;
    height: 75px;
    border-radius: 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.contact-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item a {
    color: var(--white);
    font-weight: 500;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--primary);
}

.custom-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 18px 16px 50px;
    color: var(--white);
}

.custom-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary);
}

.custom-textarea {
    padding-left: 18px !important;
}

.contact-btn {
    height: 60px;
    border-radius: 18px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-3px);
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: linear-gradient(180deg, #050805, #030403);
    border-top: 1px solid var(--border);
    padding: 80px 20px 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-brand h2 {
    font-size: 1.8rem;
    font-weight: 900;
}

.footer-brand span {
    color: var(--primary);
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: var(--gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-socials,
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-socials a,
.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover,
.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--gray);
}

/* =========================================
   WHATSAPP FLOAT
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    transition: all 0.35s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    color: #fff;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================
   FOOTER
========================================= */

.site-footer{
    position: relative;
    background: #050505;
    color: rgba(255,255,255,0.78);
    padding-top: 90px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* TOP GRADIENT */
.site-footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        #0f9d58,
        #ffffff,
        #ea4335
    );
}

/* GRID */
.footer-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    padding-bottom: 60px;
}

/* BRAND */
.footer-brand img{
    height: 70px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand h2{
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-brand h2 span{
    color: #0f9d58;
}

.footer-brand p{
    line-height: 1.8;
    max-width: 320px;
}

/* TITLES */
.footer-links h4,
.footer-contact h4{
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 45px;
    height: 3px;
    background: #0f9d58;
    border-radius: 30px;
}

/* LINKS */
.footer-links{
    display: flex;
    flex-direction: column;
}

.footer-links a{
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-links a:hover{
    color: #0f9d58;
    transform: translateX(6px);
}

/* CONTACT */
.footer-contact p{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.footer-contact i{
    color: #0f9d58;
}

/* SOCIALS */
.footer-socials{
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.footer-socials a{
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.35s ease;
    font-size: 1.1rem;
}

.footer-socials a:hover{
    background: #0f9d58;
    transform: translateY(-5px);
    color: #fff;
}

/* BOTTOM */
.footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 24px 0;
}

.footer-bottom p{
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 991px){

    .footer-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media(max-width: 767px){

    .site-footer{
        padding-top: 70px;
    }

    .footer-grid{
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-brand p{
        max-width: 100%;
    }

    .footer-bottom{
        padding: 20px 0;
    }

    .whatsapp-float{
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        bottom: 18px;
        right: 18px;
    }
}