:root {
    --primary: #335876;
    --white: #ffffff;
    --light: #f7f9fc;
    --dark: #101828;
    --text: #5f6c7b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: #335876;
}

.cta-banner h1,
.cta-banner h2,
.cta-banner h3,
.cta-banner h4,
.footer h1,
.footer h2,
.footer h3,
.footer h4 {
    color: white;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 60px 0;
}

.grid {
    display: grid;
    gap: 30px;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    height: 44px;
    overflow: hidden;
    text-decoration: none;
}

.logo img {
    height: 72px;
    width: auto;
    display: block;
    transform: scale(1.10);
    transform-origin: center center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0f6fc 40%, #e8f1f9 100%);
    padding: 100px 0 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 50px 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(51, 88, 118, 0.12);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(51, 88, 118, 0.12);
    box-shadow: 0 4px 14px rgba(51, 88, 118, 0.06);
}

.hero-badge i {
    font-size: 12px;
    opacity: 0.85;
}

.hero-title {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.45;
    margin-bottom: 18px;
}

.hero-description {
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 32px;
    max-width: 520px;
    font-size: 15px;
}

.hero h1 {
    font-size: 51.2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h2.hero-title {
    margin-bottom: 14px;
}

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

.hero-buttons .primary-btn {
    gap: 10px;
    box-shadow: 0 10px 28px rgba(51, 88, 118, 0.25);
}

.hero-buttons .primary-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.hero-buttons .primary-btn:hover i {
    transform: translateX(4px);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(51, 88, 118, 0.1);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.hero-trust-item i {
    color: var(--primary);
    font-size: 16px;
}

.hero-visual {
    position: relative;
}

.hero-visual-frame {
    position: relative;
    border-radius: 28px;
    overflow: visible;
    box-shadow:
        0 20px 50px rgba(51, 88, 118, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.hero-visual-frame::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(51, 88, 118, 0.35), rgba(127, 176, 214, 0.2), transparent);
    z-index: -1;
}

.hero-visual-frame img {
    width: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 28px;
}

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(to top, rgba(16, 24, 40, 0.35) 0%, transparent 45%);
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 14px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(51, 88, 118, 0.14);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.hero-float-card strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.hero-float-card span {
    font-size: 12px;
    color: var(--text);
    font-weight: 500;
}

.hero-float-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #5a8aab);
    color: white;
    border-radius: 12px;
    font-size: 18px;
}

.hero-float-card--stats {
    bottom: 28px;
    left: -24px;
    animation-delay: 0s;
}

.hero-float-card--rating {
    top: 32px;
    right: -20px;
    animation-delay: 1.5s;
}

.hero-float-card--rating .hero-float-icon {
    background: linear-gradient(135deg, #c9920f, #e8a317);
}

.btn {
    position: relative;
    overflow: hidden;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-btn {
    background: var(--primary);
    color: white;
}

.secondary-btn {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
}


.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text);
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card,
.feature-box,
.team-card {
    background: white;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.service-card:hover,
.feature-box:hover,
.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(51, 88, 118, 0.12);
    border-color: rgba(51, 88, 118, 0.08);
}

.service-card i,
.feature-box i,
.mission-card i,
.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 88, 118, 0.12);
    color: var(--primary);
    border-radius: 20px;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover i,
.feature-box:hover i,
.mission-card:hover i {
    background: linear-gradient(135deg, var(--primary), #5a8aab);
    color: white;
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 10px 20px rgba(51, 88, 118, 0.2);
}

.service-card p,
.feature-box p {
    color: var(--text);
    line-height: 1.7;
}

.gradient-bg {
    background: linear-gradient(to bottom right, #f5f9fd, #edf3f9);
}

.product-grid,
.mission-grid,
.contact-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.creative-team-card {
    flex: 1 1 320px;
    max-width: 380px;
    padding: 0;
    overflow: hidden;
    text-align: center;
    border-radius: 24px;
}

.creative-team-card .team-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.creative-team-card .team-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #8ab9dd);
    background-size: cover;
    background-position: center;
    border-radius: 0;
    margin: 0;
    transition: transform 0.6s ease;
}

.creative-team-card:hover .team-image {
    transform: scale(1.1);
}

.social-icons-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(16, 24, 40, 0.8), transparent);
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.creative-team-card:hover .social-icons-overlay {
    opacity: 1;
    transform: translateY(0);
}

.social-icons-overlay a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons-overlay a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.creative-team-card .team-info {
    padding: 30px;
    background: white;
    border-radius: 0 0 24px 24px;
}

.creative-team-card h4 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

.role-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(51, 88, 118, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.about-intro h2 {
    margin-bottom: 40px;
}

.about-intro p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.mission-card,
.contact-form-wrapper {
    border-radius: var(--radius);
    padding: 40px;
}

.product-card {
    border-radius: 8px;
    padding: 20px;
}

.product-visual {
    height: 220px;
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: visible;
    box-shadow:
        0 20px 50px rgba(51, 88, 118, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-visual {
    height: 320px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #7fb0d6);
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-visual.secondary {
    background: linear-gradient(135deg, #4d86b4, #2d3f50);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-box {
    flex: 1 1 300px;
    max-width: 360px;
}

.feature-box h4 {
    margin-bottom: 14px;
    font-size: 20px;
}

/* —— Why Choose Brebity —— */
.why-brebity-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 50%, #ffffff 100%);
}

.why-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.why-bg-shape.shape-1 {
    width: 380px;
    height: 380px;
    top: -140px;
    left: -100px;
    background: radial-gradient(circle, rgba(51, 88, 118, 0.1) 0%, transparent 68%);
}

.why-bg-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -120px;
    right: -60px;
    background: radial-gradient(circle, rgba(127, 176, 214, 0.18) 0%, transparent 70%);
}

.why-header {
    margin-bottom: 50px;
}

.why-badge {
    display: inline-block;
    background: rgba(51, 88, 118, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(51, 88, 118, 0.08);
    border-radius: 22px;
    padding: 32px 28px 30px;
    box-shadow:
        0 4px 8px rgba(51, 88, 118, 0.04),
        0 18px 40px rgba(51, 88, 118, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}

.why-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #7fb0d6);
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.why-feature-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 88, 118, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.4s ease;
}

.why-feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(51, 88, 118, 0.16);
    box-shadow:
        0 10px 20px rgba(51, 88, 118, 0.08),
        0 28px 56px rgba(51, 88, 118, 0.14);
}

.why-feature-card:hover::after {
    transform: scale(1.2);
}

.why-feature-index {
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(51, 88, 118, 0.2);
    letter-spacing: 0.06em;
}

.why-feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(51, 88, 118, 0.12), rgba(127, 176, 214, 0.22));
    color: var(--primary);
    border-radius: 18px;
    font-size: 26px;
    margin-bottom: 22px;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.why-feature-card:hover .why-feature-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--primary), #5a8aab);
    color: white;
}

.why-feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.why-feature-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text);
    margin: 0;
}

