body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    color: #333;
    scroll-behavior: smooth;
}

/* Background Slideshow */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: opacity 2s ease-in-out;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.90) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 85px; /* Set navbar height to 85px */
}

.navbar-brand img {
    height: 60px; /* Increased from 50px to give more emphasis */
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(26, 115, 232, 0.2)); /* Add subtle shadow for emphasis */
}

.navbar-brand:hover img {
    transform: scale(1.05); /* Slight scale effect on hover for emphasis */
}

.nav-link {
    color: #1a73e8 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    margin: 0 5px;
}

.nav-link:hover, .nav-link.active {
    color: #0d47a1 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #1a73e8;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Main Content */
.main-content {
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    margin-top: 100px; /* Increased from 80px to account for taller navbar */
    margin-bottom: 30px;
}

/* Section Styles */
.section-title {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Cards */
.card {
    margin-bottom: 25px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(26, 115, 232, 0.2), transparent);
    transition: height 0.4s ease;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(26, 115, 232, 0.2);
    border-top: 3px solid #1a73e8;
}

.card:hover::before {
    height: 100%;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.card-title {
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #1a73e8;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.card:hover .card-title::after {
    width: 100%;
}

/* Values */
.value-item {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background-color: rgba(26, 115, 232, 0.05);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.8rem;
    color: #1a73e8;
    margin-bottom: 20px;
}

/* Contact */
.contact-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    color: white;
    box-shadow: 0 5px 15px rgba(18, 140, 126, 0.3);
}

.whatsapp-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #0d47a1;
    color: white;
    padding: 40px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #1a73e8, #25D366, #1a73e8);
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

footer p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
}

footer .col-md-6:first-child {
    padding-right: 20px;
}

footer .col-md-6:last-child {
    padding-left: 20px;
}

footer .footer-logo {
    margin-bottom: 15px;
}

footer .footer-logo span[itemprop="name"] {
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

footer .footer-logo span[itemprop="name"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #25D366;
}

footer a, 
footer .contact-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    border-radius: 4px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
}

footer a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

footer a i {
    margin-right: 8px;
    font-size: 18px;
}

footer a i.fa-whatsapp {
    color: #25D366;
}

footer a i.fa-envelope {
    color: #1a73e8;
}

footer .address-block {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .address-block p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

footer .address-block i {
    margin-right: 8px;
    font-size: 18px;
    color: #1a73e8;
}

@media (max-width: 768px) {
    footer .address-block p {
        justify-content: center;
    }
}

footer .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

footer .copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        margin-top: 90px; /* Adjusted for mobile */
        padding: 25px;
    }

    .navbar {
        height: auto; /* Allow navbar to adjust height on mobile */
    }

    .navbar-brand img {
        height: 50px; /* Slightly smaller on mobile */
    }

    /* Footer responsive styles */
    footer {
        padding: 30px 0 20px;
    }

    footer .col-md-6 {
        text-align: center;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    footer .col-md-6:last-child {
        padding-left: 15px;
    }

    footer .contact-info {
        align-items: center;
    }

    footer .footer-logo span[itemprop="name"]::after {
        left: 50%;
        transform: translateX(-50%);
    }

    footer .address-block {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    footer .copyright {
        margin-top: 10px;
        padding-top: 10px;
    }
}

/* Modern scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: #1a73e8;
    z-index: 9999;
    width: 0%;
    transition: width 0.2s ease;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: #1a73e8;
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
    z-index: 99;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #0d47a1;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

/* Section animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
