@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Serif+Georgian:wght@100..900&display=swap');

:root {
    --primary-color: #4165b0;
    --font-main: "Montserrat", sans-serif;
    --text-color: #434242;
}
@font-face {
    font-family: 'gothic';
    src: url('../fonts/centurygothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
}

.section-padding {
    padding: 50px 0;
}

/* Navbar  */

.custom-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 1rem 2rem;

}


.custom-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}

.custom-logo .embroid-logo {
    width: 140px;
}

.nav-toggle {
    background: none;
    border: none;
    outline: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background-color: #111;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: left 0.3s ease;
    z-index: 9;
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-link-caps {

    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link-caps:hover {
    opacity: 0.8;
}

/* hero section banner */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.my-swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.my-swiper-slide {
    height: 100vh;
    overflow: hidden;
}

.my-swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: #211f1f3a;
    backdrop-filter: blur(9px);
    border-radius: 10px;

}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 18px;
    font-weight: 600;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Optional: Dark overlay */
    z-index: 0;
    /* ⬅️ Lower this so controls appear above it */
}

/* main btn */
/* From Uiverse.io by mrhyddenn */
.main-btn {
    position: relative;
    margin: 0;
    padding: 0.8em 1.2em;
    outline: none;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    background-color: var(--primary-color);
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    font-family: inherit;
    z-index: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
    width: max-content;
}

.main-btn:hover {
    animation: sh0 0.5s ease-in-out both;
}

@keyframes sh0 {
    0% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }

    25% {
        transform: rotate(7deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-7deg) translate3d(0, 0, 0);
    }

    75% {
        transform: rotate(1deg) translate3d(0, 0, 0);
    }

    100% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }
}

.main-btn:hover span {
    animation: storm 0.7s ease-in-out both;
    animation-delay: 0.06s;
}

.main-btn::before,
.main-btn::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1);
    z-index: -1;
    transform: translate(100%, -25%) translate3d(0, 0, 0);
}

.main-btn:hover::before,
.main-btn:hover::after {
    opacity: 0.15;
    transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.main-btn:hover::before {
    transform: translate3d(50%, 0, 0) scale(0.9);
}

.main-btn:hover::after {
    transform: translate(50%, 0) scale(1.1);
}

/* hero section content */
/* Hero Text */
.hero-content {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-40%);
    z-index: 2;
    color: #fff;
    /* text-align: center; */
}

