/* 
* Apptrolls - App Promotion Services
* Custom CSS Styles - Responsive Enhancement
*/

/* Global Styles */
:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --dark-color: #2e384d;
    --light-color: #f8f9fc;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
    --success-color: #1cc88a;
    --border-radius: 10px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #2e59d9;
    text-decoration: none;
}

.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2e59d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 89, 217, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 89, 217, 0.3);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Enhanced Header & Navigation */
.navbar {
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    color: var(--dark-color);
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after, 
.navbar-nav .nav-link.active:after {
    width: 70%;
}

.navbar .btn {
    margin-left: 10px;
}

/* Enhanced Hero Section */
.hero-section {
    padding: 9rem 0 6rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

/* .hero-section img {
    animation: float 6s ease-in-out infinite;
} */

.hero-section .img-fluid {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Enhanced Services Section */
.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0,0,0,0);
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: #6c757d;
}

.service-card .list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.service-card .list-unstyled li:last-child {
    border-bottom: none;
}

/* Enhanced Packages Section */
.package-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.package-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package-header:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255,255,255,0.3), transparent);
    transform: rotate(30deg);
    opacity: 0;
    transition: var(--transition);
}

.package-card:hover .package-header:before {
    opacity: 1;
}

.package-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.package-type {
    font-size: 0.9rem;
    padding: 3px 10px;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.2);
    display: inline-block;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 5px;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.package-features {
    padding: 2rem 1.5rem;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.features-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.features-list li i {
    color: var(--success-color);
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.package-footer {
    padding: 1.5rem;
    text-align: center;
    background-color: #f8f9fc;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.package-footer .btn {
    padding: 0.7rem 2rem;
    font-weight: 600;
}

/* Enhanced How It Works Section */
.step-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.step-card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    top: 0;
    left: 0;
    z-index: -1;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-card:hover:before {
    height: 100%;
    opacity: 0.05;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #2e59d9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(46, 89, 217, 0.3);
    transition: var(--transition);
}

.step-card:hover .step-number {
    transform: scale(1.1);
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Enhanced Testimonials Section */
.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(78, 115, 223, 0.1);
    line-height: 1;
}

.rating {
    color: var(--warning-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.rating i {
    margin: 0 2px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #6c757d;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.client-info p {
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Enhanced FAQ Section */
.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background-color: white !important;
    color: var(--dark-color) !important;
    font-weight: bold;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: rgba(78, 115, 223, 0.05) !important;
    box-shadow: none !important;
    font-weight: bold;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(78, 115, 223, 0.5) !important;
    font-weight: bold;
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
}

/* Enhanced Contact Section */
.contact-info {
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-list li i {
    margin-right: 1rem;
    width: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.contact-form textarea {
    min-height: 150px;
}

.contact-form .btn {
    padding: 0.8rem 2.5rem;
}

/* Enhanced Footer */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
}

.footer h2, .footer h3, .footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-size: 1.25rem;
}

.footer h2:after, .footer h3:after, .footer h5:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 12px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-links li a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links li a:hover:before {
    margin-right: 15px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-bottom-links li {
    margin-left: 20px;
}

.footer-bottom-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links li a:hover {
    color: #fff;
}

/* Enhanced Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, #4e73df 0%, #2e59d9 100%);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.stat-item i {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    margin: 0;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* WhatsApp Support Button */
.whatsapp-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    transition: var(--transition);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Improve Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    html {
        font-size: 95%;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section img {
        margin-top: 3rem;
        max-height: 400px;
    }
    
    .step-card, .service-card, .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-form {
        margin-top: 2rem;
    }
    
    .navbar .btn {
        margin: 10px 0 0;
        display: block;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 90%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    .footer-bottom-text, .footer-bottom-links {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    
    .footer-bottom-links li {
        margin: 0 10px 10px;
    }
    
    .testimonial-card, .service-card, .package-card, .step-card {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 85%;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-section .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card, .service-card, .package-card, .step-card {
        padding: 1.5rem;
    }
    
    .badge {
        display: inline-block;
        margin-bottom: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
} 