.why-feature-card:nth-child(2) .why-feature-icon {
    background: linear-gradient(135deg, rgba(45, 90, 123, 0.14), rgba(107, 159, 196, 0.24));
}

.why-feature-card:nth-child(3) .why-feature-icon {
    background: linear-gradient(135deg, rgba(61, 109, 143, 0.14), rgba(138, 185, 221, 0.24));
}

.why-feature-card:nth-child(4) .why-feature-icon {
    background: linear-gradient(135deg, rgba(51, 88, 118, 0.1), rgba(168, 201, 224, 0.26));
}

.why-feature-card:nth-child(5) .why-feature-icon {
    background: linear-gradient(135deg, rgba(40, 78, 108, 0.14), rgba(127, 176, 214, 0.22));
}

.why-feature-card:nth-child(6) .why-feature-icon {
    background: linear-gradient(135deg, rgba(51, 88, 118, 0.12), rgba(90, 138, 171, 0.24));
}

@media (max-width: 992px) {
    .why-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 576px) {
    .why-features-grid {
        grid-template-columns: 1fr;
    }

    .why-feature-card {
        padding: 28px 24px;
    }
}

/* —— Testimonials —— */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #f8fbfe 0%, #eef4fa 45%, #f5f9fd 100%);
}

.testimonials-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0);
}

.testimonials-bg-shape.shape-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(51, 88, 118, 0.12) 0%, transparent 70%);
}

.testimonials-bg-shape.shape-2 {
    width: 320px;
    height: 320px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, rgba(127, 176, 214, 0.2) 0%, transparent 70%);
}

.testimonials-header {
    margin-bottom: 50px;
}

.testimonials-badge {
    display: inline-block;
    background: rgba(51, 88, 118, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.testimonial-slider-shell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-slider-viewport {
    overflow: hidden;
    width: 100%;
    flex: 1;
    min-width: 0;
    --per-slide: 3;
    --card-width: 33.333%;
}

.testimonial-slider-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-slider .testimonial-card {
    flex: 0 0 var(--card-width);
    width: var(--card-width);
    max-width: var(--card-width);
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    padding: 0 10px;
}

.testimonial-card-inner {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 28px 22px 24px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.testimonial-card-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #7fb0d6, #a8c9e0);
}

.testimonial-slider .testimonial-card:hover .testimonial-card-inner {
    transform: translateY(-8px);
}

.testimonial-quote-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(51, 88, 118, 0.14), rgba(127, 176, 214, 0.2));
    color: var(--primary);
    border-radius: 14px;
    font-size: 18px;
    margin-bottom: 18px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: #e8a317;
    font-size: 14px;
}