.inner-hero {
    max-width: 730px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inner-hero h1,
.inner-hero h2 {
    margin: 0;
}

.inner-hero h1 {
    font-size: 60px;
    font-weight: 700;
    /* text-transform: uppercase; */
    font-family: "gothic";
    animation-duration: 2s;
}

.inner-hero h2 {
    font-size: 45px;
    text-transform: capitalize;
    color: rgb(227, 228, 228);
}

.inner-hero p {
    font-size: 20px;
    font-weight: 500;
    margin-top: 12px;
}

.inner-hero .main-btn {
    width: max-content;
}

/* About company */
.about-company-section {
    margin-bottom: 50px;
}

.main-heading {
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.main-heading span {
    color: var(--primary-color);
}

.about-company-section .about-img-box img {
    width: 61%;
    border-radius: 15px;
}

.about-img-box {
    position: relative;
}

.about-img-box .absolute-about-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(50%, 50%);
}

.year-box {
    position: absolute;
    top: 6px;
    left: 57%;
    z-index: 5;

}

.box-counter {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box-counter span:nth-of-type(2) {
    font-size: 32px;
    font-weight: 700;
}

.box-counter span:nth-of-type(1),
.box-counter span:nth-of-type(3) {
    font-size: 14px;
    color: #ecebeb;
}

.para-text {
    color: var(--text-color);
    font-size: 16px;
}

/* client section */
.our-client-sec {
    background-color: var(--primary-color);
}

.our-client-sec .main-heading,
.our-client-sec .main-heading span {
    color: #fff;
}

.our-client-sec .para-text {
    color: #cdcdcd;
}

.client-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.client-container .client-box {
    width: 140px;
    height: 100px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: #fff;

}

/*---------------- Product container -------------------*/
.product-container .para-text {
    max-width: 800px;
}

/* Custom Swiper Section */
.custom-product-slider-section {
    padding: 40px 20px;
    /* background: #f9f9f9; */
}

.custom-swiper-container {
    width: 100%;
}

.custom-product-card {
    overflow: hidden;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.custom-product-card:hover {
    transform: translateY(-5px);
}

.custom-product-image {
    position: relative;
    overflow: hidden;
}

.custom-product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.custom-product-card:hover .custom-product-image img {
    transform: scale(1.05);
}
.card-block a{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.custom-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: 10px;
    background: rgba(65 101 176 / 50%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: bottom 0.3s ease;
}

.custom-product-card:hover .custom-overlay {
    bottom: 0;
}

.product-title {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    background-color: rgba(65 101 176 / 50%);
    font-weight: 700;
    padding: 6px 10px;
    font-size: 16px;
    border-radius: 4px;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.custom-product-card:hover .product-title {
    opacity: 0;
}

.custom-overlay-text {
    text-align: center;
    font-size: 18px;
    padding: 10px;
}

.custom-overlay-text span i {
    transform: rotate(-45deg);
    font-size: 24px;
}

.custom-overlay-text span {
    background-color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.custom-product-text {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.product-card-box {
    position: relative;
    /* z-index: 1; */
}

.product-card-box::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 60%;
    top: 50%;
    left: 0;
    /* background-color: var(--primary-color); */
    background: url('../images/shape.png') center/cover no-repeat;

}

.product-card-box .main-btn {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Certificate sec */
.certificates-container {
    background-color: #f7f7f7;
}

.certificates-container .para-text {
    max-width: 700px;
    margin: auto;
    margin-bottom: 25px;
}

.certificate-card-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}


.certificate-card-box .cr-card {
    width: 140px;
    height: 100px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: #fff;

}

.cr-card .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Footer css */

/*--------------------------- Footer css--------------------------- */
.main-footer-container {
    background: var(--primary-color) url('../images/shape.png') center/cover no-repeat;
}

.footer-area {
    padding: 40px 0px;
    /* background-color: var(--primary-color); */
    color: #fff;
    padding-bottom: 0;

}

.footer-area .container {
    border-bottom: 1px solid #fff;
}

.footer-area a {
    text-decoration: none;
}

.footer-area .footer-heading {
    font-size: 20px;
    color: #fff;
    font-family: var(--heading-font-family);
}

.footer-area .footer-underline {
    height: 1px;
    width: 70px;
    background-color: #ddd;
    margin: 10px 0px;
}

.copyright-area {
    padding: 14px 0px;
    /* background-color: var(--primary-color); */
}

.copyright-area p {
    margin-bottom: 0px;
    color: #fff;
    font-family: var(--para-font-family);
}

.copyright-area .social-media {
    text-align: end;
}

.copyright-area .social-media a {
    margin: 0px 10px;
    color: #fff;
    width: 20px;
}

.footer-area a,
.footer-area p {
    color: #fff;
    font-size: 14px;
    font-family: var(--para-font-family);
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-area a:hover {
    color: white !important;
}


.footer-area a i.fa-solid {
    transform: rotate(-45deg);
    transition: all 0.3s ease-in-out;
    color: white;
}

.footer-area a:hover i.fa-solid {
    color: white;
    transform: rotate(0deg);
}

/* brodcam */
/* brodacm section */
.brodcam-container {
    height: 350px;
    background: 
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.45) 0%,
            rgba(0,0,0,0.45) 100%
        ),
        url('../images/about-bg.png') center/cover no-repeat;
}

.inner-brodcam {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 120%;
}

.inner-brodcam h1 {
    color: #fff;
    font-weight: 800;
}

.inner-brodcam a {
    text-decoration: none;
    color: #fff;

}

.inner-brodcam p {
    color: #fff;
    font-family: 600;
}

/* Whyc choose us section */
.why-choose-container {
    background-color: var(--primary-color);
    color: #fff;
    margin-top: 100px;
}

.left-choose-box .main-heading {
    color: #fff;
}

.left-choose-box .main-heading span {
    color: #c3c1c1;
}

.right-choose-box .main-heading {
    color: #fff;
}

.right-choose-box .para-text {
    color: #ddd;
    font-size: 16px;
}

.choose-list-box {
    display: flex;
    gap: 10px;
    flex-direction: column;
    margin-left: 15px;
}

.choose-list {
    background-color: #510505;
    border: 1px solid #ffffff;
    padding: 4px 22px;
    border-radius: 22px;
}

.choose-list span:last-of-type {
    font-weight: 800;
    font-size: 18px;
    margin-left: 12px;
}

.choose-list img {
    width: 70px;
}

/* All service-- 3 card of all 3 factory */


/* all service block card */
.all-service-sec .left-service {
    height: 360px;
}
@media (max-width: 600px) {
    .all-service-sec .left-service {
        height: 100px;
        background-color: var(--primary-color) !important;
        color: #fff;
    }
    .all-service-sec .left-service h2{
        color: #fff !important;
    }
}

.card-block {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100%;
    padding: 20px;
    height: 350px;
    transition: background-color 0.3s ease-in-out;
    overflow: hidden;
}

/* Sliding red background on hover */
.card-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(65, 101, 176, 0.657);
    /* Red background (#e21e1e) */
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1;
}

.card-block:hover::before {
    transform: translateY(0);
}

.card-block .overlay {
    position: absolute;
    inset: 0;
    /* background-color: rgba(109, 3, 3, 0.4); */
    /* Dark semi-transparent */
    z-index: 1;
    transition: background-color 0.3s ease-in-out;
}



/* Make sure content appears on top */
.card-block i,
.card-block h5,
.card-block hr {
    position: relative;
    z-index: 3;
    color: white;
}

.card-block hr {
    border-top: 4px solid #fff;
    z-index: 2;
    position: relative;
    opacity: 1;
    width: 30%;
}

.card-block span {
    font-weight: 800;
    font-size: 22px;
}

/* infrastrure section */
.infra-container {
    background: var(--primary-color) url('../images/shape.png') bottom/cover no-repeat;
}

.left-infra img {
    border-radius: 15px;
    height: 70%;
    object-fit: cover;
}

.right-infra .main-heading span {
    color: #fff;
}

.right-infra .para-text {
    color: #cfc9c9;
}

/* product page-- product card section */
.product-card-container {
    background: url('../images/p-banner.jpg') center/cover no-repeat;
}

.product-card-container .para-text {
    max-width: 800px;
    margin: auto;
}

.inner-container-product-card img {
    border-radius: 15px;
}

.pro-card {
    overflow: hidden;
}

.pro-card .product-title {
    border-radius: 0;
    bottom: 10px;
}

/* contact page design */
.contact-section {
    padding: 50px 0;
    position: relative;
    background: url('../images/p-banner.jpg') center/cover no-repeat;
}

.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 30px;
    margin-bottom: 30px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.contact-form {
    background: white;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 9px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    background: white;
}


/* Contact Info Styles */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-info-item:hover {
    background: #f8f9fa;
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    color: #6c757d;
    margin: 0;
}

/* Map Section */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

    width: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 350px;
}

/* Social Media */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .contact-card,
    .contact-form {
        padding: 30px 20px;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.custom-overflow {
    overflow: hidden;
}

/* responsive  mobile */
@media screen and (max-width:576px) {
    .custom-logo .embroid-logo {
        width: 100px;
    }

    .inner-hero h1 {
        font-size: 50px;
        font-family: math;
    }

    .inner-hero h2 {
        font-size: 30px;

    }

    .inner-hero p {
        font-size: 16px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        color: #fff;
        z-index: 10;
        width: 25px;
        height: 25px;
        border-radius: 5px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 12px;
    }

    .hero-content {
        top: 40%;
        left: 6%;
    }

    .about-company-section .about-img-box {
        margin-bottom: 100px;
    }

    .about-company-section {
        margin-bottom: 0;
    }

    .para-text {
        font-size: 14px;
    }

    .copyright-area p {
        font-size: 14px !important;
    }

    .brodcam-container {
        background-position: inherit;
    }

    .why-choose-container {
        margin-top: 0;
    }

    .choose-list span:last-of-type {
        font-size: 16px;
    }

    .choose-list img {
        width: 50px;
    }

    .choose-list-box {
        margin-left: 0;
    }

    .right-choose-box .para-text {
        font-size: 14px !important;
    }

    .right-infra {
        margin-top: 25px;
    }

    .contact-info-item {
        margin-bottom: 0;
    }

    .social-links {
        justify-content: center;
    }

    .contact-card h3 {
        text-align: center;
    }

    .mobile-nav {
        padding: 40px;
    }

    .close-btn {
        align-self: flex-end;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        margin-bottom: 10px;
        color: #fff;
    }

    .mobile-nav a {
        padding: 10px 0;
        border-bottom: 1px solid #bcb0b045;
        font-size: 16px;
    }

    .mobile-nav .main-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}