/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    position: relative;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
}

/* Top bar */
.top-bar {
    background-color: #1e1e1e;
    color: white;
    padding: 10px 20px;
}

.top-bar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}

.nav-contact-info,
.nav-social-links {
    display: flex;
    gap: 20px;
}

.nav-contact-info a,
.nav-social-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.icon {
    width: 16px;
    height: 16px;
}

/* Main navigation */
.main-nav {
    background-color: #1e1e1e;
    color: white;
    padding: 10px 20px;
    border-top: 1px solid #333;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-direction: row-reverse; */
    max-width: 100%;
    margin: 0 auto;
}

.logo img {
    width: 70px;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-weight: 400;
}

.logo span {
    margin-left: 5px;
    color: #4caf50;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-weight: 400;
}

.logo-subtitle {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    width: 70%;
    justify-content: space-evenly;
    gap: 20px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
}

.nav-links a.active {
    color: #4caf50; /* Highlight color for active link */
    font-weight: bold; /* Optional: make the active link bold */
    transition: 0.3s ease; /* Optional: add a smooth transition */
}

.nav-links a.activeContact {
    background-color: white; /* White background */
    color: #4caf50; /* Highlight text color */
    font-weight: bold; /* Optional: make it bold */
    transition: 0.3s ease;
}

.contact-btn {
    background-color: #00a651;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.6s ease;
}

.contact-btn:hover {
    background-color: #0e6438;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero section */
.hero {
    background-image: url("./JindalImages/WhatsApp\ Image\ 2025-02-21\ at\ 11.35.58\ \(1\).jpeg");
    background-size: cover;
    background-position: center 40%;
    height: calc(100vh - 80px);
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #d8d5d505;
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    color: white;
    width: 85%;
    margin-top: 50px;
    background-color: transparent;
    animation: slideUp 1s ease;
}

.hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    max-width: 50%;
}

.hero p {
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 60%;
}

.cta-btn {
    background-color: #2f1c6a;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #492e99;
}

/* about */

