/* General Styles */
body {
    padding-top: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
    width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}

.navbar.navbar-transparent .navbar-brand,
.navbar.navbar-transparent .navbar-nav .nav-link {
    color: white !important;
}

/* Active navigation state for transparent navbar */
.navbar.navbar-transparent .navbar-nav .nav-link.active {
    color: white !important;
    font-weight: 600;
    position: relative;
}

.navbar.navbar-transparent .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 30px;
        opacity: 1;
    }
}

.navbar.navbar-transparent .btn-primary {
    background-color: rgba(13, 110, 253, 0.8);
    border-color: rgba(13, 110, 253, 0.8);
}

.navbar.navbar-scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.navbar.navbar-scrolled .navbar-brand,
.navbar.navbar-scrolled .navbar-nav .nav-link {
    color: #333 !important;
}

/* Active navigation state for scrolled navbar */
.navbar.navbar-scrolled .navbar-nav .nav-link.active {
    color: #0d6efd !important;
    font-weight: 600;
    position: relative;
}

.navbar.navbar-scrolled .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* Hover effect for nav links */
.navbar .navbar-nav .nav-link {
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 8px;
}

.navbar .navbar-nav .nav-link:not(.active):hover {
    opacity: 0.8;
}

/* Hover underline effect for non-active links */
.navbar .navbar-nav .nav-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: currentColor;
    opacity: 0.5;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:not(.active):hover::after {
    width: 20px;
}

/* Ensure active state is always visible */
.navbar .navbar-nav .nav-link.active {
    pointer-events: auto;
    opacity: 1 !important;
}

/* Alternative active state style with background (uncomment to use) */
/*
.navbar .navbar-nav .nav-link.active {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 5px;
    padding: 8px 16px;
}

.navbar.navbar-transparent .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar.navbar-scrolled .navbar-nav .nav-link.active {
    background-color: rgba(13, 110, 253, 0.1);
}
*/

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

/* Services Section */
.service-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

/* Value Proposition */
.value-prop-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

/* Custom Button Styles */
.btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-outline-light {
    border-width: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh !important;
        min-height: 600px !important;
        max-height: 800px !important;
    }
    
    .hero-content {
        padding-top: 100px !important;
        padding-bottom: 50px !important;
        text-align: center !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
    }
    
    /* Mobile Navbar Improvements */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .social-icons a {
        font-size: 1.3rem;
        margin: 0 10px;
    }
    
    /* Mobile collapsed navbar background */
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 10px;
        padding: 1rem;
    }
    
    .navbar-transparent .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
    }
    
    .navbar-transparent .navbar-nav .nav-link {
        color: white !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 100vh !important;
        min-height: 500px !important;
        max-height: 700px !important;
    }
    
    .hero-content {
        padding-top: 80px !important;
        padding-bottom: 30px !important;
    }
    
    .hero-content h1 {
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .social-icons a {
        font-size: 1.2rem;
        margin: 0 8px;
    }
}

#footer {
    background-color: #1f1f1f;
    color: #999;
    padding: 60px 0 0;
}

#footer .footer-content {
    padding-bottom: 40px;
}

#footer .widget {
    margin-bottom: 30px;
}

#footer .widget-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#footer .list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .list li {
    margin-bottom: 10px;
}

#footer .list li a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

#footer .list li a:hover {
    color: #fff;
    padding-left: 6px;
}

#footer .btn-inverted {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#footer .btn-inverted:hover {
    background-color: #fff;
    color: #1f1f1f;
}

#footer .copyright-content {
    background-color: #181818;
    padding: 20px 0;
    margin-top: 40px;
}

#footer .copyright-text {
    color: #777;
    font-size: 14px;
}

#footer .copyright-text a {
    color: #999;
    text-decoration: none;
}

#footer .copyright-text a:hover {
    color: #fff;
}

#scrollTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #1f1f1f;
    border-radius: 4px;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    z-index: 1000;
}

#scrollTop:hover {
    background: #333;
}

#scrollTop i {
    font-size: 18px;
}

/* Widget content styling */
#footer .widget p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #footer .widget {
        margin-bottom: 40px;
    }
    
    #footer .col-lg-3 {
        margin-bottom: 30px;
    }
}

/* Services Page Styles */
.page-title {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

/* Service Cards */
.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--bs-primary);
    color: #fff;
}

.service-card .icon-box i {
    font-size: 28px;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.service-card:hover .icon-box i {
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 20px 0;
    text-align: center;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 20px;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.service-features li {
    margin-bottom: 10px;
    color: #6c757d;
}

.service-features li i {
    color: var(--bs-primary);
    margin-right: 10px;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #f8f9fa;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.feature-icon i {
    font-size: 24px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: #6c757d;
    margin: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(45deg, var(--bs-primary), #2196f3);
}

.cta h2 {
    font-weight: 600;
}

.btn-light {
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .page-title {
        padding: 60px 0;
    }
    
    .why-choose-us img {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .page-title h1 {
        font-size: 2rem;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
} 