/* Zars IT Custom Premium Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0a192f;
    --primary-light: #172a45;
    --secondary: #00b4d8;
    --secondary-dark: #0077b6;
    --accent: #f77f00;
    --accent-light: #fcbf49;
    --bg-light: #f8f9fa;
    --bg-dark: #030a16;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Sticky Header */
.navbar-custom {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
}
.navbar-custom.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}
.navbar-brand span {
    color: var(--secondary);
}
.navbar-custom .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: var(--transition);
}
.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--secondary) !important;
}

/* Hero Section */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(10,25,47,0.95) 0%, rgba(23,42,69,0.9) 100%);
    padding: 160px 0 100px 0;
    color: var(--white);
    overflow: hidden;
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
}
.hero-banner h1 {
    color: var(--white);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
}
.hero-banner p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
}

/* Service / Project / Blog Cards */
.card-custom {
    border: none;
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}
.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--secondary);
    border-radius: 12px;
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: var(--transition);
}
.card-custom:hover .card-icon {
    background-color: var(--secondary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.card-custom:hover .card-image-wrapper img {
    transform: scale(1.08);
}
.card-custom-body {
    padding: 30px;
}

/* Badge tags */
.badge-custom {
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--secondary-dark);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 30px;
    text-transform: uppercase;
}

/* FAQ Accordion */
.accordion-custom .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.accordion-custom .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    background-color: var(--white);
    border: none;
    padding: 20px;
}
.accordion-custom .accordion-button:not(.collapsed) {
    background-color: rgba(0, 180, 216, 0.05);
    color: var(--secondary-dark);
    box-shadow: none;
}
.accordion-custom .accordion-button::after {
    filter: brightness(0.5);
}

/* Pricing Card Table */
.pricing-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}
.pricing-card.recommended {
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 30px;
    text-transform: uppercase;
}

/* Client Testimonials Carousel */
.testimonial-swiper {
    padding: 40px 0;
}
.testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(0, 180, 216, 0.15);
    line-height: 1;
}
.testimonial-stars {
    color: #ffb703;
    font-size: 1.1rem;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}
.section-title {
    position: relative;
    margin-bottom: 50px;
}
.section-title h2 {
    font-weight: 800;
    font-size: 2.5rem;
}
.section-title h2 span {
    color: var(--secondary);
}
.section-title p {
    max-width: 600px;
    margin: 15px auto 0 auto;
    color: var(--text-muted);
}
.bg-light-gray {
    background-color: var(--bg-light);
}

/* Footer Section */
.footer-section {
    background-color: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-section h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 25px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}
.footer-social-icon:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* CTA Call to Action */
.cta-block {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 0;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}
.cta-block h2 {
    color: var(--white);
    font-weight: 800;
}

/* Button Custom Styles */
.btn-primary-custom {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 9px 24px;
    border-radius: 30px;
    transition: var(--transition);
}
.btn-secondary-custom:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-accent-custom {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    transition: var(--transition);
}
.btn-accent-custom:hover {
    background-color: #d66b00;
    border-color: #d66b00;
    color: var(--white);
    transform: translateY(-2px);
}

/* Detail Banner Pages */
.detail-banner {
    background: linear-gradient(135deg, rgba(10,25,47,0.9) 0%, rgba(23,42,69,0.85) 100%);
    padding: 120px 0 80px 0;
    color: var(--white);
    text-align: center;
}
.detail-banner h1 {
    color: var(--white);
    font-weight: 800;
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(0, 180, 216, 0.25);
}

/* Contact page inspired by the supplied split dark form reference */
.contact-dark-section {
    background: #f4f6f8;
    padding: 90px 0 50px;
}

.contact-dark-panel {
    background: #3f3f3f;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 45px rgba(10, 25, 47, 0.18);
    color: #fff;
    overflow: hidden;
    padding: 58px 52px 48px;
    position: relative;
}

.contact-dark-panel::before {
    background: var(--accent);
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.contact-dark-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    min-height: 315px;
}

.contact-dark-left h1 {
    color: #ff2b83;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.contact-title-line {
    background: #ff2b83;
    display: block;
    height: 4px;
    margin-top: 14px;
    width: 30px;
}

.contact-info-line {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-info-line a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.contact-minimal-form {
    padding-top: 4px;
}

.contact-field {
    margin-bottom: 19px;
}

.contact-minimal-form .contact-form-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 9px 0 12px;
    text-transform: uppercase;
}

.contact-minimal-form textarea.contact-form-control {
    min-height: 84px;
    resize: vertical;
}

.contact-minimal-form .contact-form-control::placeholder {
    color: rgba(255, 255, 255, 0.38);
    opacity: 1;
}

.contact-minimal-form select.contact-form-control {
    color: rgba(255, 255, 255, 0.38);
}

.contact-minimal-form select.contact-form-control option {
    background: #3f3f3f;
    color: #fff;
}

.contact-minimal-form .contact-form-control:focus {
    background: transparent;
    border-bottom-color: #ff2b83;
    box-shadow: none;
    color: #fff;
}

.contact-error {
    color: #ff8ab9;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 6px;
}

.contact-form-actions {
    display: flex;
    gap: 22px;
    justify-content: flex-end;
    padding-top: 4px;
}

.contact-form-actions button {
    background: transparent;
    border: 0;
    color: #ff2b83;
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 0;
    text-transform: uppercase;
}

.contact-form-actions button:hover {
    color: #fff;
}

.contact-map-section {
    background: #f4f6f8;
    padding: 30px 0 90px;
}

.contact-location-card,
.contact-map-frame {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    overflow: hidden;
}

.contact-location-card {
    padding: 34px;
}

.contact-location-card h2 {
    font-size: 1.65rem;
    margin: 18px 0 14px;
}

.contact-location-card p {
    color: var(--text-muted);
    margin-bottom: 26px;
}

.contact-location-list div {
    align-items: flex-start;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-location-list i {
    color: var(--secondary-dark);
    margin-top: 2px;
}

.contact-map-frame {
    min-height: 370px;
}

.contact-map-frame iframe {
    border: 0;
    height: 100%;
    min-height: 370px;
    width: 100%;
}

.contact-map-fallback {
    align-items: center;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.76);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    min-height: 370px;
    padding: 40px;
    text-align: center;
}

.contact-map-fallback i {
    color: var(--secondary);
    font-size: 3rem;
    margin-bottom: 14px;
}

.contact-map-fallback h3 {
    color: #fff;
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@media (max-width: 991px) {
    .contact-dark-panel {
        padding: 42px 28px;
    }

    .contact-dark-left {
        min-height: 210px;
    }
}

@media (max-width: 575px) {
    .contact-dark-left h1 {
        font-size: 2.2rem;
    }

    .contact-form-actions {
        justify-content: flex-start;
    }
}
