/* ==========================================
   CODNIX - Premium Digital Solutions
   Style.css - Production Ready
   ========================================== */

html {
    overflow-y: scroll;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav, #navbar {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.65rem 0; /* Reduced height */
    transition: all 0.3s ease;
    top: 0;
    left: 0;
}

nav.scrolled {
    padding: 0.4rem 0; /* Keep tighter when scrolled */
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #1de9b6 0%, #00b0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.logo-link {
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.cta-btn.btn-secondary {
    background: #6c757d;
    border: 2px solid #6c757d;
}

/* Modal Body Styles */
#modalBody ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
#modalBody li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-link {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
}

.auth-link:hover {
    background-color: #f0f2f5;
}

.nav-toggle {
    display: none; /* Hidden by default on larger screens */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    padding: 90px 2rem 30px; /* Adjusted top/bottom padding to shift title down */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 2.5rem; /* Adjusted bottom margin for better balance */
}

.hero-title {
    font-size: 2.4rem; /* Adjusted for impact and readability */
    margin-bottom: 0.75rem; /* Tighter spacing with subtitle */
    letter-spacing: 1.5px; /* Increased for a more premium feel */
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.05rem; /* Slightly adjusted for balance */
    margin-bottom: 1.8rem; /* Adjusted spacing before buttons */
    opacity: 0.95;
    max-width: 600px; /* Constrain line length for readability */
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 0.9rem 2rem; /* Adjusted button size */
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: 100px 2rem;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: left;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
}

