.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: 0.5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: "Roboto", sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: "Roboto", sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: "Roboto", sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

/*** Navbar ***/
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0 !important;
}

.navbar .container {
    max-width: 1200px;
    padding: 0 15px;
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #79a864 !important;
    background-color: rgba(121, 168, 100, 0.1);
}

/* Contact Us Button */
.btn-contact {
    background: linear-gradient(45deg, #79a864, #5d8049) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 0.75rem 1.5rem !important;
    margin-left: 1rem !important;
    border: none !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-contact:hover {
    background: linear-gradient(45deg, #5d8049, #79a864) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 168, 100, 0.4);
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    color: #333;
    font-weight: 400;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #79a864;
    color: white;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid #79a864;
    padding: 0.5rem;
    border-radius: 8px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(121, 168, 100, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop Dropdown Hover Effect */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    .dropdown-menu {
        margin-top: 10px;
    }
}
/*** Navbar End ***/

/*** Recognition Start ***/
.award {
    background-color: #f0f5f7;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.award .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.award img {
    max-width: 60%;
    height: auto;
    margin-bottom: 1rem;
}

.award p {
    font-size: 1rem;
    color: #333;
}

.award a:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.award a:hover h6 {
    color: #c300ff; 
    transition: color 0.3s ease-in-out;
}
/*** Recognition End ***/

/*** Header Start ***/
.about-header {
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.098);
}
/*** Header End ***/

/*** Flipbook Start ***/
.custom-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 200rem;
    height: 40rem;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    outline: 0;
    margin: 0 auto;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.custom-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

/*** Flipbook End ***/

/*** Client Start ***/
.client-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    height: 300px;
    background-color: #ffffff;
    left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.slider-track {
    display: flex;
    gap: 30px;
    will-change: transform;
}

.slider-track img {
    height: 120px;
    width: auto;
}

.row-1,
.row-2 {
    display: flex;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.row-1 {
    animation-name: slide-left;
}

.row-2 {
    animation-name: slide-right;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}
/*** Client End ***/

/*** CTA Start ***/
/* CTA Section - Responsive Background */
.cta-section-svg {
    background-image: url("../svg/cta_banner.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cta-button-only {
    position: relative;
    z-index: 2;
    text-align: center;
}

.btn-cta-svg {
    display: inline-block;
    background-color: #aafa50;
    color: #1a4710;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(170, 250, 80, 0.4);
    border: 2px solid transparent;
}

.btn-cta-svg:hover {
    background-color: #79a864;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(121, 168, 100, 0.5);
    text-decoration: none;
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .cta-section-svg {
        min-height: 350px;
        padding: 60px 0;
    }
    
    .btn-cta-svg {
        font-size: 1.1rem;
        padding: 12px 35px;
    }
}

/* Mobile Responsive - No SVG Background */
@media (max-width: 768px) {
    .cta-section-svg {
        background-image: none;
        background: linear-gradient(135deg, #b8e6b8 0%, #79a864 100%);
        min-height: 250px;
        padding: 40px 0;
        text-align: center;
    }
    
    .cta-mobile-content {
        padding: 20px;
    }
    
    .cta-mobile-title {
        font-size: 2rem;
        font-weight: 700;
        color: #1a4710;
        margin-bottom: 0.5rem;
        text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
    }
    
    .cta-mobile-subtitle {
        font-size: 1.1rem;
        color: #2d5a47;
        margin-bottom: 1.5rem;
        font-weight: 500;
    }
    
    .btn-cta-svg {
        font-size: 1rem;
        padding: 15px 35px;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .cta-section-svg {
        min-height: 220px;
        padding: 30px 15px;
    }
    
    .cta-mobile-content {
        padding: 15px;
    }
    
    .cta-mobile-title {
        font-size: 1.6rem;
    }
    
    .cta-mobile-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .btn-cta-svg {
        font-size: 0.9rem;
        padding: 12px 30px;
        max-width: 250px;
    }
}
/*** CTA End ***/

/*** Service Header Start ***/
.header {
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 270px 0;
}
/*** Service Header End ***/

/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
}
/*** About End ***/

/*** Web Start ***/
.web p.green-border {
    border-left: 5px solid green;
    padding-left: 10px;
    text-align: justify;
}
/*** Web End ***/

/*** Product Showcase Start ***/
.product-section {
    background-image: url("../svg/pservice_banner.svg");
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 15px rgba(5, 5, 5, 0.262);
}

.product-section img {
    object-fit: contain;
    z-index: 1;
}

.laptop-img {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 100%;
    max-width: 500px;
}

.phone-img {
    position: absolute;
    bottom: -4%;
    right: 0px;
    width: 100%;
    max-width: 570px;
    z-index: 1;
}

.text-center {
    z-index: 1;
    text-align: center;
}

.btn-outline-light {
    border: 2px solid rgb(190, 39, 39);
    color: white;
    transition: background-color 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: rgba(53, 186, 12, 0.69);
}

.product-section h2 {
    color: var(--Schemes-On-Primary, #141414);
    text-align: center;
    font-family: "Enriqueta", serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.96px;
}

@media (max-width: 768px) {
    .laptop-img {
        position: relative; 
        top: auto;
        left: auto;
        transform: none;
        margin: 20px auto; 
        max-width: 300px; 
    }

    .phone-img {
        position: relative; 
        bottom: auto;
        right: auto;
        margin: 20px auto; 
        max-width: 350px; 
    }
}

@media (max-width: 480px) {
    .laptop-img, .phone-img {
        max-width: 250px; 
        margin: 10px auto; 
    }
}

/*** Product Showcase End ***/

/*** Brief Start ***/
.card {
    background: #161616;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    position: relative;
    transform-origin: center;
    transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border-radius: 1;
    border: none;
    outline: none;
}

.card:hover {
    transform: scale(1.05);
}

.card .content {
    position: absolute;
    z-index: 1;
    bottom: 50px;
    padding: 0 24px;
    transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #fff;
}

.card:hover .content {
    bottom: 36px;
}

.card .image {
    position: relative;
    width: 100%;
    border-radius: 0;
}

.card .image img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.card .image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 1) 100%
    );
}
/*** Brief End ***/

/*** Data Driven Insight Start ***/
.data-driven-section h2 {
    font-size: 2rem;
    color: #333;
    text-align: left; 
}

.data-driven-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: left; 
}
/*** Data Driven Insight End ***/

/*** Card Slider Start ***/
.centered-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.card-bc {
    width: 100% !important;
    max-width: 1200px !important;
    height: 600px !important;
    border-radius: 4px !important;
    background: #212121 !important;
    display: flex !important;
    gap: 2px !important;
    padding: 0.2em !important;
    transition: width 0.5s ease, height 0.5s ease !important;
}

.card-bc p {
    position: relative;
    height: 100%;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border: 1px solid #001200f1;
    border-radius: 1px;
}

.card-bc p:hover,
.card-bc p.clicked {
    flex: 9;
}

.card-bc p span {
    position: absolute;
    bottom: 30%;
    left: 8%;
    transform: translateX(-50%) rotate(-90deg);
    color: #efefef;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.card-bc p:hover span,
.card-bc p.clicked span {
    transform: rotate(0);
    left: 5%;
}

.card-bc p img {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    opacity: 0.8 !important;
    object-fit: cover !important;
    transition: all 0.5s ease !important;
}

.card-bc p:hover img,
.card-bc p.clicked img {
    opacity: 1 !important;
}

.card-bc p span,
.card-bc p img {
    pointer-events: none;
}

/* Product Showcase Positioning - Fixed height green box */
.product-section {
    position: relative !important;
    overflow: visible !important;
    height: 400px !important; /* Fixed height for green box */
    max-height: 400px !important;
}

/* Laptop - Reduce size by 10% */
.laptop-img {
    max-width: none !important;
    width: auto !important;
    height: 567px !important; /* 10% smaller from 630px */
    object-fit: contain !important; /* Maintain aspect ratio */
    position: relative !important;
    left: 20% !important; /* Move to center by 20% */
}

/* Phone - Move up by 20% */
.phone-img {
    max-width: 600px !important;
    height: auto !important;
    position: absolute !important;
    right: -50px !important; /* Move more to center */
    top: 30% !important; /* Move up from 50% to 30% */
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

/* Fix container to prevent expansion */
.container-fluid.web {
    overflow: visible !important;
}

.product-section .row {
    height: 400px !important;
    align-items: center !important;
}

/* Laptop column - allow overflow */
.product-section .col-lg-3:first-child {
    overflow: visible !important;
    height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Center content - move text and button up by 20% */
.product-section .col-lg-6 {
    position: relative !important;
    top: -20% !important;
}
.card-title {
    font-weight: bold;
    font-size: 17px;
    display: block;
    margin: 10px 10px;
    max-width: 120%;
}

.hover-text {
    display: none;
    position: absolute;
    top: 70%;
    left: 5%;
    transform: translate(-50%, -50%);
    color: #ff568e;
    text-align: justify;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0 1em;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
}

.card-bc p:hover .hover-text,
.card-bc p.clicked .hover-text {
    display: block;
    opacity: 1;
    left: 5%;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
}

/* Mobile Responsive - Vertical Cards */
@media (max-width: 768px) {
    /* Cards - Stack vertically instead of horizontal */
    .card-bc {
        flex-direction: column !important;
        height: auto !important;
        max-height: none !important;
        gap: 15px !important;
        padding: 15px !important;
    }

    .card-bc p {
        height: 120px !important;
        flex: none !important;
        border-radius: 8px !important;
    }

    .card-bc p:hover,
    .card-bc p.clicked {
        flex: none !important;
        height: 180px !important;
    }

    /* Text positioning for mobile */
    .card-bc p .card-title {
        transform: rotate(0) !important;
        bottom: 15px !important;
        left: 15px !important;
        font-size: 14px !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    .card-bc p:hover .card-title,
    .card-bc p.clicked .card-title {
        transform: rotate(0) !important;
        left: 15px !important;
        bottom: 80px !important; /* Move title higher when expanded */
    }

    .card-bc p .hover-text {
        top: 60% !important;
        left: 15px !important;
        transform: none !important;
        font-size: 12px !important;
        padding: 0 15px 0 0 !important;
        text-align: left !important;
    }

    .card-bc p:hover .hover-text,
    .card-bc p.clicked .hover-text {
        left: 15px !important;
        transform: none !important;
    }

    /* Product section - Reduce top spacing */
    .product-section {
        height: auto !important;
        padding: 5px 15px 30px 15px !important; /* Reduce top padding */
        margin-top: 0 !important;
    }

    .product-section .row {
        height: auto !important;
    }

    .product-section .col-lg-6 {
        top: 0 !important;
        margin: 20px 0 !important;
    }

    .product-section .col-lg-3:first-child {
        height: auto !important;
        margin: 15px 0 !important;
        position: relative !important; /* For absolute positioning of laptop */
    }
    
    .product-section .col-lg-3:last-child {
        height: auto !important;
        margin: 15px 0 !important;
    }

    /* Position laptop to overlap bottom of green box */
    .laptop-img {
        height: 126px !important; /* 30% smaller from 180px */
        left: 50% !important;
        position: absolute !important;
        max-width: 175px !important; /* 30% smaller from 250px */
        bottom: -60px !important; /* Overlap bottom of green box */
        transform: translateX(-50%) !important;
        z-index: 5 !important;
    }

    .phone-img {
        max-width: 120px !important;
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Centered box - Reduce spacing */
    .centered-box {
        min-height: auto !important;
        padding: 20px 15px 5px 15px !important; /* Reduce bottom padding */
        margin-bottom: 0 !important;
    }
    
    /* Text size adjustments */
    .product-section h2 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
}
/*** Card Slider End ***/

/*** Tech Start ***/
.banner-container {
    background-image: url("../img/banner-4.png");
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    margin-bottom: 3rem;
    position: relative;
}

.banner-container .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
}

.banner-content {
    height: 10rem;
}

.discover-btn {
    background-color: rgba(0, 0, 0, 0.1);
    color: #a5db3b;
    border-radius: 100px;
    border: 2px solid #3e3e3e;
}
/*** Tech End ***/

/*** Portfolio Research Start ***/
.filters {
    margin: 20px;
    text-align: center;
}

.filters button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    cursor: pointer;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-size: 16px;
}

.filters button.active {
    background-color: #af9b2a;
    color: white;
}

.system-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

.system {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.system-item {
    flex: 1 1 30%;
    max-width: 30%;
    margin: 10px;
    text-align: center;
}
.system-item a {
    transition: transform 0.2s ease-in-out;
}

.system-item a:hover,
.system-item a:focus,
.system-item a:active {
    transform: scale(1.1);
    text-decoration: none;
}
.system-item p {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
    word-wrap: break-word;
}

.system img {
    width: 70%;
    max-width: 20rem;
    height: auto;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(71, 71, 71, 0.8);
}
.container-fluid .system .system-item p {
    color: #515151;
}
.system-container,
.system {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    background-color: whitesmoke;
}

@media (max-width: 768px) {
    .system-container {
        flex-direction: column;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .system-item {
        width: 90%;
    }
}
/*** Portfolio  Research End ***/

/*** Portfolio Technology Start ***/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    position: relative;
    top: 0px;
    border-radius: 10px;
    max-width: 700px;
    width: 100%;
    overflow-y: auto;
    height: 700px;
}

.close-btn {
    position: absolute;
    font-size: 35px;
    left: 40rem;
    color: #e80918;
    cursor: pointer;
    /* border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center; */
}

.slideshow-container {
    max-width: 700px;
    height: auto;
    display: none;
    border-radius: 10px;
    position: absolute;
    top: 400px;
    left: 5px;
}

.systems-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.system-card {
    flex: 1 1 300px;
    max-width: 300px;
    max-height: 400px;
    text-align: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.system-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 5px;
}

.system-card:hover {
    transform: scale(1.05);
}

#popup-video {
    width: 90%;
    height: auto;
    display: none;
    border-radius: 10px;
    position: absolute;
    top: 380px;
    left: 30px;
}
/*** Portfolio Technology End ***/

/*** Footer Start ***/
.footer {
    background-color: #034824;
}

.footer-content {
    padding-left: 50px;
}

.link-hover:hover {
    color: #00ff7f !important;
}

.social-icons .btn {
    color: #000000;
}

.social-icons .btn:hover {
    color: #00ff7f;
}

/*** Footer End ***/

.media-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
    padding-left: 10%;
}
.media-card video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}
.media-content {
    padding: 20px;
}

/*** Clients Start  ***/
.logo-card {
    position: relative;
    width: 120px;
    height: 150px;
    margin: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(89, 88, 88, 0.15);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-card:hover {
    transform: scale(1.05);
}

.client-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.528);
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 5px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-card:hover .logo-overlay {
    opacity: 1;
}

.container h2 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}

.government-row,
.corporate-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 20px;
}
.clients-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    padding: 0rem 6rem;
}

.clients-subtitle {
    font-size: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .clients-title {
        font-size: 2.8rem;
    }
    .clients-subtitle {
        font-size: 2rem;
    }
}
/*** Clients End ***/

/*** Contact Us Start***/
.contact-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
}

