/* ================================================= */
/* --- GENERAL & VARIABLES --- */
/* ================================================= */
:root {
    --primary-color: #007BFF;
    --primary-hover: #0056b3;
    --secondary-color: #f0f7ff;
    --text-color: #333;
    --bg-color: #fff;
    --dark-bg: #111; /* Changed for new footer */
    --light-gray: #f8f9fa; /* For alternating sections */
    --section-padding: 80px 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text-color); background-color: var(--bg-color); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h2 { text-align: center; font-size: 2.2rem; margin-bottom: 50px; font-weight: 600; }

/* ================================================= */
/* --- HEADER & NAVIGATION --- */
/* ================================================= */
header { background-color: var(--bg-color); box-shadow: 0 2px 4px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { 
    text-decoration: none; 
    display: flex; /* Helps with vertical alignment */
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust this value to fit your logo's design */
    width: auto;  /* Maintains the aspect ratio */
}
.nav-links ul { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-color); }
.auth-buttons { display: flex; gap: 10px; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* ================================================= */
/* --- BUTTONS --- */
/* ================================================= */
.btn { padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 500; transition: all 0.3s ease; display: inline-block; border: 1px solid transparent; }
.btn-primary { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--secondary-color); }

/* ================================================= */
/* --- HERO SECTION --- */
/* ================================================= */
.hero {
    background: linear-gradient(rgba(26, 32, 44, 0.7), rgba(26, 32, 44, 0.7)), url('bg-hero.jpg') no-repeat center center/cover;
    color: #fff; text-align: center; padding: 100px 0;
}
.hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 30px; }

/* ============== HERO BUTTON STYLES UPDATED ============== */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Space between the two rows of buttons */
}
.hero-auth-buttons, .hero-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
/* ========================================================= */

