/* Updated Hero Slider with Tracking Overlay */
.hero-slider {
    position: relative;
    overflow: visible; /* Important: changed from hidden */
    margin-top: -76px;
    height: 65vh;
    min-height: 400px;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 91, 0.8) 0%, rgba(0, 45, 91, 0.4) 100%);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 45, 91, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

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

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-blue);
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background-color: transparent;
    margin: 0 6px;
}

.carousel-indicators button.active {
    background-color: var(--secondary-orange);
    border-color: var(--secondary-orange);
}

/* Tracking Card Overlay */
.tracking-card-overlay {
    position: absolute;
    bottom: -100px; /* Position below hero */
    left: 0;
    width: 100%;
    z-index: 10;
    
    
}

.tracking-card {
    margin-top: 200px;
    background-color: var(--white);
    opacity: 0.9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tracking-card-title {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.tracking-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.tracking-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.tracking-input:focus {
    outline: none;
    border-color: var(--secondary-orange);
    box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.1);
}

.tracking-btn {
    padding: 15px 30px;
    background-color: var(--secondary-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    opacity: 1;
}

.tracking-btn:hover {
    background-color: #e05e1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.3);
}

.tracking-example {
    text-align: center;
}

.tracking-example p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Updated About Section */
.about-section {
    background-color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    z-index: 5;
    margin-top: 60px; /* Push down to clear the overlapping card */
}

.about-content {
    padding-top: 90px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    padding-right: 20px;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.core-values {
    padding-left: 20px;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.about-text .section-subtitle {
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 500;
}

.about-text p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.core-values .section-subtitle {
    margin-bottom: 25px;
}

/* Core Values Tabs - Updated */
.core-values-tabs {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: var(--light-blue);
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    flex: 1;
    padding: 15px 10px;
    background: none;
    border: none;
    color: var(--medium-gray);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    color: var(--secondary-orange);
    background-color: var(--white);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-orange);
}

.tab-btn:hover:not(.active) {
    color: var(--primary-blue);
}

.tabs-content {
    padding: 25px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tab-pane p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.tab-pane ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-pane ul li {
    padding: 8px 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 20px;
}

.tab-pane ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-orange);
    font-weight: bold;
}

.tab-pane ul li strong {
    color: var(--primary-blue);
}

/* Services Section Main */
.services-section-main {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.services-header {
    margin-bottom: 50px;
}

.section-title-main {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card-main {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card-main:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-main:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-service {
    color: var(--secondary-orange);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-service:hover {
    color: var(--primary-blue);
    gap: 12px;
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--white);
    padding: 80px 0;
}

.section-title-center {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.section-description {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-blue);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    transform: rotate(360deg);
}

.feature-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin: 0;
}

/* Services with Background Image */
.services-bg-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
}

.services-bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 91, 0.9), rgba(0, 45, 91, 0.7));
}

.services-bg-section .container {
    position: relative;
    z-index: 1;
}

.section-subtitle-center {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.section-title-center-light {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.service-bg-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-bg-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(243, 112, 33, 0.3);
}

.service-bg-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-bg-card:hover .service-bg-icon {
    background-color: var(--secondary-orange);
    transform: scale(1.1);
}

.service-bg-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-bg-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* Services Features Section */
.services-features-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-item-icon {
    background-color: var(--secondary-orange);
    color: var(--white);
    transform: rotate(15deg);
}

.feature-item-content h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin: 0;
}

.services-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.services-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.services-image:hover img {
    transform: scale(1.05);
}

/* Company Statistics Section */
.company-stats-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
}

.company-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 91, 0.95), rgba(243, 112, 33, 0.8));
}

.company-stats-section .container {
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotateY(180deg);
}

.stat-item h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* News & Blog Section */
.news-section {
    background-color: var(--white);
    padding: 80px 0;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
}

.blog-date span:first-child {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.blog-date span:last-child {
    font-size: 0.9rem;
    opacity: 0.9;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.blog-meta i {
    color: var(--secondary-orange);
    margin-right: 5px;
}

.blog-content h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-link {
    color: var(--secondary-orange);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-blue);
    gap: 12px;
}

/* Footer Brand Name */
.brand-name-footer {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--white), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: 3;
        grid-column: 1 / span 2;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: 70vh;
        min-height: 450px;
    }
    
    .carousel-item {
        height: 70vh;
        min-height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .tracking-card {
        padding: 25px;
        max-width: 90%;
    }
    
    .tracking-card-title {
        font-size: 1.3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 2;
        grid-column: 1;
    }
    
    .core-values {
        order: 3;
        padding-left: 0;
    }
    
    .section-title-main,
    .section-title-center,
    .section-title-center-light {
        font-size: 2.2rem;
    }
    
    .stat-item h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 65vh;
        min-height: 400px;
    }
    
    .carousel-item {
        height: 65vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .tracking-input-group {
        flex-direction: column;
    }
    
    .tracking-btn {
        width: 100%;
    }
    
    .tracking-card {
        padding: 20px;
    }
    
    .section-title-main,
    .section-title-center,
    .section-title-center-light {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .about-text .lead {
        font-size: 1.2rem;
    }
    
    .services-features-section .row {
        flex-direction: column-reverse;
    }
    
    .services-image {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }
    
    .carousel-item {
        height: 60vh;
        min-height: 350px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .tracking-card-overlay {
        transform: translateY(30%);
    }
    
    .section-title-main,
    .section-title-center,
    .section-title-center-light {
        font-size: 1.8rem;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-item h2 {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .feature-item-icon {
        margin: 0 auto 15px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.reveal-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stat {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.reveal-stat.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delays */
.reveal-slide:nth-child(1) { transition-delay: 0.1s; }
.reveal-slide:nth-child(2) { transition-delay: 0.3s; }
.reveal-slide:nth-child(3) { transition-delay: 0.5s; }

.reveal-card:nth-child(1) { transition-delay: 0.1s; }
.reveal-card:nth-child(2) { transition-delay: 0.2s; }
.reveal-card:nth-child(3) { transition-delay: 0.3s; }
.reveal-card:nth-child(4) { transition-delay: 0.4s; }
.reveal-card:nth-child(5) { transition-delay: 0.5s; }
.reveal-card:nth-child(6) { transition-delay: 0.6s; }