.testimonial-text {
    flex: 1;
    margin: 0 0 24px;
    padding: 0;
    border: none;
    color: var(--text);
    font-size: 14px;
    line-height: 1.75;
    font-style: normal;
    position: relative;
    overflow-wrap: anywhere;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(51, 88, 118, 0.08);
    margin-top: auto;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--primary), #5a8aab);
    box-shadow: 0 6px 16px rgba(51, 88, 118, 0.25);
    border: 3px solid white;
}

.testimonial-card:nth-child(2) .testimonial-avatar {
    background: linear-gradient(135deg, #2d5a7b, #6b9fc4);
}

.testimonial-card:nth-child(3) .testimonial-avatar {
    background: linear-gradient(135deg, #3d6d8f, #8ab9dd);
}

.testimonial-author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary);
}

.testimonial-author-info span {
    display: block;
    font-size: 13px;
    color: var(--text);
    font-weight: 400;
}

.testimonial-slider-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(51, 88, 118, 0.12);
    border-radius: 50%;
    background: white;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(51, 88, 118, 0.12);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(51, 88, 118, 0.22);
}

.testimonial-slider-btn[hidden] {
    display: none !important;
}

.testimonial-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

.testimonial-slider-controls[hidden] {
    display: none !important;
}

.testimonial-slider-dots {
    display: flex;
    gap: 10px;
}

.testimonial-slider-dot {
    width: 32px;
    height: 6px;
    border: none;
    border-radius: 6px;
    background: rgba(51, 88, 118, 0.2);
    cursor: pointer;
    padding: 0;
    transition: width 0.35s ease, background 0.35s ease;
}

.testimonial-slider-dot.active {
    width: 48px;
    background: var(--primary);
}

.testimonials-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-top: 48px;
    padding: 28px 36px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(51, 88, 118, 0.08);
    border: 1px solid rgba(51, 88, 118, 0.06);
}

.trust-stat {
    text-align: center;
    min-width: 140px;
}

.trust-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

.trust-stat span {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(51, 88, 118, 0.2), transparent);
}

.client-img,
.team-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8ab9dd);
    margin-bottom: 20px;
}

.cta-banner {
    padding: 50px 0;
    background: var(--primary);
    color: white;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer {
    background: #0d1b2a;
    color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 50px 0;
}

.footer h3,
.footer h4 {
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px;
}

.page-banner {
    padding: 90px 0 50px;
    text-align: center;
    background: linear-gradient(to right, #eef4fb, #ffffff);
}

.page-banner h1 {
    font-size: 54px;
    margin-bottom: 20px;
}

.timeline {
    border-left: 3px solid var(--primary);
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    left: -40px;
    top: 5px;
}

/* Services Showcase */
.services-showcase-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.service-pro-card {
    flex: 1 1 240px;
    max-width: 380px;
    background: white;
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-pro-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(51, 88, 118, 0.12);
    border-color: rgba(51, 88, 118, 0.08);
}

.service-pro-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #7fb0d6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-pro-card:hover::before {
    opacity: 1;
}

.service-pro-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 88, 118, 0.12);
    color: var(--primary);
    border-radius: 20px;
    font-size: 28px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-pro-card:hover .service-pro-icon {
    background: linear-gradient(135deg, var(--primary), #5a8aab);
    color: white;
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 10px 20px rgba(51, 88, 118, 0.2);
}

.service-pro-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-pro-card p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-pro-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.service-pro-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text);
}

.service-pro-features li i {
    color: var(--primary);
    font-size: 12px;
}

.service-pro-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.service-pro-link:hover {
    gap: 12px;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1 1 160px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px 15px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
}

.process-arrow {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 20px;
    opacity: 0.4;
}

@media (max-width: 992px) {
    .process-arrow {
        display: none;
    }
}

.process-step:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 12px;
    box-shadow: 0 8px 16px rgba(51, 88, 118, 0.2);
}

.process-step h4 {
    margin-bottom: 6px;
    font-size: 16px;
}

.process-step p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

/* Tech Stack Marquee */
.tech-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-top: 40px;
    padding: 10px 0;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.tech-marquee-content {
    display: inline-flex;
    gap: 20px;
    animation: scrollMarquee 30s linear infinite;
}

