:root {
    --primary-color: #10b981;
    /* Emerald 500 */
    --primary-light: #ecfdf5;
    --primary-dark: #065f46;
    --accent-color: #1e293b;
    /* Slate 800 */
    --text-color: #334155;
    --white: #ffffff;
    --background: #f8fafc;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s ease;
}

.logo img {
    height: 60px;
    /* Slightly larger logo */
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.1) rotate(-2deg);
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.menu-toggle {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-login:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero {
    padding: 120px 10%;
    text-align: center;
    background: radial-gradient(circle at top right, var(--primary-light), transparent),
        radial-gradient(circle at bottom left, #f1f5f9, transparent);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2px;
    animation: revealIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero p {
    font-size: 1.3rem;
    color: #475569;
    max-width: 700px;
    margin-bottom: 50px;
    animation: fadeInUp 1.2s ease;
}

.btn-get-started {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite, fadeInUp 1.4s ease;
}

.btn-get-started:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
}

/* Team Section */
.team {
    padding: 100px 10%;
    text-align: center;
    background-color: var(--white);
}

.team h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--accent-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.team h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--background);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-15px) rotate(1deg);
    border-color: var(--primary-color);
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 8px solid var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover .profile-pic {
    border-color: var(--primary-light);
    transform: scale(1.1);
}

.team-card h3 {
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.team-card p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* Comments Section */
.comments {
    padding: 100px 10%;
    background: linear-gradient(to bottom, #ffffff, var(--primary-light));
    text-align: center;
}

.comments h2 {
    font-size: 3rem;
    margin-bottom: 80px;
    /* Increased gap */
    color: var(--accent-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.comments h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

.mobile-break {
    display: none;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.testimonial-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    margin-bottom: 20px;
    border: 3px solid var(--primary-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-name {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

.comment-container {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-text {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
}

.cta-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-text p {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.cta-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cta-text .thank-you {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 80px 10% 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 10px 35px rgba(16, 185, 129, 0.7);
    }

    100% {
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    }
}

@keyframes revealIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 5%;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--accent-color);
        border-radius: 3px;
        transition: var(--transition);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 50px 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex !important;
        /* Force flex for mobile */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 12px;
        letter-spacing: 0.5px;
    }

    .btn-login {
        display: inline-block;
        margin-top: 5px;
        padding: 10px 25px !important;
        font-size: 1rem !important;
    }

    .hero {
        padding: 60px 5%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Much smaller for mobile (1-2 lines) */
        letter-spacing: -1px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .team-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team h2,
    .comments h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .team {
        padding: 60px 5%;
    }

    .mobile-break {
        display: inline;
    }
}


.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}

/* Showcase Sections */
.showcase-section {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 80px;
    background-color: var(--white);
    overflow: hidden;
}

.showcase-section.alternate {
    flex-direction: row-reverse;
    background-color: var(--background);
}

.showcase-content {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.alternate .showcase-content {
    transform: translateX(50px);
}

.showcase-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.showcase-label {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.showcase-title {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.showcase-desc {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 35px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.feature-text p {
    font-size: 0.95rem;
    color: #64748b;
}

.showcase-visual {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition);
}

.showcase-visual.visible {
    opacity: 1;
    transform: scale(1);
}

.visual-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 40px;
    position: relative;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    border: 10px solid var(--white);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.badge-1 {
    top: -20px;
    right: -20px;
}

.badge-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

.badge-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.badge-text span {
    display: block;
    font-weight: 800;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.badge-text small {
    color: #64748b;
    font-weight: 500;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 968px) {

    .showcase-section,
    .showcase-section.alternate {
        flex-direction: column;
        padding: 80px 5%;
        text-align: center;
        gap: 50px;
    }

    .showcase-title {
        font-size: 2.2rem;
    }

    .feature-item {
        text-align: left;
    }

    .visual-box {
        max-width: 400px;
        margin: 0 auto;
    }
}