.btn-cta { background-color: var(--primary-color); color: #fff; padding: 15px 30px; font-size: 1.1rem; border-radius: 50px; }
.btn-cta:hover { background-color: var(--primary-hover); }
.btn-cta-outline { background-color: transparent; color: #fff; padding: 15px 30px; font-size: 1.1rem; border-radius: 50px; border: 2px solid #fff; }
.btn-cta-outline:hover { background-color: #fff; color: var(--dark-bg); }
.btn-cta i, .btn-cta-outline i { margin-right: 10px; }

/* ================================================= */
/* --- SERVICES SECTION --- */
/* ================================================= */
.services { padding: var(--section-padding); background-color: var(--light-gray); }
.service-grid {
    display: grid;
    /* This will show 3 columns on desktop, 2 on tablet, and 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card { background: var(--bg-color); padding: 30px; text-align: center; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.service-card i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: #666; }

/* =================================================================== */
/* --- REFINED STYLES (FROM 'HOW IT WORKS' DOWN) --- */
/* =================================================================== */

/* --- How It Works Section --- */
.how-it-works { padding: var(--section-padding); background-color: var(--bg-color); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; text-align: center; }
.step-card { padding: 30px; }
.step-card .step-number { width: 60px; height: 60px; background-color: var(--secondary-color); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; margin: 0 auto 20px; border: 3px solid var(--primary-color); }
.step-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step-card p { color: #666; }

/* --- About Us Section --- */
.about { padding: var(--section-padding); background: var(--light-gray); }
.about-container { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.about-image, .about-content { flex: 1; min-width: 300px; }
.about-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-content h2 { text-align: left; margin-bottom: 15px; }
.about-content h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary-color); font-weight: 600; }
.about-content p { margin-bottom: 15px; line-height: 1.8; color: #555; }

/* --- Pricing Section --- */
.pricing { padding: var(--section-padding); background-color: var(--bg-color); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: center; }
.pricing-card { border: 1px solid #eee; border-radius: 10px; padding: 40px; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.pricing-card.popular { border-color: var(--primary-color); transform: scale(1.05); box-shadow: 0 10px 40px rgba(0, 123, 255, 0.2); }
.popular-badge { position: absolute; top: 15px; right: -35px; background: var(--primary-color); color: #fff; padding: 5px 30px; font-size: 0.9rem; font-weight: 600; transform: rotate(45deg); }
.pricing-card h3 { font-size: 1.4rem; }
.pricing-card .price { font-size: 2.8rem; font-weight: 700; color: var(--primary-color); margin: 20px 0; }
.price span { font-size: 1rem; font-weight: 400; color: #777; }
.pricing-card ul { list-style: none; margin: 30px 0; }
.pricing-card li { margin-bottom: 15px; color: #555; }
.pricing-card li i { margin-right: 10px; color: var(--primary-color); }
.pricing-card li i.fa-times-circle { color: #aaa; }
.pricing-card .btn { width: 100%; }

/* --- Testimonials Section --- */
.testimonials { padding: var(--section-padding); background-color: var(--light-gray); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; }
.testimonial-card img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 20px; object-fit: cover; border: 3px solid var(--primary-color); }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 20px; line-height: 1.6; }
.testimonial-card h4 { margin-bottom: 5px; font-weight: 600; }
.testimonial-card span { color: var(--primary-color); font-size: 0.9rem; }

/* --- Contact Section --- */
.contact { padding: var(--section-padding); background-color: var(--bg-color); }
.contact > .container > p { text-align: center; margin: -40px auto 40px; max-width: 600px; color: #666; }
.contact-form { max-width: 700px; margin: 0 auto; }
.form-group { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border-radius: 5px; border: 1px solid #ddd; font-family: 'Poppins', sans-serif; font-size: 1rem; transition: border-color 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); }
.contact-form textarea { resize: vertical; margin-bottom: 20px; }
.contact-form button { width: auto; padding: 15px 40px; font-size: 1rem; display: block; margin: 0 auto; }

/* ================================================= */
/* --- NEW & IMPROVED FOOTER STYLES --- */
/* ================================================= */
footer { background-color: var(--dark-bg); color: #bbb; padding: 80px 0 20px 0; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-column .logo { font-size: 1.8rem; display: block; margin-bottom: 15px; color: #fff; }
.footer-column h3 { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 25px; position: relative; }
.footer-column h3::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; background-color: var(--primary-color); }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul a { color: #bbb; text-decoration: none; transition: all 0.3s ease; }
.footer-column ul a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-column ul i { width: 20px; margin-right: 8px; color: var(--primary-color); }
.app-buttons { display: flex; flex-direction: column; gap: 15px; margin-top: 10px; }
.app-btn { display: flex; align-items: center; background-color: #222; color: #fff; padding: 10px 15px; border-radius: 5px; text-decoration: none; border: 1px solid #444; transition: all 0.3s ease; }
.app-btn:hover { background-color: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); }
.app-btn i { font-size: 1.8rem; margin-right: 15px; }
.app-btn-text span { display: block; font-size: 0.8rem; color: #bbb; }
.app-btn-text strong { font-size: 1rem; font-weight: 500; }
.footer-bottom { border-top: 1px solid #333; padding-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #444; color: #bbb; font-size: 1rem; transition: all 0.3s ease; text-decoration: none; }
.social-icons a:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; transform: translateY(-3px); }



/* ================================================= */
/* --- NEW: DATA PRICING TABLE SECTION --- */
/* ================================================= */

.pricing-area {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.pricing-area .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-area .section-title .sp-color {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.pricing-area .section-title h2 {
    margin-bottom: 15px;
}

.pricing-area .section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.pricing-area .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.data-price-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes all cards equal height */
}

.data-price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.data-price-card img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 20px;
}

.data-price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.price-table-wrapper {
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table td {
    padding: 12px 5px;
    font-size: 0.95rem;
    color: #555;
}

.price-table td:nth-child(2) {
    font-weight: 600;
    color: var(--primary-color);
}


/* ============================================== */
/* --- RESPONSIVE FIXES FOR ALL SECTIONS --- */
/* ============================================== */
@media (max-width: 768px) {
    h2 { font-size: 1.8rem; }
    
    /* --- Mobile Navigation --- */
    .nav-links { position: absolute; top: 70px; left: 0; width: 100%; background-color: var(--bg-color); flex-direction: column; max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out; }
    .nav-links.active { max-height: 300px; border-top: 1px solid var(--light-gray); }
    .nav-links ul { flex-direction: column; width: 100%; }
    .nav-links li { margin: 0; text-align: center; }
    .nav-links li a { padding: 15px; display: block; width: 100%; border-bottom: 1px solid var(--light-gray); }
    .auth-buttons { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.2rem; }
    
    /* Reduce padding on mobile for all sections */
    .services, .how-it-works, .about, .pricing, .testimonials, .contact { padding: 60px 0; }

    /* About Us Section Mobile */
    .about-container { flex-direction: column; gap: 40px; }
    .about-content { text-align: center; }
    .about-content h2 { text-align: center; }

    /* Pricing Section Mobile */
    .pricing-card.popular { transform: scale(1); }
    .pricing-grid { gap: 40px; }

    /* Contact Form Mobile */
    .form-group { flex-direction: column; gap: 20px; }

    /* Footer Mobile */
    .footer-grid { text-align: center; }
    .footer-column h3::after { left: 50%; transform: translateX(-50%); }
    .footer-column ul { padding-left: 0; }
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
}



/* ================================================= */
/* --- STYLES FOR MORE-SERVICES.HTML PAGE --- */
/* ================================================= */

/* Simple hero section for internal pages */
.page-hero {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Make service cards that are links look consistent */
.service-link {
    text-decoration: none;
    color: inherit;
}
.service-card.modal-trigger {
    cursor: pointer;
}


/* ================================================= */
/* --- IMPROVED MODAL (POPUP) STYLES --- */
/* ================================================= */
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1001; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Allow scrolling on the modal itself if content is long */
    background-color: rgba(0,0,0,0.6); 
    
    /* New: Use Flexbox for perfect centering */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    
    /* Animation for appearing */
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


.modal-content h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px;
    line-height: 1;
    font-weight: bold;
    transition: color 0.2s ease;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Form Styles */
.service-form .form-group-modal {
    margin-bottom: 20px;
}
.service-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}
.service-form input,
.service-form textarea,
.service-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-form input:focus,
.service-form textarea:focus,
.service-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.service-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}


/* --- Example CSS for New Image Icons --- */

/* Style for icons in the service cards */
.service-card-icon {
    width: 48px;  /* Adjust size as needed */
    height: 48px; /* Adjust size as needed */
    margin-bottom: 15px;
}

/* Style for the hamburger menu icon */
.hamburger-icon {
    width: 24px;   /* Adjust size as needed */
    height: 24px;  /* Adjust size as needed */
    /* You may need to add a color filter if using SVGs and want to control their color */
    /* filter: invert(1); */
}

/* Style for icons in the footer contact list */
.footer-contact-icon {
    width: 16px;   /* Adjust size as needed */
    height: 16px;  /* Adjust size as needed */
    margin-right: 10px;
    vertical-align: middle; /* Helps align the icon with the text */
}

/* Style for the Google Play button icon */
.app-btn-icon {
    width: 24px;   /* Adjust size as needed */
    height: 24px;  /* Adjust size as needed */
    margin-right: 10px;
}

/* Style for the social media icons in the footer */
.social-icon-img {
    width: 20px;   /* Adjust size as needed */
    height: 20px;  /* Adjust size as needed */
}

/* You might need to adjust the parent containers as well. 
   For example, the list items in the footer contact info. */
.footer-column ul li {
    display: flex; /* Helps to align icon and text */
    align-items: flex-start;
    margin-bottom: 10px;
}