/* Custom Service Icon Colors */
.services-grid .service-card:nth-child(1) .service-icon { color: #e74c3c; } /* Alizarin */
.services-grid .service-card:nth-child(2) .service-icon { color: #3498db; } /* Peter River */
.services-grid .service-card:nth-child(3) .service-icon { color: #9b59b6; } /* Amethyst */
.services-grid .service-card:nth-child(4) .service-icon { color: #f1c40f; } /* Sun Flower */
.services-grid .service-card:nth-child(5) .service-icon { color: #e67e22; } /* Carrot */
.services-grid .service-card:nth-child(6) .service-icon { color: #2ecc71; } /* Emerald */


.service-card:hover .service-icon {
    transform: none;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    flex-grow: 1; /* Pushes content below it to the bottom */
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.service-list li:last-child {
    border-bottom: none;
}

/* ==========================================
   PACKAGES SECTION
   ========================================== */
.packages {
    padding: 100px 2rem;
    background: white;
}

.policy-badge {
    text-align: center;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: block;
    margin: 0 auto 3rem;
    box-shadow: 0 5px 20px rgba(67, 233, 123, 0.3);
    max-width: fit-content;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.packages-grid.three-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.packages-grid.four-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem; /* Reduced gap between cards */
}
.packages-grid.five-cards {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.single-card-grid {
    grid-template-columns: 1fr;
    max-width: 450px; /* Adjust width as needed */
    margin: 0; /* Changed from auto to left-align */
}

.package-card {
    background: white;
    border: 1px solid #e2e6f0;
    border-radius: 12px;
    padding: 1.2rem; /* Further reduced padding */
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.packages-grid.four-cards .package-card {
    padding: 1.5rem;
}
.packages-grid.four-cards .package-header h3 {
    font-size: 1.1rem; /* Reduced font size for long titles */
    justify-self: start; /* Align grid items to the start */
    white-space: nowrap; /* Ensure title is on one line */
}
.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* Keeping hover simple, removing transform and shadow changes for a cleaner look */
}

.package-card.featured {
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.package-card.elite {
    box-shadow: 0 10px 40px rgba(67, 233, 123, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}

.discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.package-header h3 {
    font-size: 1.5rem; /* Adjusted font size */
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    /* Applying gradient to the title text */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.business-software-cards .package-header {
    display: block;
    text-align: left;
    margin-bottom: 0.8rem;
}

.package-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568; /* A modern, dark slate gray */
    margin-bottom: 0.5rem;
    min-height: auto;
}

.package-price {
    margin-bottom: 1rem;
    text-align: left;
}
.software-price .amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748; /* Darker charcoal color for price */
}

.currency {
    font-size: 1rem;
    vertical-align: top;
}

.amount {
    font-size: 1.8rem; /* Further reduced font size */
    font-weight: bold;
    color: #667eea;
}

.period {
    color: #999;
    font-size: 0.9rem; /* Reduced font size */
    font-weight: bold;
    color: #667eea;
}

.period {
    color: #999;
    font-size: 1rem;
    margin-left: 0.1rem;
}

.package-description {
    font-size: 0.85rem; /* Made description text smaller */
    color: #718096; /* Softer gray for description */
    margin-bottom: 0.8rem;
    min-height: 55px; /* Ensures consistent card height */
}

.package-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 1rem; /* Further reduced margin */
}

.business-software-cards .package-features .fa-check-circle {
    color: #48bb78; /* A nice green for checkmarks */
}

.package-features i {
    margin-right: 0.75rem;
    width: 20px; /* Ensures alignment */
    text-align: center;
}

.package-features li {
    padding: 0.6rem 0; /* Reduced padding for features */
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.5; /* Reverted checkmark color */
}
.packages-grid.four-cards .package-features li {
    font-size: 0.8rem; /* Made feature text smaller */
    line-height: 1.5;
}

.package-terms {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
    display: none; /* Hide terms by default */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.package-terms li {
    font-size: 0.8rem; /* Made feature text smaller */
    line-height: 1.5;
}

.package-header h3 i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Specific icon colors */
.fa-utensils { color: #f4a261; }
.fa-concierge-bell { color: #e76f51; }
.fa-plane-departure { color: #2a9d8f; }
.fa-rocket { color: #264653; }
.fa-star { color: #e9c46a; }
.fa-chart-line { color: #8ab17d; }
/* New Icons */
.fa-shopping-cart { color: #17a2b8; } /* Info Blue */
.fa-users-cog { color: #5e5ce6; } /* CRM Base */
.fa-tasks { color: #ff9f43; } /* Project Flow */
.fa-home { color: #20c997; } /* Teal */
/* More new icons */
.fa-heartbeat { color: #dc3545; } /* Red */
.fa-dumbbell { color: #343a40; } /* Dark Gray */
/* Final 4 icons */
.fa-file-invoice-dollar { color: #27ae60; } /* Finance Pro */
.fa-user-tie { color: #2980b9; } /* HR & Payroll */
.fa-truck-loading { color: #8e44ad; } /* SupplyFlow */
.fa-gavel { color: #a0522d; } /* Sienna Brown */
.fa-headset { color: #d35400; } /* Support Desk */
.fa-chart-bar { color: #ffc107; } /* Warning Yellow */
.fa-comments { color: #17a2b8; } /* Info Blue */
.fa-sync-alt { color: #fd7e14; } /* Orange */

/* Colors for "Our Packages" icons */
.fa-envelope, .fa-envelope-open-text, .fa-paper-plane { color: #007bff; }
.fa-users, .fa-users-cog, .fa-share-alt { color: #17a2b8; }
.fa-linkedin-in, .fa-linkedin { color: #0e76a8; }
.fa-flag-usa, .fa-list-alt, .fa-database { color: #dc3545; }
.fa-chart-bar, .fa-chart-pie, .fa-chart-line { color: #ffc107; }
.fa-user-check, .fa-cogs, .fa-headset { color: #6f42c1; }
.fa-search-dollar, .fa-robot, .fa-lightbulb { color: #fd7e14; }
.fa-tachometer-alt, .fa-calendar-check { color: #20c997; }
.fa-star { color: #ffc107; }
.fa-drafting-compass { color: #6c757d; }
.fa-plug { color: #343a40; }
.fa-shield-alt { color: #28a745; }

.fa-headset { color: #6610f2; } /* Indigo */
.fa-chart-bar { color: #ffc107; } /* Warning Yellow */
.fa-comments { color: #17a2b8; } /* Info Blue */
.fa-sync-alt { color: #fd7e14; } /* Orange */

/* New icons for SaaS cards */
.fa-cash-register { color: #28a745; }
.fa-boxes { color: #fd7e14; }
.fa-check-square { color: #20c997; }
.fa-user-shield { color: #6f42c1; }
.fa-dolly-flatbed { color: #6c757d; }
.fa-bullhorn { color: #c0392b; } /* Auto Marketing */
.fa-file-invoice { color: #3498db; } /* Quick Invoice */

/* New Feature Icon Colors for Business Software Cards */
.fa-funnel-dollar { color: #2a9d8f; }
.fa-stream { color: #e76f51; }
.fa-address-book { color: #f4a261; }
.fa-water { color: #264653; }
.fa-balance-scale { color: #8ab17d; }
.fa-fingerprint { color: #6d6875; }
.fa-money-check-alt { color: #b5838d; }
.fa-calendar-times { color: #e5989b; }
.fa-award { color: #ffb4a2; }
.fa-bolt { color: #ffc107; }
.fa-tags { color: #f94144; }
.fa-store-alt { color: #f3722c; }
.fa-history { color: #f8961e; }
.fa-bell { color: #f9c74f; }
.fa-warehouse { color: #90be6d; }
.fa-barcode { color: #43aa8b; }
.fa-file-alt { color: #577590; }
.fa-th-large { color: #4361ee; }
.fa-clock { color: #3a0ca3; }
.fa-paperclip { color: #7209b7; }
.fa-flag-checkered { color: #f72585; }
.fa-ticket-alt { color: #00b4d8; }

.package-btn {
    width: 100%; /* Ensures the button takes full width of its container */
    padding: 0.8rem 1rem; /* Reduced padding */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Kept the gradient */
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.package-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.package-best-for {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}
.card-buttons {
    margin-top: auto; /* Pushes buttons to the bottom */
    padding-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.details-btn {
    padding: 0.5rem 0.8rem; /* Same as demo-btn */
    font-size: 0.8rem; /* Same as demo-btn */
    border-radius: 50px;
    background: #28a745; /* Green color from demo-btn */
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.details-btn:hover {
    background: #218838; /* Hover color from demo-btn */
}

.demo-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 50px;
    background: #28a745; /* Green color for demo */
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.demo-btn:hover {
    background: #218838;
}

.order-btn {
   padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 50px;
    background-color: #007bff; /* A standard blue color */
    color: #fff; /* White text for contrast */
    border: 1px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.package-section {
    margin-bottom: 4rem;
}

/* Marketing Packages */
.marketing-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem;
    color: #333;
}

.marketing-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.marketing-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.marketing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.marketing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.marketing-price {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
}

.marketing-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
}

.marketing-card ul li {
    padding: 0.5rem 0;
    color: #555;
}

.video-card {
    border: 2px solid #e0e0e0;
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.city-tag {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */
.portfolio {
    padding: 100px 2rem;
    background: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-item:hover {
}

.portfolio-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
    transition: transform 0.4s ease; /* Add transition for the image */
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1); /* Zoom effect on hover */
}

.portfolio-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
    align-items: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1; /* Show overlay on hover */
}

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-category {
    background: white;
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================
   MARKETING SHOWCASE SECTION
   ========================================== */
.marketing-showcase {
    padding: 100px 2rem;
    background: white;
}

.marketing-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

.gallery-item-info p {
    color: #666;
    font-size: 0.95rem;
}

/* ==========================================
   IMAGE LIGHTBOX MODAL
   ========================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
}

.lightbox-image {
    width: 100%;
    height: auto;
    animation: zoomIn 0.4s;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    padding: 100px 2rem;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #333;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    padding: 100px 2rem;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Changed to two columns for desktop */
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.about-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1rem; /* Reverted font size */
    color: #667eea; /* Reverted color */
    line-height: 1.5; /* Reverted line-height */
}

.about-feature strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.about-feature p {
    margin: 0;
    font-size: 0.9rem;
}

.about-image {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-placeholder {
    background: none;
    padding: 0;
    width: 100%;
}

.about-placeholder h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.about-placeholder ul {
    list-style: none;
}

.about-placeholder li {
    padding: 0.5rem 0;
    color: #555;
    font-weight: 500;
}

/* ==========================================
   ORDER SECTION
   ========================================== */
.order-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.order-section-cta {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto 0;
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.checkbox-label:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.checkbox-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input:checked + span {
    color: inherit;
}

.checkbox-label:has(input:checked) {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
}

.deliverables-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.deliverables-info h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.deliverables-info ul {
    list-style: none;
    padding: 0;
}

.deliverables-info li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.submit-btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Smart Order Form (Multi-step) */
.order-form-main {
    overflow: hidden; /* For step transitions */
}

.form-progress-bar {
    display: flex;
    justify-content: space-between;
    margin: 2rem auto;
    position: relative;
    max-width: 60%;
}

.form-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #e0e0e0;
    z-index: -1;
}

.form-progress-bar .progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 0%; /* Controlled by JS */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
    transition: width 0.4s ease;
}

.progress-step {
    width: 20px; /* Smaller size */
    height: 20px; /* Smaller size */
    background-color: #fff;
    border: 2px solid #e0e0e0; /* Reduced border width */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #e0e0e0;
    transition: all 0.4s ease;
    position: relative;
    font-size: 0.7rem; /* Smaller font size */
}

.progress-step.active {
    border-color: #667eea;
    background-color: #667eea;
    color: white;
}

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 2px); /* Closer to the circle */
    font-size: 0.65rem; /* Smaller title */
    color: #888;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step-active {
    display: block;
}

.step-title {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
}

.package-selection-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.hidden-radio {
    display: none;
}

.package-select-button {
    display: inline-block; /* Reverted to inline-block */
    padding: 0.6rem 1.2rem; /* Adjusted padding */
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem; /* Adjusted font size */
    font-weight: 500;
    /* Removed flex properties */
    /* Removed package-title and package-price-display specific styles */
}

.package-select-button:hover {
    border-color: #667eea;
    background-color: rgba(102, 126, 234, 0.05);
}

.package-select-button.selected {
    border-color: #667eea;
    background-color: #667eea;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Removed .package-title and .package-price-display styles */

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-prev, .btn-next {
    padding: 0.8rem 2rem; /* This will be overridden by .cta-btn styles */
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: 100px 2rem;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    color: #667eea; /* Reverted color */
    width: 40px;
    text-align: center;
}

.contact-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* ==========================================
   MODAL
   ========================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
    /* Centering and scrolling */
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 20px;
    width: 100%; /* Let the container control the width */
    max-width: 500px;
    animation: slideUp 0.3s;
    position: relative;
    /* New styles for scrolling within the content */
    max-height: 95vh; /* Max height relative to viewport */
    overflow-y: auto;
}
.modal-content.large {
    max-width: 800px;
}


.close {
    color: #aaa;
    position: absolute; /* Changed to absolute */
    top: 15px; /* Positioned from top */
    right: 15px; /* Positioned from right */
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10; /* Ensure it's above other elements */
}

.modal-main-title {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.order-package-title-display {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.25rem;
    font-weight: 500;
    min-height: 1.2em; /* Reserve space to prevent layout shift */
}

.auth-modal-content h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #222;
}

.close:hover {
    color: #333;
}

/* ==========================================
   AUTH MODAL (Login/Register)
   ========================================== */
.auth-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2001; /* Higher than other modals */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.auth-modal.active {
    display: flex; /* Show modal */
}

.auth-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 25px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 10px;
    color: #667eea;
}

.auth-icon i {
    margin-bottom: 10px;
}

.auth-form-group {
    margin-bottom: 15px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 600;
}

.auth-form-group.with-icon {
    position: relative;
}

.auth-form-group.with-icon .form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.auth-form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-form-group.with-icon input {
    padding-left: 45px;
}

.auth-modal-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.social-login {
    text-align: center;
    margin-top: 20px;
}

.social-login p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.social-btn.google { background-color: #db4437; color: white; border-color: #db4437; }
.social-btn.facebook { background-color: #3b5998; color: white; border-color: #3b5998; }

.auth-close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #aaa;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(102, 126, 234, 0.3);
}

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
}

.newsletter button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
}

.newsletter button:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

.footer-addresses {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-address-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.footer-address-item strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-address-item strong i {
    margin-right: 0.5rem;
}

.footer-address-item p {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* ==========================================
   FLOATING ORDER BUTTON
   ========================================== */
.floating-order-btn {
    position: fixed;
    bottom: 50%;
    transform: translateY(50%);
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 998;
    transition: transform 0.3s ease;
}


/* ==========================================
   PACKAGES TABLE STYLES
   ========================================== */
.packages-table-section {
    padding: 100px 2rem 20px; /* Further reduced bottom padding */
    background: #f8f9fa;
}

.packages-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-radius: 15px;
    overflow: hidden;
}

.packages-table th,
.packages-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.packages-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.packages-table th {
    font-size: 1rem;
    font-weight: 600;
}

.packages-table tbody tr:last-child td {
    border-bottom: none;
}

.packages-table tbody tr:hover {
    background-color: #f0f2f5;
}

.packages-table .featured-row {
    background-color: #f5f6ff; /* A subtle blue background */
    font-weight: 500;
}

.packages-table .popular-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 8px;
}

.packages-table td:nth-child(1) {
    font-weight: bold;
    color: #333;
}

.packages-table ul li,
.features-table ul li {
    display: inline; /* Display features in a single line on desktop */
}

.packages-table ul li:not(:last-child)::after,
.features-table ul li:not(:last-child)::after {
    content: ', '; /* Add a comma after each feature on desktop */
    margin-right: 4px;
}

.packages-table ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.packages-table ul li {
    font-size: 0.9rem;
}

/* ==========================================
   SOFTWARE MANAGEMENT PACKAGE STYLES
   ========================================== */
.software-package-section {
    padding: 20px 2rem; /* Reduced padding-top */
    background: white;
}

.software-package-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    flex-wrap: wrap;
    gap: 2rem;
}

.package-details {
    flex: 2;
}

.package-details h3 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.menu-structure {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.main-menu, .sub-menu {
    flex: 1;
    min-width: 200px;
}

.main-menu h4, .sub-menu h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.main-menu ul, .sub-menu ul {
    list-style: none;
    padding-left: 0;
}

.main-menu ul li, .sub-menu ul li {
    padding: 0.4rem 0;
    color: #555;
}

.package-pricing {
    flex: 1;
    text-align: center;
    min-width: 220px;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.package-pricing p {
    color: #888;
    margin-bottom: 1.5rem;
}

/* ==========================================
   COFFEE SHOP PACKAGE STYLES
   ========================================== */
.coffee-shop-section {
    padding: 100px 2rem;
    background: #f8f9fa;
}

.coffee-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.coffee-package-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.coffee-package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.coffee-package-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.coffee-package-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.coffee-package-card.featured h3 {
    color: #667eea;
}

.coffee-price {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 2rem;
    font-weight: 500;
}

.coffee-package-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2.5rem;
}

.coffee-package-card ul li {
    padding: 0.6rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

/* ==========================================
   SOFTWARE FEATURES TABLE STYLES
   ========================================== */
.packages-table th,
.packages-table td {
    padding: 0.8rem 1rem; /* Reduced padding */
}

.packages-table .package-btn {
    padding: 0.4rem 0.8rem; /* Smaller padding */
    font-size: 0.8rem;   /* Smaller font size */
}

.software-features-section {
    padding: 100px 2rem;
    background: #f8f9fa; /* Same background as packages section */
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Same box-shadow */
    border-radius: 15px; /* Same border-radius */
    overflow: hidden; /* Same overflow */
}

.features-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.features-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
}

.features-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.features-table tbody tr:last-child td {
    border-bottom: none;
}

.features-table tbody tr:hover {
    background-color: #f0f2f5;
}

.features-table td:first-child {
    font-weight: bold;
    color: #333;
    width: 25%;
}

.features-table td:last-child, .features-table th:last-child {
    text-align: center;
    width: 15%;
    font-weight: bold;
    color: #667eea;
}

.features-table .count-high {
    color: #28a745; /* Green for high count */
}

.features-table .count-medium {
    color: #667eea; /* Blue for medium count */
}

.features-table .count-low {
    color: #fd7e14; /* Orange for low count */
}

.features-table th:nth-child(2),
.features-table td:nth-child(2) {
    padding-left: 0.5rem; /* Reduced left padding for the second column */
}

/* Adjustments for spacing in the "Our Packages" section */
.packages-table-section .section-subtitle {
    margin-bottom: 1rem; /* Reduced spacing */
}

.packages-table-section .packages-table {
    margin-top: 0.5rem; /* Reduced spacing */
}

.software-features-section {
    padding-top: 10px; /* Made it even closer */
}

.software-features-section .section-title,
.software-features-section .section-subtitle {
    text-align: left; /* Align title and subtitle to the left */
}

.software-package-section .section-title {
    text-align: left;
}

/* ==========================================
   TABLE DESIGN ENHANCEMENTS
   ========================================== */

/* General Table Enhancements */
.packages-table thead th, .features-table thead th {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.packages-table tbody tr:nth-child(even), .features-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.packages-table tbody tr:hover, .features-table tbody tr:hover {
    background-color: #f0f2f5;
    transform: scale(1.01);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
    position: relative;
    z-index: 10;
}

/* "Our Packages" Table Specifics */
.packages-table-section .featured-row {
    background-color: rgba(102, 126, 234, 0.15) !important; /* Use !important to override even/odd styling */
    box-shadow: inset 0 0 15px rgba(102, 126, 234, 0.2);
}

.packages-table-section .package-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* "Software Features" Table Specifics */
.features-table td {
    line-height: 1.6;
    padding: 1rem 1.2rem;
}

/* Add top border to visually group main menu items */
.features-table tbody tr[data-main-menu-start="true"] td {
    border-top: 2px solid #dddddd;
}
.features-table tbody tr:first-child[data-main-menu-start="true"] td {
    border-top: none;
}

.features-table td[data-label="Feature Count"] {
    font-size: 0.9rem;
    color: #333; /* Changed to standard dark color */
    text-align: center;
}

/* Growth Solution Card */
.growth-solution-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

.packages-table td[data-label] {
    font-size: 0.9rem;
}

.packages-table td[data-label="Services"], .packages-table td[data-label="Best For"] {
    line-height: 1.5;
}

/* Top Banner Section */
.top-banner {
    padding-top: 120px; /* Space for navbar */
    padding-bottom: 50px;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
    text-align: left;
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Ensure business software cards have a consistent height */
.business-software-cards .package-card {
    min-height: 400px; /* Adjust this value as needed for the best fit */
}

/* Custom Icon Colors for Business Software Solutions */
.business-software-cards .package-card:nth-child(1) .package-header h3 i { color: #3498db; }
.business-software-cards .package-card:nth-child(2) .package-header h3 i { color: #e74c3c; }
.business-software-cards .package-card:nth-child(3) .package-header h3 i { color: #2ecc71; }
.business-software-cards .package-card:nth-child(4) .package-header h3 i { color: #f1c40f; }
.business-software-cards .package-card:nth-child(5) .package-header h3 i { color: #9b59b6; }
.business-software-cards .package-card:nth-child(6) .package-header h3 i { color: #34495e; }
.business-software-cards .package-card:nth-child(7) .package-header h3 i { color: #1abc9c; }
.business-software-cards .package-card:nth-child(8) .package-header h3 i { color: #e67e22; }
.business-software-cards .package-card:nth-child(9) .package-header h3 i { color: #d35400; }
.business-software-cards .package-card:nth-child(10) .package-header h3 i { color: #c0392b; }
.business-software-cards .package-card:nth-child(11) .package-header h3 i { color: #8e44ad; }
.business-software-cards .package-card:nth-child(12) .package-header h3 i { color: #2980b9; }
.business-software-cards .package-card:nth-child(13) .package-header h3 i { color: #27ae60; }
.business-software-cards .package-card:nth-child(14) .package-header h3 i { color: #f39c12; }
.business-software-cards .package-card:nth-child(15) .package-header h3 i { color: #7f8c8d; }
.business-software-cards .package-card:nth-child(16) .package-header h3 i { color: #bdc3c7; }

.table-controls {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-group, .search-group {
    position: relative;
    flex: 1;
}

.filter-group i, .search-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.table-controls input,
.table-controls select {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 40px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
}

.table-controls select {
    cursor: pointer;
}

.table-controls input:focus,
.table-controls select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.table-container {
    overflow-x: auto;
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-radius: 10px;
    overflow: hidden;
}

.employee-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.employee-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employee-table td {
    padding: 0.4rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}
.employee-table td { vertical-align: middle; }

.employee-table tbody tr {
    background-color: #fff;
    transition: background-color 0.2s;
}

.employee-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.employee-table tbody tr:hover {
    background-color: #f1f3f9;
}

.employee-photo-table {
    position: relative;
    width: 50px;
    height: 50px;
}

.employee-photo-table img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.employee-table td[data-label="Name"] {
    font-weight: 600;
    color: #333;
}

.employee-table .expand-btn {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    font-size: 1.2rem;
    color: #667eea;
}

.employee-details-mobile {
    display: none; /* Hidden on desktop */
}


/* ==========================================
   PAGINATION STYLES
   ========================================== */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pagination-info {
    color: #555;
    font-size: 0.9rem;
    flex-shrink: 0; /* Prevent info text from shrinking */
}

.pagination-controls button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: flex-end; /* Align buttons to the right */
}

.pagination-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.pagination-controls button.active {
    background: #333;
}

.pagination-controls button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Work Guidelines Section */
.work-guidelines {
    margin-top: 4rem;
    padding: 2rem 0;
    background-color: transparent; /* Removed background */
    border-radius: 0;
    box-shadow: none; /* Removed shadow */
    border: none; /* Removed border */
}

.guidelines-title {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.guideline-card h4 {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.guideline-card h4 i {
    margin-right: 0.75rem;
}

.guideline-card ul {
    list-style: none;
    padding-left: 0;
}

.guideline-card ul li {
    padding: 0.6rem 0;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================
   RESPONSIVE IMPROVEMENTS
   ======================== */
@media (max-width: 1024px) {
    .packages-grid,
    .packages-grid.two-column-grid,
    .marketing-gallery-grid,
    .marketing-packages {
        gap: 1rem;
    }
    .packages-grid.four-cards,
    .packages-grid.five-cards,
    .packages-grid.three-cards,
    .packages-grid.two-column-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .package-card {
        padding: 1.1rem;
    }
    .card-buttons {
        gap: 0.6rem;
    }
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }
    .hero-buttons {
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 64px;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 1rem 2rem;
        z-index: 999;
        box-shadow: 0 10px 35px rgba(15, 23, 42, 0.15);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e2e8f0;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .hero {
        padding: 60px 1.25rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .package-header h3 {
        font-size: 1.3rem;
    }
    .about-content {
        flex-direction: column;
    }
    .packages-table thead {
        display: none;
    }
    .packages-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .packages-table tbody tr {
        display: block;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 0.75rem 1rem;
        background: white;
    }
    .packages-table td {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0.2rem 0;
    }
    .packages-table td[data-label]::before {
        content: attr(data-label) ': ';
        font-weight: 600;
        color: #334155;
    }
    .packages-table td[data-label="Price"] {
        justify-content: flex-end;
    }
    .card-buttons button {
        font-size: 0.85rem;
        padding: 0.55rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .packages-grid {
        grid-template-columns: 1fr !important;
    }
    .hero,
    .top-banner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons button,
    .card-buttons button,
    .details-btn,
    .order-btn,
    .demo-btn {
        width: 100%;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-section {
        padding: 0;
    }
}
