:root {
    --primary: #2457d6;
    --primary-dark: #173e9f;
    --secondary: #0d1b3e;
    --accent: #5d7df4;
    --light: #f6f8fc;
    --text: #172033;
    --muted: #68738a;
    --border: #e8ecf3;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title .small-title {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-title p {
    color: var(--muted);
    margin-bottom: 0;
}

.breadcrumb-wrap {
    background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-nav {
    padding: 16px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--muted);
    padding: 0 12px;
    float: none;
}

.breadcrumb-item a {
    color: var(--muted);
    transition: .2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--secondary);
    font-weight: 700;
}

/* =========================
    TOP BAR
========================= */

.topbar {
    background: var(--secondary);
    color: #fff;
    font-size: 13px;
    padding: 9px 0;
}

.topbar a {
    color: rgba(255,255,255,.85);
}

.topbar i {
    color: #8ea8ff;
    margin-right: 5px;
}

/* =========================
    NAVBAR
========================= */

.navbar {
    background: rgba(255,255,255,.97);
    padding: 18px 0;
    transition: .3s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: 0 5px 25px rgba(20,35,70,.08);
    border-bottom-color: var(--border);
    padding: 12px 0;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 800;
    color: var(--secondary);
}

.navbar-brand img {
    width: auto;
    object-fit: contain;
}

.navbar-brand .brand-text {
    color: var(--secondary);
}

.navbar-brand .brand-text span {
    color: var(--primary);
}

.navbar-nav .nav-link {
    color: #26334d;
    font-weight: 600;
    font-size: 14px;
    margin: 0 8px;
    padding: 10px 8px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .dropdown-menu {
    border: 1px solid rgba(20, 35, 70, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(20,35,70,.08);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 220px;
}

.navbar-nav .dropdown-item {
    color: #26334d;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    transition: .2s ease;
}

.navbar-nav .dropdown-item.active {
    color: #ffffff;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: rgba(76,112,230,.08);
    color: var(--primary);
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    transition: .3s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================
    HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 110px;
    background:
        radial-gradient(circle at 90% 20%, rgba(76,112,230,.18), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(63,102,224,.10), transparent 30%),
        linear-gradient(135deg, #f7f9ff 0%, #eef3ff 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e7edff;
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-outline-custom {
    padding: 12px 24px;
    border: 1px solid #cbd3e4;
    color: var(--secondary);
    border-radius: 8px;
    font-weight: 600;
    background: #fff;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-visual {
    position: relative;
    min-height: 430px;
}

.hero-card {
    position: absolute;
    background: rgba(255,255,255,.95);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 25px 70px rgba(35,63,120,.15);
    border: 1px solid rgba(255,255,255,.8);
}

.hero-main-card {
    width: 390px;
    right: 20px;
    top: 30px;
}

.hero-main-card img {
    width: 100%;
    border-radius: 12px;
}

.floating-card {
    left: 0;
    bottom: 20px;
    width: 230px;
    z-index: 3;
}

.floating-card i {
    font-size: 28px;
    color: var(--primary);
}

.floating-card h5 {
    font-weight: 700;
    margin: 12px 0 4px;
}

.floating-card small {
    color: var(--muted);
}

/* =========================
    STATS
========================= */

.stats {
    background: var(--secondary);
    padding: 45px 0;
    color: #fff;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.12);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 3px;
}

.stat-item p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 14px;
}

/* =========================
    SERVICES
========================= */

.services {
    background: #fff;
}

.service-card {
    height: 100%;
    padding: 35px 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: .3s;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(31,54,100,.10);
}

.service-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: #edf2ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 24px;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 13px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* =========================
    ABOUT
========================= */

.about {
    background: var(--light);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 18px;
}

.experience-box {
    position: absolute;
    right: -20px;
    bottom: 30px;
    background: var(--primary);
    color: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(36,87,214,.25);
}

.experience-box h3 {
    font-size: 38px;
    font-weight: 800;
    margin: 0;
}

.experience-box p {
    margin: 0;
    font-size: 13px;
}

.about-content {
    padding-left: 30px;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--muted);
}

.feature-list {
    padding: 0;
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    margin-bottom: 14px;
    font-weight: 600;
}

.feature-list i {
    color: var(--primary);
    margin-right: 9px;
}

.about-story {
    background: #fff;
}

.about-story-text {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ceo-message {
    background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

.ceo-panel {
    background: rgba(255,255,255,.8);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 35px;
}

.ceo-panel h2 {
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin: 14px 0 20px;
}

.ceo-panel p {
    color: var(--muted);
    font-size: 16px;
}

.ceo-signature {
    margin-top: 20px;
    color: var(--secondary) !important;
    font-weight: 700;
}

.ceo-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(20,35,70,.05);
}

.ceo-photo,
.team-photo {
    /* width: 90px; */
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 3px solid rgba(36,87,214,.12);
    display: block;
}

.ceo-card h4,
.team-card h4 {
    margin-bottom: 6px;
    font-weight: 800;
}

.ceo-card span,
.team-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.skill-section {
    background: #fff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.skill-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f5f8ff;
    border: 1px solid var(--border);
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
}

.team-section {
    background: var(--light);
}

.team-grid {
    margin-top: 12px;
}

.team-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: .3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(20,35,70,.08);
}

.team-card p:last-child {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
    PROCESS
========================= */

.process-number {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 19px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-item h5 {
    font-weight: 700;
}

.process-item p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================
    TECHNOLOGIES
========================= */

.technologies {
    background: var(--light);
}

.tech-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 15px;
    text-align: center;
    transition: .3s;
}

.tech-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20,40,80,.08);
}

.tech-box i {
    display: block;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.tech-box span {
    font-size: 13px;
    font-weight: 600;
}

/* =========================
    PORTFOLIO
========================= */

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 30px;
}

.filter-btn {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(36,87,214,.18);
}

.portfolio-item {
    transition: opacity .3s ease, transform .3s ease;
}

.portfolio-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
    height: 100%;
}

