
/* toast css */
.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 15px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

.toast.success {
    background-color: #28a745; /* Green for success */
}

.toast.error {
    background-color: #dc3545; /* Red for error */
}



/* video container start */
.video-container {
    position: relative;
    width: 100%;
    height: 530px; /* Set the desired height */
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop and center the video */
}

/* video container end */

/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    
}
.custom-btn-padding {
    padding: 12px 24px;
  }
  .custom-btn-margin {
    margin: 0 10px;
  }
.btn-square {
    width: 38px;
    height: 38px;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    gap: 10px;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 5px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
    
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        align-items: baseline;
        gap: 6px;
        line-height: 1;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
        margin-top: 0;
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}
.carousel-caption .carousel-content a button.carousel-content-btn3 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn3:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../newimgs/about.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 247, 250, 0.9) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 40px 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.services .services-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(3, 43, 243, 0.08) 0%, rgba(3, 107, 243, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(3, 43, 243, 0.12) 0%, rgba(3, 107, 243, 0.08) 100%);
    transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(3, 43, 243, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 253, 0.95) 100%);
}

.services-item:hover::before {
    opacity: 1;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
    transform: scale(1.08);
}

.services-content-icon {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}

.services-content-icon img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: filter 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(3, 43, 243, 0.15));
    width: 25%;
    max-width: 80px;
    height: auto;
}

.services-item:hover .services-content-icon img {
    filter: drop-shadow(0 8px 20px rgba(3, 43, 243, 0.25));
}

.services-content-icon h4 {
    color: #1a1a2e;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: color 0.4s ease;
}

.services-item:hover .services-content-icon h4 {
    color: var(--bs-secondary);
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.project-img,
.services-content-icon,
.team-img,
.testimonial-item,
.blog-item {
    text-align: center;
}

.project-grid {
    justify-items: center;
}

.project-grid > [class*="col-"] {
    display: flex;
    justify-content: center;
}

.project-item {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.project-grid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.project > .container > .row {
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
}

.services-item {
    margin-left: auto;
    margin-right: auto;
}

.services img,
.project img,
.blog img,
.team img,
.testimonial img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;
    min-height: 320px;
    margin: 0 10px;
    border-radius: 10%;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.testimonial-carousel .owl-item {
    display: flex;
    align-items: stretch;
    padding: 0 6px;
}

.testimonial-carousel .owl-item .testimonial-item {
    width: 100%;
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-stage-outer {
    padding: 0 18px;
}

.testimonial-carousel .owl-item {
    padding: 0 10px;
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

.section-cards-section {
    padding: 80px 0;
}
.section-cards-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 992px) {
    .section-cards-inner {
        padding: 0 40px;
    }
}
.section-cards-heading {
    max-width: 620px;
    margin: 0 auto 40px;
    text-align: center;
}
.section-subtitle {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 18px;
}
.section-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}
.section-cards-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    justify-items: stretch;
}
@media (max-width: 992px) {
    .section-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .section-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
.info-card {
    height: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
    border-radius: 20px;
    padding: 20px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.18);
}
.info-card h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}
.info-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}
@media (max-width: 576px) {
    .info-card {
        padding: 28px;
    }
    .section-title {
        font-size: 28px;
    }
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    /* background: #26d48c; */
    background: #111010;
}

.contact-form {
    /* background: #26d48c; */
    background: #111010;
}