.tech-marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

.tech-item {
    background: white;
    border: 1px solid rgba(51, 88, 118, 0.08);
    border-radius: 16px;
    padding: 25px 35px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(51, 88, 118, 0.2);
    box-shadow: 0 10px 20px rgba(51, 88, 118, 0.08);
}

.tech-item i {
    font-size: 36px;
    color: var(--primary);
}

.tech-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    text-align: center;
}

/* Premium Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary), #1a324a);
    border-radius: var(--radius);
    padding: 50px 40px;
    color: white;
    box-shadow: 0 20px 40px rgba(51, 88, 118, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-card-header h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: white;
}

.contact-card-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.contact-method-item:hover {
    transform: translateX(5px);
}

.cm-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.contact-method-item:hover .cm-icon {
    background: white;
    color: var(--primary);
}

.cm-details {
    display: flex;
    flex-direction: column;
}

.cm-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.cm-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-social-footer {
    display: flex;
    gap: 15px;
    margin-top: 50px;
}

.contact-social-footer a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-footer a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Enhanced Contact Form */
.form-header h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-header p {
    color: var(--text);
    margin-bottom: 30px;
    font-size: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.radio-group {
    margin-bottom: 25px;
}

.radio-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--dark);
    font-size: 15px;
}

.radio-options {
    display: flex;
    gap: 30px;
}

.custom-radio {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text);
    display: flex;
    align-items: center;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
    padding: 0;
}

.radio-mark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #d8dee5;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.custom-radio:hover input~.radio-mark {
    border-color: var(--primary);
}

.custom-radio input:checked~.radio-mark {
    border-color: var(--primary);
    border-width: 6px;
}

/* Custom Dropdown */
.hidden-select {
    display: none;
}

.custom-dropdown {
    position: relative;
    width: 100%;
    outline: none;
}

.custom-dropdown-selected {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #d8dee5;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: 0.3s ease;
    font-size: 15px;
    box-sizing: border-box;
}

.custom-dropdown-selected.has-value {
    color: var(--dark);
}

.custom-dropdown:focus .custom-dropdown-selected,
.custom-dropdown.active .custom-dropdown-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(51, 88, 118, 0.1);
}

.custom-dropdown.active .custom-dropdown-selected i {
    transform: rotate(180deg);
}

.custom-dropdown-selected i {
    transition: transform 0.3s ease;
    color: var(--text);
}

.custom-dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(51, 88, 118, 0.15);
    border: 1px solid #d8dee5;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 250px;
    overflow-y: auto;
}

.custom-dropdown.active .custom-dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-options li {
    padding: 12px 20px;
    cursor: pointer;
    color: var(--dark);
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-dropdown-options li:hover {
    background: rgba(51, 88, 118, 0.08);
    color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 18px;
}

.form-group {
    margin-bottom: 20px;
}

input:not([type="radio"]),
textarea,
select {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #d8dee5;
    outline: none;
    font-family: inherit;
    transition: 0.3s ease;
    box-sizing: border-box;
}

input:not([type="radio"]):focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(51, 88, 118, 0.1);
}

.loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #dce7f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #4f7fa5;
    top: -80px;
    left: -60px;
}

.shape-2 {
    width: 260px;
    height: 260px;
    background: #7aa9cc;
    right: -40px;
    top: 100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #335876;
    bottom: -80px;
    left: 50%;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {

    .hero-content,
    .product-grid,
    .team-grid,
    .mission-grid,
    .contact-grid,
    .about-grid,
    .cta-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 38.4px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-float-card--stats {
        left: 12px;
        bottom: 16px;
    }

    .hero-float-card--rating {
        right: 12px;
        top: 16px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: 5%;
        background: white;
        width: 260px;
        flex-direction: column;
        padding: 30px;
        border-radius: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    /* Adjust showcase grid for smaller screens if needed */
    .services-showcase-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-pro-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .section {
        padding: 45px 0;
    }

    .page-banner {
        padding: 80px 0 40px;
    }

    .hero {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .hero-float-card {
        padding: 12px 16px;
    }

    .hero-float-card strong {
        font-size: 18px;
    }

    .hero-float-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .section-title h2,
    .page-banner h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .testimonial-slider-shell {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-slider-btn--side {
        display: none !important;
    }

    .testimonial-slider .testimonial-card {
        padding: 0 8px;
    }

    .testimonial-card-inner {
        padding: 26px 22px 22px;
    }

    .testimonials-trust {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .trust-divider {
        width: 60px;
        height: 1px;
    }

    .trust-stat strong {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}