/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 8, 2025, 1:01:46 PM
    Author     : plazma
*/



   /* About_Us Section*/
  
          .about_more-section {
      
            justify-content: center;
            padding: 50px;
            background-color: #f2f2f2;
        }

        .about-box {
            width: 100%;  /* Full width for the section */
            height: auto; /* Fixed height for the section */
            background: #fff;
            padding: 30px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            overflow: hidden;
        }

        .about_more-content {
            position: relative;
        }

    .about_more-image {
        float: left; /* Moves the image to the top-left corner */
        margin: 0 15px 15px 0; /* Adds spacing around the image */
        width: 55%; /* Adjust the width of the image */
    }

    .about_more-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .about_more-text {
        font-size: 19px;
        color: #404040;
        line-height: 1.6;
    }

    .about_more-text h2 {
        font-size: 28px;
        color: #333;
        margin-bottom: 15px;
    }

    .about_more-text p {
        margin-bottom: 10px;
    }

        .about-extra {
            margin-top: 20px; /* Adds space between sections */
            text-align: left;
        }

        .about-extra h2 {
            font-size: 28px;
            color: #333;
            margin-bottom: 15px;
        }

        .about-extra p {
            font-size: 19px;
            color: #404040;
            line-height: 1.6;
            margin-bottom: 5px;
        }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .about_more-image {
            float: none; /* Removes floating behavior for smaller screens */
            display: block;
            margin: 0 auto 20px; /* Centers the image and adds spacing */
            width: 100%; /* Adjusts image size for smaller screens */
        }

        .about_more-text h2 {
            font-size: 24px;
        }

        .about_more-text p {
            font-size: 16px;
        }
    }        
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .about_more-content {
                flex-direction: column;
                text-align: center;
            }

            .about_more-image {
                max-width: 100%;
                padding-right: 0;
            }

            .about_more-text {
                max-width: 100%;
                padding-left: 0;
                padding-top: 20px;
            }

            .about_more-text h2 {
                font-size: 24px;
            }

            .about_more-text p {
                font-size: 14px;
                text-align: center;
            }
            
            .about-extra {
                max-width: 100%;
                padding-left: 0;
                padding-top: 20px;
            }            
            
            .about-extra h2 {
             font-size: 24px;   
             text-align: center;
            }

            .about-extra p {
             font-size: 14px;   
             text-align: center;
            }
        }





/* Card */  

  .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 15px;
}

.card-container .titlepage h2 {
     background: #021626;
     padding: 15px 55px;
}


.custom-card {
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  max-width: 300px;
  width: 100%;
  transition: transform 0.3s ease;
  flex: 1 1 280px; /* Ensures flexibility while maintaining min width */
}

.custom-card:hover {
  transform: translateY(-5px);
}

.custom-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px;
  text-align: center;
}

.card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.view-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #021626;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

.view-button:hover {
  background-color: #de0000;
  color: #fff;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .card-container {
    padding: 30px 10px;
  }

  .custom-card {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .card-body h3 {
    font-size: 18px;
  }

  .card-body p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card-container .titlepage h2 {
    font-size: 20px;
    padding: 10px 30px;
  }

  .custom-card {
    max-width: 100%;
  }
}




        /* Detail */               
        .about_details-section {
        padding: 50px;
    }
    
    .about_details-section .titlepage h2 {
     background: #021626;
     padding: 15px 55px;
}

    .about-content {
        display: flex;
        flex-direction: column;
        max-width: 1400px;
        margin: 0 auto;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        overflow: hidden;
    }

    .about-image img {
        width: 100%;
        height: auto;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .about-text {
        padding: 30px;
    }

    .about-text h2 {
        font-size: 28px;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

    .about-text p {
        font-size: 16px;
        color: #404040;
        line-height: 1.6;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .about-text {
            padding: 20px;
        }
    }