/* 
* Allied Clicks LLC Website Styles
* Author: Allied Clicks
* Version: 1.0
*/

/* ===== GENERAL STYLES ===== */
:root {
    /* Primary Blue Palette */
    --primary-blue: #0056b3;
    --primary-blue-dark: #004494;
    --primary-blue-light: #3a7abd;
    
    /* Green Accents */
    --accent-green: #28a745;
    --accent-green-dark: #218838;
    --accent-green-light: #48c76c;
    
    /* Neutrals */
    --neutral-dark: #343a40;
    --neutral-medium: #6c757d;
    --neutral-light: #f8f9fa;
    
    /* Other Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--neutral-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--neutral-dark);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-medium);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-blue-dark);
}

.btn {
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

.btn-success {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-success:hover {
    background-color: var(--accent-green-dark);
    border-color: var(--accent-green-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-medium);
    margin-bottom: 2rem;
}

.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95);
    color: var(--white);
    padding: 1rem 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-notice.show {
    display: block;
}

.cookie-notice p {
    margin-bottom: 0;
    color: var(--white);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    padding-top: 80px; /* To account for fixed navbar */
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 70%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--gray-200) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../img/pattern.svg');
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.badge-container .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
}

/* ===== SERVICES OVERVIEW ===== */
.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-blue);
    transition: height 0.3s ease;
}

.service-card:hover:before {
    height: 100%;
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card .icon-box i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.btn-link {
    color: var(--primary-blue);
    font-weight: 500;
    padding: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-link:hover {
    color: var(--primary-blue-dark);
}

.btn-link i {
    transition: transform 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* ===== WHY CHOOSE US ===== */
.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card .icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-card .icon-box i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ===== SUCCESS METRICS ===== */
.success-metrics {
    background-color: var(--white);
}

.counter-box {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.counter-box .counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: inline-block;
}

.counter-box span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.counter-box h3 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: var(--neutral-medium);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 1rem 3rem;
    position: relative;
}

.testimonial-card:before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2rem;
    color: rgba(0, 86, 179, 0.1);
}

.testimonial-card:after {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: rgba(0, 86, 179, 0.1);
}

.rating i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.client-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.client-info p {
    color: var(--neutral-medium);
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* ===== CALL TO ACTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern.svg');
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
}

.cta-section .section-title,
.cta-section .section-subtitle {
    color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--neutral-dark);
    color: var(--white);
}

.footer-logo {
    max-height: 40px;
}

.footer p {
    color: var(--gray-400);
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.company-address p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.company-address i {
    margin-top: 0.3rem;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-500);
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--gray-500);
    margin-bottom: 0;
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
    padding-left: 0;
}

.footer-legal a {
    color: var(--gray-500);
}

.footer-legal a:hover {
    color: var(--white);
}

.tech-badge {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tech-badge:hover {
    opacity: 1;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 7rem 0 5rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link:after {
        left: 0;
        transform: none;
    }
    
    .navbar-nav .nav-link:hover:after,
    .navbar-nav .nav-link.active:after {
        width: 30px;
    }
    
    .hero-section {
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        margin: 1rem;
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .counter-box {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card:before,
    .testimonial-card:after {
        display: none;
    }
    
    .footer h4 {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 5rem 0 3rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card,
    .benefit-card,
    .counter-box,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Comparison Table Enhancements */
.comparison-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comparison-table th {
    padding: 1rem;
    text-align: center;
}

.comparison-table td {
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--gray-100);
}

.comparison-table td:first-child {
    font-weight: 500;
    text-align: left;
}

.comparison-table td:nth-child(2) {
    color: var(--accent-green);
}

.comparison-table td:nth-child(3) {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Timeline */
.timeline-step {
    padding: 2rem;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-step:hover {
    transform: translateX(10px);
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.timeline-step:nth-child(even) {
    margin-left: 50px;
}

.timeline-step:nth-child(odd) {
    margin-right: 50px;
}

@media (max-width: 768px) {
    .timeline-step {
        margin: 2rem 0 !important;
    }
    .timeline-step::before {
        display: none;
    }
}

/* Calculator */
.calculator-container input {
    max-width: 300px;
    margin: 0 auto;
} 