 /* Universal Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Lora', serif;
    background: #fff;
    color: #000000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-size: 18px; /* default is about 16px, increase to 18 or more */
}
    
/* Header Styles */
header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 20;
    height: 100px;
    transition: top 0.3s ease;
}

.banner {
    background-size: cover;
    background-position: center;
    height: 450px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
}

@media (max-width: 992px) {
    .banner {
        height: 350px; /* smaller banner on tablets */
    }
}

@media (max-width: 576px) {
    .banner {
        height: 280px; /* और छोटा कर दिया */
    }
}

.logo {
    width: 200px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    max-width: 300%; /* Responsive size */
}

header.hidden {
    top: -90px;
}

header .navbar,
header .navbar .container,
header .navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
}

/* Navbar Link Colors */
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #e53935;
}
header .navbar,
header .navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

/* Footer Section Start */
.footer-area {
    background-color: #111;
    color: #fff;
    padding: 30px 0;
}

.footer-widget h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #e53935 !important;
}

.footer-left-widget p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
}
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Individual social icon styling */
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover effect for icons */
.social-icon:hover {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000;
}

.contact-widget .contact-info li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #ccc;
}

.contact-widget .contact-info i {
    margin-right: 10px;
    color: #fff;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-widget h3 {
        font-size: 18px;
    }

    .footer-area {
        padding: 40px 0;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

.copyright a {
    color: #ed3538;
}

/* Footer Section End */

/* DROPDOWN */
  /* Style the dropdown menu background as black */
.navbar .dropdown-menu {
    background-color: black !important;
}

/* Style the dropdown item text color as white */
.navbar .dropdown-menu .dropdown-item {
    color: white !important;
}

/* Hover effect: text turns yellow, background stays black */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    color: #e53935 !important;
    background-color: black;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 1.25rem;
    right: 4rem;
    bottom: 70px; /* Previously maybe 20px? Increased to move it up */
    background-color:  #C0C0C0;
    color: rgb(0, 0, 0);
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scroll-top:hover {
    background-color: #ffffff;
}
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #C0C0C0 !important;
    color: #000000 !important;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    z-index: 999;
    border: none;
    box-shadow: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.call-button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}
.call-button {
    outline: 2px solid rgb(0, 0, 0) !important;
}
 
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('../images/home.png') center center/cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    border-radius: 0;
}

.hero-text {
    position: relative;
    z-index: 15;
    color: #fff9f9;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}
.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fefefe; /* White color */
}

.hero-text p {
    font-size: 1.5rem;
}

.scroll-down-button {
    display: inline-block;
    margin-top: 20px;
    font-size: 2rem;
    color: #ffffff;
    text-decoration: none;
    animation: bounce 2s infinite;
    position: relative;
    z-index: 15;
}

.scroll-down-button:hover {
    color: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.parallax {
    background: url('../images/homeback.png') center center/cover no-repeat fixed;
    color: #FFD700;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.parallax-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.parallax-content h2 {
    color: #FFD700;
}

.parallax-content p {
    color: #FFFFFF;
}
.visit-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #FFD700;
    color: #003d7a;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    user-select: none;
}

.visit-btn:hover {
    background-color: #ffc107;
    color: #002752;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
    border-color: #002752;
}

/* Fix interaction issues on flip card */
.flip-front {
    pointer-events: none;
}

.flip-back {
    pointer-events: auto;
}

@media (max-width: 768px) {
    video {
        height: 50vh;
    }
}

.section-divider {
    width: 100%;
    height: 5px;
    background-color: white;
    margin: 20px 0;
}

/* Call Button */
.call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #C0C0C0 !important;
    color: black !important;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.call-button:hover {
    background-color: #ffffff !important;
    color: black !important;
    text-decoration: none;
}

.PROJECTS {
    background: #EFEEE5;
    padding: 10px 50px;
}
.PROJECTS h2 {
    font-size: 36px;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.scroll-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    gap: 40px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}
.scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

    /* Enhanced Flip Card Styles */
.flip-card {
    width: 100%;
    max-width: 400px;
    height: 350px;
    perspective: 1200px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
    margin: 0 auto;
}
.flip-card:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 12px;
    cursor: pointer;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}
.flip-front {
    position: relative;
    overflow: visible; /* allow overlap */
    background: transparent;
    flex-direction: unset; /* remove column flex */
}
.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.flip-back {
    background: #444; /* solid dark gray background */
    color: white;
    transform: rotateY(180deg);
    padding: 30px 25px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-front img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flip-card:hover .flip-front img {
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    padding: 24px 26px;
    text-align: center;
    z-index: 2;
    min-height: 150px; /* NEW: explicitly increases height */
}

.card-content h3 {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 20px;
    color: #004085;
}

.card-content p {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: white;
}

.flip-back {
    transform: rotateY(180deg); /* flip this side */
    background-color: #444;
}

.flip-back h3 {
    font-size: 20px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #edece5;
    font-weight: 700;
}

.flip-back p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #f1f1f1;
    line-height: 1.5;
}
.visit-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ffd700;
    color: #003d7a;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 5px 10px rgba(255, 215, 0, 0.6);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    user-select: none;
}

.visit-btn:hover {
    background-color: #ffc107;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.8);
    color: #002752;
}
  
.section-divider {
    width: 100%;
    height: 5px; /* Adjust the thickness here */
    background-color: white; /* White color for the border */
    margin: 20px 0; /* Add spacing above and below the divider */
}

/* Mobile Menu Hidden by Default */
#mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    z-index: 1000;
    padding: 10px 0;
}

