/* General Page Styling */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #031114;
  color: #ffffff;
}

.container {
  max-width: 1140px; /* Increased width */
  width: 90%;         /* Responsive support */
  margin: 60px auto;
  padding: 40px;
  background: #031114;
  border-radius: 30px;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.1); /* Inset inner shadow */
 border: 0.1px solid #363636;
}


/* Service Card Styling */
.service-card {
  text-align: center;
}

/* "Introduction" Button Style */
.intro-btn {
  display: inline-block;
  background-color: #031114;
  color: #ccc;
  padding: 15px 25px;
  border-radius: 25px;
  font-size: 20px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: background 0.3s;
   border: 0.1px solid #363636;
}

.intro-btn:hover {
  background-color: #343a3a;
}

/* Description Paragraph */
.service-description {
  font-size: 14px;
  color: #dddddd;
  line-height: 1.6;
  margin-bottom: 30px;
  margin-top: 10px;
}

/* Headings */
h1 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #ffffff;
}

h3 {
  font-size: 18px;
  color: #d6ff00;
  margin-bottom: 30px;
}

/* Tools Section */
.tools {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.tools img {
  width: 70px;
  height: 70px;
  background-color: #d9d9d9;
  padding: 10px;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tools img:hover {
  transform: scale(1.05);
}



/* project section */

/* Project Section */
.project-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left; 
    padding: 50px 0;
}




/* Heading */
.project-title {
    font-size: 32px;
    color: white;
    margin-top: 20px;
    margin-top: 5vh;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    word-spacing: 3px;

}
/* Main Container */
.main-container {
    width: 100%;
    max-width: 1200px;
    min-height: auto; 
    margin: 40px auto;
    border-radius: 30px;
    border: 1px solid #ddd;
    display: flex;
    box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #031317;
}

/* Left Half Styling */
.left-half {
    flex: 1; 
    padding: 30px;
    color: white;
    position: relative;
    text-align: left;
}

.text-button {
    position: absolute;
    top: 10px;
    left: 10px;
    margin-top: 10px;
    background-color: #0d1d1e;
    color: rgb(255, 255, 255);
    padding: 5px 15px;
    border-radius: 5px;
    border: 5px solid rgb(45, 53, 85); 
    margin-bottom: 10px;
}

.small-heading {
    font-size: 16px;
    color: #cccccc;
    text-align: left; 
    margin-top: 15vh;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin: 5px 0;
    color: yellow;
    text-align: left; 
}

.divider-line {
    border: 0;
    height: 2px;
    background: #07484f;
    margin: 10px 0;
}

.overview {
    font-size: 20px;
    color: rgb(255, 255, 255);
    text-align: left;
}

.description {
    font-size: 16px;
    margin-top: 5px;
    line-height: 1.5;
    color: gainsboro;
    text-align: left;
    margin-bottom: 10vh; 
}

/* Right Half (Image) Styling */
.right-half {
    flex: 1.5; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.project-image {
    width: 100%; 
    height: auto;
    max-width: 800px; 
    max-height: 600px; 
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}
.view-all-button {
    background-color: yellow;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.view-all-button:hover {
    background-color: darkyellow; 
}


/* ----------------------------------------------flip screen------------------------------- */

.flip-card {
    background-color: transparent;
    width: 100%;
    height: auto;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.main-container:hover .flip-card-inner {
    transform: rotateX(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    z-index: 2;
    transform: rotateX(0deg);
}

.flip-card-back {
    transform: rotateX(180deg);
    color: white;
}

.flip-card-front .project-image,
.flip-card-back .project-image {
    width: 100%; 
    height: auto; 
    max-width: 800px; 
    max-height: 600px; 
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.back-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.4); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.middle-heading {
  text-align: center;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff; /* Ensures visibility on dark backgrounds */
}


.middle-heading img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


.middle-heading img {
  width: 32px;
  height: 32px;
}

.project-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }

    .left-half, .right-half {
        width: 100%; 
        flex: unset; 
        padding: 20px; 
    }

    .text-button {
        position: relative;
        margin: 10px auto;
        display: inline-block;
    }

    .flip-card {
        max-width: 400px;
    }
    .view-all-button {
        background-color: yellow;
        color: black;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        margin-top: 10vh;
    }
    .project-title {
    font-size: 32px;
    text-align: center;
    word-spacing: 3px;

}
.flip-card {
    max-width: 380px;
    height: 270px;
}

.back-text h3 {
    font-size: 12px;
}

.back-text p {
    font-size: 8px;
    line-height: 1.2;
    text-align: center;
    padding: 5px;
}
    
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .left-half {
        width: 100%;
        text-align: center;
        padding: 20px;
    }

    .title {
        font-size: 22px;
    }

    .flip-card {
        max-width: 350px;
    }

  

    .project-image {
        width: 100%;  
        max-width: 950px; 
        max-height: 800px; 
    }

    .back-text h3 {
        text-align: center;
        font-size: 12px;
    }

    .small-heading {
        font-size: 14px;
        margin-top: 2vh;
    }
    .project-title {
        font-size: 32px;
        text-align: center;
        word-spacing: 3px;
    
    }
}

@media (max-width: 480px) {
    .main-container {
        width: 95%;
        padding: 10px;
    }

    .title {
        font-size: 18px;
    }
    .description{
        font-size: 12px;
    }

    .flip-card {
        max-width: 280px;
    }

    .back-text {
        padding: 5px;
    }

    .back-text h3 {
        font-size: 14px;
    }

    .back-text p {
        font-size: 8px;
        line-height: 1.2;
        text-align: center;
    }

    .project-image {
        width: 100%;  
        max-width: 900px; 
        max-height: 750px; 
    }
    .project-title {
        font-size: 32px;
        text-align: center;
        word-spacing: 3px;
    
    }
}

@media (max-width: 768px) {
    .flip-card {
        transform: rotateX(0deg);
    }

    .main-container:hover .flip-card-inner,
    .flip-card.scroll-visible .flip-card-inner {
        transform: rotateX(180deg);
    }
}
@media (max-width: 1360px) {
    .flip-card {
        max-width: 450px;
        height: 30ss0px;
    }

    .back-text h3 {
        font-size: 16px;
    }

    .back-text p {
        font-size: 10px;
        line-height: 1.3;
        text-align: center;
        padding: 5px;
    }
}

@media (max-width: 1180px) {
    .flip-card {
        max-width: 400px;
        height: 280px;
    }

    .back-text h3 {
        font-size: 14px;
    }

    .back-text p {
        font-size: 9px;
        line-height: 1.2;
        text-align: center;
        padding: 5px;
    }
}

@media (max-width: 720px) {
    .flip-card {
        max-width: 350px;
        height: 250px;
    }

    .back-text h3 {
        font-size: 11px;
    }

    .back-text p {
        font-size: 7px;
        line-height: 1.1;
        text-align: center;
        padding: 4px;
    }
}

@media (max-width: 540px) {
    .flip-card {
        max-width: 320px;
        height: 240px;
    }

    .back-text h3 {
        font-size: 10px;
    }

    .back-text p {
        font-size: 6px;
        line-height: 1;
        text-align: center;
        padding: 3px;
    }
}



/* footer */


.footer-container {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    background: #031317;
    text-align: center;
    color: white;
}

/* Footer Heading */
.footer-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Footer Navigation Links */
.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
}

.footer-nav {
    margin-bottom: 15px;
}

/* Social Media Icons */
.social-icons-footer {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 15px; 
    margin-top: 10px;
}

/* Icon Styling */
.social-icons-footer img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1) sepia(100%) saturate(5000%) hue-rotate(10deg);
    transition: transform 0.3s ease;
}

/* Hover Effect */
.social-icons-footer img:hover {
    transform: scale(1.1);
}


/* Copyright Section */
.copyright {
    margin-top: 10px;
    font-size: 14px;
    
}



/* start container set card */

.stats-container {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }

        .stat-card {
            background-color: #1a2127;
            color: #b4b6b9;
            padding: 12px 10px;
            border-radius: 25px;
            text-align: center;
            font-size: 14px;
            width: 23%;
            border-radius: 16px;
            border: 1px solid #424242;
            background: #031114;
            
           
        }


  .stat-card.highlight {
            background-color: #f0c808;
            color: #000;
        }
