/* General Styles */
:root {
    /* Spidtax Brand Colors - Primary */
    --primary-dark: #070d16;
    --primary-blue: #0463ef;
    --primary-cyan: #66e5fb;
    --primary-light: #e3edfc;
    
    /* Spidtax Brand Colors - Secondary */
    --secondary-blue: #b4d2ec;
    --secondary-green: #b8d7cf;
    --secondary-cyan: #aae4f0;
    --secondary-yellow: #ebe6bc;
    
    /* Legacy color mappings for compatibility */
    --primary-color: #0463ef;
    --secondary-color: #6c757d;
    --accent-color: #66e5fb;
    --light-gray: #f8f9fa;
    --dark-gray: #070d16;
}

.text-white h3 {
    color: white!important;
}

body {
    font-family: 'Proxima Nova', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar - Removed for cleaner design */
.top-bar {
    display: none;
}

/* Navigation */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-brand {
    font-weight: 600;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-dark) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1.25rem !important;
    border-radius: 25px;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
    background-color: var(--primary-light);
}

.nav-link.active {
    color: var(--primary-blue) !important;
    background-color: var(--primary-light);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px 0;
    position: relative;
    min-height: 400px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(7, 13, 22, 0.75) 0%, rgba(4, 99, 239, 0.6) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-section h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    
}

.fa-file-pdf:before {
    font-size: smaller;
}

.services-section .section-subtitle {
    
    font-size: 1.4rem;
    font-weight: 400;
   
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Contact Form and Info Cards */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(4, 99, 239, 0.15);
}

.card-body {
    padding: 2.5rem;
    text-align: center;
}

.text-left {
    text-align: left;
}

.card i {
    color: var(--primary-blue);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3, .card h4, .card h5 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card p {
    color: #666;
    line-height: 1.8;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(4, 99, 239, 0.25);
}

/* Footer */
footer {
    background-color: var(--primary-light);
    padding: 4rem 0 2rem 0;
}

footer h5 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

footer p, footer li {
    color: #666;
    line-height: 2;
    font-size: 0.95rem;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--primary-blue) !important;
    transform: translateX(3px);
}

footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

footer i {
    margin-right: 10px;
    color: var(--primary-blue);
}

footer .fab {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--primary-dark);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

footer .fab:hover {
    background-color: var(--primary-blue);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .services-section .row {
        margin-bottom: 2rem !important;
    }

    .services-section .col-md-6:first-child {
        margin-bottom: 2rem;
    }
}

/* Language Switcher */
#languageSwitcher {
    cursor: pointer;
    border-radius: 25px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

#languageSwitcher:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

#languageSwitcher option {
    background-color: #ffffff;
    color: var(--primary-dark);
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.bg-light {
    /* background-color: var(--light-gray) !important; */
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #0356d4;
    border-color: #0356d4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 99, 239, 0.4);
}

/* Contact Us Button in Navbar */
.btn-contact {
    background-color: var(--primary-blue);
    color: #ffffff !important;
    border: none;
    padding: 0.6rem 1.75rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {
    background-color: #0356d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 99, 239, 0.3);
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Alert Styles */
.alert {
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Map Container */
.ratio-16x9 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding: 80px 0;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db !important;
}

/* Custom Icons */
.fa-3x {
    margin-bottom: 1.5rem;
}

/* Section Headers */
h2 {
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 600;
    text-align:center;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #3498db;
    margin: 20px auto 0;
}

/* Hero Slider */
.hero-slider .item {
    height: 600px;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-slide h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.hero-slide .lead {
    color: white;
    font-size: 1.5rem;
    position: relative;
}

/* About Page */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 2rem 0;
}

.about-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-content .lead {
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Owl Carousel Navigation */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.8) !important;
    border-radius: 50% !important;
    color: #2c3e50 !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
}

.owl-nav button:hover {
    background: white !important;
    color: #3498db !important;
}

.owl-prev {
    left: 20px;
}

.owl-next {
    right: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dot span {
    background: rgba(255,255,255,0.5) !important;
}

.owl-dot.active span {
    background: white !important;
}

@media (max-width: 768px) {
    .hero-slider .item {
        height: 400px;
    }

    .hero-slide h1 {
        font-size: 2.5rem;
    }

    .hero-slide .lead {
        font-size: 1.2rem;
    }
}

/* Useful Forms Page */
.forms-section .card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.forms-section .card:hover {
    transform: translateY(-5px);
}

.forms-section .card-header {
    border-radius: 10px 10px 0 0;
    padding: 1rem;
}

.forms-section .card-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.forms-section .list-group-item {
    border: none;
    padding: 1rem;
    transition: background-color 0.3s ease;
    text-align:left;
}

.forms-section .list-group-item:hover {
    background-color: #f8f9fa;
}

.forms-section .list-group-item a {
    color: #333;
    display: block;
}

.forms-section .list-group-item i {
    margin-right: 10px;
}

.forms-section .card-body {
    padding: 0;
}

.forms-section .list-group {
    margin-bottom: 0;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-info {
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: #333;
    margin-bottom: 30px;
}

.contact-info .d-flex {
    margin-bottom: 25px;
}

.contact-info .d-flex:last-child {
    margin-bottom: 0;
}

.contact-info i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
}

.contact-info h5 {
    color: #333;
    margin-bottom: 5px;
}

.contact-info p {
    color: #666;
    margin-bottom: 0;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0056b3;
}

#contactForm .form-label {
    color: #333;
    font-weight: 500;
}

#contactForm .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#contactForm textarea.form-control {
    min-height: 150px;
}

#contactForm button[type="submit"] {
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#contactForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

#contactForm button[type="submit"]:active {
    transform: translateY(0);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Brand Color Utilities */
.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.bg-primary-cyan {
    background-color: var(--primary-cyan) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-primary-cyan {
    color: var(--primary-cyan) !important;
}

/* Service Cards Enhancement */
.service-card {
    border: none;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-blue);
    transition: height 0.3s ease;
}

.service-card.border-blue::before {
    background: var(--primary-blue);
}

.service-card.border-cyan::before {
    background: var(--primary-cyan);
}

.service-card.border-light-blue::before {
    background: var(--secondary-blue);
}

.service-card.border-yellow::before {
    background: var(--secondary-yellow);
}

.card-header.blue {
    background: var(--secondary-blue);
}

.card-header.cyan  {
    background: var(--secondary-cyan);
}

.card-header.green  {
    background: var(--secondary-green);
}

.card-header.yellow  {
    background: var(--secondary-yellow);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 32px rgba(4, 99, 239, 0.2);
}

.service-card:hover::before {
    height: 8px;
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Section Headings */
.section-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border-radius: 2px;
}

/* Accent Borders */
.border-accent {
    border-color: var(--primary-cyan) !important;
}

/* Links with Brand Colors */
a.link-brand {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.link-brand:hover {
    color: var(--primary-cyan);
} 

.navbar-expand-lg .navbar-nav {
    gap: 5px;
}

.d-flex {
    gap: 5px;
}

@media (max-width: 992px) {
.navbar-collapse.collapse.show div.d-flex.align-items-center {
    margin-top: 40px;
}
}