.contact-detail {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 !important;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(11, 17, 32, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 32px 80px rgba(2, 6, 23, 0.55);
    overflow: hidden;
}

.contact-detail::before {
    content: none !important;
    display: none !important;
}

.contact-detail > .row:first-of-type {
    margin-left: 0;
    margin-right: 0;
    padding: 40px 40px 18px;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 20px;
}

.contact-detail > .row:first-of-type > [class*="col-"] {
    width: 100%;
    max-width: none;
}

.contact-detail > .row:first-of-type .d-flex {
    align-items: flex-start;
    height: 100%;
    min-height: 132px;
    padding: 22px !important;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-detail > .row:first-of-type .d-flex:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(2, 6, 23, 0.45);
    border-color: rgba(37, 99, 235, 0.35);
}

.contact-detail > .row:first-of-type h4 {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.contact-detail > .row:first-of-type a {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    line-height: 1.55;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    display: block !important;
    text-decoration: none;
}

.contact-detail > .row:first-of-type a[href^="mailto:"] {
    font-size: 0.88rem !important;
    white-space: nowrap;
}

.contact-detail > .row:first-of-type .ms-3 {
    min-width: 0;
}

.contact-detail > .row:first-of-type a:hover {
    color: #ffffff !important;
}

.contact-detail > .row:first-of-type .btn-square {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #2563eb, #10b981) !important;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.contact-detail > .row:last-of-type {
    margin-left: 0;
    margin-right: 0;
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 20px;
    align-items: stretch;
}

.contact-detail > .row:last-of-type > [class*="col-"] {
    width: 100%;
    display: flex;
}

..contact-detail .contact-map,
.contact-detail .contact-form {
    width: 100%;
    min-height: 100%;
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-detail .contact-map {
    min-height: 320px;
    overflow: hidden;
}

.contact-detail .contact-map a,
.contact-detail .contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-map iframe {
    min-height: 320px;
    border: 0;
    border-radius: 20px;
}

.contact-detail .contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-detail .contact-form > form {
    width: 100%;
}

.contact-form .form-control {
    width: 100%;
    min-height: 56px;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: #6b7280;
}

.contact-form .form-control:focus {
    border-color: rgba(37, 99, 235, 0.95) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
    transform: translateY(-1px);
}

.contact-form textarea.form-control {
    min-height: 168px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    border: 0;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(37, 99, 235, 0.34);
    filter: brightness(1.04);
}

.contact-form .btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 3px;
}

.modern-toast,
.toast {
    min-width: 260px;
    max-width: min(92vw, 420px);
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.96);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-size: 0.95rem;
}

.toast.success,
.modern-toast--success {
    background: rgba(16, 185, 129, 0.95);
}

.toast.error,
.modern-toast--error {
    background: rgba(239, 68, 68, 0.95);
}

@media (max-width: 991.98px) {
    .contact-detail > .row:first-of-type,
    .contact-detail > .row:last-of-type {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact-detail > .row:first-of-type {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-detail > .row:last-of-type {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .contact-detail {
        border-radius: 22px;
    }

    .contact-detail > .row:first-of-type,
    .contact-detail > .row:last-of-type {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-detail > .row:first-of-type {
        grid-template-columns: 1fr;
    }

    .contact-detail > .row:first-of-type .d-flex,
    .contact-detail .contact-map,
    .contact-detail .contact-form {
        border-radius: 18px;
    }
}

/* Keep the mobile brand mark and company name together. */
@media (max-width: 767.98px) {
    .navbar-brand h1 > div {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap;
    }

    .navbar-brand h1 > div > img {
        width: 46px !important;
        height: 36px !important;
        flex: 0 0 auto;
    }

    .navbar-brand h1 > div > span {
        display: block;
        margin-left: 4px !important;
        font-size: 1rem !important;
        line-height: 1.05;
        white-space: nowrap;
    }

    .navbar-brand h1 > div > span .text-secondary,
    .navbar-brand h1 > div > span > span:not(.text-secondary) {
        display: block;
        font-size: 0.72rem !important;
    }
}

@media (max-width: 992px) {
    .project-grid,
    .services-inner {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .project-grid > [class*="col-"],
    .services-inner > [class*="col-"] {
        display: flex;
        justify-content: center;
    }

    .project > .container > .row {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .project > .container > .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .project-grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .project-grid .project-item {
        width: min(100%, 620px);
    }
}
.contact-detail .row.g-5 {
    gap: 1.5rem;
}
.contact-detail .d-flex {
    gap: 1rem;
}
.contact-detail .d-flex .btn-square {
    min-width: 42px;
    min-height: 42px;
}
.contact-detail .contact-map,
.contact-detail .contact-form {
    padding: 1.5rem !important;
}
.contact-map iframe {
    min-height: 300px;
}
.contact-form .form-control {
    background: rgba(15, 23, 42, 0.96) !important;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}
.contact-form textarea.form-control {
    min-height: 160px;
}
.contact-form .btn {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-detail {
        padding: 2rem 1rem !important;
    }
    .contact-detail .contact-map,
    .contact-detail .contact-form {
        padding: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    .contact-detail {
        padding: 1.25rem 0.75rem !important;
    }
    .contact-detail .row.g-5 {
        gap: 1rem;
    }
    .contact-detail .d-flex {
        flex-wrap: wrap;
    }
    .contact-detail .d-flex .btn-square {
        margin-top: 0.15rem;
    }
    .contact-map iframe {
        min-height: 220px;
    }
}

/* Premium contact section styles */
.contact-section {
    background: #030712;
    padding: 80px 24px;
}
.contact-section-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
}
.contact-header {
    max-width: 760px;
    margin: 0 auto;
}
.contact-subtitle {
    font-size: 16px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 18px;
}
.contact-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
    margin: 0;
}
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.contact-card {
    min-height: 180px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 22px;
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-width: 0;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
    border-color: rgba(37, 99, 235, 0.3);
}
.contact-card-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(16, 185, 129, 0.94));
    color: #ffffff;
    font-size: 22px;
}
.contact-card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    grid-column: 2;
    grid-row: 1 / span 2;
    text-align: left;
}

.contact-info-box {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start !important;
    text-align: left !important;
    gap: 18px;
}

.contact-info-box > h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0 !important;
}

.contact-info-box > .btn-square {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-bottom: 0 !important;
}

.contact-info-box > div:last-child {
    grid-column: 2;
    grid-row: 2;
}
.contact-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}
.contact-card a {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    display: block;
}
.contact-card a:hover {
    color: #ffffff;
}

.contact-email-link {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    letter-spacing: -0.6px;
    font-size: 15px !important;
}

.contact-phone-icon {
    transform: scaleX(-1);
}
.contact-main-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: stretch;
}

