/*
* ConveyTech - Conveyor Manufacturing Website
* Custom CSS Styles
*/

/* General Styles */
:root {
    --primary-color: #ffbf49;
    --primary-dark: #d7a511;
    --primary-light: #e6f2ff;
    --secondary-color: #343a40;
    --accent-color: #f8a100;
    --accent-dark: #e07800;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --black: #111111;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all -0.7s ease;
}

html, body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: var(--white);
}

section {
    position: relative;
    padding: 100px 0;
    overflow: visible;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: inherit;
}

.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.section-title .subtitle:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

.section-title .subtitle.light {
    color: var(--white);
}

.section-title .subtitle.light:before {
    background-color: var(--white);
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0px;
}

.btn {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #ffe488;
    border-color: #004494;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-link:hover {
    color: #004494;
    text-decoration: underline;
}

a {
    color:#ffe488;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffe488;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem #f0cc61 !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Spacing Utils */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Modern Header Styles */
.header-modern {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.header-modern.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.header-spacer {
  padding-top: 138px; /* or try 120px if still hidden */
}


.top-bar {
    background-color: var(--dark-gray);
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.contact-item i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 14px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-left: 8px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.language-selector select {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 12px;
}

.language-selector select:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.navbar {
    padding: 5px 0;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.scrolled .navbar {
    padding: 12px 0;
}

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

.navbar-brand img {
    transition: var(--transition);
}

.scrolled .navbar-brand img {
    height: 50px;
}

.navbar-nav {
    margin-left: 20px;
}

.navbar-nav .nav-link {
    color: var(--dark-gray);
    font-weight: 600;
    padding: 8px 16px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    width: 30px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.header-buttons {
    display: flex;
    align-items: center;
}

.btn-catalog {
    display: inline-flex;
    align-items: center;
    color: var(--dark-gray);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.btn-catalog:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: Black;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-primary:hover:before {
    width: 100%;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(0, 98, 204, 0.4);
    transform: translateY(-2px);
}

/* Mega Menu Base */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 10px 10px;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;

    min-width: 280px;
    max-width: 90vw;
    max-height: 400px;
    overflow-y: auto;

    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Show on hover */
.nav-item.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu Column */
.mega-menu-column {
    min-width: 220px;
    flex: 1 1 auto;
}

/* Column Headings */
.mega-menu-column h5 {
    font-size: 16px;
    font-weight: 600;
    color: #ffe488;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

/* List Style */
.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* List Items */
.mega-menu-column ul li {
    margin-bottom: 8px;
}

/* Links - Keep Text in One Line */
.mega-menu-column ul li a {
    color: var(--dark-gray);
    text-decoration: none;
    display: block;
    padding: 5px 0;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    transition: color 0.2s ease, padding 0.2s ease;
}

/* Hover */
.mega-menu-column ul li a:hover {
    color: #ffe488;
    padding-left: 6px;
}



/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    height: 2px;
    width: 100%;
    background-color: var(--dark-gray);
    display: inline-block;
    transition: var(--transition);
}

.navbar-toggler-icon:before,
.navbar-toggler-icon:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--dark-gray);
    transition: var(--transition);
}

.navbar-toggler-icon:before {
    top: -8px;
}

.navbar-toggler-icon:after {
    bottom: -8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991.98px) {
  .mega-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    padding-left: 1rem;
    box-shadow: none;
    max-height: 300px; /* Set desired max height */
    overflow-y: auto;   /* Enables vertical scroll */
    overflow-x: hidden; /* Optional: prevent horizontal scroll */
  }

  .nav-item.dropdown.show .mega-menu {
    display: block !important;
  }
}


/* Modern Hero Section Styles */
.hero-modern {
    position: relative;
    min-height: 100vh;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #6a5e3b, #ffbf00);
    overflow: hidden;
    color: var(--white);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    padding-right: 30px;
}

.hero-tagline {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    border-radius: 0 4px 4px 0;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(to right, #f8a100, #ff5e62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

.hero-stats {
    display: flex;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    margin-right: 40px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(248, 161, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.btn-glow i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(248, 161, 0, 0.4);
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.btn-glow:hover i {
    transform: translateX(5px);
}

.btn-video {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.video-btn-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-btn-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

.btn-video:hover {
    color: var(--accent-color);
}

.btn-video:hover .video-btn-icon {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.hero-brands {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-brands span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.brand-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


.hero-image-wrapper {
    position: relative;
    z-index: 5;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
}

.hero-image img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}

.floating-card {
    position: absolute;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 5;
    max-width: 250px;
}

.floating-card .icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 18px;
}

.floating-card .content h6 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark-gray);
}

.floating-card .content p {
    margin-bottom: 0;
    font-size: 13px;
    color: var(--medium-gray);
}

.floating-card.card-01 {
    top: 30px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.floating-card.card-02 {
    bottom: 60px;
    left: -20px;
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-3d-element {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 24px;
    bottom: -20px;
    right: 40px;
    z-index: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: rotate 10s linear infinite;
}

.hero-shape-01 {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 10px solid var(--accent-color);
    border-radius: 50%;
    top: 40px;
    left: 40px;
    z-index: 0;
    opacity: 0.2;
    animation: pulse 3s infinite;
}

.hero-shape-02 {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    bottom: 100px;
    right: 80px;
    z-index: 0;
    opacity: 0.2;
    border-radius: 8px;
    animation: rotate 7s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.counter {
    display: inline-block;
}

.hero-bottom-curve {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
}

.hero-bottom-curve svg {
    width: 100%;
    height: auto;
}

/* Video Modal Styles */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-body {
    position: relative;
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    opacity: 1;
}

/* Modern Section Styles */
.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.section-divider {
    width: 100%;
    text-align: center;
    margin: 15px auto 20px;
    position: relative;
}

.section-divider span {
    display: inline-block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
}

.section-divider span:before, 
.section-divider span:after {
    content: '';
    position: absolute;
    top: 0;
    width: 10px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-divider span:before {
    left: -20px;
}

.section-divider span:after {
    right: -20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* About Section Styles */
.about-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.about-content-wrapper {
    padding-right: 30px;
}

.about-highlight {
    display: inline-block;
}

.about-highlight .highlight-text {
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(248, 161, 0, 0.3);
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-gray);
    line-height: 1.7;
}

.about-text p {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.8;
}

.about-features .feature-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.about-features .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-features .feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.about-features .feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.about-features .feature-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.about-features .feature-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

.about-image-wrapper {
    position: relative;
}

.image-grid {
    position: relative;
    height: 450px;
}

.main-image {
    position: relative;
    width: 80%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.main-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    z-index: 2;
}

.grid-item {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.grid-item:hover img {
    transform: scale(1.1);
}

.item-1 {
    top: 40px;
    right: 0;
}

.item-2 {
    bottom: 0;
    right: 80px;
}

.about-experience {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 120px;
    height: 120px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(248, 161, 0, 0.4);
    z-index: 3;
}

.experience-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-number span {
    font-size: 1.5rem;
    vertical-align: top;
}

.experience-text {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 5px;
}

.achievement-counters .counter-item {
    background-color: var(--white);
    padding: 15px 10px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.achievement-counters .counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.counter-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

/* Industry Section Styles */
.industries-section {
    position: relative;
    background-color: var(--light-gray);
    padding: 100px 0;
    overflow: hidden;
}

.industries-filter {
    margin-bottom: 50px;
}

.industries-filter .nav-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.industries-filter .nav-link {
    color: var(--dark-gray);
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.industries-filter .nav-link i {
    margin-right: 8px;
}

.industries-filter .nav-link.active,
.industries-filter .nav-link:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 98, 204, 0.3);
}

.industry-card {
    position: relative;
    width: 100%;
    height: 380px;
    perspective: 1000px;
    margin-bottom: 30px;
}

.industry-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.industry-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: rotateY(180deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.industry-card:hover .industry-front {
    transform: rotateY(180deg);
}

.industry-card:hover .industry-back {
    transform: rotateY(0);
}

.industry-img {
    height: 270px;
    overflow: hidden;
    position: relative;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    opacity: 0.7;
    transition: var(--transition);
}

.industry-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--transition);
    z-index: 2;
}

.industry-card:hover .industry-icon {
    transform: scale(1.2);
    background-color: var(--accent-color);
}

.industry-content {
    padding: 20px;
    position: relative;
    background-color: var(--white);
}

.industry-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.industry-link {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.industry-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.industry-link:hover {
    color: var(--accent-color);
}

.industry-link:hover i {
    transform: translateX(5px);
}

.back-content {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.back-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.back-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.back-content p {
    font-size: 14px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.back-content .btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 8px 20px;
    transition: var(--transition);
}

.back-content .btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Products Section Styles */
.products-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--white);
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(247, 247, 247, 0.4) 25%, transparent 25%, transparent 50%, rgba(247, 247, 247, 0.4) 50%, rgba(247, 247, 247, 0.4) 75%, transparent 75%, transparent);
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 0;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

.product-card-modern {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 30px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 98, 204, 0.3);
}

.product-badge-new {
    background-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.product-badge-popular {
    background-color: #e91e63;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.product-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.product-card-modern:hover .product-img img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 104px;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 27%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card-modern:hover .action-btn {
    transform: translateY(0);
    opacity: 1;
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.product-card-modern:hover .action-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.product-card-modern:hover .action-btn:nth-child(2) {
    transition-delay: 0.2s;
}

.product-card-modern:hover .action-btn:nth-child(3) {
    transition-delay: 0.3s;
}

.product-content {
    padding: 25px;
    background-color: var(--white);
}

.product-category {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.product-card-modern:hover .product-content h4 {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-rating i {
    color: #ffc107;
    margin-right: 2px;
}

.product-rating span {
    color: var(--medium-gray);
    margin-left: 5px;
}

.product-content p {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    margin-top: 15px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-features span {
    font-size: 13px;
    color: var(--dark-gray);
}

.product-features i {
    color: var(--primary-color);
    margin-right: 5px;
}

.product-card-modern .btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* Benefits Section Styles */
.benefit-card {
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 100%;
    transition: var(--transition);
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 20px;
    color: var(--white);
}

.benefit-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Why Choose Us Section Styles */
.why-choose-section {
    position: relative;
    z-index: 10;
    display: block !important;
    overflow: visible;
    background-color: #ffffff;
    padding: 80px 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.why-choose-content .why-choose-item {
    margin-bottom: 30px;
    transition: var(--transition);
}

.why-choose-content .why-choose-item:hover {
    transform: translateY(-5px);
}

.why-choose-item .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: rgba(0, 86, 179, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.why-choose-item:hover .icon-box {
    background-color: var(--primary-color);
}

.why-choose-item:hover .icon-box i {
    color: var(--white) !important;
}

.why-choose-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.why-choose-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.why-choose-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    width: 130px;
    height: 130px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.experience-badge .number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 14px;
    line-height: 1.2;
}

.bg-primary-light {
    background-color: rgba(0, 86, 179, 0.1);
}

/* Clients Section Styles */
.client-item {
    padding: 20px;
    margin: 10px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.client-item i {
    margin-bottom: 15px;
}

.client-item h5 {
    font-size: 16px;
    color: var(--dark-gray);
}

.testimonial-item {
    margin: 20px 10px;
    display: block !important;
    visibility: visible !important;
}

.testimonial-content {
    height: 100%;
    transition: var(--transition);
    background-color: #ffffff !important;
    color: #333333 !important;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block !important;
    visibility: visible !important;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-quote i {
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 2rem;
}

.testimonial-author .author-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* FAQ Section Styles */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
    background-color: var(--white);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--white);
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-button::after {
    background-size: 16px;
    background-position: center;
}

.accordion-body {
    padding: 0 20px 20px;
}

/* Blog Section Styles */
.blog-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    transition: var(--transition);
}

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

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 79%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
}

.blog-date span:first-child {
    font-size: 20px;
}

.blog-meta {
    color: var(--medium-gray);
    font-size: 14px;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: var(--transition);
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

/* Contact Section Styles */
.contact-info {
    height: 100%;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item .icon-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--medium-gray);
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-form .btn {
    padding: 12px 30px;
}

/* Footer Styles */
.footer-section {
    background-color: var(--dark-gray);
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links a {
    position: relative;
    padding-left: 15px;
    transition: var(--transition);
}

.footer-links a:before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.footer-links a:hover {
    padding-left: 20px;
    color: var(--accent-color) !important;
}

.newsletter-form .form-control {
    height: 45px;
    border-radius: 5px 0 0 5px;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 5px 5px 0;
    height: 45px;
    padding: 0 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links a {
    margin-left: 15px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent-color) !important;
}

/*for get price btn*/
.custom-get-price {
  background-color: #f8a100;
  color: #fff;
  border: none;
  border-radius: 4px;
}

.custom-get-price:hover {
  background-color: #0056b3;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #004494;
    color: var(--white);
}

/* Slick Carousel Customization */
.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 10;
}

.slick-prev:before,
.slick-next:before {
    opacity: 1;
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--primary-color);
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: transparent;
    }
    
    .navbar-nav .dropdown-item {
        color: var(--dark-gray);
        padding: 8px 15px;
    }
    
    .dropdown-submenu .dropdown-menu {
        display: block;
        position: static;
        margin: 0;
        padding-left: 15px;
        box-shadow: none;
        background-color: transparent;
    }
    
    .dropdown-submenu > .dropdown-item:after {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        left: -10px;
    }
    
    .experience-badge .number {
        font-size: 20px;
    }
    
    .experience-badge .text {
        font-size: 11px;
    }
    
    .slick-prev {
        left: -15px;
    }
    
    .slick-next {
        right: -15px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        height: auto;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        left: 10px;
        bottom: 10px;
    }
    
    .experience-badge .number {
        font-size: 18px;
    }
    
    .experience-badge .text {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .top-bar .social-icons,
    .top-bar .text-end {
        text-align: center !important;
        margin-bottom: 5px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}

.main-image {
  width: 697px;
  height: 576px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 17px;
}

.main-image img {
  width: 90%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the space neatly */
  border-radius: 17px;
}

@media (max-width: 576px) {
  .main-image {
    width: 100%;
    height: auto;
  }

  .main-image img {
    height: auto;
  }
}

.benefits{
    text-color: black;
}

.project-image {
  width: 1010px;
  height: 576px;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 17px;
  margin-left: 111px;
}


.card-body h3:hover {
    color: #ffbf49;
    text-decoration: underline;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/*recent work trasition*/
.img-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.img-wrapper img {
    display: block;
    width: 100%;
    height: 256px;
    transition: transform 0.4s ease;
    border-radius: 12px; 
}

.hover-caption {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    text-align: center;
    background: #ffbf49;
    color: white;
    padding: 10px 0;
    font-weight: 600;
    transition: bottom 0.4s ease;
}

.img-wrapper:hover .hover-caption {
    bottom: 0;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/*recent work on mobile */
@media (max-width: 767.98px) {
    .hover-caption {
        position: static;
        background-color: #ffbf49;
        color: #000;
        opacity: 1;
        padding: 8px 0 0;
        pointer-events: auto;
    }
}

/*for recent work page images*/
@media (max-width: 768px) {
  .thumbnail-images {
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0 !important;
  }
}

.thumbnail-images {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: -20px; /* Pull it closer to image bottom if needed */
  flex-wrap: wrap;
}

.thumbnail {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Optional highlight */
.thumbnail.active {
  border-color: #007bff;
}
