/* Base 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;
    padding-top: 60px; /* Account for fixed header height */
}

/* Colors - Using only white, black, and grey */
:root {
    --primary: #000000; /* Black */
    --primary-dark: #222222; /* Dark grey */
    --secondary: #888888; /* Medium grey */
    --accent: #555555; /* Accent grey */
    --light: #f8f9fa; /* Light grey/white */
    --dark: #212529; /* Dark grey */
    --gray: #6c757d; /* Medium grey */
    --light-gray: #e9ecef; /* Light grey */
}

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    transition: transform 0.3s ease;
    z-index: 1001;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.top-contact .contact-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.top-contact .contact-item i {
    margin-right: 5px;
    color: #ffffff4f;
}

.top-bar a {
    color: #fff;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: #ccc;
}

/* Header */
.header {
    position: fixed;
    top: 60px; /* Height of top bar */
    left: 0;
    width: 100%;
    background: transparent; /* Transparent by default */
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95); /* White when scrolled */
    padding: 10px 0;
    top: 0; /* When scrolled, header moves to top */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.logo-img {
    height: 120px; /* Increased size */
    width: auto;
}

.header.scrolled .logo-img {
    height: 50px; /* Slightly smaller when scrolled */
}

.footer-logo-img {
    height: 155px;
    width: auto;
    background: white;
    border-radius: 93px;
    padding: 13px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #fff; /* White by default */
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: #ccc;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.header.scrolled .nav-links a {
    color: var(--primary); /* Black when scrolled */
}

.header.scrolled .nav-links a:hover {
    color: var(--accent); /* Grey when scrolled and hovered */
}

.header.scrolled .nav-links a::after {
    background: var(--primary); /* Black underline when scrolled */
}

.menu-toggle {
    cursor: pointer;
    font-size: 24px;
    color: #fff; /* White by default */
}

.header.scrolled .menu-toggle {
    color: var(--primary); /* Black when scrolled */
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 86px; /* Top bar (36px) + Header (50px) */
    left: -100%;
    width: 100%;
    height: calc(100vh - 86px);
    background: #fff;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 30px 0;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu .nav-links {
    flex-direction: column;
    align-items: center;
}

.mobile-menu .nav-links li {
    margin: 15px 0;
}

.mobile-menu .nav-links a {
    color: var(--primary);
    font-size: 18px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1495640388908-05fa85288e61?ixlib=rb-4.0.3') no-repeat center center/cover;
}

.hero-content {
    z-index: 10;
    animation: fadeIn 1s ease;
    padding: 100px 0 0 20px;
}

.hero-content h1 {
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.hero-content p {
    animation: fadeInUp 1s ease;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.hero-btns {
    animation: fadeIn 1.5s ease;
}

/* Clients Section */
.clients {
    background: var(--light);
    padding: 80px 0;
}

.client-logo {
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1);
}

.logo-placeholder {
    transition: all 0.3s ease;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-logo:hover .logo-placeholder {
    background: #f0f0f0 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.logo-placeholder i {
    color: var(--primary); /* Black icons */
}

/* Statistics Section */
.statistics {
    background: var(--primary);
    color: #fff;
    padding: 80px 0;
}

.statistic-card {
    transition: all 0.3s ease;
    padding: 40px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.statistic-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.statistic-card .counter {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
    display: block;
    text-align: center;
}

.statistic-card h3 {
    color: #fff;
    text-align: center;
}

.statistic-card i {
    color: #fff; /* White icons */
}

/* Services Section */
.services {
    background: #fff;
    padding: 80px 0;
}

.service-card {
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-card i {
    transition: transform 0.3s ease;
    color: var(--primary); /* Black icons */
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--accent); /* Grey icons on hover */
}

.service-card .card-title {
    color: var(--primary);
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    background: var(--light);
    padding: 80px 0;
}

.pricing-card {
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    margin: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.02);
    position: relative;
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-10px);
}

.popular-badge {
    z-index: 10;
    background: var(--accent) !important;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.list-group-item {
    border: none;
    padding: 12px 0;
}

/* Testimonials Section */
.testimonials {
    background: #fff;
    padding: 80px 0;
}

.testimonial-card {
    animation: fadeIn 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    margin: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray);
}

.client strong {
    color: var(--primary);
}

/* Owl Carousel Custom Styles */
.owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    opacity: 1 !important;
    display: block !important;
}

