/* Custom CSS for GeoPayroll Website */

:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #64B5F6;
    --secondary: #2E7D32;
    --secondary-dark: #1B5E20;
    --secondary-light: #69F0AE;
    --accent-teal: #009688;
    --white: #FFFFFF;
    --gray-light: #F1F3F4;
    --gray-medium: #9AA5B1;
    --gray-dark: #495057;
    --black: #000000;
    --background-light: #F5F7FA;
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 40px;
}

.nav-item .nav-link {
    font-weight: 500;
    padding: 1rem 1.2rem;
    transition: all 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: var(--primary);
}

/* Hero Section */
.hero-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Title */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray-medium);
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

/* Feature Items */
.feature-item {
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    color: white;
    font-size: 24px;
    margin-bottom: 1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Pricing Cards */
.pricing-card {
    border-top: 5px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-top: 5px solid var(--secondary);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
}

.pricing-card:hover {
    border-top: 5px solid var(--secondary);
}

.pricing-feature {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
}

.pricing-feature:last-child {
    border-bottom: none;
}

/* Testimonials */
.testimonial-item {
    background: var(--gray-light);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-light);
    font-family: serif;
    line-height: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.footer .btn-link {
    display: block;
    margin-bottom: 8px;
    text-align: left;
    padding: 0;
}

.footer .btn-link::before {
    display: none;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Animations */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slideInLeft {
    animation-name: slideInLeft;
}

.slideInRight {
    animation-name: slideInRight;
}

.slideInDown {
    animation-name: slideInDown;
}

.zoomIn {
    animation-name: zoomIn;
}

@keyframes slideInLeft {
    from {
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.25);
}

.form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.25);
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    color: var(--gray-dark);
    border: 1px solid #e1e5eb;
    border-radius: 8px !important;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--white);
    box-shadow: none;
}

.accordion-body {
    border: 1px solid #e1e5eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Contact Form */
.contact-form {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 10px;
}

/* Team Member */
.team-member {
    text-align: center;
    padding: 20px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gray-light);
    margin-bottom: 15px;
}

/* Counter */
.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

/* Breadcrumb */
.breadcrumb-item a {
    color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-header .display-4 {
        font-size: 1.75rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .nav-item .nav-link {
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-header .display-4 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-title h1 {
        font-size: 1.5rem;
    }
}