#mobile-menu a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}

#mobile-menu a:hover {
    color: yellow;
}

/* Show Menu on Toggle */
#mobile-menu.show {
    display: flex;
}

/* Navbar Toggler */
.navbar-toggler {
    display: block;
    color: white;
    font-size: 24px;
}

/* Hide Toggler on Larger Screens */
@media (min-width: 769px) {
#mobile-menu {
    display: none !important;
}
.navbar-toggler {
    display: none;
}
}

/* Mobile Menu Hidden by Default */
#mobile-menu {
    display: none;
    background-color: black !important;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    z-index: 1000;
    padding: 10px 0;
}

#mobile-menu a {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}

#mobile-menu a:hover {
    color: yellow;
}

/* Show Menu on Toggle */
#mobile-menu.show {
    display: flex;
}

.navbar-toggler {
    background: transparent !important; /* Remove any background */
    border: none !important;            /* Remove any border */
    outline: none !important;           /* Remove the focus outline */
    box-shadow: none !important;        /* Remove any box shadow */
}

/* Hide Toggler on Larger Screens */
@media (min-width: 769px) {
    #mobile-menu {
        display: none !important;
    }
    .navbar-toggler {
        display: none;
    }
}

.text-black + .text-black {
    margin-top: 20px;
}

.chat-popup {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 20px; /* changed from right: 20px */
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.chat-button {
    position: fixed;
    bottom: 20px;
    left: 20px; /* changed from right: 20px */
    cursor: pointer;
    z-index: 1000;
}
.chat-header {
    background-color: #075E54;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px 10px 0 0;
}

.chat-header img.logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.chat-header button {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.chat-body {
    padding: 15px;
    background-color: #f5f5f5;
}
.start-chat {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 10px 10px;
}
.powered-by {
    font-size: 11px;
    text-align: center;
    color: #999;
    margin: 5px 0;
}
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}
.chat-button img {
    width: 60px;
    height: 60px;
}

/* Our Story css start */
/* Our Story Section */
.our-story {
    padding: 70px 20px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    margin-top: 350px;
}

.our-story h1 {
    font-size: 40px;
    font-weight: 700;
    color: #b91c1c;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.our-story h1::before {
    content: "OUR STORY";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 900;
    color: rgba(185, 28, 28, 0.05);
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
}

.our-story p {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
    font-size: 17px;
    line-height: 1.6;
    z-index: 2;
    position: relative;
}

/* Tablet */
@media (max-width: 992px) {
    .our-story {
        margin-top: 350px;
        padding: 60px 15px 30px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .our-story {
        margin-top: 230px;
        padding: 30px 15px 20px;
    }
    .our-story h1 {
        font-size: 24px;
    }
    .our-story h1::before {
        font-size: 40px;
    }
    .our-story p {
        font-size: 14px;
    }
}

/* Vision and Mission */
.vision-mission {
    padding: 50px 130px;
    text-align: center;
}

.card-box {
    background: #f3f4f6;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* equal height cards */
}

.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.card-box i {
    font-size: 36px;
    color: #b91c1c;
    margin-bottom: 15px;
    text-shadow: 0 0 3px #b91c1c, 0 0 6px #dc2626;
    transition: text-shadow 0.3s ease;
}

.card-box:hover i {
    text-shadow: 0 0 5px #b91c1c, 0 0 10px #dc2626;
}

.card-box h2 {
    color: #b91c1c;
    font-size: 24px;
    margin-bottom: 10px;
}

.card-box p {
    color: #444;
}

.vision-mission {
    padding: 50px 130px;
    text-align: center;
}

@media (max-width: 992px) {
    .vision-mission {
        padding: 40px 50px; /* Tablet पर कम padding */
    }

    .card-box h2 {
        font-size: 22px;
    }

    .card-box p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .vision-mission {
        padding: 30px 15px; /* Mobile पर और कम padding */
    }

    .card-box {
        padding: 20px 15px;
    }

    .card-box i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .card-box h2 {
        font-size: 20px;
    }

    .card-box p {
        font-size: 14px;
    }
}

/* core value section */
.section-heading {
    position: relative;
    display: inline-block;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #b91c1c;
    position: relative;
    z-index: 2;
}

/* Background text from data-title */
.section-heading::before {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: 900;
    color: rgba(185, 28, 28, 0.05);
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 28px;
    }
    .section-heading::before {
        font-size: 60px;
    }
}

@media (max-width: 576px) {
    .section-heading h2 {
        font-size: 24px;
    }
    .section-heading::before {
        font-size: 40px;
    }
}

.core-values {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.core-value-box {
    background: linear-gradient(135deg, #fcdcdc, #fad2d2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    height: 100%; /* ensures equal height cards */
}

.core-value-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.value-icon {
    background: #b91c1c;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 5px #b91c1c, 0 0 10px #ef4444;
    transition: box-shadow 0.3s ease;
}

.value-icon i {
    font-size: 24px;
    filter: drop-shadow(0 0 2px #ef4444);
}

.core-value-box:hover .value-icon {
    box-shadow: 0 0 8px #b91c1c, 0 0 15px #ef4444;
}

.core-value-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #b91c1c;
}

.core-value-box p {
    font-size: 15px;
    color: #444;
}
/* Our group */
.company-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px; /* equal card height */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* ensure zoom doesn't overflow */
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.company-logo {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.company-card:hover .company-logo {
    transform: scale(1.1); /* zoom effect */
}

/* Our Story css end */