@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0d9488;
    --primary-hover: #0f766e;
    --secondary: #2563eb;
    --accent: #f59e0b;
    --success: #10b981;
    --dark: #0f172a;
    --dark-muted: #334155;
    --light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --border: #e2e8f0;
    --bg-soft: #f0fdfa;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-muted);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

/* Glassmorphism Classes */
.glass-effect {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Custom Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Updated Floating Header */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 1.5rem auto;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    width: 95%;
    left: 0;
    right: 0;
}

.navbar.scrolled {
    margin-top: 0.75rem;
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1.25rem;
    gap: 12px;
}

.navbar-brand .brand-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.2);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b !important;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(13, 148, 136, 0.05);
}

.navbar-toggler {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.05) !important;
    border-radius: 12px !important;
    color: var(--primary) !important;
}

@media (max-width: 991px) {
    .nav-link {
        padding: 0.75rem 1.25rem !important;
        margin-bottom: 0.25rem;
    }

    .navbar .btn-premium {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

.navbar .btn-premium {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 12px;
}

/* Hero Section - New Layout */
.hero-wrapper {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent 40%);
}

.hero-wrapper.sub-page {
    padding: 160px 0 60px;
}

.hero-tag {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2.5px;
    color: #1a1a1a;
}

.resp-404 {
    font-size: 150px;
    line-height: 1;
}

@media (max-width: 768px) {
    .resp-404 {
        font-size: 100px;
    }
}

@media (max-width: 575px) {
    .resp-404 {
        font-size: 80px;
    }
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--dark-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-img-container {
    position: relative;
    padding: 20px;
}

.hero-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40px;
    background: #eef2ff;
    border-radius: 40px;
    z-index: -1;
}

@media (max-width: 991px) {
    .hero-img-container::before {
        left: 0;
    }
}

.hero-img {
    border-radius: 32px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-img:hover {
    transform: translateY(-10px) scale(1.02);
}

.stats-inline {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3.5rem;
    padding: 1.5rem 2.5rem;
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    width: fit-content;
    flex-wrap: wrap;
}

.stat-item {
    position: relative;
    text-align: left;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: #e2e8f0;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bento Grid Style for Services */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card-new {
    background: var(--white);
    border: 1px solid #f8fafc;
    border-radius: 32px;
    padding: 3rem 2.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.service-card-new:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.1);
}

.service-card-new h3 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    color: #1e293b;
}

.service-card-new p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
}

.service-card-new .icon {
    width: 64px;
    height: 64px;
    background: #f5f7ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card-new:hover .icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-5deg) scale(1.1);
}

/* Testimonial Section Overhaul */
.testimonial-section {
    background: #0f172a;
    color: var(--white);
    padding: 120px 0;
    border-radius: 60px;
    margin: 60px 15px;
}

.testimonial-section h2 {
    color: var(--white);
}

.testimonial-item {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 32px;
    padding: 3rem;
    height: 100%;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .testimonial-item {
        padding: 2rem;
    }
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
}

.testimonial-item h6 {
    color: white;
    font-weight: 700;
}

.testimonial-item .avatar {
    color: #4f46e5;
    font-weight: 800;
    font-size: 1rem;
    background: transparent !important;
}

/* Button Refinement */
.btn-premium {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-premium-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.3);
}

.btn-premium-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.4);
    color: var(--white);
}

/* Footer Overhaul */
.footer-new {
    background: #0b1120;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .brand-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.footer-new h5 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.2px;
}

.footer-new .text-muted {
    color: #94a3b8 !important;
}

.footer-link {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(79, 70, 229, 0.3);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-item span {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: slideUp 0.8s ease forwards;
}

.bg-gradient-premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
}

.cta-box {
    padding: 5rem 2rem;
    border-radius: 32px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.2);
}

@media (max-width: 991px) {
    .navbar {
        margin: 0.5rem auto;
        width: 95%;
        border-radius: 16px;
        position: fixed;
    }

    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: -1.5px;
    }

    .hero-wrapper {
        padding-top: 120px;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-inline {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {

    .testimonial-section,
    .values-section {
        border-radius: 30px;
        padding: 60px 0;
        margin: 40px 10px;
    }

    .service-card-new {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-inline {
        gap: 1.5rem;
        padding: 1.25rem;
        width: 100%;
    }

    .stat-item {
        flex: 1;
        text-align: center;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .btn-premium {
        width: 100%;
        justify-content: center;
    }
}

/* Accordion Custom Styling */
.accordion-item {
    border: 1px solid var(--border) !important;
    margin-bottom: 1rem;
    border-radius: 16px !important;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow);
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark);
    background: transparent !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(13, 148, 136, 0.02) !important;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--dark-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    background: rgba(13, 148, 136, 0.01);
}

/* Feature List Utility */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--dark-muted);
    margin-bottom: 0.75rem;
}

.feature-list li i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-card-new .btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.875rem;
}

/* Value Card Styling for About Page */
.values-section {
    background: #0f172a;
    border-radius: 60px;
    margin: 60px 15px;
    padding: 100px 0;
}

.value-card {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 3.5rem 2rem;
    border-radius: 32px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.value-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.value-card h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.value-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive Layout Helpers */
@media (max-width: 991px) {
    .p-full-mobile {
        padding: 2rem !important;
    }

    .mb-resp {
        margin-bottom: 2rem !important;
    }

    .hero-wrapper.sub-page {
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }
}

.section-rounded {
    border-radius: 60px 60px 0 0;
}

@media (max-width: 768px) {
    .section-rounded {
        border-radius: 32px 32px 0 0;
    }
}