.portfolio-image {
    height: 240px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.portfolio-card:hover img {
    transform: scale(1.06);
}

.portfolio-content {
    padding: 23px;
}

.portfolio-content small {
    color: var(--primary);
    font-weight: 700;
}

.portfolio-content h5 {
    font-weight: 700;
    margin-top: 7px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.portfolio-link:hover {
    color: var(--primary-dark);
}

/* =========================
    WHY US
========================= */

.why-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: #edf2ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.why-card h5 {
    font-weight: 700;
    margin-bottom: 7px;
}

.why-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

/* =========================
    TESTIMONIALS
========================= */

.testimonials {
    background: var(--light);
}

.testimonial-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    height: 100%;
}

.stars {
    color: #f6b800;
    margin-bottom: 18px;
}

.testimonial-card p {
    color: var(--muted);
    font-size: 15px;
    font-style: italic;
}

.client {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 25px;
}

.client-avatar {
    width: 45px;
    height: 45px;
    background: #e7edff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.client h6 {
    margin: 0;
    font-weight: 700;
}

.client small {
    color: var(--muted);
}

/* =========================
    CTA
========================= */

.cta {
    padding: 80px 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--primary), #4d72df);
    border-radius: 22px;
    padding: 70px;
    color: #fff;
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.cta-box p {
    color: rgba(255,255,255,.78);
    max-width: 620px;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    padding: 13px 27px;
    border-radius: 8px;
    font-weight: 700;
}

.btn-white:hover {
    background: #f3f5fa;
    color: var(--primary-dark);
}

/* =========================
    CONTACT
========================= */

.contact-info {
    padding: 28px;
    background: var(--light);
    border-radius: 16px;
    margin-bottom: 20px;
}

.contact-info i {
    font-size: 25px;
    color: var(--primary);
    margin-right: 15px;
}

.contact-info h6 {
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

.contact-form {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.form-control {
    border-color: var(--border);
    padding: 13px 15px;
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36,87,214,.08);
}

/* =========================
    FOOTER
========================= */

footer {
    background: var(--secondary);
    color: #fff;
    padding-top: 70px;
}

.footer-brand {
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-brand span {
    color: #7190ff;
}

footer p {
    color: rgba(255,255,255,.58);
    font-size: 14px;
}

footer h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    transition: .2s;
}

.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
}

.social-links a:hover {
    background: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 55px;
    padding: 22px 0;
    color: rgba(255,255,255,.45);
    font-size: 13px;
}

/* =========================
    BACK TO TOP
========================= */

#backToTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: none;
    z-index: 999;
}

/* =========================
    RESPONSIVE
========================= */

@media (max-width: 991px) {

    .section-padding {
        padding: 75px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-visual {
        margin-top: 50px;
        min-height: 390px;
    }

    .hero-main-card {
        right: 0;
    }

    .about-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .stat-item {
        margin-bottom: 25px;
        border-right: 0;
    }

    .cta-box {
        padding: 45px 30px;
    }
}

@media (max-width: 767px) {

    .topbar {
        display: none;
    }

    .section-title h2,
    .about-content h2,
    .cta-box h2 {
        font-size: 32px;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-main-card {
        width: 85%;
        right: 0;
    }

    .floating-card {
        width: 190px;
        left: 0;
    }

    .experience-box {
        right: 10px;
    }

    .contact-form {
        margin-top: 30px;
    }
}