/* Additional Component Styles */

/* Colors */
:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --purple: #8e44ad;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Page Hero */
.page-hero {
    padding: 150px 0 80px;
    color: white;
    background: linear-gradient(135deg, var(--primary), #1a252f);
}

.page-hero.bg-primary {
    background: linear-gradient(135deg, var(--primary), #1a252f);
}

.page-hero.bg-success {
    background: linear-gradient(135deg, var(--success), #1e8449);
}

.page-hero.bg-warning {
    background: linear-gradient(135deg, var(--warning), #d68910);
}

.page-hero.bg-info {
    background: linear-gradient(135deg, var(--info), #117a8b);
}

.page-hero.bg-purple {
    background: linear-gradient(135deg, var(--purple), #6c3483);
}

.page-hero.bg-secondary {
    background: linear-gradient(135deg, var(--secondary), #21618c);
}

.page-hero.bg-dark {
    background: linear-gradient(135deg, #2c3e50, #1c2833);
}

/* Service Detail */
.service-detail {
    margin-bottom: 60px;
}

.service-detail h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

.service-detail .lead {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--gray);
}

/* Feature Box */
.feature-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.feature-box h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-box ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.feature-box ul li:before {
    content: "•";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.sidebar-card h4 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
}

/* Pricing Item */
.pricing-item {
    background: var(--light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.pricing-item.featured {
    border: 2px solid var(--primary);
    background: white;
}

.pricing-item .badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.pricing-item h5 {
    color: var(--primary);
    margin-bottom: 10px;
}

.pricing-item .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
}

.pricing-item .price span {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-item ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.pricing-item ul li {
    padding: 5px 0;
    color: var(--gray);
}

/* Dashboard Card */
.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dashboard-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-header i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 15px;
}

.dashboard-header h4 {
    color: var(--primary);
    margin: 0;
}

.dashboard-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.dashboard-features ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.dashboard-features ul li:last-child {
    border-bottom: none;
}

/* Technology Grid */
.technology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.tech-category h4 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.tech-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--light);
    border-radius: 8px;
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--secondary);
    color: white;
    transform: translateX(5px);
}

.tech-item i {
    font-size: 1.2rem;
    margin-right: 10px;
    min-width: 25px;
}

/* Integration Badges */
.integration-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 120px;
    transition: var(--transition);
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.integration-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-study-header {
    background: var(--primary);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
}

.client-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.client-logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.client-info h4 {
    color: white;
    margin: 0 0 5px 0;
}

.client-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.case-study-body {
    padding: 25px;
}

.case-study-body h5 {
    color: var(--primary);
    margin-bottom: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.result-item {
    text-align: center;
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
}

.result-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

.result-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Contact Form */
.contact-form-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.1);
}

.contact-info-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-info-item h5 {
    color: var(--primary);
    margin-bottom: 5px;
}

.emergency-contact {
    background: #fff8e1;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid var(--warning);
}

/* FAQ Accordion */
.accordion-button {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 20px;
    border: 1px solid #eee;
}

.accordion-button:not(.collapsed) {
    background: var(--light);
    color: var(--primary);
    border-color: #eee;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.1);
}

.accordion-body {
    padding: 20px;
    background: white;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .technology-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .integration-badges {
        justify-content: flex-start;
    }

    .tech-items {
        grid-template-columns: 1fr;
    }
}

/* Additional Utilities */
.bg-purple {
    background-color: var(--purple);
}

.text-purple {
    color: var(--purple);
}

.mt-6 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 4rem;
}
/* Additional Header & Footer Styles */

/* Mobile Alert Banner */
.mobile-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--primary);
    padding: 10px 0;
}

.mobile-alert a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-alert a:hover {
    opacity: 0.9;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nova-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.by-text {
    font-size: 0.9rem;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

.aurigga-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
}

/* Navbar CTA */
.navbar-cta .btn {
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 6px;
}

/* Footer Styles */
.footer {
    background: #1a252f;
    color: #bdc3c7;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.footer-desc {
    color: #95a5a6;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--secondary);
    margin-top: 3px;
    font-size: 1.1rem;
    min-width: 20px;
}

.contact-item strong {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 3px;
}

.contact-item p {
    color: #95a5a6;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.countries-section {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.country-flags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.country-flag {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country-flag img {
    width: 40px;
    height: 30px;
    border-radius: 3px;
    margin-bottom: 8px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.country-flag span {
    display: block;
    color: #bdc3c7;
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-bottom {
    padding-top: 2rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary);
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

/* Active Navigation State */
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.dropdown-item.active {
    background-color: var(--primary);
    color: white;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }
    
    .by-text {
        display: none;
    }
    
    .nova-text {
        font-size: 1.5rem;
    }
    
    .aurigga-text {
        font-size: 1.1rem;
    }
    
    .country-flags {
        gap: 1rem;
    }
    
    .country-flag {
        flex: 0 0 calc(33.333% - 1rem);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Navbar Toggler Customization */
.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Main Content Spacing */
main {
    padding-top: 76px; /* Account for fixed navbar height */
}

@media (max-width: 991px) {
    main {
        padding-top: 140px; /* Account for mobile alert banner + navbar */
    }
}