/**
 * TN Service Provider - Main Stylesheet
 */

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    padding: 0.5rem 1rem;
}

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

.nav-link {
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgb(57, 181, 255) !important;
}

.nav-link.active {
    color: rgb(57, 181, 255) !important;
    font-weight: 600;
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(57, 181, 255, 0.1);
    color: rgb(57, 181, 255);
}

/* Button Styles */
.btn-call {
    transition: all 0.3s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 181, 255, 0.3);
}

/* Top Section Styles */
.top-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}

/* Hover Scale Animation */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Hover Lift Animation */
.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Card Styles */
.card {
    border-radius: 12px;
}

/* Floating Call Button Animation */
.floating-call-btn {
    animation: shake 1s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* Call Button Styles */
.call-btn {
    width: auto;
}

/* Footer Styles */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: rgb(57, 181, 255) !important;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: rgb(57, 181, 255);
    box-shadow: 0 0 0 0.2rem rgba(57, 181, 255, 0.25);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .call-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .top-section {
        min-height: 400px;
    }
    
    .top-section h1 {
        font-size: 1.8rem;
    }
    
    .floating-call-btn {
        font-size: 14px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .call-btn {
        width: 75%;
        padding: 5px 14px;
        font-size: 0.9rem;
    }
    
    .top-section h1 {
        font-size: 1.5rem;
    }
    
    .top-section p {
        font-size: 0.9rem;
    }
}

/* Service Cards Responsive */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
}

/* CTA Section Responsive */
@media (max-width: 575px) {
    .cta-section h2 {
        font-size: 1.5rem !important;
    }
    
    .cta-section p {
        font-size: 0.9rem !important;
    }
}

/* Service Charges Responsive */
@media (max-width: 768px) {
    .card-body.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left;
    }
}

/* Utility Classes */
.text-primary-custom {
    color: rgb(57, 181, 255);
}

.bg-primary-custom {
    background-color: rgb(57, 181, 255);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: rgb(57, 181, 255);
    color: white;
}