.owl-prev, .owl-next {
    background: var(--primary) !important;
    color: #fff !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    margin: 0 5px !important;
    font-size: 18px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    display: flex !important;
}

.owl-prev:hover, .owl-next:hover {
    background: var(--accent) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.owl-prev {
    margin-right: 10px !important;
}

.owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-dot {
    width: 12px;
    height: 12px;
    background: #ddd !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: var(--primary) !important;
    transform: scale(1.2);
}

/* Ensure arrows are always visible */
.owl-carousel .owl-nav {
    opacity: 1 !important;
    display: block !important;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.1;
}

/* Contact Section */
.contact {
    background: var(--light);
    padding: 80px 0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--accent);
    transform: scale(1.1);
}

/* Form Styles */
.form-control, .form-select {
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 5px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(136, 136, 136, 0.25); /* Secondary color */
}

/* Buttons */
.btn {
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 30px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 15px 40px;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 40px 0;
}

.footer-links ul li a:hover {
    color: #ccc;
}

.footer-social .social-icons a:hover {
    color: #ccc !important;
    transform: translateY(-5px);
}

.footer-social .social-icons a {
    color: #fff;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 1s ease;
    display: block;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    body {
        padding-top: 86px;
    }
    
    .logo-img {
        height: 55px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 86px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-btns .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .statistic-card .counter {
        font-size: 2rem;
    }
    
    .cta .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .owl-nav {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 20px;
        text-align: center;
        display: block !important;
    }
    
    .owl-prev, .owl-next {
        position: relative;
        top: 0;
        transform: none;
        margin: 0 5px !important;
        display: inline-flex !important;
    }
    
    .owl-prev {
        margin-right: 10px !important;
    }
    
    .owl-next {
        margin-left: 10px !important;
    }
    
    .clients, .statistics, .services, .pricing, .testimonials, .cta, .contact, .footer {
        padding: 60px 0;
    }
    
    .top-contact .contact-item {
        margin-right: 10px;
    }
    
    .top-contact .contact-item span {
        display: none;
    }
    
    .top-contact .contact-item i {
        margin-right: 0;
    }
    
    .top-bar {
        font-size: 12px;
    }
    
    .mobile-menu {
        top: 86px;
    }
    
    .footer-logo-img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 86px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .popular-badge {
        font-size: 0.8rem;
        padding: 5px 15px !important;
        margin: 10px 10px !important;
    }
    
    .pricing-card, .testimonial-card {
        margin: 15px 0;
    }
    
    .clients, .statistics, .services, .pricing, .testimonials, .cta, .contact, .footer {
        padding: 50px 0;
    }
    
    .owl-prev, .owl-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .top-bar {
        font-size: 12px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgb(1 51 93) !important;
}
.contact-item.d-flex.align-items-center.mb-3 i::before {
    font-size: 18px;
}

/* Target only Owl Carousel nav buttons */
#pricing .owl-nav button.owl-prev,
#pricing .owl-nav button.owl-next {
    background: #ffffff;       /* white background */
    color: #007bff;           /* bootstrap primary */
    border-radius: 50%;       /* round shape */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 40%;
    z-index: 100;
}

/* Hover effect */
#pricing .owl-nav button.owl-prev:hover,
#pricing .owl-nav button.owl-next:hover {
    background: #007bff;
    color: #fff;
    transform: scale(1.1);
}

/* Positioning */
#pricing .owl-nav button.owl-prev {
    left: -60px; /* move outside carousel */
}

#pricing .owl-nav button.owl-next {
    right: -60px; /* move outside carousel */
}





/* Testimonial carousel navigation arrows */
.testimonials .owl-nav button.owl-prev,
.testimonials .owl-nav button.owl-next {
    background: #ffffff;
    color: #28a745; /* green tone for testimonials */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 40%;
    z-index: 100;
}

/* Hover effect */
.testimonials .owl-nav button.owl-prev:hover,
.testimonials .owl-nav button.owl-next:hover {
    background: #28a745;
    color: #fff;
    transform: scale(1.1);
}

/* Positioning */
.testimonials .owl-nav button.owl-prev {
    left: -60px;
}

.testimonials .owl-nav button.owl-next {
    right: -60px;
}

/* Responsive fix: bring arrows inside on smaller screens */
@media (max-width: 768px) {
    .testimonials .owl-nav button.owl-prev {
        left: -30px;
    }
    .testimonials .owl-nav button.owl-next {
        right: -30px;
    }
}