.contact-detail > .contact-card-grid {
    padding: 40px 40px 0;
}

.contact-detail > .contact-main-grid {
    margin-top: 28px;
    padding: 0 40px 40px;
}
.contact-panel {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    min-height: 400px;
    background: #111827;
    box-sizing: border-box;
}
.contact-map-panel {
    position: relative;
}
.contact-map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.contact-form-panel {
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.premium-contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    flex: 1;
}
.contact-field {
    display: block;
}
.contact-field--grow {
    flex-grow: 1;
}
.contact-input,
.contact-textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    padding: 0 18px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.contact-input {
    height: 52px;
}
.contact-textarea {
    min-height: 200px;
    padding-top: 18px;
    padding-bottom: 18px;
    resize: none;
}
.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
    transform: translateY(-1px);
}
.premium-contact-submit {
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.premium-contact-submit:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}
.toast {
    visibility: hidden;
    min-width: 260px;
    max-width: min(92vw, 420px);
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.96);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 10;
}
.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 48px;
}
.toast.success {
    background: rgba(16, 185, 129, 0.95);
}
.toast.error {
    background: rgba(239, 68, 68, 0.95);
}

.contact-info-box {
    transition: all 0.3s ease;
    transform: translateY(0);
    min-width: 0;
}

.contact-info-box > div {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-info-box:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(56, 189, 248, 0.5) !important;
    background: rgba(56, 189, 248, 0.08) !important;
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.2);
}

