/* Main Styles */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.copy-btn {
    cursor: pointer;
}
.copy-btn:hover {
    background-color: #f8f9fa;
}
.copy-btn.text-success {
    color: #198754 !important;
}

.domain-prefix {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-right: none;
}

/* URL Table Styles */
.url-table td {
    vertical-align: middle;
}
.url-table .long-url {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .url-stats {
        flex-direction: column;
    }
    .url-stats > div {
        width: 100% !important;
        margin-bottom: 1rem;
    }
}


:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #334155;
    background-color: #f8fafc;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/hero-pattern.svg') center/cover no-repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Tool Cards */
.tool-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 70%;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light:hover {
    color: var(--primary-color);
    background-color: white;
}

/* Footer */
footer {
    background-color: var(--dark-color);
}

/* Footer text styling */
footer a {
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 1 !important;
    color: white !important;
    text-decoration: none;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Section Backgrounds */
.hero-section {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.bg-white {
    background-color: white;
}

.bg-light {
    background-color: #f8f9fa;
}

/*
.bg-primary {
    background-color: #6366f1;
    color: white;
}
*/

/* Section Padding */
section {
    padding: 5rem 0;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Testimonial Cards */
.testimonial-card {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-left-color: white;
}

/* Testimonials */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* CTA Section */
.bg-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
}

/* Footer */
@media (max-width: 992px) {
    footer.bg-dark:not(.d-lg-none) {
        display: none !important;
    }
    
    footer.d-lg-none {
        display: block !important;
    }
    
    .footer-spacer {
        padding: 2rem 0;
    }    

    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }    
}

/* Mobile Footer */
footer.d-lg-none {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-spacer {
    background-color: transparent;
}

    .tool-card {
        transition: all 0.3s;
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        margin: 0 10px;
    }
    .tool-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }
    .card-icon {
        font-size: 2.5rem;
        color: #0d6efd;
        margin-bottom: 1rem;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-size: 60%;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
    }
    /* Mobile specific styles */
    @media (max-width: 767.98px) {
        .carousel-control-prev,
        .carousel-control-next {
            width: 15%;
        }
        .tool-card {
            margin: 0 5px;
        }
    }

    .hero-section {
        /* Your existing hero section styles */
        padding: 4rem 0;
    }
    
    .hero-section img {
        border-radius: 1rem;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    
    .hero-section img:hover {
        transform: scale(1.02);
    }
    
    @media (max-width: 991.98px) {
        .hero-section .row {
            flex-direction: column-reverse;
        }
        .hero-section img {
            margin-bottom: 2rem;
            max-width: 100% !important;
        }
    }

