/* ================================================================
   Grace Engineering Company (GEC) - Custom Branding & Enhancements
   ================================================================ */

:root {
    --gec-navy: #0e2246;
    --gec-blue: #1e3a8a;
    --gec-green: #2ea738;
    --gec-green-dark: #228b2a;
    --gec-red: #e02828;
    --gec-accent: #f19e1f;
    --gec-sky: #f0f6ff;
    --gec-dark: #111827;
    --gec-gray: #4b5563;
}

/* Header & Logo styling */
.header-con .navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.header-con .navbar-brand img,
.navbar-brand-logo {
    height: 52px;
    max-height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-con .navbar-brand:hover img {
    transform: scale(1.03);
}

.footer-con .footer-logo img {
    height: 58px;
    max-height: 58px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Topbar Info Bar */
.gec-topbar {
    background: #0b1a35;
    color: #e2e8f0;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gec-topbar a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gec-topbar a:hover {
    color: #2ea738;
}

.gec-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 20px;
}

.gec-topbar-item i {
    color: #2ea738;
    font-size: 13px;
}

.gec-gst-badge {
    background: rgba(46, 167, 56, 0.18);
    border: 1px solid rgba(46, 167, 56, 0.4);
    color: #4ade80;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Navbar active and hover tweaks */
.header-con .navbar-expand-lg .navbar-nav {
    gap: 32px;
    padding-right: 20px;
    padding-left: 20px;
}

.header-con .navbar-light .navbar-nav .nav-link {
    font-weight: 600;
}

.header-con .navbar-light .navbar-nav .nav-link:hover,
.header-con .navbar-light .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: var(--gec-navy);
}

/* ================================================================
   Hero Banner Slider & Screen-Height Fit
   ================================================================ */
.banner-con {
    height: calc(100vh - 132px) !important;
    min-height: 600px !important;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    background: transparent !important;
}

.banner-con::before {
    display: none !important;
}

.gec-banner-slider,
.gec-banner-slider .carousel-inner {
    height: 100% !important;
}

.gec-banner-slider .carousel-item {
    height: 100% !important;
}

.gec-slide-item {
    position: relative;
    height: 100% !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
    overflow: hidden;
}

.gec-slide-item.active,
.gec-slide-item.carousel-item-next,
.gec-slide-item.carousel-item-prev {
    display: flex !important;
    align-items: center;
}

.gec-slide-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(14, 34, 70, 0.94) 0%, rgba(14, 34, 70, 0.78) 55%, rgba(14, 34, 70, 0.45) 100%);
    z-index: 1;
    border-radius: 50px;
}

.gec-slide-item .wrapper1605 {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 50px;
}

.gec-slide-item .row,
.banner-con .row {
    height: 100% !important;
    min-height: auto !important;
    max-height: none !important;
    padding-bottom: 0 !important;
    align-items: center !important;
}

.banner-con .banner-content-con {
    max-width: 760px;
    padding: 20px 0;
}

.banner-con .banner-content-con h1 {
    font-size: 52px !important;
    line-height: 58px !important;
    margin-bottom: 18px !important;
    color: #ffffff !important;
    font-weight: 700;
}

.banner-con .banner-content-con p {
    font-size: 16px !important;
    line-height: 26px !important;
    margin-bottom: 24px !important;
    max-width: 620px;
}

.banner-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.banner-badge-box i {
    color: #2ea738;
}

/* Indicators */
.gec-slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 60px;
    margin: 0;
    justify-content: flex-start;
    z-index: 15;
}

.gec-slider-indicators li {
    width: 32px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    margin-right: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gec-slider-indicators li.active {
    background-color: var(--gec-green);
    width: 54px;
}

/* Controls */
.gec-slider-control-prev,
.gec-slider-control-next {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: all 0.3s ease;
    z-index: 15;
    text-decoration: none !important;
}

.gec-slider-control-prev:hover,
.gec-slider-control-next:hover {
    background: var(--gec-green);
    color: #ffffff;
    opacity: 1;
}

.gec-slider-control-prev {
    left: 20px;
}

.gec-slider-control-next {
    right: 20px;
}

/* Scroll Down Exploration Button */
.banner-con .scrol-outer {
    right: 60px;
    bottom: 25px !important;
    text-align: center;
    z-index: 20;
}

.banner-con .scrol-outer span {
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.banner-con a.scroll-down-arrow figure {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: var(--gec-green);
    border: 2px solid #ffffff;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.banner-con a.scroll-down-arrow:hover figure {
    background-color: var(--gec-navy);
    transform: translateY(4px);
}

/* Floating Badges on Slide */
.gec-slider-badges {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
}

@media (max-width: 1199px) {
    .gec-slider-badges {
        display: none;
    }
}

.gec-slider-badge-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    min-width: 220px;
    transition: transform 0.3s ease;
}

.gec-slider-badge-card:hover {
    transform: translateX(-5px);
}

.gec-slider-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(46, 167, 56, 0.15);
    color: #2ea738;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.gec-slider-badge-text h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0e2246;
    margin-bottom: 2px;
}

.gec-slider-badge-text p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.2;
}