.contact-info-box a {
    transition: color 0.3s ease;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.contact-info-box:hover a {
    color: #38bdf8 !important;
}

@media (max-width: 992px) {
    .contact-section {
        padding: 80px 24px;
    }
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .contact-detail > .contact-card-grid,
    .contact-detail > .contact-main-grid {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 768px) {
    .contact-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-panel {
        min-height: auto;
        height: auto;
        padding: 0;
    }
    .contact-form-panel {
        padding: 24px;
    }
    .contact-title {
        font-size: 40px;
    }
}
@media (max-width: 576px) {
    .contact-section {
        padding: 60px 16px;
    }
    .contact-card {
        min-height: 170px;
        padding: 24px;
    }
    .contact-detail > .contact-card-grid,
    .contact-detail > .contact-main-grid {
        padding-left: 16px;
        padding-right: 16px;
    }
    .contact-title {
        font-size: 32px;
    }
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}

.footer .copyright-row {
    margin-left: 0;
    margin-right: 0;
}

.footer .copyright-text {
    width: 100%;
    padding-left: 0;
    text-align: left !important;
}

/*** Footer End ***/

/*** Responsive Fixes ***/
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}
iframe {
    min-height: 250px;
}
.toast {
    min-width: 220px;
    max-width: 90%;
}
#note {
    width: 100%;
    max-width: 500px;
}
#note small {
    white-space: nowrap;
}
.video-container {
    min-height: 300px;
}
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 50px;
}
.project-img::before,
.project-img::after {
    width: 120px;
    height: 120px;
}
.project-content a {
    padding: 18px 22px;
}
.testimonial-item {
    background: #e3f0eb;
    min-height: 320px;
    margin: 0;
    max-width: 360px;
    border-radius: 10%;
    padding: 24px 26px;
}
@media (max-width: 1200px) {
    .section-cards-inner,
    .contact-section-inner,
    .container,
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }
    input.form-control[style*="width: 150px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    div.text-center.mx-auto.pb-5[style*="max-width: 600px"] {
        max-width: 100% !important;
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 992px) {
    .navbar-brand h1 {
        font-size: 1rem;
        white-space: normal;
        line-height: 1.2;
    }
    .navbar-brand img {
        width: 42px;
        height: auto;
    }
    .video-container {
        min-height: 260px;
    }
    .carousel-caption {
        padding: 0 20px;
    }
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .info-card {
        padding: 28px;
    }
    .testimonial-item {
        min-height: auto;
        max-width: 100%;
    }
    .carousel-item {
        min-height: auto;
    }
    .carousel-caption {
        padding: 0 20px;
    }
    .section-title {
        font-size: 30px;
    }
    .section-subtitle {
        font-size: 14px;
    }
    .project-img::before,
    .project-img::after {
        width: 90px;
        height: 90px;
    }
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 24px;
    }
    .info-card {
        padding: 28px;
    }
    .testimonial-item {
        min-height: auto;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    body {
        background-attachment: scroll !important;
    }
    .navbar .navbar-nav .nav-link {
        padding: 8px 10px;
        font-size: 15px;
    }
    .navbar .navbar-nav {
        justify-content: center;
    }
    .navbar-brand h1 {
        font-size: 0.95rem;
    }
    .navbar-brand span {
        display: block;
        font-size: 0.95rem;
    }
    .navbar-brand span span {
        font-size: 0.75rem;
    }
    .video-container {
        min-height: 220px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 48px;
        height: 48px;
    }
    .section-title {
        font-size: 28px;
    }
    .project-img::before,
    .project-img::after {
        width: 70px;
        height: 70px;
    }
    .section-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-section {
        padding: 60px 16px;
    }
    .contact-card {
        padding: 24px;
    }
    .contact-panel {
        min-height: auto;
    }
    .contact-title {
        font-size: 32px;
    }
    .testimonial-item {
        padding: 20px;
    }
}
@media (max-width: 576px) {
    .navbar .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 8px;
    }
    .navbar-brand h1 {
        font-size: 0.9rem;
    }
    .navbar-brand img {
        width: 38px;
    }
    .carousel-caption {
        padding: 0 14px;
    }
    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 16px;
    }
    .section-title {
        font-size: 26px;
    }
    .info-card {
        padding: 24px;
    }
    .project-content a {
        padding: 16px 20px;
    }
    .contact-card {
        padding: 20px;
    }
    .team-carousel .owl-nav {
        top: -70px;
    }
    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
    .toast {
        left: 50%;
        transform: translateX(-50%);
    }
}

    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}
.testimonial-carousel .owl-item {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0 12px;
}
.testimonial-carousel .owl-stage-outer {
    padding: 0 10px;
}
@media (max-width: 992px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        padding: 8px 0;
    }
    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
    .team-content::before {
        top: 0;
        padding: 20px;
        clip-path: none;
    }
    .team-img-icon {
        margin-top: 0;
        padding: 15px;
    }
}
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 45px;
    }
    .carousel-item h1 {
        font-size: 26px !important;
    }
    .carousel-item p {
        font-size: 14px !important;
    }
    .btn-square,
    .btn-sm-square,
    .btn-md-square,
    .btn-lg-square {
        width: auto;
        height: auto;
        padding: 10px;
    }
    .project-img::before,
    .project-img::after {
        width: 90px;
        height: 90px;
    }
    .team-carousel .owl-nav {
        top: -70px;
    }
    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}
@media (max-width: 576px) {
    .navbar .navbar-nav .nav-link {
        font-size: 14px;
    }
    .project-img::before,
    .project-img::after {
        width: 60px;
        height: 60px;
    }
    .team-img-icon {
        padding: 10px;
    }
    .testimonial-item {
        border-radius: 12px;
    }
    body {
        background-attachment: scroll !important;
    }
}

