/* Custom Bootstrap Theme for GS Products India */

:root {
    --primary-blue: #1e3c72;
    --secondary-blue: #2a5298;
    --light-blue: #4a90e2;
    --gold: #ffd700;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styling */
.navbar.bg-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
@media (min-width: 992px) {
    .strength-pad {
        padding-bottom: 142px;
    }
}

.client-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    padding: 10px;
    background-color: #fff;
}



.logo-text {
    background: linear-gradient(45deg, #fff, var(--light-blue), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 50px;
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold) !important;
}

/* Hero Carousel */
.hero-slide {
    height: 600px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-blue) 100%);
}

.carousel-item {
    transition: transform 1s ease, opacity 1s ease-in-out;
}

/* Card Hover Effects */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary {
    color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

/* Text Colors */
.text-primary {
    color: var(--secondary-blue) !important;
}

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

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

/* Contact Form Specific Styles */
.contact-form .form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
}

.contact-info-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
}

.contact-info-box h5 {
    color: white;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    display: none;
}

.success-message.show {
    display: block;
}

/* Team Cards */
.team-member-card {
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    margin: 0 auto 1rem;
}

/* Branch Cards */
.branch-card {
    border-left: 4px solid var(--secondary-blue);
    transition: all 0.3s ease;
}

.branch-card:hover {
    border-left-width: 8px;
    transform: translateX(5px);
}

/* Testimonial Cards */
.testimonial-card {
    position: relative;
    padding-top: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--light-blue);
    opacity: 0.2;
}

/* Mission Content */
.mission-content {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 3rem;
    border-radius: 10px;
}

/* Tab Styles */
.nav-tabs .nav-link {
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
    border-bottom: none;
}

.nav-tabs .nav-link.active {
    background-color: var(--secondary-blue);
    color: white;
    border-color: var(--secondary-blue);
}

/* Footer */
footer {
    margin-top: 4rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        height: 400px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}


/* Service Cards */
.service-card {
    min-height: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .card-title {
    font-weight: 600;
    color: #1e3c72;
}

/* Services Carousel */
#servicesCarousel {
    position: relative;
    padding: 0 50px;
}

#servicesCarousel .carousel-control-prev,
#servicesCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #1e3c72;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

#servicesCarousel .carousel-control-prev {
    left: -20px;
}

#servicesCarousel .carousel-control-next {
    right: -20px;
}

#servicesCarousel .carousel-control-prev:hover,
#servicesCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: #1e3c72;
}

#servicesCarousel .carousel-indicators {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 0;
}

#servicesCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #servicesCarousel .col-lg-4:last-child {
        display: none;
    }
}

@media (max-width: 767px) {
    #servicesCarousel .col-md-6:not(:first-child) {
        display: none;
    }
    
    #servicesCarousel {
        padding: 0 40px;
    }
}

/* Hero Carousel Styles */
#heroCarousel {
    position: relative;
}

.hero-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% dark overlay */
    z-index: 1;
}

/* Ensure text appears above overlay */
.hero-slide .container {
    z-index: 2;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 0.5rem;
}

/* Carousel Indicators */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
}

.carousel-indicators button.active {
    background-color: white;
}

/* Button Styles */
.hero-slide .btn-light {
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.hero-slide .btn-light:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        height: 400px;
    }
    
    .hero-slide h1 {
        font-size: 2rem !important;
    }
    
    .hero-slide .lead {
        font-size: 1rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        height: 350px;
    }
    
    .hero-slide h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-slide .btn-lg {
        padding: 0.5rem 2rem;
        font-size: 1rem;
    }
}
