/* Custom CSS for AUGMATI DIESEL PUMP SERVICES */

/* Font Inter */
.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 58, 143, 0.75) 0%, rgba(26, 58, 143, 0.80) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
}

/* Buttons */
.btn-primary {
    background-color: #1a3a8f;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 58, 143, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0f2560;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 58, 143, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-accent {
    background-color: #d32f2f;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    text-decoration: none;
}

.btn-accent:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

/* Navigation */
.nav-link {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: #1a3a8f;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d32f2f;
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 100%;
}

/* Service Cards */
.service-card {
    background-color: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a3a8f, #d32f2f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #e2e8f0;
}

.service-icon {
    font-size: 2.5rem;
    color: #1a3a8f;
    margin-bottom: 20px;
    background: #f8fafc;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #d32f2f;
    color: white;
    transform: scale(1.1);
}

/* Service icon positioning for image cards */
.service-card .relative .service-icon {
    background: #1a3a8f;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-card:hover .relative .service-icon {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Ensure images display properly */
.service-card img {
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-link {
    color: #d32f2f;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #b71c1c;
    transform: translateX(5px);
}

/* About Section Single Image */
.about-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.fact-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    text-align: center;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-img-wrapper {
    overflow: hidden;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border: 4px solid #f1f5f9;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Items */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Social Links */
.social-link {
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Links */
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Form Elements */
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Logo Placeholder */
.logo-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    #mobile-menu {
        display: none !important;
    }
}

/* Ensure proper height on mobile */
@media (max-width: 1023px) {
    .about-image-container {
        min-height: 400px;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Text Selection */
::selection {
    background-color: rgba(211, 47, 47, 0.2);
}

/* Image object fit for about section */
img {
    max-width: 100%;
    height: auto;
}