/*
Theme Name: My Theme
Author: Tanvir
Version: 1.0
Description: Custom WordPress Theme
*/


/* ==================== Variables ==================== */
:root {
    --primary-color: #7c5cfa;
    --primary-dark: #5f3ed1;
    --primary-light: #a58bff;
    --secondary-color: #906bff;
    --accent-color: #e7e0ff;
    --dark-color: #1F2937;
    --text-color: #374151;
    --text-light: #6B7280;
    --light-bg: #F5F0FF;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ==================== Reset ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== Utilities ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    background: #E9E8FF;
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== Navigation ==================== */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.28s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.btn::after {
    display: none;
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 60%;
    height: 220%;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%) skewX(-30deg);
    opacity: 0;
    transition: left 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

.nav-btn:hover::before {
    left: 120%;
    opacity: 1;
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Smaller nav CTA specifically for the top navigation bar */
.nav-links .nav-btn {
    padding: 0.60rem 1rem;
    font-size: 0.9rem;
    min-width: auto;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

.nav-btn-clr a{
  color: white;
}

.nav-btn-clr a:hover{
  color: white;
  background-color: var(--primary-color);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==================== Hero Section ==================== */
.hero {
    background: var(--accent-color);
    padding: 120px 2rem 80px;
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(124,92,250,0.12);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.975rem;
    margin-bottom: 0.6rem;
}
.hero-tagline i { color: var(--primary-color); font-size: 1rem; }

@media (max-width: 768px) {
    .hero-tagline { font-size: 0.9rem; padding: 0.28rem 0.6rem; }
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
    border: none;
    cursor: pointer;
}

.btn::before,
.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 60%;
    height: 220%;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%) skewX(-30deg);
    opacity: 0;
    transition: left 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

.btn:hover::before,
.nav-btn:hover::before {
    left: 120%;
    opacity: 1;
}

..btn:hover,
.nav-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 30px rgba(191, 188, 252, 0.16);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

.hero-badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.badge i {
    color: var(--primary-color);
}

.hero-image {
    position: relative;
    overflow: visible;
}
.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.hero-image {
    overflow: visible;
}
.hero-popup {
    position: absolute;
    width: 160px;
    padding: 0.35rem 0.7rem; /* reduced vertical padding for smaller height */
    border-radius: 12px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transform: translateY(6px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    color: var(--dark-color);
    border: 1px solid rgba(191, 188, 252, 0.18);
}
.hero-popup strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.82rem;
    color: var(--primary-color);
}
.hero-popup p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--text-light);
}
.hero-popup-top-left {
    top: 8%;
    left: -8%;
}
.hero-popup-bottom-right {
    bottom: 4%;
    right: -6%;
}

@media (max-width: 768px) {
    .hero-popup {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-popup {
        display: none !important;
    }
}
.hero-image:hover .hero-popup,
.hero-popup.incoming {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-popup.exiting {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.hero-popup.active {
    pointer-events: auto;
}

/* popup variant animations */
.hero-popup.incoming-fade {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-popup.exiting-fade {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

@keyframes popupPop {
    0% { opacity: 0; transform: translateY(12px) scale(0.86); }
    60% { transform: translateY(-6px) scale(1.06); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
.hero-popup.incoming-pop {
        opacity: 1;
        transform: translateY(0) scale(1);
        animation: popupPop 900ms cubic-bezier(.2,.9,.2,1) both;
}
.hero-popup.exiting-pop {
        opacity: 0;
        transform: translateY(22px) scale(0.92);
        transition: opacity 0.9s ease, transform 0.9s ease;
}

/* ==================== Trusted By ==================== */
.trusted-by {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.trusted-title {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 600;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    min-width: 90px;
}

.company-item span {
    font-size: 0.95rem;
    color: var(--text-light);
}

.company-logo {
    font-size: 3rem;
    color: var(--text-light);
    transition: all 0.3s;
    opacity: 0.6;
}

.company-logo:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
}

/* ==================== About ==================== */
.about {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

/* ==================== Features ==================== */
.features {
    padding: 5rem 2rem;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== Why Choose Us ==================== */
.why-choose {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s;
}

.why-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.why-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.why-item span {
    font-weight: 500;
    color: var(--text-color);
}

/* ==================== Statistics ==================== */
.statistics {
    padding: 5rem 2rem;
    background: var(--primary-color);
    color: var(--white);
}

.statistics .section-header h2 {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}


.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.testimonial-controls button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(191, 188, 252, 0.5);
    background: transparent;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.testimonial-controls button.active,
.testimonial-controls button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* ==================== Workflow ==================== */
.workflow {
    padding: 5rem 2rem;
    background: var(--white);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.workflow-step {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.workflow-step i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.workflow-step h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.workflow-step p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ==================== Benefits ==================== */
.benefits {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--text-light);
}

/* ==================== Employee Service ==================== */
.employee-service {
    padding: 5rem 2rem;
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: var(--light-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.service-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.service-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-item:hover i {
    color: var(--white);
}

.service-item h4 {
    font-size: 1rem;
    font-weight: 600;
}

/* ==================== Testimonials ==================== */
.testimonials {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Carousel mode: stack cards and show one at a time when JS enables rotation */
.testimonials-grid.carousel {
    position: relative;
    display: block;
    min-height: 220px; /* reserve space for cards */
}
.testimonials-grid.carousel .testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-info h4 {
    color: var(--dark-color);
    font-size: 1rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
    font-style: normal;
}

/* ==================== Pricing ==================== */
.pricing {
    padding: 5rem 2rem;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
    color: var(--text-color);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.period {
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==================== FAQ ==================== */
.faq {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==================== CTA ==================== */
.cta {
    padding: 5rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta .btn-secondary {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ==================== Footer ==================== */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ==================== Back to Top ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        padding: 80px 1.5rem 60px;
        margin-top: 55px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .company-logos {
        gap: 1.5rem;
    }

    .company-item {
        min-width: 70px;
        gap: 0.25rem;
    }

    .company-item span {
        font-size: 0.85rem;
    }

    .company-logo {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .company-logos {
        gap: 1rem;
    }

    .company-item span {
        font-size: 0.8rem;
    }

    .company-logo {
        font-size: 1.7rem;
    }
}

/* ==================== Animations ==================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.animate {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.animate.in-view {
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 0.6s ease-out both;
}

.company-logo.animate.in-view {
    animation: fadeUp 0.6s ease-out both, floaty 4s ease-in-out infinite;
}

.badge { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.badge:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow); }

/* button micro interactions */
.btn, .nav-btn { transition: transform 0.28s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease; }
.btn:hover, .nav-btn:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 20px 40px rgba(191, 188, 252, 0.18); }
.btn:active, .nav-btn:active { transform: translateY(1px) scale(0.995); }

.btn-secondary:hover { box-shadow: 0 18px 32px rgba(191, 188, 252, 0.15); }

/* ==================== Mobile button sizing adjustments ==================== */
@media (max-width: 768px) {
    .hero-buttons { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-start; align-items: center; }
    .cta-buttons { flex-direction: row; gap: 0.5rem; justify-content: center; }
    .hero-buttons .btn, .cta-buttons .btn { padding: 0.5rem 0.9rem; font-size: 0.9rem; border-radius: 999px; }
    .nav-btn { padding: 0.45rem 0.9rem; border-radius: 999px; }
}

@media (max-width: 480px) {
    .hero-buttons { gap: 0.6rem; }
    .hero-buttons .btn, .cta-buttons .btn { padding: 0.45rem 0.8rem; font-size: 0.85rem; }
}

/* ==================== New Enhancements ==================== */
/* Typed subtitle */
.typed-text {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.60rem;
    font-size: 1.05rem;
}
.typed-text::after {
    content: "|";
    display: inline-block;
    margin-left: 6px;
    opacity: 0.8;
    animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0 } }

/* CTA pulse on primary buttons */
.btn-primary.pulse {
    animation: pulse 2.2s infinite ease-in-out;
}
@keyframes pulse {
    0% { box-shadow: 0 6px 18px rgba(16,185,129,0.12); transform: translateY(0); }
    50% { box-shadow: 0 18px 40px rgba(16,185,129,0.08); transform: translateY(-3px); }
    100% { box-shadow: 0 6px 18px rgba(16,185,129,0.12); transform: translateY(0); }
}

/* Testimonials carousel visibility */
.testimonial-card { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.testimonial-card.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* feature-card default to allow JS-stagger */
.feature-card { transition: transform 0.5s cubic-bezier(.2,.9,.2,1), box-shadow 0.5s, opacity 0.5s; opacity: 0; }
.feature-card.in-view { opacity: 1; }

/* ==================== Hero image subtle movement ==================== */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.logo i {
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.hero-image img {
  will-change: transform;
  transition: transform 0.45s ease, box-shadow 0.35s ease;
}

.hero-image.in-view .hero-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-popup-top-left { transition-delay: 140ms; }
.hero-popup-bottom-right { transition-delay: 260ms; }

.hero-image img.in-view {
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-image img:hover {
  transform: scale(1.03) rotate(-0.4deg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}


  