/* Custom styles */
:root {
    --primary-blue: #1a73e8;
    --primary-green: #0f9d58;
    --light-blue: #e8f0fe;
    --light-green: #e6f4ea;
}

body {
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    color: #333;
}

strong {
    color: var(--primary-blue);
}

.navbar-brand img {
    height: 40px;
}

.navbar {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green)) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 0 0.2rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.navbar-light .navbar-nav .nav-link:active {
    transform: translateY(0);
}

.navbar-light .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-light .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.carousel-item {
    height: 65vh;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 1.2s ease-in-out;
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.7), rgba(15, 157, 88, 0.7));
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh; /* Shorter height on mobile */
    }
    
    .carousel-caption {
        padding-bottom: 1rem;
        display: block !important; /* Override d-none */
    }
    
    .carousel-caption h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .section-padding {
        padding: 40px 0; /* Reduced padding on mobile */
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    /* Services section mobile styling */
    #services .col-md-4 {
        margin-bottom: 2rem;
    }
    
    /* Partners section mobile styling */
    #partners .col-6 {
        padding: 1rem;
    }
    
    /* Form improvements for mobile */
    .form-control {
        margin-bottom: 1rem;
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .btn {
        width: 100%; /* Full width buttons on mobile */
        padding: 0.75rem;
    }
    
    .scroll-top-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* Additional responsive improvements for very small devices */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 30px; /* Smaller logo on mobile */
    }
    
    .carousel-item {
        height: 40vh;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 30px 0;
    }
}

/* Animation styles */
.slide-up {
    animation: slideUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Carousel animation styles */
.carousel-item {
    transition: transform 1.2s ease-in-out;
}

.service-img-wrapper {
    height: 300px;
    width: 300px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Active state for navbar links */
.navbar-light .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn i {
    font-size: 1.2rem;
}

.scroll-top-btn:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.show {
    opacity: 1;
    transform: translateY(0);
} 