/* Root Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        box-shadow: var(--shadow-md);
        padding: 0.5rem 0;
    }

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

    .navbar-brand i {
        font-size: 1.8rem;
    }

.brand-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 80%;
    }

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
}

    .btn-contact::after {
        display: none;
    }

    .btn-contact:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

    .floating-icon:nth-child(2) {
        animation-delay: 1s;
    }

    .floating-icon:nth-child(3) {
        animation-delay: 2s;
    }

    .floating-icon:nth-child(4) {
        animation-delay: 3s;
    }

    .floating-icon:nth-child(5) {
        animation-delay: 4s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

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

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

.badge-custom {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: slideInLeft 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: var(--text-dark);
    animation: slideInLeft 0.8s ease 0.2s backwards;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease 0.4s backwards;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease 0.6s backwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

    .feature-item i {
        color: var(--success-color);
        font-size: 1.2rem;
    }

/* Signup Form */
.signup-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    animation: slideInRight 0.8s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .signup-form-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    }

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .form-header h3 {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    .form-header p {
        color: var(--text-light);
        font-size: 0.95rem;
    }

.form-group-custom {
    position: relative;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

    .form-label i {
        color: var(--primary-color);
    }

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        outline: none;
    }

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

    .btn-submit i {
        transition: transform 0.3s ease;
    }

    .btn-submit:hover i {
        transform: translateX(5px);
    }

.form-footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Simple Testimonials Section (Original) */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-color);
    }

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .testimonial-author img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--primary-color);
    }

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Enhanced Testimonials Section */
.testimonials-enhanced-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonials-header {
    padding-right: 2rem;
}

    .testimonials-header .section-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    .testimonials-header .section-description {
        font-size: 0.95rem;
        color: var(--text-light);
        line-height: 1.7;
        margin-bottom: 2rem;
    }

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-order {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    max-width: 180px;
}

    .btn-order:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        color: var(--white);
    }

.btn-call,
.btn-chat {
    background: var(--white);
    border: 2px solid #e5e7eb;
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 260px;
}

    .btn-call:hover,
    .btn-chat:hover {
        border-color: var(--primary-color);
        transform: translateX(5px);
        color: var(--text-dark);
    }

    .btn-call i,
    .btn-chat i {
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    .btn-call strong,
    .btn-chat strong {
        color: var(--primary-color);
    }

/* Testimonial Carousel */
.testimonial-carousel-wrapper {
    position: relative;
}

.testimonial-card-enhanced {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1.5rem;
    position: relative;
    color: var(--white);
}

.customer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.customer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

    .customer-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Avatar Circle Styles */
.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.avatar-circle-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.customer-rating h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.testimonial-content .stars {
    color: #fbbf24;
    font-size: 0.95rem;
}

.customer-review {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.customer-id {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.quote-icon {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
}

/* Writer Info Card */
.writer-info-card {
    padding: 1.5rem;
    background: var(--white);
}

.writer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.writer-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat-item {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;
}

.writer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-writer-call {
    background: #1f2937;
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    min-width: 160px;
    line-height: 1.3;
}

    .btn-writer-call:hover {
        background: #374151;
        transform: translateY(-2px);
        color: var(--white);
    }

.btn-hire {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

    .btn-hire:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        color: var(--white);
    }

.btn-check-reviews {
    background: #374151;
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

    .btn-check-reviews:hover {
        background: #1f2937;
        transform: translateY(-2px);
        color: var(--white);
    }

/* Carousel Indicators */
.carousel-indicators {
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 0;
    bottom: auto;
}

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #cbd5e1;
        border: none;
        opacity: 1;
        margin: 0 4px;
        transition: all 0.3s ease;
    }

        .carousel-indicators button.active {
            background-color: var(--primary-color);
            width: 24px;
            border-radius: 5px;
        }

/* Carousel Animation */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Responsive */
@media (max-width: 991px) {
    .testimonials-header {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .btn-order,
    .btn-call,
    .btn-chat {
        max-width: 100%;
    }

    .testimonial-card-enhanced {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .testimonials-header .section-title {
        font-size: 1.8rem;
    }

    .writer-stats {
        grid-template-columns: 1fr;
    }

    .writer-actions {
        flex-direction: column;
    }

    .btn-writer-call {
        min-width: 100%;
    }

    .testimonial-content {
        padding: 1.25rem;
    }

    .customer-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .image-badge i {
        font-size: 2rem;
        color: var(--primary-color);
    }

    .image-badge h4 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0;
    }

    .image-badge p {
        font-size: 0.875rem;
        color: var(--text-light);
        margin: 0;
    }

.about-content {
    padding-left: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
}

    .about-feature-item:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-md);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .feature-icon i {
        font-size: 1.5rem;
        color: var(--white);
    }

.feature-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

    .footer-logo i {
        color: var(--primary-color);
        font-size: 1.8rem;
    }

.footer-description {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact li {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

    .footer-links a:hover {
        color: var(--primary-color);
        padding-left: 5px;
    }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer-bottom p,
    .footer-bottom a {
        color: #94a3b8;
        margin: 0;
    }

    .footer-bottom a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-bottom a:hover {
            color: var(--primary-color);
        }

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