.contact-section .left-side,
.contact-section .right-side {
    flex: 1;
    height: 100%;
}

.contact-section .left-side {
    background-color: #d3f294;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-section .right-side {
    background-image: url("../img/contact_us.png");
    background-size: cover;
    background-position: center;
}

.contact-section .left-side h4 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.contact-section .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #333;
    border-radius: 0;
    margin-bottom: 15px;
    padding: 10px 5px;
}

.contact-section .btn-submit {
    background-color: #000;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.contact-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 50px;
    color: #333;
}

@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        height: auto;
    }

    .contact-section .right-side {
        height: 300px;
    }

    .contact-section .left-side,
    .contact-section .right-side {
        flex: none;
        width: 100%;
    }
}
/*** Contact Us End***/

/*** About Us Start ***/
.container-div {
    width: 100%;
    height: 450px;
    position: relative;
    margin-top: 100px;
    padding-left: 10px;
    overflow: hidden;
}

.layer2 {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 20px);
    height: 100%;
    background: url("../img/layer_2.png");
    background-size: 100% 100%;
    transition: filter 2s;
    margin-left: 10px;
    border-radius: 30px;
}

.layer1 {
    width: 60%;
    max-width: 100%;
    height: 300px;
    background: url("../img/layer_1.png");
    background-size: 100% 100%;
    z-index: 1;
    transition: box-shadow 2s;
}