.about {
    padding: 40px;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.about-title {
    color: #4834d4;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* height: 300px; */
    overflow: hidden;
    gap: 20px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: -0.03rem;
}

.about-image {
    flex: 1;
    height: 100%;
    object-fit: fill;
}

.about-image img {
    width: 100%;
    height: 100%;
    /* border-radius: 10px; */
}

.vision-mission {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
/* 
.vision-mission {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
} */

/* 
  .vision-mission img {
    width: 500px;
  } */

.vision,
.mission {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    height: 160px;
    width: 100%;
}

/* .vision-content,
.mission-content {
  height: ;
} */

.mission {
    flex-direction: row-reverse;
}

.vision h3,
.mission h3 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #ccc;
}

.vision p,
.mission p {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.vision-mission-image {
    margin: 20px auto 0;
    display: block;
}

.vision-mission img {
    width: 50%;
    height: 100%;
}

/* products */
.featured-products {
    background-color: #1e1e1e;
    color: white;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.featured-title {
    font-size: 40px;
    font-weight: bold;
}

.dropdown {
    position: relative;
}

.dropdown-select {
    background-color: #00a651;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.featured-description {
    color: #999;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.product-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card-content {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.arrow-icon {
    font-size: 25px;
    background-color: transparent;
    color: #fff;
    border: none;
}

.product-info {
    position: absolute;
    text-decoration: none;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.view-more {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.view-more-btn {
    border-radius: 8px;
    padding: 14px 18px;
    width: 100%;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    background: #00a651;
    transition: all 0.4s ease;
}

.view-more-btn:hover {
    cursor: pointer;
    background: #036c36;
    transform: scale(1.05);
}

/* Services */
.services {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
    align-items: center;
}

.core-features {
    color: #4834d4;
    font-size: 16px;
    font-weight: bold;
    /* margin-bottom: 10px; */
    text-transform: uppercase;
}

.services-title {
    font-size: 36px;
    font-weight: 800;
}

.services-description {
    color: #666;
    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    height: 200px;
}

.service-card.dark {
    background-color: #1e1e1e;
    color: white;
}

.service-card.blue {
    background-color: #4834d4;
    color: white;
}

.service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
}

.service-title {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Why Choose Section Styles */
.why-choose {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.why-choose-text {
    width: 100%;
}

.why-choose-subtitle {
    color: #4834d4;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.why-choose-title {
    font-size: 40px;
    font-weight: 800;
}

.why-choose-description {
    color: #666;
    margin-bottom: 10px;
    font-size: 15px;
}

.why-choose-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.features {
    display: flex;
    gap: 20px;
}

.features-list {
    list-style: none;
    font-size: 14px;
    font-weight: 500;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.feature-item::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #00a651;
    margin-right: 10px;
    border-radius: 50%;
    position: relative;
}

.feature-item::after {
    content: "";
    color: white;
    position: absolute;
    margin-left: 6px;
    margin-top: 1px;
    font-size: 12px;
}

.images-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.side-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.side-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transform: rotateY(180deg);
}

.stats-box {
    background-color: #4834d4;
    color: white;
    padding: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    text-align: center;
}

.stats-number {
    font-size: 36px;
    font-weight: bold;
}

.stats-text {
    font-size: 16px;
    line-height: 1.4;
}

/* projects */

.portfolio {
    background-color: #1e1e1e;
    padding: 20px 80px;
    color: white;
}

.portfolio h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 40px;
}

.portfolio-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.project-list {
    flex: 1;
    padding-right: 40px;
}

.project-item {
    padding: 15px 0;
    cursor: pointer;
    color: #666;
    width: fit-content;
    transition: color 0.3s ease;
}

.project-item:hover,
.project-item.active {
    color: white;
}

.project-images {
    flex: 2;
    position: relative;
    height: 400px;
}

.project-image {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.project-image.active {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#connecting-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#connecting-lines path {
    stroke: white;
    stroke-width: 2;
    fill: none;
    transition: opacity 0.3s ease;
}

/* testimonials */

.testimonials {
    padding: 40px;
    background-color: #f8f9fa;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-subtitle {
    color: #4834d4;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.testimonials h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 60px;
    color: #333;
}

.testimonial-slider {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.testimonial-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 800px;
    height: 100%;
    background: linear-gradient(135deg, #e0f7e9 0%, #e5f4ff 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.8s ease, opacity 0.6s ease;
}

.testimonial-card.active {
    z-index: 2;
    transform: translateX(0) scale(1);
    opacity: 1;
}

.testimonial-card.prev {
    z-index: 1;
    transform: translateX(-10%) scale(0.9);
    opacity: 0.7;
}

.testimonial-card.next {
    z-index: 1;
    transform: translateX(10%) scale(0.9);
    opacity: 0.7;
}

.quote-icon {
    transform: rotate(180deg);
    margin: 0 auto 20px;
    color: #4834d4;
    width: 80px;
    height: 80px;
}

.testimonial-text {
    color: #333;
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 2px;
    overflow: hidden;
    border: 2.5px blue solid;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: bold;
    color: #333;
    font-size: 18px;
}

.author-title {
    color: #666;
    font-size: 14px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid #4834d4;
    border-radius: 50%;
    background: white;
    color: #4834d4;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: #4834d4;
    color: white;
}

.prev-btn {
    left: calc(30% - 350px);
}

.next-btn {
    right: calc(30% - 350px);
}

/* Achievements Styles */
.achievements {
    background-color: #1e1e1e;
    padding: 40px;
    color: white;
    display: none;
}

.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
}

.achievements-text {
    padding-left: 80px;
}

.achievements h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.achievements-description {
    color: #999;
    margin-bottom: 40px;
    max-width: 800px;
}

/* Carousel Styling */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.award-card {
    min-width: calc(33.33% - 20px); /* Ensure 3 items visible */
    border-radius: 10px;
    text-align: center;
    gap: 20px;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.award-card img {
    width: 100%;
    border-radius: 20px;
}

.award-card:hover {
    transform: translateY(-10px) scale(1.02);
}

button.prev-button,
button.next-button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 50%;
    font-size: 20px;
    transition: all ease 0.4s;
}

button.prev-button:hover,
button.next-button:hover {
    background-color: #5b5858;
}

/* .award-1 {
  background-color: #9c34d4;
}

.award-2 {
  background-color: #306dc9;
}

.award-3 {
  background-color: #47a859;
} */

/* teams */

.team {
    padding: 0px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-content {
    width: 100%;
}

.team-subtitle {
    color: #4834d4;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.team h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
    text-transform: capitalize;
}

.team-description {
    color: #666;
    max-width: 600px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 50%;
}

.team-member {
    position: relative;
    border-radius: 8px;
    cursor: pointer;
}

.member-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.member-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.3s ease;
}

.member-info {
    padding: 10px;
    transform: translateY(0%);
    transition: transform 0.3s ease, background 0.6s ease;
}

.team-social-links {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background-color: #4834d4;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: transform 0.3s ease;
}

.team-social-link {
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.team-social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.member-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
}

.member-title {
    font-size: 14px;
    opacity: 0.9;
}

/* Hover Effects */
.team-member:hover .member-image img {
    transform: scale(1.07);
}

.team-member:hover .member-info {
    background: #4834d4;
    color: #fff;
}

.team-member:hover .team-social-links {
    transform: translateY(-50%) translateX(0);
}

/* Background colors for different cards */
/* .team-member:nth-child(1) .member-image {
  background-color: #ffd54f;
}
.team-member:nth-child(2) .member-image {
  background-color: #4834d4;
}
.team-member:nth-child(3) .member-image {
  background-color: #f5f5f5;
}
.team-member:nth-child(4) .member-image {
  background-color: #26a69a;
} */

/* faq section */
.faqs {
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-section {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.faq-title {
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: #1a1a1a solid 2px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1000px;
}

.faq-item {
    background-color: #ffffff;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-icon::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item.active .faq-icon::before {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    width: 75%;
    transition: max-height 0.3s ease, padding 0.3s ease;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 0px 24px;
}

/* contact */

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1e1e1e;
    color: white;
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    background: #2a2a2a;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(103, 100, 100, 0.502);
}

.contact-form {
    animation: slideUp 0.6s ease-out;
}

.form-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
}

.form-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 20px;
}

.phone-input-wrapper {
display: flex;
align-items: center;
}

.country-code {
/* width: 100%; */
padding: 10px;
background: white;
color: #333;
border: 2px solid transparent;
border-radius: 8px 0 0 8px;
font-size: 16px;
transition: all 0.3s ease;
}

.phone-input {
width: 100%;
padding: 12px 16px;
background: white;
border: 2px solid transparent;
border-radius: 0 8px 8px 0;
font-size: 16px;
transition: all 0.3s ease;
}

/* Hide arrows for number input in Chrome, Safari, Edge */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4834d4;
    outline: none;
    box-shadow: 0 0 0 4px rgba(72, 52, 212, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
}

.country-code {
    /* width: 100%; */
    padding: 10px;
    background: white;
    color: #333;
    border: 2px solid transparent;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.phone-input {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Hide arrows for number input in Chrome, Safari, Edge */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide arrows for Firefox */
/* input[type="number"] {
    -moz-appearance: textfield;
} */

.submit-btn {
    background: #4834d4;
    color: white;
    border: none;
    width: 100%;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: #3a2bb3;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 0.8s linear infinite;
}

.contact-info {
    animation: slideUp 0.6s ease-out 0.2s backwards;
    flex-direction: column;
}

.info-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    animation: slideRight 0.5s ease-out forwards;
    opacity: 0;
}

.info-item:nth-child(1) {
    animation-delay: 0.3s;
}
.info-item:nth-child(2) {
    animation-delay: 0.4s;
}
.info-item:nth-child(3) {
    animation-delay: 0.5s;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: #1e1e1e;
}

.info-text {
    font-size: 16px;
    color: #f5f5f5;
}

/* Success message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
}

.success-message.show {
    transform: translateX(0);
    opacity: 1;
}

/* footer */

.footer {
    background-color: #1e1e1e;
    color: white;
    padding: 60px 0 0;
    font-family: "inter", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-contact span {
    font-size: 14px;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    letter-spacing: 0.05px;
    font-weight: 400;
}

.footer-logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4834d4;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.footer-logo:hover::after {
    transform: translateX(0);
}

.footer-logo span {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    letter-spacing: 0.05px;
    font-weight: 400;
    margin-left: 5px;
    color: #4caf50;
}

.footer-logo img {
    width: 175px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: #4834d4;
    transform: translateY(-3px);
}

.social-link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1.5);
    opacity: 0;
}

.footer-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4834d4;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quick-link {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.quick-link::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.quick-link:hover {
    color: white;
    padding-left: 20px;
}

.quick-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;

    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #999;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: white;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #4834d4;
    transform: rotate(360deg);
}

.footer-bottom {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #999;
    font-size: 14px;
}

#contactForm {
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-keywords {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin: 50px 20px 10px;
    line-height: 1.5;
}

.footer-keywords span {
    padding: 0 10px;
    display: inline-block;
}

.footer-keywords span:not(:last-child) {
    border-right: 1px solid gray;
}

.footer-keywords span:hover {
    color: white;
}

/* Responsive design */
@media (max-width: 1200px) {
    .testimonial-card {
        width: 70%;
    }
    .prev-btn {
        left: 20px;
    }
    .next-btn {
        right: 20px;
    }
}

@media (max-width: 1024px) {
    .logo {
        font-size: 20px;
    }

    .hero {
        height: calc(100vh - 100px);
    }

    .about-image {
        height: 100%;
    }

    .about-image img {
        height: 100%;
    }

    .about-header {
        overflow: visible;
        height: fit-content;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .vision p,
    .mission p {
        width: 100%;
        font-size: 13px;
    }

    .vision-mission {
        margin-top: 20px;
    }

    .vision,
    .mission {
        width: 100%;
    }

    .vision h3,
    .mission h3 {
        font-size: 30px;
    }

    .vision-mission img {
        height: 100%;
    }

    .hero h1 {
        max-width: 100%;
    }

    .why-choose-description {
        font-size: 14px;
    }

    .why-choose-title {
        font-size: 30px;
    }

    .features {
        gap: 30px;
    }

    .features-list {
        font-size: 14px;
    }

    .footer-logo {
        font-size: 30px;
    }

    html,
    body {
        width: 100%;
    }

    /* .team-grid {
    grid-template-columns: 1fr;
  } */
}

@media (max-width: 768px) {
    .logo {
        font-size: 16px;
    }

    .nav-contact-info span {
        display: none;
    }
    .top-bar-content {
        justify-content: space-between;
    }
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #1e1e1ee8;
        backdrop-filter: blur(5px);
        padding: 20px;
        z-index: 1000;
        width: 100%;
        animation: slided 1s ease;
    }

    .hero-content {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
        max-width: 100%;
    }
    .hero p {
        font-size: 15px;
        max-width: 100%;
    }

    .about {
        padding: 20px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .vision-mission {
        flex-direction: row;
        height: 100%;
        align-items: flex-start;
        flex: 1;
        margin-top: 20px;
    }

    .vision-content,
    .mission-content {
        height: 200px;
    }

    .vision-mission img {
        width: 100%;
        height: 20vh;
    }

    .vision-mission p {
        font-size: 12px;
        font-weight: 600;
    }

    .vision-mission h3 {
        font-size: 25px;
    }

    .about-header {
        overflow: visible;
        height: 100%;
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .vision,
    .mission {
        gap: 0px;
        flex-direction: column;
        height: 100%;
    }

    .vision p,
    .mission p {
        font-size: 12px;
    }

    .mission {
        text-align: right;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .featured-container {
        padding: 20px;
    }

    .product-name {
        font-size: 12px;
    }

    .featured-products {
        padding: 20px;
    }

    .featured-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .featured-title {
        font-size: 30px;
    }

    .featured-description {
        max-width: 100%;
    }

    .services-header {
        grid-template-columns: 1fr;
    }

    .services-description {
        font-size: 14px;
        margin-top: 10px;
    }
    .services-title {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services {
        padding: 20px;
    }

    .images-grid {
        grid-template-columns: 1fr;
    }

    .side-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-image {
        height: 300px;
        object-position: center 40%;
    }

    .side-content img {
        height: 140px;
    }

    .why-choose-title {
        font-size: 30px;
    }

    .why-choose-subtitle {
        font-size: 13px;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-choose-text {
        width: 100%;
    }

    .features {
        flex-direction: column;
        gap: 0px;
    }

    .features-list {
        width: 100%;
    }

    .stats-box {
        padding: 15px;
    }

    .stats-number {
        margin-bottom: 0px;
        font-size: 25px;
    }

    .stats-text {
        font-size: 12px;
    }

    .portfolio {
        padding: 30px;
    }

    .portfolio-container {
        gap: 30px;
        padding: 0px;
    }

    .portfolio h2 {
        font-size: 32px;
        margin-left: 0px;
    }

    .project-image {
        height: 300px;
        width: 200px;
    }

    .testimonials-container h2 {
        font-size: 32px;
    }

    .testimonial-card {
        width: 90%;
        padding: 30px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .author-name {
        font-size: 15px;
    }

    .author-title {
        font-size: 12px;
    }

    .author-image {
        width: 40px;
        height: 40px;
    }

    .slider-nav {
        display: none;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .achievements h2 {
        font-size: 32px;
    }

    .achievements-text {
        padding: 0px;
        text-align: center;
    }

    .achievements-description {
        font-size: 14px;
    }

    .team-grid {
        width: 100%;
    }

    .team-description {
        font-size: 14px;
    }

    .award-card {
        min-width: calc(100% - 20px); /* 1 item visible */
    }

    .team-section {
        flex-direction: column;
        gap: 30px;
    }

    .contact {
        overflow: hidden;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }

    .team h2 {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .faq-title {
        font-size: 25px;
    }

    .faq-question h3 {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
    }

    .faq-answer {
        width: 100%;
        font-size: 12px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .quick-links {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-contact {
        align-items: center;
        width: 100%;
    }

    .footer-contact span {
        text-align: left;
        font-size: 14px;
    }

    .project-item {
        font-size: 14px;
    }

    .project-list {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .project-images {
        height: 300px;
    }

    #connecting-lines path {
        stroke-width: 1.5; /* Optional: Slightly thinner lines for smaller screens */
    }

    .project-images {
        height: 300px; /* Keep the image height consistent */
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slided {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
