/* Base Styles */
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --dark-bg: #ffffff;
    --dark2-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-gray: #4b5563;
    --text-light-gray: #6b7280;
    --featured-card: rgba(220, 38, 38, 0.15);
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-blue-dark);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand .logo {
    height: 40px;
    transition: transform 0.3s;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero & About Section */
.hero-about {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.hero-about .tagline {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-about h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-about .about-content p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.ratings {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.rating-item i {
    color: #f59e0b;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.form-control, .form-select {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light-gray);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
   padding: 0.5rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Services Section */
#services {
    position: relative;
    overflow: hidden;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-red));
    transition: height 0.3s;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-icon img {
    max-height: 60px;
    transition: transform 0.3s;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.service-card h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card ul li {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card ul li i {
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 0.25rem;
    font-size: 0.9rem;
}

/* Subscription Cards */
.subscription-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.subscription-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.subscription-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.subscription-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.price-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    font-weight: 600;
}

.subscription-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subscription-card ul li {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.sub-features {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.sub-features li {
    font-weight: normal;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1rem;
}

.sub-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.saas-list li {
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.saas-list li i {
    color: var(--primary-blue);
    margin-right: 0.8rem;
    font-size: 1rem;
    min-width: 20px;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(220, 38, 38, 0.03) 100%);
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-red));
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    display: inline-block;
}

footer ul li a:hover {
    color: white;
    transform: translateX(5px);
}

footer ul li i {
    margin-right: 0.8rem;
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    font-size: 1rem;
}

.social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .hero-about h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .hero-about {
        padding: 3rem 0;
    }
    
    .hero-about h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-about {
        text-align: center;
    }
    
    .hero-about h1 {
        font-size: 1.8rem;
    }
    
    .hero-about .tagline {
        font-size: 1.2rem;
    }
    
    .ratings {
        justify-content: center;
    }
    
    .service-card, .subscription-card {
        margin-bottom: 1.5rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-about h1 {
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn {
        width: 100%;
    }
}