.layer1:hover ~ .layer2 {
    filter: blur(5px);
}

.layer1:hover {
    box-shadow: 0 25px 60px rgb(27, 5, 5);
}

@media (max-width: 768px) {
    .container-div {
        height: 300px;
        padding: 0 10px;
    }
    .layer2,
    .layer1 {
        width: calc(100% - 20px);
    }
}
/*** About Us End ***/

/*** Who We Are Start ***/

#our-team h2 {
    color: #333; 
}

#our-team p {
    font-size: 1rem; 
    line-height: 1.6; 
}

.team-header {
    background-color: #06442e; 
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); 
    padding: 20px;
    margin-bottom: 20px; 
}

.team-header h1 {
    color: white;
    font-size: 36px; 
    margin: 0; 
}


/* Team Card Styles */
.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(121, 168, 100, 0.1) 0%, rgba(6, 68, 46, 0.05) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 15px;
}

.team-card:hover::before {
    opacity: 1;
}

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

.team-card > * {
    position: relative;
    z-index: 2;
}

.team-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #999;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 68, 46, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-position {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.team-company {
    color: #06442e !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.linkedin {
    color: #0077b5;
    border-color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.social-link.email {
    color: #ea4335;
    border-color: #ea4335;
}

.social-link.email:hover {
    background: #ea4335;
    color: #fff;
}