/* Global responsive guardrails */
html {
    width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container,
.container-fluid,
.row,
[class*="col-"] {
    min-width: 0;
    max-width: 100%;
}

.row > *,
.d-flex > *,
.navbar > * {
    min-width: 0;
}

img,
video,
iframe,
embed,
object,
svg,
canvas {
    max-width: 100%;
}

iframe {
    border: 0;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

textarea {
    overflow-wrap: anywhere;
}

pre,
code {
    max-width: 100%;
    overflow-wrap: anywhere;
}

pre {
    overflow-x: auto;
    white-space: pre-wrap;
}

table {
    width: 100%;
}

.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.video-container {
    height: clamp(220px, 48vw, 530px);
}

.navbar-brand {
    min-width: 0;
    max-width: 100%;
}

.navbar-brand h1,
.navbar-brand h1 > div {
    min-width: 0;
    max-width: 100%;
}

.navbar-brand h1 > div {
    overflow-wrap: anywhere;
}

.navbar .navbar-collapse {
    min-width: 0;
}

.info-card {
    width: 100%;
    min-width: 0;
    background: #ffffff;
}

.info-card h3 {
    color: #0f172a !important;
    margin-bottom: 12px !important;
}

.info-card p {
    color: #475569 !important;
}

@media (max-width: 767.98px) {
    .section-cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-cards-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 575.98px) {
    .container,
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .navbar-brand {
        flex: 1 1 auto;
        max-width: calc(100% - 56px);
    }

    .navbar-brand h1 {
        margin-right: 4px;
    }

    .navbar-brand h1 > div {
        display: flex;
        align-items: center;
    }

    .navbar-brand h1 > div > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .navbar > .d-flex.align-items-center.ms-4 {
        display: none !important;
    }

    .navbar .navbar-collapse {
        flex-basis: 100%;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    .navbar .navbar-nav {
        padding: 8px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 9px 4px;
    }

    .contact-section,
    .section-cards-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .contact-card,
    .info-card,
    .contact-form-panel {
        padding: 20px;
    }

    .contact-card {
        gap: 12px;
    }

    .contact-card-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .contact-page .contact-detail > .row:first-of-type,
    .contact-page .contact-detail > .row:last-of-type {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Custom Responsive Brand Component & Text Justification */
p {
    text-align: justify;
    text-justify: inter-word;
}

.text-center, 
.text-center p, 
.section-title, 
.section-subtitle, 
.carousel-caption p,
.hero-text p,
.footer p.text-center {
    text-align: center !important;
}

.brand-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.home-navbar {
    padding-bottom: 8px;
}

.brand-logo {
    width: 58px;
    height: 46px;
    object-fit: contain;
    margin-right: 8px !important;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
    transition: transform 0.3s ease;
}

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

.brand-text {
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
    .services-inner {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .services-inner {
        justify-content: center;
    }

    .services-inner > [class*="col-"] {
        display: flex;
        justify-content: center;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        margin-left: auto;
        margin-right: auto;
    }

    .services .services-item {
        width: 100%;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .services-content-icon {
        text-align: center;
    }

    .services-content-icon img,
    .project-img > img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .project-img {
        display: flex;
        justify-content: center;
    }

    .project-grid > [class*="col-"] {
        width: 100%;
    }

    .contact-card-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
    }

    .contact-card {
        width: 100%;
        min-width: 0;
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .contact-main-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px;
    }

    .contact-map-panel {
        min-height: 320px;
    }

    .contact-map-frame {
        min-height: 320px;
    }

    .contact-form-panel {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .brand-container {
        flex-wrap: nowrap;
        min-width: 0;
    }

    .brand-text,
    .brand-title,
    .brand-sub,
    .brand-title .text-secondary {
        display: inline-flex !important;
        white-space: nowrap !important;
    }

    .brand-text {
        gap: 3px;
        min-width: 0;
    }

    .brand-title {
        font-size: 0.95rem;
    }

    .brand-title .text-secondary {
        font-size: inherit !important;
        font-weight: inherit !important;
    }

    .brand-sub {
        font-size: 0.62rem !important;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        width: 46px;
        height: 36px;
    }
    
    .brand-title {
        font-size: 0.95rem;
    }
    
    .brand-sub {
        font-size: 0.65rem;
    }
    
    .counter {
        margin-bottom: 20px;
        align-items: center;
    }
    
    .counter-value {
        font-size: 2.2rem !important;
        margin-right: 12px !important;
        flex-shrink: 0;
    }
}