/* Scroll button positioning */
.banner-con .scrol-outer {
    right: 70px !important;
    bottom: 25px !important;
    z-index: 15 !important;
}

@media (max-width: 991px) {
    .banner-con {
        height: auto !important;
        min-height: 540px !important;
        max-height: none !important;
    }
    .gec-slide-item {
        min-height: 540px !important;
        border-radius: 30px !important;
    }
    .gec-slide-item::before {
        border-radius: 30px !important;
    }
    .banner-con .banner-content-con h1 {
        font-size: 34px !important;
        line-height: 40px !important;
    }
    .gec-slider-indicators {
        bottom: 15px;
        left: 25px;
    }
    .gec-slider-control-prev,
    .gec-slider-control-next {
        display: none;
    }
    .banner-con .scrol-outer {
        display: none !important;
    }
}

/* Trust Pill Section */
.gec-trust-wrapper {
    clear: both;
    float: left;
    width: 100%;
    position: relative;
    z-index: 5;
    margin-top: 50px;
    margin-bottom: 15px;
}

.gec-trust-strip {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 30px;
    box-shadow: 0 10px 40px rgba(14, 34, 70, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    margin-top: 0;
    z-index: 10;
}

#about.about-con {
    padding-top: 80px !important;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
}

.trust-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gec-sky);
    color: var(--gec-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon-box {
    background: var(--gec-green);
    color: #ffffff;
    transform: translateY(-3px);
}

.trust-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--gec-navy);
    margin-bottom: 2px;
}

.trust-desc {
    font-size: 13px;
    color: var(--gec-gray);
    margin: 0;
}

/* Services Grid & Cards */
.gec-service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid #edf2f7;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gec-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(14, 34, 70, 0.14);
    border-color: #2ea738;
}

.gec-service-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.gec-service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gec-service-card:hover .gec-service-img-wrap img {
    transform: scale(1.08);
}

.gec-service-num {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gec-navy);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gec-service-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gec-green-dark);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gec-service-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gec-service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gec-navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.gec-service-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gec-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.gec-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--gec-green);
    text-decoration: none;
    font-size: 14px;
    transition: gap 0.2s ease;
}

.gec-service-link:hover {
    color: var(--gec-navy);
    gap: 12px;
    text-decoration: none;
}

/* Maintenance Services Cards */
.gec-maint-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.35s ease;
    height: 100%;
}

.gec-maint-card:hover {
    transform: translateY(-6px);
    border-color: #f19e1f;
    box-shadow: 0 15px 35px rgba(241, 158, 31, 0.15);
}

.gec-maint-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff7ed;
    color: #e09017;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.gec-maint-card:hover .gec-maint-icon {
    background: #e09017;
    color: #ffffff;
    transform: scale(1.1);
}

/* Major Clients Strip */
.gec-clients-section {
    background: #f8fafc;
    padding: 80px 0;
}

.client-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(14, 34, 70, 0.1);
    border-color: var(--gec-green);
}

.client-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(46, 167, 56, 0.1);
    color: var(--gec-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.client-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gec-navy);
    margin-bottom: 4px;
}

.client-card-tag {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Floating Action Buttons */
.gec-floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gec-float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none !important;
    position: relative;
}

.gec-float-btn.whatsapp {
    background: #25D366;
}

.gec-float-btn.call {
    background: #0e2246;
}

.gec-float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.gec-float-btn .float-tooltip {
    position: absolute;
    right: 64px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.gec-float-btn:hover .float-tooltip {
    opacity: 1;
}

/* Mobile Responsiveness adjustments */
@media (max-width: 767px) {
    .gec-topbar {
        text-align: center;
    }
    .gec-topbar-item {
        margin: 4px 10px;
        font-size: 12px;
    }
    .header-con .navbar-brand img {
        height: 42px;
    }
    .gec-trust-strip {
        margin-top: 20px;
        padding: 20px 15px;
    }
}

@media (max-width: 991px) {
    .banner-con {
        height: auto !important;
        min-height: calc(100vh - 120px) !important;
        padding: 50px 0 70px 0 !important;
        border-radius: 30px !important;
    }
    .gec-slide-item {
        min-height: calc(100vh - 120px) !important;
        border-radius: 30px !important;
        padding: 40px 15px;
    }
    .gec-slide-item .wrapper1605 {
        padding: 0 15px;
    }
    .banner-con .banner-content-con h1 {
        font-size: 38px !important;
        line-height: 44px !important;
    }
    .banner-con .banner-content-con p {
        font-size: 15px !important;
        line-height: 24px !important;
    }
    .gec-slider-control-prev,
    .gec-slider-control-next {
        display: none !important;
    }
    .banner-con .scrol-outer {
        display: none !important;
    }
    .gec-slider-indicators {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

@media (max-width: 575px) {
    .banner-con .banner-content-con h1 {
        font-size: 30px !important;
        line-height: 36px !important;
    }
    .banner-badge-box {
        font-size: 12px;
        padding: 5px 12px;
    }
    .banner-con .banner-btn-group a {
        width: 100%;
        margin-right: 0 !important;
    }
}