/* Mobile Responsive for Team Cards */
@media (max-width: 768px) {
    .team-image-container {
        height: 250px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-position {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .team-social {
        gap: 12px;
    }
}


/*** Who We Are End ***/
/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0 !important;
    }
    
    .navbar .container {
        padding: 0 1rem;
    }
    
    .navbar-brand {
        margin-right: 1rem;
    }
    
    .navbar-brand img {
        height: 45px !important;
    }
    
    .navbar-collapse {
        background: white;
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid #e9ecef;
    }
    
    .navbar-nav {
        text-align: center;
        align-items: stretch !important;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem !important;
        border-radius: 8px;
        margin: 0;
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(121, 168, 100, 0.1);
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
        margin: 0.5rem 0 !important;
        background: #f8f9fa !important;
        width: 100%;
        border-radius: 8px;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 5px;
        margin: 0.25rem;
        width: calc(100% - 0.5rem);
    }
    
    .btn-contact {
        margin: 1rem 0 0.5rem 0 !important;
        padding: 1rem 2rem !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 576px) {
    .navbar .container {
        padding: 0 0.75rem;
    }
    
    .navbar-brand img {
        height: 40px !important;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem !important;
        font-size: 0.95rem;
    }
}
/* Fix container alignment and spacing */
.navbar .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

/* Ensure proper spacing on all screen sizes */
@media (min-width: 992px) {
    .navbar .container {
        max-width: 1140px;
    }
}

@media (min-width: 1200px) {
    .navbar .container {
        max-width: 1320px;
    }
}

/* Fix navbar brand spacing */
.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

/* Ensure navbar items are properly aligned */
.navbar-nav .nav-item .nav-link {
    display: block;
    padding-right: 0;
    padding-left: 0;
}

/* Fix dropdown positioning */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        min-width: 10rem;
        padding: 0.5rem 0;
        margin: 0.125rem 0 0;
        font-size: 1rem;
        color: #212529;
        text-align: left;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 0.375rem;
    }
}